Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Broken Age (.pck ) [PC]

The Original Forum. Game archives, full of resources. How to open them? Get help here.
mappy2012
advanced
Posts: 61
Joined: Sun Jul 03, 2011 4:40 am
Has thanked: 51 times
Been thanked: 1 time

Broken Age (.pck ) [PC]

Post by mappy2012 »

Who can help with the extract the pck file?THX!

Samples:
data.pck
http://www12.zippyshare.com/v/92896868/file.html
User avatar
Haoose
mega-veteran
mega-veteran
Posts: 280
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 70 times
Been thanked: 193 times
Contact:

Re: Broken Age (.pck ) [PC]

Post by Haoose »

Code: Select all

get size asize
math size - 0xC
goto size
get files short
get FTsize long
get DATAsize long
goto DATAsize

for i = 0 < files
   get FULLNAME basename
   log MEMORY_FILE 0 0
   savepos offset
   getdstring dummy 0x14
   get size long
   get size2 long
   get NAMEsize long
   getdstring dummy 0xA
   savepos TMP
   get key byte
   goto TMP
   if key <= 0x80
      set key = 0x80
   endif
   get FILEoffset long
   math FILEoffset + 0x1e
   getdstring name NAMEsize
   putdstring name NAMEsize MEMORY_FILE
   filexor key MEMORY_FILE
   goto 0x00 MEMORY_FILE
   getdstring name NAMEsize MEMORY_FILE
   filexor ""
   string FULLNAME + "/"
   string FULLNAME + name
   log FULLNAME FILEoffset size
next i
-= GP-team =-
Image
mappy2012
advanced
Posts: 61
Joined: Sun Jul 03, 2011 4:40 am
Has thanked: 51 times
Been thanked: 1 time

Re: Broken Age (.pck ) [PC]

Post by mappy2012 »

Thanks a lot!!!
kofola
n00b
Posts: 10
Joined: Sun Mar 09, 2014 5:12 pm
Has thanked: 2 times

Re: Broken Age (.pck ) [PC]

Post by kofola »

Some tools for extract/import game lang text? I needed
User avatar
Haoose
mega-veteran
mega-veteran
Posts: 280
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 70 times
Been thanked: 193 times
Contact:

Re: Broken Age (.pck ) [PC]

Post by Haoose »

kofola
Texts in lua-scripts
-= GP-team =-
Image
kofola
n00b
Posts: 10
Joined: Sun Mar 09, 2014 5:12 pm
Has thanked: 2 times

Re: Broken Age (.pck ) [PC]

Post by kofola »

Have you some good viewer for *.lua. files?
And where is language text and dialog?
User avatar
Haoose
mega-veteran
mega-veteran
Posts: 280
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 70 times
Been thanked: 193 times
Contact:

Re: Broken Age (.pck ) [PC]

Post by Haoose »

kofola
Use unluac and luac =)
-= GP-team =-
Image
kofola
n00b
Posts: 10
Joined: Sun Mar 09, 2014 5:12 pm
Has thanked: 2 times

Re: Broken Age (.pck ) [PC]

Post by kofola »

Haoose wrote:kofola
Use unluac and luac =)
yop, but where is located texts for translate? :)
kofola
n00b
Posts: 10
Joined: Sun Mar 09, 2014 5:12 pm
Has thanked: 2 times

Re: Broken Age (.pck ) [PC]

Post by kofola »

????????????
merlinsvk
ultra-veteran
ultra-veteran
Posts: 411
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 121 times

Re: Broken Age (.pck ) [PC]

Post by merlinsvk »

In data.pck if I remember correctly.
kofola
n00b
Posts: 10
Joined: Sun Mar 09, 2014 5:12 pm
Has thanked: 2 times

Re: Broken Age (.pck ) [PC]

Post by kofola »

Yeah Merlin i have exported this, but Its many folders in pack.
So i dont know where is "lang" files.

Thank you for any help.
Thief1987
advanced
Posts: 72
Joined: Wed Jan 18, 2012 5:11 am
Has thanked: 1 time
Been thanked: 29 times

Re: Broken Age (.pck ) [PC]

Post by Thief1987 »

data\Dialog\Linecodes
az654
ultra-n00b
Posts: 1
Joined: Thu Oct 30, 2014 9:39 pm
Has thanked: 1 time

Re: Broken Age (.pck ) [PC]

Post by az654 »

Is there any way to re import the extracted files to the pck?

thanks
merlinsvk
ultra-veteran
ultra-veteran
Posts: 411
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 121 times

Re: Broken Age (.pck ) [PC]

Post by merlinsvk »

Yes. The script Haoose posted can be used also for reimporting files back to .pck.

Example:

Code: Select all

quickbms -r -w script.bms data.pck unpacked_folder
Or read section 3 in quickbms.txt
User avatar
makcar
veteran
Posts: 154
Joined: Mon May 12, 2014 10:41 pm
Has thanked: 22 times
Been thanked: 45 times

Re: Broken Age (.pck ) [PC]

Post by makcar »

Last edited by makcar on Sun Jun 14, 2015 9:57 pm, edited 1 time in total.
Post Reply