Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - more space for gfx in smw levels | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
ExKeeper

Bullet Bill
Level: 31

Posts: 56/512
EXP: 180084
For next: 5279

Since: 03-05-05
From: Riiight ^

Since last post: 1 day
Last activity: 6 hours
Posted on 03-25-05 06:25 AM Link | Quote
Is there any way to allow more areas to insert gfx in smw levels in the FG or BG (for FG/BG GFX)


(edited by smwedit on 03-24-05 10:06 PM)
Xkeeper 2.0

Hammer Brother
Local ModeratorAdministratorLocal Moderator
Again... :P
Level: 49

Posts: 281/1091
EXP: 880818
For next: 3065

Since: 03-15-04

Since last post: 5 hours
Last activity: 3 hours
Posted on 03-25-05 06:30 AM Link | Quote
You could try ExAnimation (With only one frame) and replace areas of GFX in FG1 and FG2 that are unused in your level. You only get 4 FG/BG ExGFX slots per level. (And the same goes for sprites. )
cpubasic13
17 years old now. Time to buy some M rated games by myself!
Level: 54

Posts: 903/1346
EXP: 1206934
For next: 26936

Since: 03-15-04
From: Blame my parents, Eddy

Since last post: 2 days
Last activity: 1 day
Posted on 03-25-05 07:00 AM Link | Quote
Wait wait wait. You could just replace the graphics file for the first set of FG files to be your ExGFX file. The only problem there is the fact that all the animations will still have to be there, but you can get a whole bunch more tiles in there for use in the FG. Also, try using the BG file for some FG graphics.
ExKeeper

Bullet Bill
Level: 31

Posts: 57/512
EXP: 180084
For next: 5279

Since: 03-05-05
From: Riiight ^

Since last post: 1 day
Last activity: 6 hours
Posted on 03-25-05 07:07 AM Link | Quote
What I meant was more space for FG + BG at the same time.
cpubasic13
17 years old now. Time to buy some M rated games by myself!
Level: 54

Posts: 904/1346
EXP: 1206934
For next: 26936

Since: 03-15-04
From: Blame my parents, Eddy

Since last post: 2 days
Last activity: 1 day
Posted on 03-25-05 07:12 AM Link | Quote
You can use my technique for a background also. What I meant was that if you have extra tiles in the BG ExGFX file you can use those blank ones for FG tiles. You just have to add them in the Map16 editor but you obviously know how to do that...
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 601/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 03-25-05 02:56 PM Link | Quote
Actually, with a certain amount of assembly hacking, you could achieve every level to have one more gfx slot for FG and three more for BG. The only limitation you would have to bear is that you couldn't use BG tiles in FG anymore and vice versa.

Here is a little explanation of what you'd have to do:

(Current state of VRAM memory layout)
- L1(FG) tiles pointer points here -
- L2(BG) tiles pointer points here -
FG1
FG2
BG1
FG3
- Sprite tiles pointer points here -
SP1
SP2
SP3
SP4
lots of empty space
unknown (garbage?) stuff
lots of empty space
layer 3 gfx

(What you would end up with)
- L1(FG) tiles pointer points here -
FG1
FG2
FG3
FG4
- L2(BG) tiles pointer points here -
BG1
BG2
BG3
BG4
- Sprite data pointer points here -
SP1
SP2
SP3
SP4
probably some empty space left here
garbage or HDMA-compressed data
lots of empty space
layer 3 gfx

I'm not quite sure whether I placed the sprite data correctly, but it isn't the thing that matters about the schemata anyway...

I am quite sure this won't be that easy, but it is definitively not impossible. If I ever come to need more gfx space in my hack and code the required stuff, I'll certainly release it here.

Regards,
~blackhole89.


(edited by blackhole89 on 03-25-05 05:57 AM)
(edited by blackhole89 on 03-25-05 05:58 AM)
d4s

Panser
Level: 29

Posts: 147/325
EXP: 142151
For next: 5734

Since: 03-23-04

Since last post: 13 days
Last activity: 1 day
Posted on 03-25-05 04:04 PM Link | Quote
Originally posted by blackhole89

lots of empty space
unknown (garbage?) stuff
lots of empty space
layer 3 gfx




you call it garbage, i call it tilemap data.
im not quite sure if you can afford discarding it.
two 64x64 tilemaps plus layer 3, thats already more than 16kbytes.
when ive had a look at smws vram organization, i wasnt able to find much unused space.
besides, tileset base adressing for each layer is quite limited(only 4 bits per layer),
thas making it difficult sometimes to effectively use all the available space.
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 602/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 03-25-05 06:07 PM Link | Quote
Ah... right... I totally forgot about the tilemaps
Anyway, I am quite sure there should be enough space for at least 1-2 more graphics slots.
d4s

Panser
Level: 29

Posts: 149/325
EXP: 142151
For next: 5734

Since: 03-23-04

Since last post: 13 days
Last activity: 1 day
Posted on 03-25-05 08:36 PM Link | Quote
Originally posted by blackhole89
Ah... right... I totally forgot about the tilemaps
Anyway, I am quite sure there should be enough space for at least 1-2 more graphics slots.



thats quite possible, yeah.
limiting layer 3 to 32x32(iirc, its 64x64 now) and putting the few layer 3 tiles that are actually used during levels into the bg1/2 tilespace would be a good idea aswell.
i mean, most of bg3s tileset is used up by the titlescreen thats never used in normal levels, anyway.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Super Mario World hacking - more space for gfx in smw levels | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.030 seconds.