Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

F1 2025 ERP Files

Featured Replies

  • Supporter

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

 

  • Supporter

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.

 

  • Supporter

Yay, but how to find the suiting face indices file for a vertex file?

williams.png

edit: guess, I'll need to start with vb=0

Edited by shak-otay

  • Supporter

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.

  • Supporter
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

  • Supporter

Yeah, the right offsets... needs some fiddling again...

 

partially.png

I have no idea how the meshes are organized. Most of them look pretty horrible:

Williams-meshes.png

Edited by shak-otay

  • Supporter

Yeah with right index/vertex offset you can get it just fine.

image.thumb.png.29a976d8da8d2d994f25c73707a74c0b.png

Also i can confirm normals to be > 1, uv > 3 all half floats

Edited by h3x3r

  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...
  • Author
On 7/1/2025 at 7:29 PM, Aaron said:

can you extract Brad Pitt?

 

One of these zenith pilots files is Brad Pitt, let´s hope there´s a way to extract them. 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.