Cornalito Posted June 5 Posted June 5 Hi, there´s a way to extract the 3D models from F1 2025, I tried with 3dsimed but closes after a pair of seconds. safety_car.rar williams.rar
Engineers h3x3r Posted June 6 Engineers Posted June 6 Here's bms for unpack. comtype zstd get BaseFileName basename idstring ERPK get Version uint32 getdstring Dummy 0x8 get ResourceTableOffset uint32 getdstring Dummy 0x4 get ResourceTableSize uint32 getdstring Dummy 0x4 get DataBaseOffset uint32 goto ResourceTableOffset get ResourceCount uint32 get ChunksCount uint32 for i = 0 < ResourceCount get ResourceInfoSize uint32 get StrLen ushort getdstring Dummy 0x7 math StrLen - 7 getdstring FileName StrLen getdstring FileType 0x10 getdstring Dummy 0x4 get ChunkCount ubyte for j = 0 < ChunkCount getdstring Sign 0x4 get Offset uint32 get Unknown_0 uint32 get DecompressedSize uint32 get Unknown_1 uint32 get Unknown_2 uint32 get Unknown_3 ubyte get CompreesedSize uint32 get Unknown_4 uint32 string Name p= "%s/%s" BaseFileName FileName math Offset + DataBaseOffset if ChunkCount < 2 if CompreesedSize == DecompressedSize log Name Offset DecompressedSize else clog Name Offset CompreesedSize DecompressedSize endif else if CompreesedSize == DecompressedSize append 0 log Name Offset DecompressedSize else append 0 clog Name Offset CompreesedSize DecompressedSize endif endif next j get Unknown_5 uint32 get Unknown_6 uint32 get Unknown_7 uint32 get Unknown_8 uint32 next i 1
Engineers h3x3r Posted June 6 Engineers Posted June 6 Well it's quite clear what is what. I noticed that anything ending with "mesh" is constructor. I found links to the vertices/indices etc in them.
Engineers shak-otay Posted June 6 Engineers Posted June 6 (edited) Yay, but how to find the suiting face indices file for a vertex file? edit: guess, I'll need to start with vb=0 Edited June 6 by shak-otay
Engineers h3x3r Posted June 6 Engineers Posted June 6 car name.idf_lod=all&ib=0 but you must find right offset + count which I believe is in mesh file. There are also normal buffers, uv buffers and more.
Engineers h3x3r Posted June 6 Engineers Posted June 6 33 minutes ago, shak-otay said: edit: guess, I'll need to start with vb=0 Yes this is the main vertex buffer. 1 = most probably normals 2 = most probably uv's
Engineers shak-otay Posted June 6 Engineers Posted June 6 (edited) Yeah, the right offsets... needs some fiddling again... I have no idea how the meshes are organized. Most of them look pretty horrible: Edited June 6 by shak-otay
Engineers h3x3r Posted June 7 Engineers Posted June 7 (edited) Yeah with right index/vertex offset you can get it just fine. Also i can confirm normals to be > 1, uv > 3 all half floats Edited June 7 by h3x3r 1
Cornalito Posted June 18 Author Posted June 18 Fantastic, the models can be viewed, that means that the tracks as well? Here´s a track files if anyone want to check: https://drive.google.com/file/d/1yQ_bC3ANKZ8UXkLac6qOQk29qIrVAi2O/view?usp=sharing
Cornalito Posted June 23 Author Posted June 23 Textures can be extracted using the tool Ego ERP Archiver
Cornalito Posted Tuesday at 03:34 PM Author Posted Tuesday at 03:34 PM I got some drivers files if anybody wants to check and maybe be possible extract them. 2025-zenith_zenith_driverfirst.rar2025-zenith_zenith_driversecond.rar
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now