XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Dec 10, 2018 10:10 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Shadows: Heretic Kingdoms [.pak]
PostPosted: Sat Jun 14, 2014 11:41 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Wed Apr 07, 2010 7:38 pm
Posts: 197
Has thanked: 35 times
Have thanks: 5 times














You can make the ads go away by registering

Does anyone know how to edit this .pak file? I suspect it contains the text files of the game.
I can't even find info on it as what engine the game uses.
http://www57.zippyshare.com/v/68212829/file.html

Any help is greatly appreciated.

_________________
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu


Top
 Profile  
 
 Post subject: Re: Shadows: Heretic Kingdoms [.pak]
PostPosted: Sat Jun 14, 2014 11:55 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Wed Mar 31, 2010 6:54 am
Posts: 1636
Has thanked: 62 times
Have thanks: 807 times
Seems encrypted

Edited: just xored zip

Code:
filexor "\x29\x61\x53\x33"
get SIZE asize
log "decrypted_file.dat" 0 SIZE


Top
 Profile  
 
 Post subject: Re: Shadows: Heretic Kingdoms [.pak]
PostPosted: Sun Jun 15, 2014 7:58 am 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Wed Apr 07, 2010 7:38 pm
Posts: 197
Has thanked: 35 times
Have thanks: 5 times
Ekey wrote:
Seems encrypted

Edited: just xored zip

Code:
filexor "\x29\x61\x53\x33"
get SIZE asize
log "decrypted_file.dat" 0 SIZE

So I should use aluigi's xor to decrypt and then just unzip with eg. 7-zip?

Like this?
xor.exe scripts.pak scripts2.pak \x29\x61\x53\x33

_________________
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu


Top
 Profile  
 
 Post subject: Re: Shadows: Heretic Kingdoms [.pak]
PostPosted: Sun Jun 15, 2014 12:57 pm 
Offline
ultra-veteran
ultra-veteran

Joined: Mon Oct 27, 2008 12:11 am
Posts: 406
Location: Slovakia
Has thanked: 35 times
Have thanks: 113 times
Use Aluigi's QuickBMS.

I made similar script. Can be used to pak -> zip and vice versa.

Code:
getdstring SIGN 2
filexor "\x29\x61\x53\x33"
get SIZE asize
get NAME basename

if SIGN == "PK"
string NAME += ".pak_new"
elif SIGN == "y*"
string NAME += ".zip"
else
cleanexit
endif

log NAME 0 SIZE


Top
 Profile  
 
 Post subject: Re: Shadows: Heretic Kingdoms [.pak]
PostPosted: Sun Jun 15, 2014 7:09 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Wed Apr 07, 2010 7:38 pm
Posts: 197
Has thanked: 35 times
Have thanks: 5 times
Thank you, works perfectly :)

_________________
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu


Top
 Profile  
 
 Post subject: Re: Shadows: Heretic Kingdoms [.pak]
PostPosted: Fri Aug 29, 2014 1:13 pm 
Offline
ultra-veteran
ultra-veteran

Joined: Tue Sep 07, 2010 10:12 am
Posts: 382
Has thanked: 138 times
Have thanks: 40 times
merlinsvk wrote:
Use Aluigi's QuickBMS.

I made similar script. Can be used to pak -> zip and vice versa.

Code:
getdstring SIGN 2
filexor "\x29\x61\x53\x33"
get SIZE asize
get NAME basename

if SIGN == "PK"
string NAME += ".pak_new"
elif SIGN == "y*"
string NAME += ".zip"
else
cleanexit
endif

log NAME 0 SIZE


works, even as a repack. made my very first mod, and I think the first mod for the game, with this :D


Top
 Profile  
 
 Post subject: Re: Shadows: Heretic Kingdoms [.pak]
PostPosted: Mon Sep 08, 2014 4:56 pm 
Offline
ultra-veteran
ultra-veteran

Joined: Tue Sep 07, 2010 10:12 am
Posts: 382
Has thanked: 138 times
Have thanks: 40 times
took the liberty of quoting you :)


Top
 Profile  
 
 Post subject: Re: Shadows: Heretic Kingdoms [.pak]
PostPosted: Sun Jun 19, 2016 7:39 am 
Offline
ultra-n00b

Joined: Tue Jul 17, 2012 10:28 am
Posts: 5
Has thanked: 3 times
Have thanks: 0 time
Devilot wrote:
took the liberty of quoting you :)


Hey guys.

Did something change?

In new version of game I cannot open the unpacked .zip files (with xor x29x61x53x33 from above)?

Am I doing something wrong? Here is file from new game (.zip extension is only so I can upload the file, this is .pak file!):


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Shadows: Heretic Kingdoms [.pak]
PostPosted: Sun Jun 19, 2016 10:09 am 
Offline
ultra-veteran
ultra-veteran

Joined: Mon Oct 27, 2008 12:11 am
Posts: 406
Location: Slovakia
Has thanked: 35 times
Have thanks: 113 times
New XOR key:
Code:
\x33\x29\x61\x53


Top
 Profile  
 
 Post subject: Re: Shadows: Heretic Kingdoms [.pak]
PostPosted: Sat Jul 09, 2016 12:24 pm 
Offline
ultra-n00b

Joined: Sat Jul 09, 2016 11:37 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
merlinsvk wrote:
New XOR key:
Code:
\x33\x29\x61\x53

Thanks for the useful code :D . I've unpacked the scripts.pak and edited some details. But i don't know how to pack it the script folder into .pak :|
any ideas ?


Top
 Profile  
 
 Post subject: Re: Shadows: Heretic Kingdoms [.pak]
PostPosted: Sat Jul 09, 2016 8:57 pm 
Offline
ultra-veteran
ultra-veteran

Joined: Mon Oct 27, 2008 12:11 am
Posts: 406
Location: Slovakia
Has thanked: 35 times
Have thanks: 113 times
You used BMS script for decrypt .pak to .zip.
Then you extracted that zip file.

Pack all extracted files into new zip, and use the same BMS script on it.


Top
 Profile  
 
 Post subject: Re: Shadows: Heretic Kingdoms [.pak]
PostPosted: Mon Jul 11, 2016 1:32 pm 
Offline
ultra-n00b

Joined: Sat Jul 09, 2016 11:37 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
merlinsvk wrote:
You used BMS script for decrypt .pak to .zip.
Then you extracted that zip file.

Pack all extracted files into new zip, and use the same BMS script on it.


ty :D it's work.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group