What's new

Smash Bros Melee, Model Viewer/Extractor Project! help/tips perhaps? :)

jahra!n

New member
Hey everyone, many of you may not know me but before you take a quick glance at my post count and just automatically assume im just another random n00b posting lemme give you some details on my background.

I first started learning how to reverse engineer video game file types a few months ago. I began working on a level bsp extractor for halo 2 which allows you to open up a halo 2 .map file and read the level's model information. Up until recently with some help i was able to get it fully working. Il post some pics since your probably skeptical of it. After getting some experience in that project with reading file hex, observeing file structures, and reading and writing many different 3d file formats i started working on quick simple little app i made to extract a character model from this one japanese anime pc game i have but could never play cuz i cant read japanese. It took me about 2 days to write an app that can read its file format and save the models as either .wrl or .x or .obj. Being so succesfull working on those 2 projects which were my first it has gave me the confidence to work on a project to a much larger scale.

Why do i want to make a Model Viewer/Exctractor for Smash Bros? Well mainly becuase i enjoy the challenge of reverse engineering. Also becuase i have been a 3d modeler for about 7 years now. Im highly interested in moving into a career in game design and what inspires me to build models for games is by observing models from other games. Sort of like when a painter looks at other artist paintings to inspire them to paint better paintings. But why smash brothers? Its one of my all time favorite games :p but not only that, it has a HUGE variety of different character designs, level designs, and much much more.

I havent created my own model rendering engine yet for the model viewer portion but i have worked on some semi render engine like code to view the halo 2 level models. It was done just by basically rendering lines on picturebox with some basic 3d math applied that i managed to find on the net. the result in rendering a 15000 + poly map gave an over all performace of about 0.5 fps.... I recently downloaded TrueVision 3d and i will now be using it for the rendering portion of the app.

I been downloading the smash bros rom for about 3 months now. Im on dail up atm... but i finally got it since i dont know how to copy the disk onto my PC. I been using GC-Tools to try and make observations of the different files in hex but there not much i can make out since they all have the same extenstions. The only thing reconizable i can tell is the file names. They have prefixes that determine there type since ones with similar prefixs have similar binary structures. Files with the Ty prefix appear to be the files used for trophies 'Toys'. Pl files I beleave to be player files with each character's information. Gm files i beleave to be game files that perhaps contain the game's code for the different gametypes and adventures. Mv files i think are probably cutscene movies. These, again, are just some quick observations i made since i just got the rom.

I'm posting in this forum because I really hope that i dont need to go through the process of having to process these files to create a model viewer. And if its done that way it will work for only smash bros melee and no other gamecube game. Im hoping someone can refer me to software that i can use to dump display list information from DirectX so that i could use The emulator dolphin to read the roms and have what ever display infomration that is held in its memeory could be dumped into files that i could process to make them readable by other applications or my model viewer. Dolphin works exceptionally well for smash bros except some slight fps problems. I also know that its a pretty easy task for one of the gfx pluggin writers for dolphin to write an app to dump the display list information to files. If anyone can link me up with a way to contact any of them, that would be highly appreciated. If anyone would like to contact me, you can by AIM jahrain14, MSN [email protected] or send an email to that address. Im mostly on AIM but i do sign on MSN occationaly.

Im tired of being a lone wolf pioneer in some of this stuff and i hope to get involved with a community with my efforts. I hope to get some positive feedback in this thread. I dont wanna be flammed becuase im new or anything becuase i realized thats how it is in many forums and its been one of the reasons why i mostly feared getting into most forums.

And btw heres some shots of some of my results for some of the model extraction/viewing projects i worked on in the past.

Halo 2 BSP Viewer/Extracter
bspviewer2oq.jpg

In this shot my enginer wasnt able to control the camera, it only allows linear perpectives but now that im using TrueVision 3d, that wont be a problem.
Deep Exploration shots:
Zanzibar


Turf


Midship


A girl from that japanese game

The extractor can only read the static parts of the mesh, the dynamic physics part of the mesh included the character's hair and skirt, which is why shes bald and her panties are showing :p

Also for those who dont know me from my website's spotlight on g4ttv for the other sid project im working on which i have posted on this forum before i beleave. Im also working on a project to allow Zelda Ocarina of time to be played online using halo's engine. http://www.projectzeldaonline.com
 

MasterPhW

Master of the Emulation Flame
jahra!n said:
Hey everyone, many of you may not know me but before you take a quick glance at my post count and just automatically assume im just another random n00b posting lemme give you some details on my background.

I first started learning how to reverse engineer video game file types a few months ago. I began working on a level bsp extractor for halo 2 which allows you to open up a halo 2 .map file and read the level's model information. Up until recently with some help i was able to get it fully working. Il post some pics since your probably skeptical of it. After getting some experience in that project with reading file hex, observeing file structures, and reading and writing many different 3d file formats i started working on quick simple little app i made to extract a character model from this one japanese anime pc game i have but could never play cuz i cant read japanese. It took me about 2 days to write an app that can read its file format and save the models as either .wrl or .x or .obj. Being so succesfull working on those 2 projects which were my first it has gave me the confidence to work on a project to a much larger scale.

Why do i want to make a Model Viewer/Exctractor for Smash Bros? Well mainly becuase i enjoy the challenge of reverse engineering. Also becuase i have been a 3d modeler for about 7 years now. Im highly interested in moving into a career in game design and what inspires me to build models for games is by observing models from other games. Sort of like when a painter looks at other artist paintings to inspire them to paint better paintings. But why smash brothers? Its one of my all time favorite games :p but not only that, it has a HUGE variety of different character designs, level designs, and much much more.

I havent created my own model rendering engine yet for the model viewer portion but i have worked on some semi render engine like code to view the halo 2 level models. It was done just by basically rendering lines on picturebox with some basic 3d math applied that i managed to find on the net. the result in rendering a 15000 + poly map gave an over all performace of about 0.5 fps.... I recently downloaded TrueVision 3d and i will now be using it for the rendering portion of the app.

I been downloading the smash bros rom for about 3 months now. Im on dail up atm... but i finally got it since i dont know how to copy the disk onto my PC. I been using GC-Tools to try and make observations of the different files in hex but there not much i can make out since they all have the same extenstions. The only thing reconizable i can tell is the file names. They have prefixes that determine there type since ones with similar prefixs have similar binary structures. Files with the Ty prefix appear to be the files used for trophies 'Toys'. Pl files I beleave to be player files with each character's information. Gm files i beleave to be game files that perhaps contain the game's code for the different gametypes and adventures. Mv files i think are probably cutscene movies. These, again, are just some quick observations i made since i just got the rom.

I'm posting in this forum because I really hope that i dont need to go through the process of having to process these files to create a model viewer. And if its done that way it will work for only smash bros melee and no other gamecube game. Im hoping someone can refer me to software that i can use to dump display list information from DirectX so that i could use The emulator dolphin to read the roms and have what ever display infomration that is held in its memeory could be dumped into files that i could process to make them readable by other applications or my model viewer. Dolphin works exceptionally well for smash bros except some slight fps problems. I also know that its a pretty easy task for one of the gfx pluggin writers for dolphin to write an app to dump the display list information to files. If anyone can link me up with a way to contact any of them, that would be highly appreciated. If anyone would like to contact me, you can by AIM jahrain14, MSN [email protected] or send an email to that address. Im mostly on AIM but i do sign on MSN occationaly.

Im tired of being a lone wolf pioneer in some of this stuff and i hope to get involved with a community with my efforts. I hope to get some positive feedback in this thread. I dont wanna be flammed becuase im new or anything becuase i realized thats how it is in many forums and its been one of the reasons why i mostly feared getting into most forums.

And btw heres some shots of some of my results for some of the model extraction/viewing projects i worked on in the past.

Halo 2 BSP Viewer/Extracter
bspviewer2oq.jpg

In this shot my enginer wasnt able to control the camera, it only allows linear perpectives but now that im using TrueVision 3d, that wont be a problem.
Deep Exploration shots:
Zanzibar


Turf


Midship


A girl from that japanese game

The extractor can only read the static parts of the mesh, the dynamic physics part of the mesh included the character's hair and skirt, which is why shes bald and her panties are showing :p

Also for those who dont know me from my website's spotlight on g4ttv for the other sid project im working on which i have posted on this forum before i beleave. Im also working on a project to allow Zelda Ocarina of time to be played online using halo's engine. http://www.projectzeldaonline.com
Mmh... your projekt looks interesting...
And I think not only you are interested in this modells, a lot people of this board are probably interested in this, too.
But at the beginning a great welcome in the emulation community and I wish you a good stay. :)
We have already two or three people in this board who are working in modell viewer and GC file stuff, the best known guy in this stuff is a good friend of mine with the name thakis.
I would recommend to send him a pm and ask him for help.
I want to give you a helping hand, too, I could beta test and probably more, just add me to msn (you've got a pm) and I will help you if I'm online...
So that it for the moment, btw you probably should look into this thread: http://www.emutalk.net/general-gc-emulation-discussion/29966-metroid-prime-pak-format.html,this http://www.emutalk.net/general-gc-e...13-pm-ttyd-model-file-format-pet-project.html or this http://www.emutalk.net/general-gc-emulation-discussion/26919-szs-file-format-explained-part-2-a.html (recommend) if you haven't...
 

Trev0r

New member
jahrain your the guy working on the zelda mod for haloce, hmm...
Maybe you want the Link model for your mod maybe?
 
OP
J

jahra!n

New member
Cool, but what does this have to do with dolphin? Should be in General GC...
I'm posting in this forum because I really hope that i dont need to go through the process of having to process these files to create a model viewer. And if its done that way it will work for only smash bros melee and no other gamecube game. Im hoping someone can refer me to software that i can use to dump display list information from DirectX so that i could use The emulator dolphin to read the roms and have what ever display infomration that is held in its memeory could be dumped into files that i could process to make them readable by other applications or my model viewer. Dolphin works exceptionally well for smash bros except some slight fps problems. I also know that its a pretty easy task for one of the gfx pluggin writers for dolphin to write an app to dump the display list information to files.

jahrain your the guy working on the zelda mod for haloce, hmm...
Maybe you want the Link model for your mod maybe?
I could posibly use it but if you you didnt notice my mod is using models that resemble the n64 game.
 
OP
J

jahra!n

New member
Btw, I beleave i have spoken to thakis quite a while back on icq. But that was way before i knew how to even program. Il I dont think he has the smash bros rom though but il talk to him again. But who i really need to some how get a contact to is one of the gfx pluggin writers for dolphin.
 

Pogo

New member
Wowzers

Holy sh*t dude!!! You MUST make this extractor. I mean cripes, you've seen those trophie models in Melee. WOW. Imagine getting those into 3dsmax! :bounce:

I'd sign a petition for this anyday :p
 

GCFreak

New member
jahra!n said:
Btw, I beleave i have spoken to thakis quite a while back on icq. But that was way before i knew how to even program. Il I dont think he has the smash bros rom though but il talk to him again. But who i really need to some how get a contact to is one of the gfx pluggin writers for dolphin.

If you do want to contact a GFX Plugin maker, Contact FiRES . He made the Dolphin GFX Plugin.
 
OP
J

jahra!n

New member
JinXD said:
Was ector who wrote the gfx plugin, F|RES worked mainly on the core.

http://www.dolphin-emu.com/team.php
Any ways which i can contact any of these guys?

So far i managed to map out quite a bit of the Player file structure (files with the Pl prefix) and most of the Toy file structure (the files with the Ty prefix). The part where im stuck is decoding the vertex block which store the locations of each vertex. The data is stored in some way other than the standard floating point binary representation. I have no clue on how to decode any other representations of floating point numbers. Also i have noticed that other blocks in the files such as the model's shader block store floating point values the standard way and its just the vertex location block which has them stored differently. Perhapse the data is compressed in some way and i have never written and decompression algorythms so i dont know where to start from there.
 

preetyforu

New member
I just would like to warn you before you get banned talking about roms, or isos. Nobody can tell you on these forums where to get the roms/isos, so its not really worth it to ask. All I can say for your hint: "google search". And there is no such thing as a Super Smash Bros Melee Rom. Becareful what you ask on these forums.
Remember: Support Nintendo, buy their games, not pirate them.

Now with the emulator... It may be more compatible with games, but speed comes first in my book. I dont want to play a game that isnt fun, just because of speed issus. You dont need "one heck of a computer" to play this, you just have to have a decent video card with at least a Pentium 4 Processor. If your using a computer with a Pentium 3, and Windows 98... I wouldnt count on playing this emulator.
 

Top