| Official Hex/ASM/Etc. Help Thread |
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Official Hex/ASM/Etc. Help Thread |
|
|
|
|
| Posted on 2011-12-23 05:36:46 PM |
Link | Quote |
|
Problem with that is, with a sprite, you have dynamic OAM space. With something run every frame, you risk overwriting other sprite tiles when writing to the OAM.
Depends how well you know the OAM, I guess.
|
|
| Posted on 2011-12-23 06:08:30 PM |
Link | Quote |
|
Originally posted by AlcaroTick "Process while off-screen" in the CFG editor.
I didn't actually know that option prevented overwriting of tiles, or does it?
Originally posted by yoshicookiezeusBetter idea: put the code in a patch and hijack someplace that runs every frame in a level (adding it to the main code of levelASM should work fine). That way you won't have to permanently waste a sprite slot just to have the code running. ...I never actually thought of making a powerup with LevelASM...now I want to start a hack just to see if it works...
|
|
| Posted on 2011-12-24 03:26:28 AM |
Link | Quote |
|
Most sprites contain other checks to see if the sprite is off-screen. If you aim for Mario's position, it should work fine.
If it doesn't, LDA $94 : STA $E4,x : LDA $95 : STA $14E0,x : LDA $96 : STA $D8,x : LDA $97 : STA $14D4,x
|
|
| Posted on 2011-12-27 05:41:48 AM |
Link | Quote |
|
I'm almost out of free slots for generators (I know Tessera has probably more than 0F, but I'm not using it for now), so I'm transforming some generators into sprites.
A generator is pretty comfortable to use, it's always on the screen and it doesn't e.g. fall off the screen. For sprites that act like generators, I'll probably need to set some .cfg options, so I
have a question.
Can I just leave a sprite .cfg file with content that is usually in generators .cfg files? I mean, can I have this:
03
FF
FF FF FF FF FF FF
FF FF
reset.asm
in a sprite .cfg file? I guess CFG Editor won't open that file probably, but can I use it in a sprite and have it properly act like a generator?
|
|
| Posted on 2011-12-27 06:15:29 AM |
Link | Quote |
|
|
Yes, you can. Why not?
|
|
| Posted on 2011-12-27 06:57:46 AM |
Link | Quote |
|
Hmmm... As I said, CFG Editor says this file isn't supported, and closes it instantly. Besides that, the sprites actually have CFG Options unlike generators, so I wasn't sure what would happen if I wouldn't set any of those option.
Anyway, thanks. Now I'll have some additional temporary slots for generators.
|
|
| Posted on 2011-12-29 12:27:13 PM |
Link | Quote |
|
|
Hey, I have a question about a theory that I came up with about how a SNES cartridge works. Is it ok if I ask this question in this thread, or should I go to another thread?
|
|
| Posted on 2011-12-29 12:35:05 PM |
Link | Quote |
|
|
I'm pretty sure hardware-related questions fits better somewhere around here. This forum is intended for software only.
|
|
| Posted on 2011-12-29 12:41:22 PM |
Link | Quote |
|
|
Ok, Thanks!!
|
|
| Posted on 2011-12-30 02:45:35 PM |
Link | Quote |
|
|
i uploaded something wrong. How can i delete that. I now this is the wrong forom. Just answer me. QUICK!!!
|
|
| Posted on 2011-12-30 03:01:07 PM |
Link | Quote |
|
Originally posted by RazerBlue6i uploaded something wrong. How can i delete that. I now this is the wrong forom. Just answer me. QUICK!!!
Odd choice of forums. Nonetheless, just PM any staff member.
|
|
| Posted on 2011-12-30 08:07:22 PM |
Link | Quote |
|
|
I'm really new to ASM, so, please inform me on the things you can do with it.
|
|
| Posted on 2011-12-30 10:41:08 PM |
Link | Quote |
|
Originally posted by lmsmi1I'm really new to ASM, so, please inform me on the things you can do with it.
Any SNES game is a good example.
|
|
| Posted on 2011-12-31 05:53:08 AM |
Link | Quote |
|
Ehhh... I have a little question. I'm making my hack about a year, I have 65/109 exits completed, and I think I could just continue making it, but one thing worries me - the free space in it.
I have 0x58 custom sprites, 0x0C generators, a few shooters, I inserted a pretty great amount of patches, and I have a massive number of custom blocks.
My ROM is already 4MB, and I decided to drop it onto slogger today, as I'm getting some strange errors when I'm inserting sprites lastly.
("your file won't fit into a bank", "couldn't find TRASM in the folder", "second pass yelded a different sprite size, wtf mate?")
While the TRASM exactly was in the folder. When I want to insert sprites, I just take 3-4 tries, and it usually inserts them after the 4th try correctly. I'm worried if all those things aren't caused by the lack of free-space in my ROM. I did only 65/109 exits, I have 44 exits to go and I'm running out of freespace!
I'm still not too sure, but I'm giving a link to the slogger print to my File Bin. The things I saw in the file weren't normal. I thought I have waaay more space in the ROM.
->Link to the Slogger .txt file in my File Bin<-
Meh... I didn't know I have data in the banks 40-70. Do I really have a problem with free-space?
|
|
| Posted on 2011-12-31 04:32:09 PM |
Link | Quote |
|
Dunno why sprite tool is whacking out on you, but yeah, you seem to have freespace issues.
A difficult but potentially helpful thing to do is port to a new ROM. Never know how much unused data is stuck in your ROM.
|
|
| Posted on 2011-12-31 06:07:34 PM |
Link | Quote |
|
Oh my ***!!! I just can't believe into the thing I saw a while ago. Mainly, the sprite tool started to whack when I was starting to make the 65th exit. (I have 65 exits, so it started pretty early, somewhere in the beginning of that week)
And the thing that shocked me that much is... ...the slogger print of one of my hack backups. Before making that one level, I made a backup. I made also ten other ones, but that one backup is the earliest backup without any sprite tool stuff. The slogger print...
...I dunno why, but I'm pretty sure sprite tool caused all the things. In the slogger print, I saw there is a lot more space, than there is now. That one level just ate almost one bank of free-space, and it's just because of me inserting sprites several times.
->Link to the Slogger Print of the ROM with 64 exits instead of 65<-
If you compare those two prints, that one level ate a lot of space and I'm 100% sure it's because of sprite tool. I dunno why it started to print those strange errors, but I'm pretty sure porting to a new ROM will fix all of this.
Thanks for your suggestions, Kaijyuu. I'll also try to find a backup with 63 exits, I'll see if it also has some huge space difference in it.
|
|
| Posted on 2012-01-01 01:26:21 PM |
Link | Quote |
|
|
Is it possible to disable color math on only palette F while leaving the other palettes intact? If so, how?
|
|
| Posted on 2012-01-01 02:14:53 PM |
Link | Quote |
|
Nope.
Palettes 8-B will never have color math applied. Switch whatever sprite you're using to one of those.
|
|
| Posted on 2012-01-05 11:25:24 PM |
Link | Quote |
|
Okay, so I have started on a new project that requires me to use the sprite status bar. Everything so far seems smooth except one minor detail:

As you can see in this strange level 105 clone, the sprites are taking their graphics from the sprite status bar.
I put in the 'No More Sprite Tile Limits' patch before applying the Sprite Status Bar, and I changed the sprite index to 10. Is there something I'm missing here?
|
|
| Posted on 2012-01-05 11:38:05 PM |
Link | Quote |
|
|
The Sprite Status bar needs 36 8x8 tiles' worth of sprite graphics. By default, these tiles start at the beginning of SP4, so you can't use any sprites that use any of tiles 180-1A3. You can actually change which tiles are used in each level with the "LevelGFXLoc" table.
|
|
|
|
|
|
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Official Hex/ASM/Etc. Help Thread |