ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Aug 17, 2017 3:57 am

All times are UTC




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri Mar 10, 2017 5:49 pm 

Joined: Sun May 31, 2015 2:23 am
Posts: 235
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


Top
   
PostPosted: Sun Mar 19, 2017 12:23 am 

Joined: Fri Nov 06, 2015 1:54 pm
Posts: 38
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


Top
   
PostPosted: Tue Mar 21, 2017 7:35 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 628
TRDaz i have no idea why you only decided to render a half of the mesh. Here the correct numbers:

0x47B0 3012
0x5F40 724


Top
   
PostPosted: Wed Mar 22, 2017 3:23 pm 

Joined: Fri Nov 06, 2015 1:54 pm
Posts: 38
Sorry, it was late at night here when I posted that lol, wasn't thinking clearly.


Top
   
PostPosted: Wed Mar 22, 2017 10:37 pm 

Joined: Sun May 31, 2015 2:23 am
Posts: 235
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.


Top
   
PostPosted: Sat Mar 25, 2017 12:09 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 628
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


Attachments:
Cs3d.rar [2.64 KiB]
Downloaded 27 times
Top
   
PostPosted: Sun Mar 26, 2017 6:09 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 301
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 != ""


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited