Post by Ice[DDZ] on Nov 13, 2019 12:45:14 GMT 10
Hi all, I'm looking to see if anybody has decrypted the scn.19 files found in \natives\x64\objectroot\scene\ folders.
I'm guessing, and could be wrong, that these contain the data to place objects in the game world like \natives\x64\objectroot\scene\location\rpd\environments\st4_305_0.scn.19 has the location and rotation data for each object found in st4_305's environment (small storage room in the east first floor wing of the RPD).
Objects for example like \natives\x64\objectroot\setmodel\sm4x_gimmick\sm41\sm41_000_typewriter01a.
Now the reason I want this data, is because I'm working on putting Resident Evil 2's environments into Unreal Engine 4. Mostly for educational purposes and also for fun. Ray Tracing is fun to play with. The base environment meshes, character models, animations, sound effects, textures and all that are very easy to move over to Unreal Engine. The problem is that the environments have tens of thousands of objects in them that do NOT easily import into Unreal.
The Library from Remake in Unreal...
All the props and such (doors, tables, chairs, etc) were all manually placed by just simply referencing the actual game by alt tabbing back and forth to get it as close as possible. This took a lot of time and I determined it wouldn't be worth it for the rest of the rooms in the game, because most rooms have so many props it would take forever. Looking at the game files, I saw there were specific scene files for gimmicks (\natives\x64\objectroot\setmodel\sm4x_gimmick) such as doors, light switches, etc. In these same scene files, I see stuff like fixcamera_rpd.scn.19 and light_rpd.scn.19 that possibly have fixed camera locations and rotations, and also light entity locations and such.
Using a HEX editor I can see some of the stuff I'm looking for but it's SUPER hard to read and to be sure I've found exactly what I need. I also don't see the location/rotation X Y Z coordinates in there. Maybe they're in a different file?
Any help with this, even if pointing me in the right direction would be great!! Thanks!
I'm guessing, and could be wrong, that these contain the data to place objects in the game world like \natives\x64\objectroot\scene\location\rpd\environments\st4_305_0.scn.19 has the location and rotation data for each object found in st4_305's environment (small storage room in the east first floor wing of the RPD).
Objects for example like \natives\x64\objectroot\setmodel\sm4x_gimmick\sm41\sm41_000_typewriter01a.
Now the reason I want this data, is because I'm working on putting Resident Evil 2's environments into Unreal Engine 4. Mostly for educational purposes and also for fun. Ray Tracing is fun to play with. The base environment meshes, character models, animations, sound effects, textures and all that are very easy to move over to Unreal Engine. The problem is that the environments have tens of thousands of objects in them that do NOT easily import into Unreal.
The Library from Remake in Unreal...
All the props and such (doors, tables, chairs, etc) were all manually placed by just simply referencing the actual game by alt tabbing back and forth to get it as close as possible. This took a lot of time and I determined it wouldn't be worth it for the rest of the rooms in the game, because most rooms have so many props it would take forever. Looking at the game files, I saw there were specific scene files for gimmicks (\natives\x64\objectroot\setmodel\sm4x_gimmick) such as doors, light switches, etc. In these same scene files, I see stuff like fixcamera_rpd.scn.19 and light_rpd.scn.19 that possibly have fixed camera locations and rotations, and also light entity locations and such.
Using a HEX editor I can see some of the stuff I'm looking for but it's SUPER hard to read and to be sure I've found exactly what I need. I also don't see the location/rotation X Y Z coordinates in there. Maybe they're in a different file?
Any help with this, even if pointing me in the right direction would be great!! Thanks!