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

0 users currently in SMW Hacking | 3 guests

Main - SMW Hacking - help please New thread | New reply


Delmaru
Posted on 11-05-07 03:57 AM Link | Quote | ID: 69189


Leever
Level: 33

Posts: 83/193
EXP: 209265
Next: 19914

Since: 08-26-07

Last post: 5446 days
Last view: 5411 days


ive seen a few hacks that when you pause it, the screen is dark. how do i do this?

____________________



blackhole89
Posted on 11-05-07 12:06 PM Link | Quote | ID: 69195


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 760/4196
EXP: 21538578
Next: 298023

Since: 02-19-07
From: Ithaca, NY, US

Last post: 474 days
Last view: 87 days



If the emulator doesn't have any grave flaws in its emulation, not at all.

____________________



Delmaru
Posted on 11-05-07 03:49 PM Link | Quote | ID: 69198


Leever
Level: 33

Posts: 84/193
EXP: 209265
Next: 19914

Since: 08-26-07

Last post: 5446 days
Last view: 5411 days


Posted by blackhole89
If the emulator doesn't have any grave flaws in its emulation, not at all.


WTF? that didnt answer my question. i need help with this. its an effect, not a flaw.

____________________



blackhole89
Posted on 11-05-07 03:51 PM Link | Quote | ID: 69199


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 762/4196
EXP: 21538578
Next: 298023

Since: 02-19-07
From: Ithaca, NY, US

Last post: 474 days
Last view: 87 days



If the emulator doesn't implement its pause function in a crappy manner, the ROM code has no way of detecting the process of the game being paused and resumed. I do challenge you to disprove this by pointing me to a hack that is supposed to do that though.

____________________



Smallhacker
Posted on 11-05-07 04:11 PM Link | Quote | ID: 69200


Panser
Swedish weirdo times eleven

Level: 42

Posts: 225/339
EXP: 494605
Next: 26757

Since: 02-19-07
From: Stockholm, Sweden

Last post: 5188 days
Last view: 5187 days
He's talking about the in-game pause feature activated by pressing Start.

____________________
SMW Central

ghettoyouth
Posted on 11-05-07 04:25 PM Link | Quote | ID: 69202


Red Goomba
Level: 15

Posts: 23/35
EXP: 16186
Next: 198

Since: 08-06-07
From: germany

Last post: 5921 days
Last view: 5913 days
write to $0DAE

blackhole89
Posted on 11-05-07 04:47 PM Link | Quote | ID: 69204


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 763/4196
EXP: 21538578
Next: 298023

Since: 02-19-07
From: Ithaca, NY, US

Last post: 474 days
Last view: 87 days



Oh yeah, sorry. It never occured to me you could have meant the "soft pause" function (as I never use it)

Either way, you should use a tracer to find any piece of code the game loops through while in pause mode. Depending on whether the code that copies SMW's mirror registers into the corresponding PPU ones every frame is called within the pause loop, you should make your hook code either write into one of SMW's mirror registers (the one ghettoyouth suggested is probably right, though I can't seem to find it in the addresses thread) or directly to INIDISP ($2100), setting it to 0 to make the screen fully black. In case you can go for the direct write to INIDISP variant, you can also count on the present code resetting INIDISP to its previous value as soon as the pause loop code isn't called anymore.

____________________



NightKev
Posted on 11-06-07 07:34 AM Link | Quote | ID: 69265


Cape Luigi
Level: 131

Posts: 2015/4792
EXP: 26236921
Next: 187699

Since: 03-15-07

Last post: 3737 days
Last view: 3649 days
Posted by Delmaru
Posted by blackhole89
If the emulator doesn't have any grave flaws in its emulation, not at all.


WTF? that didnt answer my question. i need help with this. its an effect, not a flaw.
For some reason I found that quite funny.

____________________

Delmaru
Posted on 11-06-07 06:35 PM Link | Quote | ID: 69287


Leever
Level: 33

Posts: 85/193
EXP: 209265
Next: 19914

Since: 08-26-07

Last post: 5446 days
Last view: 5411 days


nevermind, i got this. this can be closed now.

____________________



Main - SMW Hacking - help please New thread | New reply

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

Page rendered in 0.024 seconds. (339KB of memory used)
MySQL - queries: 62, rows: 90/91, time: 0.016 seconds.