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.

Cave Story 3D (*.n3ddta, *.n3dhdr)

Featured Replies

  • Author
  • Localization

Doctor Loboto, posted Fri Mar 10, 2017 5:49 pm (21360)


Well, it's been a while since I've looked into this game, and unfortunately still nothing has turned up anywhere else, so I figured I'd ask here. These files I assume are compressed somehow, and contain models and textures. All I need is OBJ's with UV's, and use-able texture formats to apply to them. I'm not sure what the specifics are for these either.

https://www.dropbox.com/s/u8uvvajyjmzpihe/CS3d.zip?dl=0
  • Author
  • Localization

TRDaz, posted Sun Mar 19, 2017 12:23 am (21614)


From a quick check you can get obj and UVs with hex2obj (doesn't seem like the files are compressed, I think the header is separate as .n3dhdr)
There doesn't seem to be another mesh in the file, model looks incomplete though. Can't help with textures unfortunately.
Tested 263_docred.n3ddta:
Image
  • Author
  • Localization

id-daemon, posted Tue Mar 21, 2017 7:35 pm (21691)


TRDaz i have no idea why you only decided to render a half of the mesh. Here the correct numbers:

0x47B0 3012
0x5F40 724
  • Author
  • Localization

TRDaz, posted Wed Mar 22, 2017 3:23 pm (21700)


Sorry, it was late at night here when I posted that lol, wasn't thinking clearly.
  • Author
  • Localization

Doctor Loboto, posted Wed Mar 22, 2017 10:37 pm (21709)


As I've said before though, I can't really operate hex2obj properly, and I need just obj's with UV's and textures to properly apply.
  • Author
  • Localization

id-daemon, posted Sat Mar 25, 2017 12:09 pm (21752)


The format is very simple, i'm not usually making such tools, so i made it as easy as possible.

1. Drop .n3dhdr on the tool - it will unpack all resources (some of them are meshes and textures)

2. Drop mesh resource on the same tool - it will make OBJ files.

Image

Cs3d.rar

  • Author
  • Localization

Acewell, posted Sun Mar 26, 2017 6:09 pm (21780)


here is a bms script to extract and 'headerfy' the textures from your samples for kicks :D
Code:
findloc tga binary "\x04\x00\x00\x00\x00\x00\x00\x00\x38\x00\x00\x00"
do
    goto tga
    xmath go2width "tga - 0x8"
    goto go2width
    get WIDTH long
    get HEIGHT long
    xmath start "tga - 0x2c"
    goto start
    get NAME string
    goto tga
    getdstring SKIP 12
    savepos OFFSET
    xmath SIZE "(((WIDTH * HEIGHT) * 16) / 8)"
    set MEMORY_FILE binary "\x44\x44\x53\x20\x7C\x00\x00\x00\x07\x10\x08\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x20\x00\x00\x00\x40\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\xF8\x00\x00\xE0\x07\x00\x00\x1F\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
    putVarChr MEMORY_FILE 0x10 WIDTH long
    putVarChr MEMORY_FILE 0xC HEIGHT long
    string NAME - ".tga"
    string NAME ".dds"
    log NAME 0 0x80 MEMORY_FILE
    append
    log NAME OFFSET SIZE
    append
    findloc tga binary "\x04\x00\x00\x00\x00\x00\x00\x00\x38\x00\x00\x00" 0 ""
while tga != ""
  • Author
  • Localization

luRaichu, posted Fri Jul 09, 2021 3:57 pm (65123)


When I run Cs3d.exe on my PC, it crashes with an System.IndexOutOfRangeException error.
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.