PDA

View Full Version : Extracting Images



MrSeagull
February 12th, 2002, 06:29
Is it possible to extract images and textures from a N64 rom file? I'm prety sure it was with SNES roms. The reason why i'm asking is because I'm helping with textures for a friend of mine, he's creating a zelda map for quake. It's really hard to do with screenshots, since I can't get even shots most of the time

Shapyi
February 12th, 2002, 06:44
Use Daedalus (with internal video). Just open the debugger while Zelda is running and type 'dump textures' and when you are done 'nodump textures'.

MrSeagull
February 12th, 2002, 08:12
Daedalus is an emulator?

LoneRaven
February 12th, 2002, 08:19
Yeah, here is the website, maybe that will help

http://daedalus.boob.co.uk/

MrSeagull
February 12th, 2002, 08:29
Will this take all the textures out? Or just the ones that pertaint to the area i'm in?

MrSeagull
February 12th, 2002, 08:49
Argh, their discolored.. like greenish. I guess I'll stick to screenshots :(

Azimer
February 12th, 2002, 09:27
Texture is only one component to coloring in the model. Other components are Environment Color, Shade Color (lighting), Primitive Color, and others. These combined in various combiner equations give you the desired color output. That is why the textures look greenish. Perhaps they are really just emphasizing the green component for lighting... or perhaps missing the R and B components due to a primitive color addition mode. The possibilities are endless.

Cyberman
February 12th, 2002, 21:47
Originally posted by MrSeagull
Argh, their discolored.. like greenish. I guess I'll stick to screenshots :(

Ummm.. How about adjusting the color?
You know you can do that, just use a nice application like graphics workshop of photoshop and you can change the hue of the texture, then save it and poof it looks right.

Cyb

MrSeagull
February 12th, 2002, 23:16
I know I can change the colors, but I didnt think I needed to do that.
Plus Daedelus is agrrivating me. I hate having to change my controls every time I load it, and in order to get the textures I want, I have to play through it, and I'm somwhat on a schedual.

Cyberman
February 13th, 2002, 05:21
Originally posted by MrSeagull
I know I can change the colors, but I didnt think I needed to do that.
Plus Daedelus is agrrivating me. I hate having to change my controls every time I load it, and in order to get the textures I want, I have to play through it, and I'm somwhat on a schedual.

Doesn't daedalus come with source? you can fix the controller bug and then you can also add some hue changing code. IE before you dump the texture you can examine it's colors etc. Then dump it with the right ones.

Cyb

Shapyi
February 13th, 2002, 05:25
The textures extract pretty good for me, its probally your video card.

Ogy
February 13th, 2002, 13:13
actually, there is a specific program to do exactly what you need.

it's called N64GFX here's the homepage (http://z64br.virtualave.net/)

MrSeagull
February 14th, 2002, 06:00
Now, if only I could read it the website.. I have no idea how to use that program..

Zero
February 14th, 2002, 14:40
Go to download and select :

N64GFX - em ingles (which means in English)

MrSeagull
February 17th, 2002, 00:16
Yes, I downloaded that, but the instructions are vague...

linker
March 1st, 2002, 12:08
Are you silly?

jelloGnome
March 25th, 2002, 16:57
Is there any way to open PJ64 save states with Daedalus? Also, is there some way to dump the models as well? In the debugger you can see the number of vertices and the triangles but not the actual coordinates of them.

Mayco
March 25th, 2002, 17:07
I know there is a way to do it with Nemu 0.7. there is a HIDDEN checkbox in the graphic-plugin options screen that is disabled (i don't know wich one). Use a program that can enabled and SHOW it (magical mouse) or resource hack it (resource hacker). You can also do it by the registery i think. Load your game and you will have a bunch of textures in a additional window. I don't know if they are all of the textures.

Mayco
March 25th, 2002, 17:19
I attatched the hacked nemu 0.7 video plugin with all the options (include textures & also some other) visible (you only have to cross the checkboxes)

PS: I created a new post cuz you can't attach files in edit post mode.

Mayco
March 25th, 2002, 17:23
here is also a hacked 0.7 audio plugin.

Mayco
March 25th, 2002, 17:26
and the last hack: the beta audio plugin with all the options

Doomulation
March 27th, 2002, 14:43
Geee... they hid a lot of options in Nemu, did they? well, I think I'm gonna check those out.

Anton
April 3rd, 2002, 17:27
MrSeagull, mail me about n64gfx, think I can help.

( ap2@hotbox.ru )

Anton
April 3rd, 2002, 19:33
Also n64gfx 1.0 has bug - it cannot import images into rom.
It still makes export instead.
You need version 2.0.

Cyberman
April 5th, 2002, 03:09
Originally posted by Anton
Also n64gfx 1.0 has bug - it cannot import images into rom.
It still makes export instead.
You need version 2.0.
I would not call that a BUG actually, considering that the ROMS have CRCS etc. hacking a ROM this way is not particularly easy nor is it particularly a good idea.
You have a number of issues here:
1: CRC failure (you have to change the ROMS CRC to prevent this)
2: Data mismatch
Your image information may be of different sizes for textures etc.
This can create a HUGE problem especially with references to ROM memory migrating because of other stored information 'shifting'

So it's not a bug. It was likely omited because the Author didn't think adding images or changing them was worth the effort at the time.

Cyb

Anton
April 5th, 2002, 15:06
No, it's just a simply bug. It has lot of other bugs, also.
I know the author of that prog.
But version 2.0 does the import perfectly. Available only here:
www.kinox.org/zelda64br (Majora's Mask download section) - but this site
temporary down. Also v2.0 available at my site:
http://zelda64rus.dotnet.lv ("How to" section).
This proggy works only with uncompressed graphics, which can be found
in ROM with the help of "Sprite Viewer" utility.
I succesfully use n64gfx for translating Zelda: Ocarina of time into russian,
so I need to change all fonts, items names, etc - and reinsert it back to ROM.
Also n64gfx works good with *.dat files, maded by "Zelda Extractor" utility,
for editing compressed graphics in Zelda.
Just check screenshots at my site to see what is possible.
(site is in russian, but don't be confused - all menu is in english).

Cyberman
April 5th, 2002, 20:56
Originally posted by Anton
No, it's just a simply bug. It has lot of other bugs, also.
I know the author of that prog.
But version 2.0 does the import perfectly. Available only here:
www.kinox.org/zelda64br (Majora's Mask download section) - but this site
temporary down. Also v2.0 available at my site:
http://zelda64rus.dotnet.lv ("How to" section).
This proggy works only with uncompressed graphics, which can be found
in ROM with the help of "Sprite Viewer" utility.
I succesfully use n64gfx for translating Zelda: Ocarina of time into russian,
so I need to change all fonts, items names, etc - and reinsert it back to ROM.
Also n64gfx works good with *.dat files, maded by "Zelda Extractor" utility,
for editing compressed graphics in Zelda.
Just check screenshots at my site to see what is possible.
(site is in russian, but don't be confused - all menu is in english).
I stand (and sit) corrected!

Well I'm glad a newer corrected version exists, I was refering to the trouble caused by compressed graphics for textures. Mostly (seemed to be a popular way to save rom space in N64's tight space).

Anton
April 5th, 2002, 21:11
Yeah, there are lot of compressed stuff in both zelda.
But the main part of graphic for translation - fonts - are not.

...editing compressed stuff is very annoying job..., but I don't need to translate textures :-}. Only some places names, main menu, bosses names, some stuff in subscreens.

neoak
April 6th, 2002, 01:44
And what about the tools on Dextrose.com?

Anton
April 6th, 2002, 16:36
Tools on Dextrose mostly needed for coders, I think.
Dextrose is dedicated for n64 backup units users.
But there are many useful tools for n64 hacking.
Check them, if you want.