Misc: Extracting Models and Textures from N64 ROMs

This is where the Admins will put tutorials submitted by users.

Was this tutorial helpful?

Yes
14
100%
No
0
No votes
 
Total votes: 14

-Laser-




Articulatist 250

Posts: 380
Joined: Tue Jan 03, 2006 11:18 pm

Misc: Extracting Models and Textures from N64 ROMs

Post by -Laser- »

Image
Required Programs, Plugins, etc.

  • 3D Studio Max(I have v6)
  • The N64 emulator, "1964"
    http://www.emulator-zone.com/doc.php/n64/1964.html

    Note, you may have a favorite emulator already. DON'T USE IT. I've tried the following plugin on just about every emulator out there, and the only one I've had any success with is 1964.
  • Lemmy's Nemu64 GFX plugin
    http://www.emutalk.net/showpost.php?p=2 ... ostcount=7
  • The ROM of the game you want to get stuff from
    Due to the questionable legality of downloading ROMs, I am no longer providing the link to the site, you will have to find them yourself.

    If you do choose to download ROMs, I advise that you download only games that you already own a physical, n64 cartridge copy of. All examples seen below are done with Super Mario 64 and Goldeneye 007, both of which I own physical copies of.
Step One - Preparation
Install 1964, and then unRAR the plugin and place it in C:\Program Files\1964\099\plugin\, assuming you used the default installation path, and that your primary hard drive is assigned the letter C. Then, on your C drive, create a folder named "VRML". This is where everthing you export will end up.
WARNING: If you do not have a writable drive assigned to the letter C, you will encounter problems. Regardless of your setup, the plugin always exports to "C:\vrml\". If you are one of the few people that does not have a drive assigned to C, your best bet is to plug in a USB thumb drive, and use computer management to assign it the letter C.



Step Two - Opening the ROM and exporting
NOTE: The following steps export both the geometry and the textures to the C:\VRML directory simultaneously.

Open 1964, and under the plugins menu, choose change plugins.
Image
Set the video plugin to "Nemu64 Graphics (Combine Debug)", and click OK
Image
Choose File-Open ROM. Navigate to wherever you saved the ROM you wanted, and choose it, and click open. There is no need to Unzip the rom, as 1964 is capable of opening them while they are still zipped.
Before you do anything else, under the plugins menu find input settings. Screw with the input settings till they are however you want them. Make sure you check the box that tells the emulator to tell the game that controller one is plugged in. You can use your keyboard as a controller, or a gamepad.
Image
Image
Get to the area in the game with the geometry you want to export, and do a hard pause. A simple Start button pause will not cut it.
Image
Under the plugins menu, choose video settings
Image
Tick the box labled Export VRML, and click OK
Image
Unpause the game, let it run for a few frames, then pause it again. This pause-unpause-pause method is not optional. If you stop(by closing, or hittin the stop button) the exporting without hard pausing the game first, it will cut it off mid export, therefore corrupting your VRML.
Image
At this point you can close 1964, or export a different frame. If you want to go to a different area and export it, uncheck the export VRML box before going to that area, and then recheck it once ready to export. Each frame exported overwrites the previous one! So if you export another, the geometry from the first one will be lost.

Step Three - Getting it into 3DS MAX
In 3DS Max-
Go to file-import.
Image
Navigate to your C:\VRML\ directory. Set file type to VRML, and open output.wrl.
Image
Once it's done importing, press H and select everything that doesn't begin with "Nemu_", and delete it.
At this point, I'd venture to say you're done. However, some important notes!

After you you've imported everything, all the faces will be flipped
Also, in these exports, there are numerous open edges.
The textures display only in renders.
Every game has its own problems. Many places in Super Mario 64 tend to be tilted around 20-30 degrees.
There are only a few places where an entire level loads at once. Examples are Bob-omb battlefield and outside the castle. Many games only load what you see. For example, Goldeneye only loads the room you are in, and a bit more. It took me nearly 40 exports to get everything I needed, and then I had to re-assemble everything. NOTE: Do not try to export more areas at once by using split-screen 2-4 player games. The geometry for each player exports all in one place, making it near impossible to separate.


Here are some renders of some exports




Image
Image
^gotta love those box handed bipeds
Image
Image
Last edited by -Laser- on Sun Jun 18, 2006 4:40 am, edited 9 times in total.
User avatar
dos mes





Posts: 2158
Joined: Thu Dec 29, 2005 9:58 pm
Location: Syracuse, NY

Post by dos mes »

Really cool, thanks :D
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

YEah thats really cool :D
...left for good
User avatar
KiwiBird





Posts: 99
Joined: Wed Sep 08, 2004 12:21 pm

Post by KiwiBird »

That's awesome! :D When I load Star Wars rougue quadron it says No Controller and doesn't do anything. Do I need a controller?
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

this should be a sticky its awsome.
Image
-Laser-




Articulatist 250

Posts: 380
Joined: Tue Jan 03, 2006 11:18 pm

Post by -Laser- »

KiwiBird wrote:That's awesome! :D When I load Star Wars rougue quadron it says No Controller and doesn't do anything. Do I need a controller?
try configuring the input settings under the plugin menu. There should be a check box which controls whether each of the 4 controllers is active. You don't need a n64 controller to use the emulator though, you can assign a joystick device or just use the keyboard. I use an xbox controller. (They now sell em at places like radioshack, but I wired mine before that.)
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

KiwiBird wrote:That's awesome! :D When I load Star Wars rougue quadron it says No Controller and doesn't do anything. Do I need a controller?
Lol I loaded also quadron.Same idea MB? :D
...left for good
User avatar
dos mes





Posts: 2158
Joined: Thu Dec 29, 2005 9:58 pm
Location: Syracuse, NY

Post by dos mes »

All the geometry of all of my games is completely fucked. Does anyone know how to cure this?
-Laser-




Articulatist 250

Posts: 380
Joined: Tue Jan 03, 2006 11:18 pm

Post by -Laser- »

Dos Mes wrote:All the geometry of all of my games is completely ****. Does anyone know how to cure this?
Other than deleting what you don't need from it, and then attaching everything and flipping the faces, then going through by hand and fixing the horrific numbers of open edges, double faces, spikes, double edges, etc, no. :? :cry:
User avatar
dos mes





Posts: 2158
Joined: Thu Dec 29, 2005 9:58 pm
Location: Syracuse, NY

Post by dos mes »

No I mean when I play a rom. It's all fucked up. I haven't even tryed to extract cause I can't see anything but blurry stuff.
-Laser-




Articulatist 250

Posts: 380
Joined: Tue Jan 03, 2006 11:18 pm

Post by -Laser- »

Dos Mes wrote:No I mean when I play a rom. It's all **** up. I haven't even tryed to extract cause I can't see anything but blurry stuff.
some roms are just that way. One option that works sometimes is to switch to the other video plugin(plugins-change plugins). Then get to the point in the game you want, then save at that point(file-save state). then switch to the exporter plugin, and load the state.
User avatar
BEEF!!!




Pyre

Posts: 1496
Joined: Wed Nov 05, 2003 5:47 pm
Location: Berlin, MA

Post by BEEF!!! »

Awesome. I saw this option when I was searching around through the options on my emulator but I forgot about it lata.
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Does Halomods allow Roms and Emulators?I know that Roms are part illegal :?
...left for good
-Laser-




Articulatist 250

Posts: 380
Joined: Tue Jan 03, 2006 11:18 pm

Post by -Laser- »

Patrickssj6 wrote:Does Halomods allow Roms and Emulators?I know that Roms are part illegal :?
Well, ROMs are illegal if they are of games that are still on the market. Since neither the N64 nor any games for it are produced anymore, I'm 99% sure it's legal.

Besides that, if you were to call, say, microsoft, and report that you knew someone was pirating Office 95, they would laugh at you.

Also, LINK REMOVED, the site from which you can download 100s of different 64 games, is entirely based in the US, therefore vulnerable to any legal action Nintendo could take were the site deemed a threat to their revenue.


-----
Is there any chance my tutorial might be added to the main halomods tutorial index?
User avatar
JK-47




Bloodhound Pyre Socialist Grunge

Posts: 10883
Joined: Wed Dec 01, 2004 2:54 pm
Location: Utah

Post by JK-47 »

Woah! Nice! Shticky mehbeh?

This would be cool to use to make a HCE map with.
Image
-Laser-




Articulatist 250

Posts: 380
Joined: Tue Jan 03, 2006 11:18 pm

Post by -Laser- »

multi-genre wrote:This would be cool to use to make a HCE map with.
shhhh..... =p
User avatar
BEEF!!!




Pyre

Posts: 1496
Joined: Wed Nov 05, 2003 5:47 pm
Location: Berlin, MA

Post by BEEF!!! »

Hey, I just removed the link to the ROM site just to be on the safe side. I'm not 100% sure on the legality of games that are not produced anymore. If you can find some site that shows that is fine, then Ill let you put it back up. Until then I'll just dont wanna have links to ROM sites.
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

Yes they are indeed illegal did some researching but in a couple of years they will be public domain.
Image
-Laser-




Articulatist 250

Posts: 380
Joined: Tue Jan 03, 2006 11:18 pm

Post by -Laser- »

BEEF!!! wrote:Hey, I just removed the link to the ROM site just to be on the safe side. I'm not 100% sure on the legality of games that are not produced anymore. If you can find some site that shows that is fine, then Ill let you put it back up. Until then I'll just dont wanna have links to ROM sites.
I understand. Keeping with that, I removed the link to that site from the required materials list at the top.
User avatar
JK-47




Bloodhound Pyre Socialist Grunge

Posts: 10883
Joined: Wed Dec 01, 2004 2:54 pm
Location: Utah

Post by JK-47 »

I think they are pretty much legal, as long as you dont play them or steal any items without giving them credit. Im not entirly sure, but there has to be a legal side to them.
Image
Post Reply