Castlevania: Lords of Shadow
-
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
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.)
(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
I've got extractly the same error when using Haoose's updated script.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)

-
Ekey
- M-M-M-Monster veteran

- Posts: 1739
- Joined: Wed Mar 31, 2010 6:54 am
- Has thanked: 85 times
- Been thanked: 961 times
Re: Castlevania: Lords of Shadow
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
-
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
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.


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.

-
Ekey
- M-M-M-Monster veteran

- Posts: 1739
- Joined: Wed Mar 31, 2010 6:54 am
- Has thanked: 85 times
- Been thanked: 961 times
Re: Castlevania: Lords of Shadow
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-
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
extracted perfectly with this bms scriptEkey 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
game seems load extracted files but unfortunately as soon as enters the first screen, it crashed.

Re: Castlevania: Lords of Shadow
Same problem. Also tried to replace some textures in the archive - game crashed after intro video.namquang93 wrote: game seems load extracted files but unfortunately as soon as enters the first screen, it crashed.
Re: Castlevania: Lords of Shadow
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
.
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: 137
- Joined: Fri Sep 17, 2010 7:44 am
- Has thanked: 17 times
- Been thanked: 18 times
Re: Castlevania: Lords of Shadow
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
Thank you in advance!
Sorry for my English
- Haoose
- mega-veteran

- Posts: 281
- Joined: Tue Mar 01, 2011 9:34 pm
- Has thanked: 70 times
- Been thanked: 188 times
- Contact:
Re: Castlevania: Lords of Shadow
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 =)
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
Is it possible to make packer for other game files? Textures, models etc.Haoose wrote:Packer for localisation

