I managed to create a python procedure able to parse swordref.rif and extracting the correspondent resources from any *.clu file.
The point is that now i want to parse properly each file extracted; At the moment i identified three different types of file:
- ChrTxt --> dialogues
- Sprite --> most likely images
- RIFF --> audio files
Starting from ChrTxt, i understood there's an header (20 bytes) composed by:
Code: Select all
'Type'
'Version'
'Compressed Length'
'Compression'
'Decompressed Length'
Did someone already went through this?
Similarly for the "Sprite" i did not understand how to parse each file and recreate the image.
Tried to analyze the sword1 engine but it's difficult without documentation.
Any help would be really appreciated.
Thanks in advance to the whole community