Cornalito Posted Thursday at 04:10 AM Posted Thursday at 04:10 AM 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 21 hours ago Engineers Posted 21 hours ago 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 12 hours ago Engineers Posted 12 hours ago 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 10 hours ago Engineers Posted 10 hours ago (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 10 hours ago by shak-otay
Engineers h3x3r Posted 10 hours ago Engineers Posted 10 hours ago 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 9 hours ago Engineers Posted 9 hours ago 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 9 hours ago Engineers Posted 9 hours ago (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 5 hours ago by shak-otay
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