News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Snes emulators (Canoe, Snes9x) -- game problems and fixes  (Read 443302 times)

Domino089

  • Jr. Member
  • **
  • Posts: 48
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #200 on: March 01, 2018, 02:14:07 pm »
Hi sluffy, the game Daffy Duck Marvin Missions definitely has no fix? Or are you going to keep trying to find some solution for this? I also wanted to ask the community if you have tried the game Mickey no Tokyo Disneyland Daibōken if it works in canoe since according to the compatibility list it produces a c7 error and I am interested that this game also works with canoe since I would not be interested in installing retroarch, at the moment I do not have the console available for testing but I'm waiting for it to arrive as soon as possible

Robin64

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #201 on: March 01, 2018, 03:03:35 pm »
Here are some videos of a bunch of games. Sluffy, nobody expects you to get these all fixed urgently, or ever if you don't want to, but I am posting them for documentation if nothing else. Please, take your time with all this, do the bits you enjoy.

Eye of the Beholder: https://www.youtube.com/watch?v=5dB1y5Zd_Wk
Faceball 2000: https://www.youtube.com/watch?v=tdW3gqfe0wI
Lion King: https://www.youtube.com/watch?v=VtGU2AfnrWQ
Micro Machines 2: https://www.youtube.com/watch?v=kBExMaYj6qE
Super Buster Bros (Rev0): https://www.youtube.com/watch?v=YVtTM5oYP9k
Super Play Action Football: https://www.youtube.com/watch?v=eLfOBJ0BR08
Top Gear: https://www.youtube.com/watch?v=6LpODWYyMGE
Untouchables: https://www.youtube.com/watch?v=PWr6jxXoGw4
Wicked 18: https://www.youtube.com/watch?v=Od_XWIvlazw

sluffy

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #202 on: March 01, 2018, 03:16:31 pm »
Funny thing is I came up with idea for AvP. Then this batch of videos. Thanks for that! :)

I'm admittedly pretty annoyed at the private-private requesters. Only take and never give. Complain. Whine. Annoyment.


https://picload.org/view/daaiiipi/pebble.png.html
Does anyone's Pebble Beach look like this?


Daffy Duck = not forgetten. Just back burn until I come up with another idea.


Problem with fixing popular games.. it may take much longer since I don't know what shifty tricks Canoe is pulling. *cough* Top Gear 1/2 *cough*

Raiden Trad uncovered an interesting one.

I do use no-intro when possible.


I should rewrite 1st post with "asking for testers". So much to do. I enjoy this enough for my own weird satisfaction. Maybe it's revenge for all the time (lots of months) I dumped rewriting Lost Vikings II to make it go decently faster. That's where I learned what I know about SNES -- squeezing the brain to find a few extra cycles. Damn you Cacoma Knight. LOL.


edit:
Was Super Buster Bros. video with the patch? If so, kinda shocking.

reyvgm

  • Hero Member
  • *****
  • Posts: 1177
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #203 on: March 01, 2018, 03:18:46 pm »
For Sluffy's sake, I'll mention where do the bugs/glitches happen. Sometimes I can't even tell in the videos, even if I know they happen.

THIS IS STILL IN PROGRESS. I'LL UPDATE AS I TEST.

Eye of the Beholder: https://www.youtube.com/watch?v=5dB1y5Zd_Wk
-Sound is faster than what's happening on screen. Notice how the Capcom sound happens before the Capcom logo is on screen. (Or is it a problem with the video capture @Robin?)
-At 1:30 the bottom part of the in-game cursor is cut off in Canoe. The cursor should be the same size in-game as it is on the main menu.
-At 1:49 you can see the glitched enemy sprite.

Faceball 2000: https://www.youtube.com/watch?v=tdW3gqfe0wI
-At 0:29 the audio goes crazy.

Lion King: https://www.youtube.com/watch?v=VtGU2AfnrWQ
-1:48, you can see small horizontal yellow lines in the background that weren't there before you died.

Micro Machines 2: https://www.youtube.com/watch?v=kBExMaYj6qE
-0:42 you can hear the humming sound even when the car is standing still.

Super Buster Bros (Rev0): https://www.youtube.com/watch?v=YVtTM5oYP9k
-0:53 resetting with L+R+Select+Start causes the title screen and menu to lose the text, and causes background in game to be glitched.

Super Play Action Football: https://www.youtube.com/watch?v=eLfOBJ0BR08
-0:24 team select screen is invisible.

Top Gear: https://www.youtube.com/watch?v=6LpODWYyMGE
-5:35 you can see the green horizon line.
-There are more errors, but the video didn't get them.

Untouchables: https://www.youtube.com/watch?v=PWr6jxXoGw4
-Self explanatory. C7 error after title screen.

Wicked 18: https://www.youtube.com/watch?v=Od_XWIvlazw
-Garbled graphics on title screen and in-game



« Last Edit: March 01, 2018, 09:32:05 pm by reyvgm »

sluffy

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #204 on: March 01, 2018, 03:24:05 pm »
Appreciated. I usually have audio off most of the day. Headphones during restricted hours.

Almost sure AvP can be fixed soon. Delays. Delays on my end.

Robin64

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #205 on: March 01, 2018, 03:33:51 pm »
Was Super Buster Bros. video with the patch? If so, kinda shocking.

No patch applied to any of this batch of recordings. Figured it important to document default behaviour.

Should note I didn't notice anything wrong with Lion King, but I put it up nonetheless. Being unfamiliar with the game, maybe something is there that shouldn't be, or vice versa.

sluffy

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #206 on: March 01, 2018, 03:45:00 pm »
Default behavior. Good call.

Not familiar either with Lion King but someone was 100% sure only works correctly in higan when you die in lava stage. Then again, who knows.


AvP USA tester
https://www.sendspace.com/file/atmo26

Please, please work this time.



edit:
Check page1 for active testers.

This fixing work can be done by anyone familiar with snes hacking. For some odd reason, I happen to be the one atm. :shrug:
« Last Edit: March 01, 2018, 03:53:24 pm by sluffy »

reyvgm

  • Hero Member
  • *****
  • Posts: 1177
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #207 on: March 01, 2018, 04:05:14 pm »
Robin, something seems to be wrong with some of your videos. The Eye of the Beholder and Micro Machines 2 vids so far are very laggy. Are the games like that or is it the video capture? Notice how in the main menu for both games, the audio is heard before what you're doing appears on the screen.

Ok same video issue with Super Buster Bros. Can anyone confirm if this is just happening to me or is there something wrong with those youtube videos?
« Last Edit: March 01, 2018, 04:10:24 pm by reyvgm »

Robin64

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #208 on: March 01, 2018, 04:18:00 pm »
Weird, I'm watching the Micro Machines 2 one right now, and the sound is exactly in time with my moving the cursor up and down on the main menu. Are you watching at 720p60? How far apart are the audio and visual movement for you?

reyvgm

  • Hero Member
  • *****
  • Posts: 1177
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #209 on: March 01, 2018, 04:23:57 pm »
Weird, I'm watching the Micro Machines 2 one right now, and the sound is exactly in time with my moving the cursor up and down on the main menu. Are you watching at 720p60? How far apart are the audio and visual movement for you?

Strange. I'm using 2 different browsers and I'm getting the same issues. Let me reset the PC. This is the first time this is happening, and I'm not using a video card, so it can't be that.

Robin64

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #210 on: March 01, 2018, 04:25:04 pm »
I mean, are you talking a lot of lag, or HD TV style amount of lag?

Some tester videos:

Alien vs Predator: https://www.youtube.com/watch?v=h_hc_nFhBPU (Not working, but interesting new things going on)
Best of the Best: https://www.youtube.com/watch?v=vISveXb0Q3U (Working)
Super Buster Bros (Rev0): https://www.youtube.com/watch?v=alVezZP6ww4 (Working)
Super Play Action Football: https://www.youtube.com/watch?v=FkAWquW7ASE (Not Working)
WWF Wrestlemania Arcade: https://www.youtube.com/watch?v=X9oTVPKpELM (HUD seems okay, but wrestlers appear invisible when outside but close to the ring)
« Last Edit: March 01, 2018, 04:30:05 pm by Robin64 »

Domino089

  • Jr. Member
  • **
  • Posts: 48
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #211 on: March 01, 2018, 04:35:30 pm »
Strange. I'm using 2 different browsers and I'm getting the same issues. Let me reset the PC. This is the first time this is happening, and I'm not using a video card, so it can't be that.

I also had that problem just put the video in 720p60 and problem solved no more lag

sluffy

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #212 on: March 01, 2018, 05:36:04 pm »
Thanks for putting these up so fast.

AvP = lmao. I needed that. Hmm. It's like there's 2 separate irq handlers.

WWFA = give it more thought later.

Football = not at all what someone described to me. At least the menu background scrolling effect is working.


Pebble Beach photo shown earlier is verifed an emulator picture. If Canoe also shows those black bars, they cribbed a specific broken snes9x sa-1 decoder. If not, eh.



upd1:
Next AvP tester
https://www.sendspace.com/file/f1b9te

They do some tricky things. So add more rules.


Best of Best tells us that ... Canoe returns whatever it wants for OpenBus. Not always real value or bus one.

Buster Bros = expected emu bug. Unsure what else Canoe does on reset.


And following ReyVGM's video commentary.



upd2:
From what I've learned from Raiden Trad and Alien Predator, Daffy Duck ... probably fudges irq timing a little too close. A guess anyway.

Almost thinking Cool World suffers Raiden Trad bug. Too suspiciously like its bug cousin. Except Canoe must've cut another corner I'm not finding yet.
« Last Edit: March 01, 2018, 06:05:02 pm by sluffy »

lich

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #213 on: March 01, 2018, 06:44:09 pm »
Alien vs Predator now working  :woot!: :woot!: :woot!: (played 5 minutes, no glitches what I could see)


sluffy

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #214 on: March 01, 2018, 07:12:06 pm »
That's good enough for me. I see you've gotten out of moderation.


Here's the next one: Cool World (USA)
https://www.sendspace.com/file/h0tzmr

Should kill text box problem. Start game. Walk left.


AvP: sometimes disables nmi until much later like 240+. Canoe doesn't care to fire pending nmi so random blank screens.

After I come up with a tricky Daffy Duck trial, going to retry Top Gear 2 again.


upd1:
Should cure Daffy Duck (USA).
https://www.sendspace.com/file/3femk1

Really tight irq timing.
« Last Edit: March 01, 2018, 07:59:53 pm by sluffy »

lich

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #215 on: March 01, 2018, 08:11:46 pm »
Yeah, thanks mod if you read this!

Wow, Cool World, what can I say, game was trippin' as much as I was when I used to live in Breckenridge, CO and tried their weed for the first time. No signs of text box problems. Went straight to the left, got hit by an enemy, text box appears and looks normal. When respawn I jumped over the enemies and went into some kind of store where a text box appeared, everything looked normal  :thumbsup:

I guess the sudden change of audio tempo is part of the game to add that extra creepy/trippiness? If yes to this answer then I would say it's working. Good job sir  :woot!:


**edit**

Lol I'm tired, it's 02:12 am here in Sweden, need to go to bed. Audio was never a reported problem at the first place, so I have no idea why I even mentioned that. I blame the tiredness.

Hit me up with some more patches that hasn't been tested yet. When all of you Americans are sleeping tonight it's daytime where I live, so I'll be ready to try some patches together with my cereal tomorrow morning.

Good night  :crazy:


**2nd EDIT** 02:41 and I'm still awake....

Daffy Still glitches with your patch, tried SFROMs built in "SLOWROM checkfix" patch on top of your patch. I might be trippin' but it appeared like the flickering didnt appear as much as before (still flickering though)

Played the game until stage 2 (elevator) where I had massive slow-downs, don't know if it was like this on the original game, anyone? Or maybe this happened because of the "slowrom checkfix" patch. Will test it more tomorrow.

Good night (for real)



PS: Robin, please look at the comment I wrote on your sheet regarding Donkey Kong Country: Boss Blitz (hack) I'll post it here as well:

"Okay this is weird. I noticed that when playing 2 players (1 player works fine) and someone dies the screen went black/glitched for a sec/millisec, which often resulted that the second player died.

I then tried the official PID for DKC stock = couldnt even load the game = black screen

Anyways I applied "10E9" as PID and now it works (weird,lol)

Could you please verify if you also get this error when playing 2 player without a PID, I only tried this testing on lvl 1-3.

Then see if this error disappears when applying "10E9" as PID."
« Last Edit: March 01, 2018, 08:51:22 pm by lich »

sluffy

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #216 on: March 01, 2018, 08:35:20 pm »
Page1 will have constant list of needed tests. Which between you and Robin64, covered mostly everything in a day. Can't crank these out fast enough now, whereas they often sat before. Thanks all for knocking them out of my queue.

I have unusual sleeping hours. And haven't played almost all these games before.
-- note: (many) enough of us are not Americans


Daffy is still available. Of course, a hidden post will likely pop up sometime about this.

Mickey no Tokyo Disneyland Daibōken = unknown status atm.


Many "easy" ones are dropping dead fast. May have to start pushing out debug testers. Or anyone can work on taking screenshots for new projects. Or testing unlisted games.


Cool World used sei to block irqs. Canoe doesn't care and fires pending ones at 0.0 to clear its queue. Block that and done.


upd1:
Have to look at Daffy deeper. Getting flicker on snes9x now after shutting down irq watchdog.
« Last Edit: March 01, 2018, 08:55:08 pm by sluffy »

reyvgm

  • Hero Member
  • *****
  • Posts: 1177
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #217 on: March 01, 2018, 09:28:31 pm »
@Robin
Yeah it was the resolution. I don't know why the videos would lag like that when I can play hi-res videos just fine.

Anyway, your Top Gear video is missing more stuff. You only reached the 3rd race, on the 4th is where you can see the wrong/repeated objects on the ground. There's also a glitch when you go through a tunnel, the 1st South America race has a tunnel. Input the password "MOONBATH" to get there right away.

Should give you an excuse to play the game and listen to the amazing soundtrack the game has :)

---------

Here are the videos with timestamps for sluffy

I'll mention where do the bugs/glitches happen. Sometimes I can't even tell in the videos, even if I know they happen.


Eye of the Beholder: https://www.youtube.com/watch?v=5dB1y5Zd_Wk
-At 1:30 the bottom part of the in-game cursor is cut off in Canoe. The cursor should be the same size in-game as it is on the main menu.
-At 1:49 you can see the glitched enemy sprite.

Faceball 2000: https://www.youtube.com/watch?v=tdW3gqfe0wI
-At 0:29 the audio goes crazy.

Lion King: https://www.youtube.com/watch?v=VtGU2AfnrWQ
-1:48, you can see small horizontal yellow lines in the background that weren't there before you died.

Micro Machines 2: https://www.youtube.com/watch?v=kBExMaYj6qE
-0:42 you can hear the humming sound even when the car is standing still.

Super Buster Bros (Rev0): https://www.youtube.com/watch?v=YVtTM5oYP9k
-0:53 resetting with L+R+Select+Start causes the title screen and menu to lose the text, and causes background in game to be glitched.

Super Play Action Football: https://www.youtube.com/watch?v=eLfOBJ0BR08
-0:24 team select screen is invisible.

Top Gear: https://www.youtube.com/watch?v=6LpODWYyMGE
-5:35 you can see the green horizon line.
-There are more errors, but the video didn't get them.

Untouchables: https://www.youtube.com/watch?v=PWr6jxXoGw4
-Self explanatory. C7 error after title screen.

Wicked 18: https://www.youtube.com/watch?v=Od_XWIvlazw
-Garbled graphics on title screen and in-game

« Last Edit: March 01, 2018, 09:38:24 pm by reyvgm »

etiel

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #218 on: March 01, 2018, 09:44:48 pm »
Quote
upd1:
Have to look at Daffy deeper. Getting flicker on snes9x now after shutting down irq watchdog.

Yeah, last patch didn't fix it either. Daffy Duck is the last game I want to add since I had the game when I was a kid so I'm hopeful you can make it work.

I have been testing the game a lot on snes9x. With a vanilla rom, the glitch appears on snes9x v1.36, however it doesn't happen as often as in Canoe. Apparently the glitch was introduced in version 1.34 of the emulator but was fixed in v1.38 (I couldn't find any of these to test).

Here is a link to version 1.36 of the emulator, in case it is useful to you: https://www.sendspace.com/file/q4571q

Looking at the changelog (and you already know this) it seems that the glitch has to do with IRQ (NMI?) timings. I'm sure snes9x is very different to canoe but they had the bug too and were able to fix it.

Here are the snes9x changelog fragments that mention Daffy Duck (perhaps these can give you some ideas):
Spoiler:
v1.38
- Another Daffy Duck: Marvin Missions screen flicker problem worked around - writing to the IRQ enable register shouldn't clear any pending IRQs, but  Seiken 3 seems to require this or else the game hangs. Special-cased Daffy Duck for now.

v1.34
The recent timing changes highlighted another problem with Daffy Duck - changed IRQ enable register to only clear pending IRQs if one has been pending for several microseconds.

The following may be related to a different background glitch?:

v1.30
- NMI timing changed again. Now an NMI can only be triggered once per frame and enabling an NMI after the normal trigger scan line triggers an NMI immediately. This fixes display glitches in Ys 5, Stargate and Daffy Duck.

v1.21
- Made the Daffy Duck NMI fix only enable when Daffy Duck is loaded - fix was causing problems for Breath Of Fire 1 and 2.

v1.20
- Enabled immediate triggering of NMI if NMI enable flag set while scan-line was on first line of v-blank. Needed to fix a background jitter bug in Daffy Duck: The Marvin Missions.

Quote
lich wrote: Played the game until stage 2 (elevator) where I had massive slow-downs, don't know if it was like this on the original game, anyone? Or maybe this happened because of the "slowrom checkfix" patch. Will test it more tomorrow.
I don't recall any significant slowdown in the original game, but I've noticed some on canoe. Not sure if the slowrom patch makes it worse, though.

Thank you again sluffy for your amazing work.






Bosco82

  • Full Member
  • ***
  • Posts: 247
    • View Profile
Re: Canoe official snes emulator -- problems and fixes
« Reply #219 on: March 01, 2018, 10:08:47 pm »
Cu-On-Pa SFC - Freezes on the menu screen after hitting start



Found some info on this from a old ZSNES changelog

Ver 1.3.5
Fixed an NMI issue with register $4212, fixes hang in Cu-On-Pa, Bubsy and others.

Ver 1.337
Fixed Cu-On-Pa freezing when starting a new game
« Last Edit: March 01, 2018, 10:17:29 pm by Bosco82 »