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.

The Dark Knight Rises

Featured Replies

  • Author
  • Localization

dswd2016, posted Thu May 12, 2016 10:07 am (13296)


How to Open or import BDAE files from game Batman The Dark Knight Rises?
  • Author
  • Localization

dionyseuss, posted Tue Nov 08, 2016 4:40 pm (18652)


Check out this thread for using hex2obj to convert the bdae: http://zenhax.com/viewtopic.php?f=5&t=3045

I made a little progress with the batman_low model.

Image

One of my values must be a little off. Maybe someone else wants to jump in!
  • Author
  • Localization

Acewell, posted Tue Nov 08, 2016 10:22 pm (18658)


batman.bdae :D
Image
i'm not sure about the UVs yet though :?

  • Author
  • Localization

dionyseuss, posted Tue Nov 08, 2016 10:26 pm (18659)


Nice! I got batman_low.bdae.

I was way off on the vertex list start
Also, the cape is a separate submesh.

Image
  • Author
  • Localization

Acewell, posted Tue Nov 08, 2016 11:10 pm (18660)


awesome! it looks like the UVs are "WordUV" and the position is 72 :D
  • Author
  • Localization

dswd2016, posted Wed Nov 09, 2016 8:33 am (18665)


Acewell wrote:
batman.bdae :D
Image
i'm not sure about the UVs yet though :?

batman_bdae.png



Thanks for helping me. I need to learn how to use this program, could you give me any suggestions to get this result?
  • Author
  • Localization

dionyseuss, posted Wed Nov 09, 2016 6:15 pm (18679)


It took me about a week of trying to get hex2obj to work. I tried the tutorial first, but could not get anywhere with it.
    Start by searching the bdae file for the number '000001002' in your hex editor. This will give you the first face index.
    Next, you need to find the number of faces. You can do this in the hex editor, but I use hex2obj: Enter 2000 in the Count field and press go
    In the lower left of hex2obj, you will see a bunch of numbers get spewed out. These are the face values. They should start with 1 and be numbers of kind of the same size without any big jumps.
    If there is a disconnect in the numbering you have reached the end of the list. You can modify the Count value to make it fit your last vert. At the bottom of the list you will see a number next to max face index. This will probably be a number 400 - 700ish. If it is at 63,000 you have not set the Count value correctly.
    The Max Face index value needs to be entered into the Vertices count field on the right.
    Next you need to find the Vertex start index in your Hex Editor. This is the tricky part.
    Each vertex has its own row of bytes in the bdae file, but you don't know how long the row needs to be.
    You can adjust the row size in the options of your hex editor.
    Its best to experiment with numbers, 24, 32, 52, 80, 88 etc until you can see a pattern in the numbers.
    Once you have this scroll up until you reach the start of the block (where the pattern of numbers ends)
    Enter the start number in the Vertices StartAddr 0x field in hex2obj and the row size number in the FvF field.
    Press the mesh button to see the mesh, if it doesn't work, or gives you a messed up mesh, you need to choose a different Vertex start address.

Maybe there are better ways of doing this, this is what works for me.

girl_with_jacket_low.bdae
Image
  • Author
  • Localization

dswd2016, posted Thu Nov 10, 2016 4:53 am (18695)


Thank you very much, I'll follow your suggestion.
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.