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.
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 » Thu Feb 27, 2014 6:39 am

Well that would explain why some surfaces are so pixelated up close, how unfortunate if that's so.
(Normal map texture being compressed and of a lower resolution than the diffuse/base texture if that's all that's in the high-res archive.)

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 » Thu Feb 27, 2014 11:54 am

Savage wrote:Tried the last bms for Pc with the big file Data00.packed (4,120Gb's) using quickbms_4gb_files last version i get:
0000000000019ba8 524416 2d/loading/book/i_menu_sw_relics_01-b.dds
Error: the compressed zlib/deflate input is wrong or incomplete (-3)

Error: there is an error with the decompression
the returned output size is negative (-1)
I've got extractly the same error when using Haoose's updated script.

Image

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 » Thu Feb 27, 2014 1:21 pm

I check it later.

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 » Thu Feb 27, 2014 4:10 pm

Done.

Code: Select all

# Castlevania: Lords of Shadow 2 (PC) (PACKED format)
# 
# Written by Ekey (h4x0r)
# http://forum.xentax.com
# 
# script for QuickBMS http://quickbms.aluigi.org

comtype unzip_dynamic

idstring "BFPK"
get VERSION short
get FLAG short
get FILES long

for i = 0 < FILES
    get NSIZE long
    getdstring NAME NSIZE
    get SIZE long
    get OFFSET longlong
    savepos TEMP
	
	if FLAG = 0
        log NAME OFFSET SIZE
	elseif FLAG = 1
        goto OFFSET
        get ZSIZE long
        savepos OFFSET
        clog NAME OFFSET ZSIZE SIZE
    endif
    goto TEMP
next i
Image

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 » Thu Feb 27, 2014 6:19 pm

it's weird, I got this message and can not get the last txt files.

Image

And also, at first I tried using Haoose's bms script, the game seems be able to load the extracted files, but when I use your script the game did not. I checked the extracted files and they seems broken or compressed. You can see the left wav files are not read/indentityable and the right one (extracted from Haoose's script) is fine.

Image

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 » Thu Feb 27, 2014 7:04 pm

Hm strange. You can see for example : on my screen offset for file language/portoguese.txt is 0x10674a85c but on your screen 0x10674a858 - difference 4. Seems not all files with FLAG 1 is compressed or bug with OFFSET. I check it later. Try this one

Code: Select all

# Castlevania: Lords of Shadow 2 (PC) (PACKED format) 0.1a
# 
# Written by Ekey (h4x0r)
# http://forum.xentax.com
# 
# script for QuickBMS http://quickbms.aluigi.org

comtype unzip_dynamic

idstring "BFPK"
get VERSION short
get FLAG short
get FILES long

for i = 0 < FILES
    get NSIZE long
    getdstring NAME NSIZE
    get SIZE long
    get OFFSET longlong
    savepos TEMP
    
    goto OFFSET
    get ZSIZE long
    savepos OFFSET
	
    if ZSIZE == SIZE
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
    goto TEMP
next i

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: Castlevania: Lords of Shadow

Post by Haoose » Thu Feb 27, 2014 8:49 pm

Packer for localisation coming in March =)
-= GP-team =-
Image

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 » Fri Feb 28, 2014 3:25 am

Ekey wrote:Hm strange. You can see for example : on my screen offset for file language/portoguese.txt is 0x10674a85c but on your screen 0x10674a858 - difference 4. Seems not all files with FLAG 1 is compressed or bug with OFFSET. I check it later. Try this one

Code: Select all

# Castlevania: Lords of Shadow 2 (PC) (PACKED format) 0.1a
# 
# Written by Ekey (h4x0r)
# http://forum.xentax.com
# 
# script for QuickBMS http://quickbms.aluigi.org

comtype unzip_dynamic

idstring "BFPK"
get VERSION short
get FLAG short
get FILES long

for i = 0 < FILES
    get NSIZE long
    getdstring NAME NSIZE
    get SIZE long
    get OFFSET longlong
    savepos TEMP
    
    goto OFFSET
    get ZSIZE long
    savepos OFFSET
	
    if ZSIZE == SIZE
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
    goto TEMP
next i
extracted perfectly with this bms script :D

game seems load extracted files but unfortunately as soon as enters the first screen, it crashed.

Image

Isilfor
n00b
Posts: 13
Joined: Mon Jul 19, 2010 5:01 pm
Has thanked: 1 time

Re: Castlevania: Lords of Shadow

Post by Isilfor » Sat Mar 01, 2014 12:03 pm

namquang93 wrote: game seems load extracted files but unfortunately as soon as enters the first screen, it crashed.
Same problem. Also tried to replace some textures in the archive - game crashed after intro video.

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: Castlevania: Lords of Shadow

Post by Haoose » Sat Mar 01, 2014 9:19 pm

Need create new packed-file
-= GP-team =-
Image

Isilfor
n00b
Posts: 13
Joined: Mon Jul 19, 2010 5:01 pm
Has thanked: 1 time

Re: Castlevania: Lords of Shadow

Post by Isilfor » Sun Mar 02, 2014 6:51 am

Any idea, how to change player model?
I tried:
1. Change parameter "_Dracula_Skin" in my save game. But it can be only "Alucard" or "Dracula". Affects armor color.
2. Replacing mesh files in the packed file. dracula.msh to draculaold.msh for ex. This method crashes game after intro video.
I think the player model is defined in the script of each level (\levels\levelname\scripts). But scripts are compiled lua and "unluac" does not work for them :).

fil1969
veteran
Posts: 99
Joined: Fri Sep 17, 2010 7:44 am
Has thanked: 9 times
Been thanked: 13 times

Re: Castlevania: Lords of Shadow

Post by fil1969 » Tue Mar 04, 2014 7:45 pm

Hi! I was able to extract all the files from the 4gb archieve but i have problem to open the dds textures.. what format is really?
Thank you in advance!
Sorry for my English :D

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: Castlevania: Lords of Shadow

Post by Haoose » Wed Mar 05, 2014 10:30 am

Packer for localisation
http://games-gen.com/soft/CastlevaniaLo ... Packer.rar
Edit files in folder files
Press button
Copy new packed-file to folder mods/
Run game =)
-= GP-team =-
Image

Isilfor
n00b
Posts: 13
Joined: Mon Jul 19, 2010 5:01 pm
Has thanked: 1 time

Re: Castlevania: Lords of Shadow

Post by Isilfor » Sun Mar 09, 2014 7:12 pm

Haoose wrote:Packer for localisation
Is it possible to make packer for other game files? Textures, models etc.

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: Castlevania: Lords of Shadow

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

Yes. Of course. Easy file-format
-= GP-team =-
Image

Post Reply