Posts: 36
Threads: 7
Joined: Jul 2014
I am trying to rip some of the models on the GameCube version and I have no clue what the model format is or how to get a 3d model from the game.
Some facts I know about the games file format
The .obj file format doesn't use the normal .obj format so in other words, it cant be opened in blender
the .bkn files seem like they are just backup files due to them being everywhere and they are .FILEEXTENSION.bkn
I really want to try to rip them this way so I could get full levels and/or t posed characters, Also my computer sucks and it cant run the game but it can view the files
could you provide some samples... of the objs and the like?
Posts: 36
Threads: 7
Joined: Jul 2014
(12-03-2015, 07:22 PM)Ecelon Wrote: could you provide some samples... of the objs and the like?
Yeah I can provide some examples of what I think are the actual models,
I am speculating the .nus could be the models but the only thing that makes me change my mind is due to the fact that there is a pause.nus and a font.nus
http://www.mediafire.com/download/o20hw9...Models.zip
Posts: 36
Threads: 7
Joined: Jul 2014
(12-05-2015, 12:29 AM)ThatTrueStruggle Wrote: I wrote a BMS script to extract the files. Use it with QuickBMS
Code:
endian big //seems like idstrings are little endian but other values are big endian
idstring "0CSG"
get fileSize long
idstring "LBTN"
savepos RelativePos
get fileLengthPos long
xmath fileLengthPos "RelativePos + fileLengthPos"
get fileStart long
savepos RelativePos
xmath fileStart "RelativePos + fileStart"
savepos fileTableStart
i = 0
do
savepos fileTableStart
get fileNames[i] string
xmath i "i + 1"
while fileTableStart != fileStart
x = i
i = 0
for i = 0 < x
goto fileStart
get magicID long
get fileSize long
savepos RelativePos
log fileNames[i] fileStart fileSize
xmath fileStart "fileSize + fileStart"
next i
script's note:
This is a pretty crappy script, it does a lot to achieve so little lol
Strange, I did everything correct but I got a error stating "Error: invalid command"xmath" or arguments -1 at line 7" I will see what the problem is but I bet I will fail to find it
Posts: 36
Threads: 7
Joined: Jul 2014
12-05-2015, 11:12 AM
(This post was last modified: 12-05-2015, 11:17 AM by harley201.)
(12-05-2015, 02:34 AM)ThatTrueStruggle Wrote: (12-05-2015, 01:19 AM)harley201 Wrote: (12-05-2015, 12:29 AM)ThatTrueStruggle Wrote: I wrote a BMS script to extract the files. Use it with QuickBMS
Code:
endian big //seems like idstrings are little endian but other values are big endian
idstring "0CSG"
get fileSize long
idstring "LBTN"
savepos RelativePos
get fileLengthPos long
xmath fileLengthPos "RelativePos + fileLengthPos"
get fileStart long
savepos RelativePos
xmath fileStart "RelativePos + fileStart"
savepos fileTableStart
i = 0
do
savepos fileTableStart
get fileNames[i] string
xmath i "i + 1"
while fileTableStart != fileStart
x = i
i = 0
for i = 0 < x
goto fileStart
get magicID long
get fileSize long
savepos RelativePos
log fileNames[i] fileStart fileSize
xmath fileStart "fileSize + fileStart"
next i
script's note:
This is a pretty crappy script, it does a lot to achieve so little lol
Strange, I did everything correct but I got a error stating "Error: invalid command"xmath" or arguments -1 at line 7" I will see what the problem is but I bet I will fail to find it
Do you have the newest version of QuickBMS?
I think so. But I will re-download again
(12-05-2015, 11:12 AM)harley201 Wrote: (12-05-2015, 02:34 AM)ThatTrueStruggle Wrote: (12-05-2015, 01:19 AM)harley201 Wrote: Strange, I did everything correct but I got a error stating "Error: invalid command"xmath" or arguments -1 at line 7" I will see what the problem is but I bet I will fail to find it
Do you have the newest version of QuickBMS?
I think so. But I will re-download again
Ok somehow I had version 0.5 no wonder I couldn't get it to work at all