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.

[PS2] 3d Game map extraction

Featured Replies

  • Author
  • Localization

Beebster, posted Sun Aug 09, 2020 4:09 am (57971)


Hello first time posting here but have been working on this awhile.
The game is for the playstation 2, would currently prefer not to share the name, but am willing to privately message about it if need too.

Link to one of the maps: https://drive.google.com/file/d/1dkVO8b ... sp=sharing

From what I can tell a section of vertices(?) start at offset 0x187873:

The overall header specifies there will be 3 "sets" of vertices, and 24 vertices in total. (I'm not currently sure what some of the inbetween data is...)
Then about 16 bytes later, it says there is 12 vertices in this set.
I highlighted the first set's sections that I believe is the vertices.
After the first set, the next set states there will be 6 vertices in set 2 and then 6 vertices for set 3 a little below.
Image

Then immediately after this vertice set, appears to be face values.
Similar setup to the vertices, but in this case there is 4 sets? and 30 total facets.
First set has 12.
Whats weird is it seems to be using the vertex information for each face, which leads me to believe these may actually be the vertices.
There is some values here not present in the prior "vertice" sections. But if these are purely 2 byte vertice values, I see no values within the file to represent the facets.
Using the method I have now, the face's become super janky. and it's looks like a giant spike of death.
Image

When I currently implement Vertices only, it looks correct?
Supposed to be a mountain side with a underground network of tunnels.
Image

So with that, I feel like I am abit off somewhere with this data and hoping someone may be able to point me in the right direction from some of this sample data?
Mainly I am looking for solving the facet data at this point, as it looks like the vertices are correct.

Any help would be super appreciated.
  • Author
  • Localization

Beebster, posted Sun Aug 09, 2020 5:50 pm (57989)


Some additional notes I missed. The file type is .ESF, and at the beginning of the .esf files, they have FJBO, which I assume is object file/format?
Guest
This topic is now closed to further replies.

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.