(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-10-24 07:57 AM
0 users currently in The Pit of Despair.
Acmlm's Board - I3 Archive - The Pit of Despair - Crash Course in GFX Ripping New poll | | Thread closed
Add to favorites | Next newer thread | Next older thread
User Post
Pac

Bandit
Free Ice Man!








Since: 11-18-05
From: Ireland

Rate me

Last post: 6290 days
Last view: 6290 days
Posted on 11-18-05 01:02 PM Link
So, here's how to rip a Background! And also, a little explanation of GFX and ExGFX.

GFX files are stored in a SMW rom, about 33 by default. These GFX files are used to make up everything you see in the game, both objects and sprites. One GFX file holds the GFX for the normal ground, another for the cave ground, another holds the GFX for some backgrounds, and another few hold GFX for sprites.

To view these GFX files, open your game with Lunar Magic and hit the red poison mushroom which will extract all ~33 of SMW's GFX files to a folder in the same folder as your rom, called "Graphics". And use YY-CHR to open one of these GFX files to view the GFX inside. When you open it with YY-CHR, on the drop-down box, select 4bpp SNES to make the GFX appear clearly. To make Layer 3 GFX appear clearly, select 2bpp GB.
NOTE: If you have "Use Joined GFX Files" enabled in LM, the 33 GFX files will appear as AllGFX.bin, a large file in which ALL of the games GFX will be stored.

If you want to add a new background to your hack, you need to add a new GFX file to hold the GFX for that new background. Instead of overwriting an existing GFX (which could prove quite messy, use an ExGFX file.

ExGFX files work in a similar way to GFX files, except that there are no ExGFX files in SMW by default. To put one in, Hit the poison mushroom which says "Extract ExGFX from ROM", this will create a folder in the same folder as your rom called ExGraphics. Copy one of the GFX files (lets say GFX20.bin) into this folder, and rename it to ExGFX80.bin. Go to LM and hit the button that says Insert ExGFX to ROM. Now, open the Super GFX bypass, and in the BG1 slot, select ExGFX80. Now the BG will be messed up, but if you open the 8x8 editor, you will see that the GFX of GFX20.bin now appear where the BG GFX used to appear.

To rip a BG from say, SMAS, actually lets say SMAS SMB3 w1-4, the Green and Yellow hills with the clouds, open a SMAS rom with YY-CHR. Scroll down until you find the GFX for that BG I just mentioned. It should be easy to find, near the bottom somewhere. (All of SMAS's GFX are viewable by opening the ROM with YY-CHR, again you need to switch to 4bpp SNES)

So, once you've found the GFX for that BG, hold down right-click to select it all (half of the page), open ExGFX80.bin with another YY-CHR, and paste that BG GFX into ExGFX80.bin. Then in LM, hit the "Insert GFX to ROM" button. Quickly load a different level, and then go back again. Open the 8x8 editor again and you should see the GFX for the SMB3w4-1 BG in the BG slot. But do you see the BG in the level? No, you just see garbage. Why? 3 reasons:

1. You haven't assembled its Map16 pages.
2. You haven't added the assembled Map16 pages to the BG, and
3. You haven't fixed the palette for it yet.

1. Map 16 Pages: Open the 16x16 tile editor and got to page 0x12, this should be a blank page for BGs. Select a tile, and edit its 16x16 attributes. Assign each slot an appropriate 8x8 tile to assemble a 16x16 part of the new BG which can be later inserted to the BG. This part's tricky, and is the hardest part of GFX ripping. Eventually, you should have all of the 16x16 tiles for that BG, each of which make up a tiny shape of the BG. NOTE: for now, you should set all of these tiles to palette 0, using the "Edit 16x16 attributes" dialog. NOTE: Some BGs use 2 palettes, in which case you should also use palette 1.

2. Open the BG editor and use page Up/Down to select page 0x12, then by having the 16x16 editor open too, right clicking should paste the tile which is selected by the 16x16 editor. You can only use tiles from ONE page on each BG. If done correctly, you should that BG, and it WILL be miscoloured.

3. The get the palettes right, selct "Enable Custom Palette" from the Toolbar, then open the palette editor. Take a screenshot of the real SMB3 BG during gameplay, and hit the Print Screen button, then open up MS Paint. Go to edit, paste, and the BG should appear in Paint. Use the colour picker to pick a colour from the BG, and go to Colours, edit colours, define custom colours, to view its RGB stats. Then in LM, using the 8x8 editor as a guide for which colour to edit, right click on a colour in the paltte editor on palette 0, and enter the RGB value you found earlier. Get all 15 colours and the BG area colour right, and voila! You're a GFX ripper!

Any problems? Post it here.


(edited by peter_ac on 11-18-05 12:02 PM)
Shane

Red Cheep-cheep








Since: 11-18-05
From: IRELAND!!!

Last post: 6301 days
Last view: 6290 days
Posted on 11-18-05 03:42 PM Link
OH THANK JESUS!!! I have'nt read this yet but at least it'll explain how to do the damn thing. Thanks Pete!
fabio

Ameboid








Since: 11-17-05
From: Texas

Last post: 6290 days
Last view: 6290 days
Posted on 11-18-05 06:38 PM Link
Excellent work peter_ac! It's just what I need to get started on my hack that I haven't touched in 4 months.

I think they should be sticky to avoid the flood of "How do I insert ExGFX" threads but then again, I doubt most people would read stickies anyway.
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 6291 days
Posted on 11-18-05 09:05 PM Link
Very useful!
Link2006

Octoballoon








Since: 11-18-05
From: Kokiri Forest

Last post: 6299 days
Last view: 6291 days
Posted on 11-21-05 01:08 PM Link
I just saw this thread. Good job breaking down the GFX hacking. Hopefully this should help newcomers with the usual questions; "How do I get this background?" or "how do I insert this EXGFX?" This should also be stickied.
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 6291 days
Posted on 11-24-05 10:59 PM Link
This thread is very useful, Must be Sticky. Could someone do it??
Blue Falkon

Hoarder


 





Since: 11-18-05
From: Canada

Last post: 6497 days
Last view: 6497 days
Posted on 11-24-05 11:02 PM Link
I haven't read it but I believe it should be stickied. I didn't want to bug the board further about backgrounds so this should help me a lot without asking more questions. Thanks a lot.
Pac

Bandit
Free Ice Man!








Since: 11-18-05
From: Ireland

Rate me

Last post: 6290 days
Last view: 6290 days
Posted on 11-25-05 04:28 AM Link
If it gets stickied, I'll add more to it, by covering more things, like OW GFX, animations, and Layer 3 GFX.


(edited by peter_ac on 11-25-05 03:38 AM)
asdf

Link's Awakening
‭‮‭‮ಠ_ಠ








Since: 11-18-05

Last post: 6292 days
Last view: 6290 days
Posted on 11-25-05 04:30 AM Link
Don't you think we have enough stickies as it is? That's what some of us call "superglueing a forum" Great guide, though.
Blue Falkon

Hoarder


 





Since: 11-18-05
From: Canada

Last post: 6497 days
Last view: 6497 days
Posted on 11-25-05 09:40 AM Link
Originally posted by peter_ac
If it gets stickied, I'll add more to it, by covering more things, like OW GFX, animations, and Layer 3 GFX.


Please, do OW GFX. ^^; I'm still not doing very well with it.
Xeruss

Cukeman








Since: 11-18-05
From: Oregon

Last post: 6290 days
Last view: 6290 days
Posted on 11-25-05 11:46 AM Link
Gahh! why is everything added after I have to learn to do it myself? I do however agree, this ought to be stickied, then we can direct newbies here when they ask, fairly in-depth by the way.
Lemon de man

150








Since: 11-17-05
From: Castle Koopa

Last post: 6388 days
Last view: 6292 days
Posted on 12-23-05 06:02 PM Link
Liar, you can't open the SMAS rom because all I see is garbage
Smallhacker

Super Koopa
I AM A Group Of Officially Frustrated Younglings, G.O.O.F.Y. MEMBER








Since: 11-17-05
From: Söderhamn, Sweden

Last post: 6292 days
Last view: 6290 days
Skype
Posted on 12-23-05 06:23 PM Link
Originally posted by Lemon de man
Liar, you can't open the SMAS rom because all I see is garbage

I assume that you're talking about opening it in a tile editor.

1) Do you use the right format? (SNES 4bpp)
2) Did you scroll down at all?
Lemon de man

150








Since: 11-17-05
From: Castle Koopa

Last post: 6388 days
Last view: 6292 days
Posted on 12-23-05 06:41 PM Link
Sleighhacker:

1) Yes I did
2) No I didn't


(edited by Lemon de man on 12-24-05 03:32 AM)
Xeruss

Cukeman








Since: 11-18-05
From: Oregon

Last post: 6290 days
Last view: 6290 days
Posted on 12-23-05 08:52 PM Link
Umm... what's with the one month bump?
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - The Pit of Despair - Crash Course in GFX Ripping | Thread closed


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.024 seconds; used 417.26 kB (max 525.02 kB)