Not only storywise but also repaired village is not optimised for gameplay
mr.rubinshtein
It was made purely for cutscene purpose
pixeltheretro
I think I screwed up something or didn't understand it correctly. I've changed it to actual size - 12 and it still doesn't want to be read
adrientd
There are actually two values to fix
adrientd
First one at address 4
adrientd
Second one at around 0x7F8 (right after 0F 08 00 00)
adrientd
for the second size value in this case it should be fixed to filesize-0x800 (since the sound data starts at 0x800)
adrientd
Download 1_WIN0_fixed.rws:
pegperegogaucho
Arent there actually 2 size values specified for the data chunk size?
pegperegogaucho
One should take padding into count and the other not
pegperegogaucho
At least it was like that for music
adrientd
I believe the other data chunk size value must be already correct (otherwise it would also break ingame)
adrientd
It's only the sizes of Renderware headers that are incorrect, which the game doesn't care since they are not used
adrientd
the size value in the headers are only used in case the game wants to skip the chunk so it can do a seek with the size value without having to read inside
adrientd
but the game never skips them so it doesn't matter
adrientd
The only case I've seen in XXL1 where it skips Renderware structures is in the geometries for Asterix and Obelix, they have 4 RwGeometry inside them (one for every costume), and the game would only attempt to read one of them, and the others are simply skipped by doing a seek with the size value of the header
pegperegogaucho
I guess the devs assigned to the polish port of XXL made their own tool to hack in the audio
pegperegogaucho
Also since you mentioned costumes, I noticed that your editor wont import the dff correctly when I try to replace a costume, am i doing something wrong or is it currently not supported?
adrientd
Yes, the polish port was most likely done without ELB (I believe it was released around 2008 when Atari already broke their contracts with them), thus they let some reverse engineers (at CD Projekt?) do it instead
adrientd
I think I heard in some documentary that CD Projekt did some translation hacks of games and then contacted the official devs to release official Polish translations of their games