Hello guys, i'm currently working in modding some NFS/NFSSE tracks, but it's really difficult to find any information about it.
Does any of you know if it's possible to extract and import textures from and into FAM files? These files contain the bitmaps that are used for displaying the corresponding track or track segment.
So far so good i could convert and import "Burnt Siena" and "Transtropolis" tracks from NFSSE to NFS. And also PS1 "Lunar Springs" track to NFS1SE for PC but with some texture errors.
Thanks in advance!
I don't know a editor for FAM files. I once splited them into fsh files using a Hex editor, to get textures. The OpenNFS1 project seems to have the best information about the structure, since it loads them.
https://github.com/jeff-1amstudios/OpenNFS1 (https://github.com/jeff-1amstudios/OpenNFS1)
Quote from: JimDiabolo on Jun 16, 2024, 12:55 AM
I don't know a editor for FAM files. I once splited them into fsh files using a Hex editor, to get textures. The OpenNFS1 project seems to have the best information about the structure, since it loads them.
https://github.com/jeff-1amstudios/OpenNFS1 (https://github.com/jeff-1amstudios/OpenNFS1)
Wow! Never heard of OpenNFS1 project gonna give it a try out and read a bit about it.
"I once splited them into fsh files using a Hex editor, to get textures." can you explain how did you manage to do this? Thanks in advance!!
Quote from: Argento on Jun 24, 2024, 9:51 AM
Quote from: JimDiabolo on Jun 16, 2024, 12:55 AM
I don't know a editor for FAM files. I once splited them into fsh files using a Hex editor, to get textures. The OpenNFS1 project seems to have the best information about the structure, since it loads them.
https://github.com/jeff-1amstudios/OpenNFS1 (https://github.com/jeff-1amstudios/OpenNFS1)
Wow! Never heard of OpenNFS1 project gonna give it a try out and read a bit about it.
"I once splited them into fsh files using a Hex editor, to get textures." can you explain how did you manage to do this? Thanks in advance!!
- Open .FAM file in a HEX Editor.
- Search for "SHPI" and the next "SHPI".
- Copy the part from first "SHPI" to the last byte before next "SHPI" (Include the first "SHPI").
- Paste as new file into the HEX editor.
- Save it as .fsh file.
- Use the fshtool to extract pictures.
Writing a program for extracting the fsh files shouldn't be that hard. But importing back isn't that easy because of the included offsets and it also has object information in the 4th chunk.
Thanks for the tips Jim, i was doing something similar but saving the chunks as QFS files and works the same.
I don’t know anything about programming, but agree with you that a “extractor†wouldn’t be so hard to make.
Thanks!!