Graphics bug
Moderator: ZSNES Mods
Graphics bug
In the last WIP (September 20, windows port) I've found that if you run a DSP1 game (ie super mario kart) and after that without closing zsnes you run chrono trigger, when you are about to start a battle the game takes fuzzy and becomes unplayable because you can't see anything.
I don't know if this bug occurs in other roms too.
PD: sorry about my english, I'm spanish and I'm not very well speaking english I hope you can understand me
I don't know if this bug occurs in other roms too.
PD: sorry about my english, I'm spanish and I'm not very well speaking english I hope you can understand me
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
It's because the DSP-1 code is never unloaded.
We knew about this for quite a while, yet never did anything about it.
We knew about this for quite a while, yet never did anything about it.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
It's even funnier to load Megaman X3 after a DSP game. :þ
Run the test by pressing 'b' on the 2P pad as you launch the game.
Run the test by pressing 'b' on the 2P pad as you launch the game.
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Weird, I was trying all combinations of MMX 2 and 3, and Pilotwings and Mario Kart.
Only the MMX3 and Pilotwings combo did it.
Only the MMX3 and Pilotwings combo did it.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
I just gave a quick look at the source, and was compelled to add a single line.
Now I can't get MMX3 to mess up a test after PWings, and fighting Gato in CT seemed fine. grinvader: can you verify?
Since public CVS probably won't have the code for a while yet...
Now I can't get MMX3 to mess up a test after PWings, and fighting Gato in CT seemed fine. grinvader: can you verify?
Since public CVS probably won't have the code for a while yet...
Code: Select all
Index: init.asm
===================================================================
RCS file: /cvsroot/zsnes/zsnes/src/init.asm,v
retrieving revision 1.288
retrieving revision 1.289
diff -r1.288 -r1.289
4595a4596
> mov byte[DSP1Type],0
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
No shit, just that ?!
I'm on it...
Edit: ok, tested some other games too.
Seems like a perfect fix. Congrats.
I'm on it...
Edit: ok, tested some other games too.
Seems like a perfect fix. Congrats.
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Thanks. Interesting how simple some things can be despite sounding all complex and vica versa.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
Yeepee !
zsnes_genuine_bugs--; // pure awes0meness
zsnes_genuine_bugs--; // pure awes0meness
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
If it's only after loading certain games, please explain exactly the procedure for me to replicare it. If it always happens, well, that's not my department.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
I can't seem to replicate the bug after any DSP-1 or 2 game.
While testing SSF2 for this and the remember high score thing, I forgot how much I used to love this game.
Anyways, despite my rustiness, I made a video that could give lessons to M. Bison and Mario how to really stomp on someone's head: http://nsrt.edgeemu.com/chunli.zip
US version, let me know if it works for you guys.
CVS users, does it work for you?
While testing SSF2 for this and the remember high score thing, I forgot how much I used to love this game.
Anyways, despite my rustiness, I made a video that could give lessons to M. Bison and Mario how to really stomp on someone's head: http://nsrt.edgeemu.com/chunli.zip
US version, let me know if it works for you guys.
CVS users, does it work for you?
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
Just my humble opinion?
I hate to be the idiot, but...
Wouldn't it just be easier to have zsnes exit and then restart it's self before loading a rom to prevent these strange bugs? Since I use MAMEWAH as a frontend instead of zsnes' GUI I don't experience those bugs simply because zsnes is reloaded everytime i select a new rom.
Wouldn't it just be easier to have zsnes exit and then restart it's self before loading a rom to prevent these strange bugs? Since I use MAMEWAH as a frontend instead of zsnes' GUI I don't experience those bugs simply because zsnes is reloaded everytime i select a new rom.
-
- Savestate Pimp
- Posts: 129
- Joined: Thu Jul 29, 2004 2:15 pm
- Contact:
Clearing the allocated memory is much easier to program than a restart, IMO. You'd probably need an external program for that, which doesn't sound very appealing.
"Other people can give you more suggestions as I just lost all my motivation to respond further to this post."
[i] - Nightcrawler[/i]
[url=http://www.geocities.com/illegal_eagle_2003/]vSNES v2.00[/url]: My SNES savestate viewer.
[i] - Nightcrawler[/i]
[url=http://www.geocities.com/illegal_eagle_2003/]vSNES v2.00[/url]: My SNES savestate viewer.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
illegal eagle wrote:Clearing the allocated memory is much easier to program than a restart, IMO. You'd probably need an external program for that, which doesn't sound very appealing.
It's a single line of C to restart.
And this has nothing to do with memory being allocated.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- Savestate Pimp
- Posts: 129
- Joined: Thu Jul 29, 2004 2:15 pm
- Contact:
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Not anymore it don't.Hexlord wrote:Hmm the bug with SSF2 always happen after a round of Mario Kart..
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
OMFG MY EYES HAVE EXPLODEDNach wrote:Not anymore it don't.Hexlord wrote:Hmm the bug with SSF2 always happen after a round of Mario Kart..
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
I thought you tested this last week already?grinvader wrote:OMFG MY EYES HAVE EXPLODEDNach wrote:Not anymore it don't.Hexlord wrote:Hmm the bug with SSF2 always happen after a round of Mario Kart..
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding