READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Broken Age (.pck ) [PC]

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

Broken Age (.pck ) [PC]

Post by mappy2012 » Fri Feb 28, 2014 5:32 pm

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: 276
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 68 times
Been thanked: 181 times
Contact:

Re: Broken Age (.pck ) [PC]

Post by Haoose » Fri Feb 28, 2014 6:03 pm

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: 62
Joined: Sun Jul 03, 2011 4:40 am
Has thanked: 51 times
Been thanked: 1 time

Re: Broken Age (.pck ) [PC]

Post by mappy2012 » Fri Feb 28, 2014 6:24 pm

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 » Mon Mar 10, 2014 12:47 pm

Some tools for extract/import game lang text? I needed

User avatar
Haoose
mega-veteran
mega-veteran
Posts: 276
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 68 times
Been thanked: 181 times
Contact:

Re: Broken Age (.pck ) [PC]

Post by Haoose » Mon Mar 10, 2014 5:08 pm

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 » Tue Mar 11, 2014 9:14 am

Have you some good viewer for *.lua. files?
And where is language text and dialog?

User avatar
Haoose
mega-veteran
mega-veteran
Posts: 276
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 68 times
Been thanked: 181 times
Contact:

Re: Broken Age (.pck ) [PC]

Post by Haoose » Tue Mar 11, 2014 10:14 pm

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 » Thu Mar 13, 2014 11:51 pm

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 » Sat Mar 15, 2014 5:13 pm

????????????

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

Re: Broken Age (.pck ) [PC]

Post by merlinsvk » Sat Mar 15, 2014 5:49 pm

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 » Sat Mar 15, 2014 6:05 pm

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 » Sat Mar 15, 2014 8:12 pm

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 » Thu Oct 30, 2014 9:44 pm

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: 117 times

Re: Broken Age (.pck ) [PC]

Post by merlinsvk » Fri Oct 31, 2014 7:54 am

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: 152
Joined: Mon May 12, 2014 10:41 pm
Has thanked: 22 times
Been thanked: 45 times

Re: Broken Age (.pck ) [PC]

Post by makcar » Thu Apr 30, 2015 3:50 pm

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

Post Reply