Page 5 of 8
Re: Castlevania: Lords of Shadow
Posted: Thu Feb 27, 2014 6:39 am
by jbeckman
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.)
Re: Castlevania: Lords of Shadow
Posted: Thu Feb 27, 2014 11:54 am
by namquang93
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.

Re: Castlevania: Lords of Shadow
Posted: Thu Feb 27, 2014 1:21 pm
by Ekey
I check it later.
Re: Castlevania: Lords of Shadow
Posted: Thu Feb 27, 2014 4:10 pm
by Ekey
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

Re: Castlevania: Lords of Shadow
Posted: Thu Feb 27, 2014 6:19 pm
by namquang93
it's weird, I got this message and can not get the last txt files.
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.

Re: Castlevania: Lords of Shadow
Posted: Thu Feb 27, 2014 7:04 pm
by Ekey
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
Re: Castlevania: Lords of Shadow
Posted: Thu Feb 27, 2014 8:49 pm
by Haoose
Packer for localisation coming in March =)
Re: Castlevania: Lords of Shadow
Posted: Fri Feb 28, 2014 3:25 am
by namquang93
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
game seems load extracted files but unfortunately as soon as enters the first screen, it crashed.

Re: Castlevania: Lords of Shadow
Posted: Sat Mar 01, 2014 12:03 pm
by Isilfor
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.
Re: Castlevania: Lords of Shadow
Posted: Sat Mar 01, 2014 9:19 pm
by Haoose
Need create new packed-file
Re: Castlevania: Lords of Shadow
Posted: Sun Mar 02, 2014 6:51 am
by Isilfor
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

.
Re: Castlevania: Lords of Shadow
Posted: Tue Mar 04, 2014 7:45 pm
by fil1969
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

Re: Castlevania: Lords of Shadow
Posted: Wed Mar 05, 2014 10:30 am
by Haoose
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 =)
Re: Castlevania: Lords of Shadow
Posted: Sun Mar 09, 2014 7:12 pm
by Isilfor
Haoose wrote:Packer for localisation
Is it possible to make packer for other game files? Textures, models etc.
Re: Castlevania: Lords of Shadow
Posted: Mon Mar 10, 2014 5:09 pm
by Haoose
Yes. Of course. Easy file-format