Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,532,843
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 05-04-24 03:29 PM
Guest: Register | Login

0 users currently in SMW Hacking | 1 guest

Main - SMW Hacking - Disappearing coins, even from within one level New thread | New reply


Sendy
Posted on 05-28-09 01:51 PM (rev. 2 of 06-06-09 10:31 PM) Link | Quote | ID: 107737


Goomba
Level: 12

Posts: 11/22
EXP: 7642
Next: 279

Since: 04-27-09

Last post: 5339 days
Last view: 5329 days
I've seen the old thread here (or was it on SMWC?) about item memory index settings for levels, and use sensible settings myself, but recently I've been noticing, occasionally, coins seem to go missing from certain formations, EVEN when starting a level and going down a pipe which leads to the same level!

That seems counter-intuitive, and it's not asif I have an insane amount of coins on my levels. I find I can minimize it by being quite stingy with coins, for example, often I will place just one coin over a jump, or little formations of 2 and 3 to lead and tease the player around.

Is there any understanding in the community of how these indexes work? It's just weird that the original SMW never seemed to have this problem. Is there a limit and are the entries based on whole objects (i.e 3x2 blocks of coins placed down) or on the individual coins within the coin objects you place? Could any modern developments in hacking such as custom blocks/sprites be messing with it?

As for eliminating the problems, I've heard of people shifting coins left and right to fix it, but I'm not sure what that entails (re-arranging the coins or just jiggling them in the editor and re-saving?).

My fix is usually to place map16 coins to patch the holes up, it seems the map16 coins don't use the item memory indexes and will appear regardless. Having the player be able to collect a few coins again is better than having an ugly gap in an otherwise symmetrical or balanced formation.


Sorry if this is rather longwinded, but I really care about this, and I'm freaking tired, since I didn't sleep at all last night. (Because I was worrying about my coin formations... Um.... Just kidding.... Yeah)

Any help would be gladly recieved!



EDIT: Well it seems nobody cares, or this is a taboo subject or something, but anyways, I've experimented and it seems using Map16 access does not ensure that a coin will always appear, regardless of the item memory bank, which is a bit of a bummer, but at least now I know.

This would be a new post but I remember something about rules forbidding it.

Hieda no Akyu
Posted on 06-21-09 12:04 AM Link | Quote | ID: 109066


Level: 19

Posts: 17/55
EXP: 31808
Next: 3969

Since: 09-10-07

Last post: 5404 days
Last view: 5341 days
Well, for starters, IIRC, it counts each "block" of coins takes up one slot, and if you collect one coin in a "block", all of them disappears when you reenter. My suggested solution would be to use each "block" as effectively as possible, as in making each formation out of as little "blocks" as possible.

If that dosn't help, you are using too many coins. Besides, too many coins, and you have too many lives in your hack.

Sendy
Posted on 06-25-09 06:47 AM Link | Quote | ID: 109331


Goomba
Level: 12

Posts: 17/22
EXP: 7642
Next: 279

Since: 04-27-09

Last post: 5339 days
Last view: 5329 days
Posted by Hieda no Akyu
Well, for starters, IIRC, it counts each "block" of coins takes up one slot, and if you collect one coin in a "block", all of them disappears when you reenter. My suggested solution would be to use each "block" as effectively as possible, as in making each formation out of as little "blocks" as possible.

If that dosn't help, you are using too many coins. Besides, too many coins, and you have too many lives in your hack.


Thanks for setting me in the right direction. After a quick bit of testing, I've found out how it works.

Each block of coins is divided into vertical strips of 1 tile each, and collecting any coins in that section of the block flags it as 'collected', causing the whole strip to vanish.

I have fairly recently realized just how overboard I'd gone with coins, anyway, so I've cut it right back to just enough to not look empty. When you add the fact that all my levels are LONG, having them full of coins is just bad news.

It's a shame because coins are so fun to collect. Incidentally, does anyone know a way to set the number of coins you need for a free life to 200? Is that even possible?

[Riko]
Posted on 06-25-09 07:09 AM Link | Quote | ID: 109333

Newcomer
Level: 3

Posts: 1/1
EXP: 73
Next: 55

Since: 06-25-09

Last post: 5427 days
Last view: 5003 days
Posted by Sendy
Incidentally, does anyone know a way to set the number of coins you need for a free life to 200? Is that even possible?


Change the offset at 0x0112C to C8 to change the number of coins for a 1-up to 200.
And
Change 0x01137 to C8 as well to reset the counter to 0 when you get the 1-up.

____________________

Sendy
Posted on 07-04-09 12:03 AM Link | Quote | ID: 109864


Goomba
Level: 12

Posts: 19/22
EXP: 7642
Next: 279

Since: 04-27-09

Last post: 5339 days
Last view: 5329 days
Posted by [Riko]
Posted by Sendy
Incidentally, does anyone know a way to set the number of coins you need for a free life to 200? Is that even possible?


Change the offset at 0x0112C to C8 to change the number of coins for a 1-up to 200.
And
Change 0x01137 to C8 as well to reset the counter to 0 when you get the 1-up.


Fantastic, thanks Riko.

Hieda no Akyu
Posted on 07-18-09 03:49 AM Link | Quote | ID: 110805


Level: 19

Posts: 51/55
EXP: 31808
Next: 3969

Since: 09-10-07

Last post: 5404 days
Last view: 5341 days
A) That was quite a bump there.
B) I don't think that'd display correctly because the coin counter was designed for 2 digits. You might need a ASM hack to get it to work right.

Main - SMW Hacking - Disappearing coins, even from within one level New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.045 seconds. (339KB of memory used)
MySQL - queries: 52, rows: 77/78, time: 0.037 seconds.