Shadows: Heretic Kingdoms [.pak]
- lostprophet
- mega-veteran
- Posts: 202
- Joined: Wed Apr 07, 2010 7:38 pm
- Has thanked: 35 times
- Been thanked: 7 times
Shadows: Heretic Kingdoms [.pak]
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.
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 | Previous translations: http://lostprophet.hu
-
- M-M-M-Monster veteran
- Posts: 1823
- Joined: Wed Mar 31, 2010 6:54 am
- Has thanked: 92 times
- Been thanked: 1058 times
Re: Shadows: Heretic Kingdoms [.pak]
Seems encrypted
Edited: just xored zip
Edited: just xored zip
Code: Select all
filexor "\x29\x61\x53\x33"
get SIZE asize
log "decrypted_file.dat" 0 SIZE
My Github repo
- lostprophet
- mega-veteran
- Posts: 202
- Joined: Wed Apr 07, 2010 7:38 pm
- Has thanked: 35 times
- Been thanked: 7 times
Re: Shadows: Heretic Kingdoms [.pak]
So I should use aluigi's xor to decrypt and then just unzip with eg. 7-zip?Ekey wrote:Seems encrypted
Edited: just xored zip
Code: Select all
filexor "\x29\x61\x53\x33" get SIZE asize log "decrypted_file.dat" 0 SIZE
Like this?
xor.exe scripts.pak scripts2.pak \x29\x61\x53\x33
Hungarian translator | Previous translations: http://lostprophet.hu
-
- ultra-veteran
- Posts: 411
- Joined: Mon Oct 27, 2008 12:11 am
- Location: Slovakia
- Has thanked: 35 times
- Been thanked: 121 times
Re: Shadows: Heretic Kingdoms [.pak]
Use Aluigi's QuickBMS.
I made similar script. Can be used to pak -> zip and vice versa.
I made similar script. Can be used to pak -> zip and vice versa.
Code: Select all
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
- lostprophet
- mega-veteran
- Posts: 202
- Joined: Wed Apr 07, 2010 7:38 pm
- Has thanked: 35 times
- Been thanked: 7 times
Re: Shadows: Heretic Kingdoms [.pak]
Thank you, works perfectly 

Hungarian translator | Previous translations: http://lostprophet.hu
-
- ultra-veteran
- Posts: 443
- Joined: Tue Sep 07, 2010 10:12 am
- Has thanked: 159 times
- Been thanked: 49 times
Re: Shadows: Heretic Kingdoms [.pak]
works, even as a repack. made my very first mod, and I think the first mod for the game, with thismerlinsvk wrote:Use Aluigi's QuickBMS.
I made similar script. Can be used to pak -> zip and vice versa.
Code: Select all
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

Re: Shadows: Heretic Kingdoms [.pak]
Hey guys.Devilot wrote:took the liberty of quoting you
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!):
You do not have the required permissions to view the files attached to this post.
-
- ultra-n00b
- Posts: 2
- Joined: Sat Jul 09, 2016 11:37 am
Re: Shadows: Heretic Kingdoms [.pak]
Thanks for the useful codemerlinsvk wrote:New XOR key:Code: Select all
\x33\x29\x61\x53


any ideas ?
-
- ultra-veteran
- Posts: 411
- Joined: Mon Oct 27, 2008 12:11 am
- Location: Slovakia
- Has thanked: 35 times
- Been thanked: 121 times
Re: Shadows: Heretic Kingdoms [.pak]
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.
Then you extracted that zip file.
Pack all extracted files into new zip, and use the same BMS script on it.
-
- ultra-n00b
- Posts: 2
- Joined: Sat Jul 09, 2016 11:37 am
Re: Shadows: Heretic Kingdoms [.pak]
tymerlinsvk 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.

-
- advanced
- Posts: 43
- Joined: Thu May 19, 2016 11:23 pm
- Location: Italy
- Has thanked: 7 times
- Been thanked: 5 times
Re: Shadows: Heretic Kingdoms [.pak]
New version = Shadows Awakening?Slappy wrote: ↑Sun Jun 19, 2016 7:39 amHey guys.Devilot wrote:took the liberty of quoting you
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!):