READ THE RULES: Click here

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

Castlevania: Lords of Shadow

The Original Forum. Game archives, full of resources. How to open them? Get help here.
benzinjiq snake
n00b
Posts: 11
Joined: Mon Jul 18, 2011 3:07 pm
Has thanked: 7 times

Re: Castlevania: Lords of Shadow

Post by benzinjiq snake » Fri Aug 30, 2013 12:36 pm

Haoose wrote:benzinjiq snake
Rus Fonts
http://yadi.sk/d/BXSj5eG48TzwJ
Thank you, good sir.

User avatar
XpoZed
veteran
Posts: 144
Joined: Sat Oct 24, 2009 5:08 pm
Location: Bulgaria
Has thanked: 2 times
Been thanked: 45 times
Contact:

Re: Castlevania: Lords of Shadow

Post by XpoZed » Sat Aug 31, 2013 7:03 pm

Just released an Unpakke module for the game. As much as i get from the thread the xbox version doesn't use structure encryption?
I was reversing the Ultimate Edition, and there was XOR encryption... does anyone know if that's only on the UE or something?

jbeckman
advanced
Posts: 47
Joined: Wed May 16, 2007 5:13 am
Has thanked: 6 times
Been thanked: 7 times

Re: Castlevania: Lords of Shadow

Post by jbeckman » Sun Sep 01, 2013 4:29 pm

Would it be possible to decode (decrypt?) the config file as well in addition to the game archives, would be nice to know what's stored in that and possibly also the profile file.
(The game has two config files, one for settings and one for the user profile from what I can tell, also a .profile file type which might be checkpoint progress or something.)

Should be safe to upload since it's generated by the game and not part of the default files plus it's just a config and probably contains plain text once decoded but it would be fun to know what those contain even if it can't be repacked for making modifications or such. :)

http://www41.zippyshare.com/v/54172177/file.html
(The .localconfig file from the User\Appdata\MercurySteam folder and the .cfg from the Steam profile\user folder.)

Just asking, have been thinking for a few days whether to post about it or not and now I decided to do it, it might not be anything significant in those files at all but it would be fun to know what those actually do contain if they can be decoded without breaking the entire game or game engine down to get the data needed for such a task. :P

Unsure if those files contains any profile specific or Steam specific info either but it's probably nothing important, heh.
(Probably just stuff for the game or the profile used for the game.)

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1637
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: Castlevania: Lords of Shadow

Post by Ekey » Sun Sep 01, 2013 4:43 pm

Here script for decrypt only castlevania.cfg.

Code: Select all

# Castlevania: Lords of Shadow - Ultimate Edition (PC) (CFG Decryptor) 0.1
# 
# Written by Ekey (h4x0r)
# http://forum.xentax.com
# 
# script for QuickBMS http://quickbms.aluigi.org

get SIZE asize
encryption aes_256_cbc "\x50\x43\x56\x80\x72\x73\xEE\x6F\xF1\x44\xF3\x6E\xEA\xDF\x79\x43\x6C\x69\x6D\x61\x78\x53\x74\x75\x64\x69\x6F\x73\x32\x30\x31\x33"
log "castlevania.cfg.dec" 0 SIZE

jbeckman
advanced
Posts: 47
Joined: Wed May 16, 2007 5:13 am
Has thanked: 6 times
Been thanked: 7 times

Re: Castlevania: Lords of Shadow

Post by jbeckman » Sun Sep 01, 2013 7:55 pm

Thank you, that will do nicely. :)

EDIT: That's a lot of useful settings and info, this is quite interesting.

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1637
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: Castlevania: Lords of Shadow

Post by Ekey » Sun Sep 01, 2013 9:45 pm

I dunno what the algo used for .localconfig. Maybe aes with other key. I can't check because pirated (ALI213, FLT / Skidrow) versions dont work for me, but demo work perfect. (:

namquang93
veteran
Posts: 116
Joined: Mon Apr 09, 2012 8:40 am
Has thanked: 50 times
Been thanked: 5 times

Re: Castlevania: Lords of Shadow

Post by namquang93 » Mon Sep 02, 2013 6:43 am

anyone know how to make the .dds and .mst font files? I wanna localize this game but stuck with .mst files :cry:

jbeckman
advanced
Posts: 47
Joined: Wed May 16, 2007 5:13 am
Has thanked: 6 times
Been thanked: 7 times

Re: Castlevania: Lords of Shadow

Post by jbeckman » Mon Sep 02, 2013 7:44 am

Ekey wrote:I dunno what the algo used for .localconfig. Maybe aes with other key. I can't check because pirated (ALI213, FLT / Skidrow) versions dont work for me, but demo work perfect. (:
From what I could tell by the decrypted config file it contains nearly all settings minus the screen resolution so the .localconfig probably only contains that and maybe one or two other things.

The CFG contained everything from the game settings (Including FOV even.) to the key bindings (Both gamepad and keyboard.) and even a few things related to some multiplayer modes and other odd info (Localization and references to the KONAMI code the console version had, but I don't think it can be activated with a keyboard from what I've tried.) so that's been very useful to have available. :)

User avatar
XpoZed
veteran
Posts: 144
Joined: Sat Oct 24, 2009 5:08 pm
Location: Bulgaria
Has thanked: 2 times
Been thanked: 45 times
Contact:

Re: Castlevania: Lords of Shadow

Post by XpoZed » Mon Sep 02, 2013 10:17 am

Here's what Castlevania.localcfg contains:

Code: Select all

## Begin

gvWindowMaximized              = 0                                   ### Whether the window is maximized
WindowPosY                     = 90                                  ### Window y position
WindowPosX                     = 80                                  ### Window x position
WindowHeight                   = 720                                 ### Window width
WindowWidth                    = 1280                                ### Window height
FullScreen                     = 1                                   ### 0 = Windowed mode, 1 = Fullscreen mode
VideoWidth                     = 1024                                ### Fullscreen width
VideoHeight                    = 768                                 ### Fullscreen height

## End

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1637
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: Castlevania: Lords of Shadow

Post by Ekey » Mon Sep 02, 2013 12:35 pm

Well nothing interesting...

User avatar
RENIKRILL
advanced
Posts: 58
Joined: Wed Feb 11, 2009 12:54 pm
Location: land of the golden sun
Has thanked: 13 times
Been thanked: 18 times

Re: Castlevania: Lords of Shadow

Post by RENIKRILL » Tue Sep 03, 2013 11:31 am

Ekey wrote:Well table really encrypted > it's AES / 256 / CBC mode :)

see below
Nicely done, buddy :keke:

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 622 times

Re: Castlevania: Lords of Shadow

Post by AlphaTwentyThree » Wed Sep 11, 2013 8:03 am

The Ultimate Edition uses a variant of the format, that isn't (yet) supported by the script (no names or TOC in header).
Can somebody please take a quick look?
http://www.putlocker.com/file/68387889704A090D
Thanks
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 622 times

Re: Castlevania: Lords of Shadow

Post by AlphaTwentyThree » Wed Sep 11, 2013 8:06 am

Whoops, didn't see the other pages of this topic ;) Disregard previous post.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

Panzah
advanced
Posts: 61
Joined: Wed Jul 21, 2010 10:11 pm
Has thanked: 6 times
Been thanked: 2 times

Re: Castlevania: Lords of Shadow

Post by Panzah » Sat Nov 02, 2013 5:55 am

Seeing as Lords of Shadow 2 Demo is out, I wanted to extract the music from it, but none of the scripts from here seem to work, the Jericho script posted on first page however only extracts 1 track before returning an error. Based on my inspection of the file in hex, there's 12 tracks inside.

Can anyone take a look at it and see if you could make a script to extract it?
http://www.mediafire.com/download/rw0cj ... sic.packed

And another, main data file this time, none of the scripts (not even the Jericho one) were able to extract anything from it. Taking a glance at it in hex editor reveals it's not encrypted.
http://www.mediafire.com/download/62155 ... a00.packed

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1637
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: Castlevania: Lords of Shadow

Post by Ekey » Sat Nov 02, 2013 8:43 am

Panzah wrote:Seeing as Lords of Shadow 2 Demo is out, I wanted to extract the music from it, but none of the scripts from here seem to work, the Jericho script posted on first page however only extracts 1 track before returning an error. Based on my inspection of the file in hex, there's 12 tracks inside.

Can anyone take a look at it and see if you could make a script to extract it?
http://www.mediafire.com/download/rw0cj ... sic.packed

And another, main data file this time, none of the scripts (not even the Jericho one) were able to extract anything from it. Taking a glance at it in hex editor reveals it's not encrypted.
http://www.mediafire.com/download/62155 ... a00.packed
Done.

Edited: here
Last edited by Ekey on Sun Nov 03, 2013 10:06 am, edited 1 time in total.

Post Reply