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

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

AyanamiRei0

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2360 on: May 08, 2018, 02:55:42 am »
I'm currently playing Rockman & Forte without a translation patch via Canoe there's some noticeable slowdown in Ground Man's stage right at the beginning it also might be in the rest of the stage since it's some sand waterfall things are in the stage that are causing the slowdown.

I've already confirmed this doesn't happen with the 3DS VC with an inject
« Last Edit: May 08, 2018, 03:10:54 am by AyanamiRei0 »

SupaSAIAN

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2361 on: May 08, 2018, 03:24:43 am »
Sure, I was just giving you a break :P

Destructive (Japan)
Dharma Doujou (Japan)
Dokapon 3-2-1 - Arashi o Yobu Yuujou (Japan)
Dokapon Gaiden - Honoo no Audition (Japan)
Dolucky no Kusayakiu (Japan)

Dolucky no Puzzle Tour '94 (Japan)
Doraemon - Nobita to Yousei no Kuni (Japan)
Doraemon 2 - Nobita no Toys Land Daibouken (Japan)
Doraemon 3 - Nobita to Toki no Hougyoku (Japan)
Doraemon 4 - Nobita to Tsuki no Oukoku (Japan)

Doukyuusei 2 (Japan) (NP)
Down the World - Mervil's Ambition (Japan)
Downtown Nekketsu Baseball Monogatari - Yakyuu de Shoubu da! Kunio-kun (Japan)
Dragon Ball Z - Super Gokuu Den - Kakusei Hen (Japan)
Dragon Ball Z - Super Gokuu Den - Totsugeki Hen (Japan)

Destructive (Japan) -- Overscan issuse when you resume game from console main menu and I can't play it with controller, it's a SuperScope game.
Dharma Doujou (Japan) -- We have work here, how it looks (https://youtu.be/kIJWhYFAxgo?t=37s) and how it should look (https://youtu.be/HW3iK-tTQ-c?t=1m7s).
Dokapon 3-2-1 - Arashi o Yobu Yuujou (Japan) -- Looks fine but I can't start a new game because it's a minimum 3 Players game and I can't "emulate" the controller 3.
Dokapon Gaiden - Honoo no Audition (Japan) -- Looks fine.
Dolucky no Kusayakiu (Japan) -- Looks fine.

Dolucky no Puzzle Tour '94 (Japan) -- Looks fine.
Doraemon - Nobita to Yousei no Kuni (Japan) -- Looks fine.
Doraemon 2 - Nobita no Toys Land Daibouken (Japan) -- Looks fine.
Doraemon 3 - Nobita to Toki no Hougyoku (Japan) -- Looks fine.
Doraemon 4 - Nobita to Tsuki no Oukoku (Japan) -- Looks fine.

Doukyuusei 2 (Japan) (NP) -- Needs Hi-Res ID here (https://imgur.com/PfbB3zC), I used ID 1610 (https://imgur.com/yKYy3ZZ) but that also breaks colors and text boxes gamma (https://imgur.com/cKzcfzX).
Down the World - Mervil's Ambition (Japan) -- Needs Hi-Res ID for the texts of the Intro (https://imgur.com/eHCEWCs), I used 1610 (https://imgur.com/QJ7qCvP).
Downtown Nekketsu Baseball Monogatari - Yakyuu de Shoubu da! Kunio-kun (Japan) -- Looks fine.
Dragon Ball Z - Super Gokuu Den - Kakusei Hen (Japan) -- Overscan issuse when you resume game from console main menu.
Dragon Ball Z - Super Gokuu Den - Totsugeki Hen (Japan) -- Overscan issuse when you resume game from console main menu.

reyvgm

  • Hero Member
  • *****
  • Posts: 1177
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2362 on: May 08, 2018, 04:02:45 am »
Thanks for the reports! I've sent you a couple of private messages, did you see them?

--------
Here are some more games if you want to keep testing:

Dragon Knight 4 (Japan)
Dragon Slayer - Eiyuu Densetsu (Japan)
Dragon Slayer - Eiyuu Densetsu II (Japan)
Dragon's Earth (Japan)
Dream Maze - Kigurumi Daibouken (Japan)

Dual Orb - Seirei Tama Densetsu
Dun Quest - Majin Fuuin no Densetsu (Japan)
Dynamaite the Las Vegas (Japan)
Dynamic Stadium (Japan)
Earth Light (Japan)

Earth Light - Luna Strike (Japan)
Edono Kiba (Japan)
Elfaria - The Isle of the Blest (Japan)
Elfaria II - The Quest of the Meld (Japan)
Emit Vol. 1 - Toki no Maigo (Japan)

SupaSAIAN

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2363 on: May 08, 2018, 04:21:11 am »
Thanks for the reports! I've sent you a couple of private messages, did you see them?

--------
Here are some more games if you want to keep testing:

Dragon Knight 4 (Japan)
Dragon Slayer - Eiyuu Densetsu (Japan)
Dragon Slayer - Eiyuu Densetsu II (Japan)
Dragon's Earth (Japan)
Dream Maze - Kigurumi Daibouken (Japan)

Dual Orb - Seirei Tama Densetsu
Dun Quest - Majin Fuuin no Densetsu (Japan)
Dynamaite the Las Vegas (Japan)
Dynamic Stadium (Japan)
Earth Light (Japan)

Earth Light - Luna Strike (Japan)
Edono Kiba (Japan)
Elfaria - The Isle of the Blest (Japan)
Elfaria II - The Quest of the Meld (Japan)
Emit Vol. 1 - Toki no Maigo (Japan)

I've read them (and answered) right now, if doesn't bother you I prefer to do those test when I wake up early in the mornings because I have a lot of free time.  :thumbsup:

reyvgm

  • Hero Member
  • *****
  • Posts: 1177
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2364 on: May 08, 2018, 04:55:59 am »
I've read them (and answered) right now, if doesn't bother you I prefer to do those test when I wake up early in the mornings because I have a lot of free time.  :thumbsup:

That's up to you when you want to test them, there's no hurry :)

May 08, 2018, 05:21:27 am - (Auto Merged - Double Posts are not allowed before 7 days.)
Destructive (Japan) -- Overscan issuse when you resume game from console main menu and I can't play it with controller, it's a SuperScope game.


This is the Japanese version of Bazooka Blitzkrieg, which Bosco had to make a patch to make it load on the SNESC. The Japanese version loaded without needed a patch then?
« Last Edit: May 08, 2018, 05:21:27 am by reyvgm »

SupaSAIAN

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2365 on: May 08, 2018, 05:43:49 am »
This is the Japanese version of Bazooka Blitzkrieg, which Bosco had to make a patch to make it load on the SNESC. The Japanese version loaded without needed a patch then?

Yes, only drag and drop over Hakchi and it works but with the previously described overscan issuse.

pimpinelephant

  • Full Member
  • ***
  • Posts: 182
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2366 on: May 08, 2018, 07:17:50 am »
Alright, so I did a bunch of tests with Tales of Phantasia, and I achieved some pretty interesting results!

1) The saving with cp4+ patches actually do work!
There is just a delay when the game actually decides to write to the SRAM.


cp4c:
Test 1: Started a game with zero SRAM files, saved, played a bit more, saved again. Only first save was actually recorded.
Test 2: Started a game with zero SRAM files, saved and then quit. Save was not recorded.

1-beta:
Exact same results as cp4c.

cp3a:
Saved and then quit right after. Save was recorded.

SlowROM check fix does not affect any of this.
I tried both no slowROM check fix as well as with slowROM check fix for all of my tests.

The game actually does not write anything to SRAM when you choose to save (save slot blocks within SRAM are still blank) until after a delay.
After the delay, then the game will actually decide to write to SRAM.

What's it waiting for to write to SRAM?


2) There are 5 instances of slowROM checks with the patch according to uCON64.
According to uCON64, the 5 instances occur at the following offsets:

01 0D 42
2 instances
x3F06B8
x5FB136

A9 01 85 0D
3 instances
x70DD
x20F0DD
x61F0DD

I knew about 0D42, but I had never heard of the other one.
The only information I could find on it was located within the uCON64 source code.
There's a comment next to A901850D which says:
Quote
// special one (used by Konami and Jaleco? sometimes)

I did some testing with each of these offsets.
The ONLY one that actually did anything was x70DD.
It fixed the sound issues.

The rest provided zero results, or at least no results that were immediately apparent.
They did not fix the sound issues.
These other ones might not be slowROM checks, maybe just a coincidence?

sluffy

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2367 on: May 08, 2018, 07:27:51 am »
Tales beta2
https://www.sendspace.com/file/1fc7vv

Check freezekill slot2 first.


Only included x70DD since that is confirmed slowrom. Others might be misdetection (too small byte string).

When I get more data, I'll discuss some details.



===1
And for tales beta1, another test:
- new game
- save slot2
- soft reset
- quit

- reload game
- check slot2
« Last Edit: May 08, 2018, 07:41:00 am by sluffy »

matt!

  • Full Member
  • ***
  • Posts: 141
  • JUS4QIX
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2368 on: May 08, 2018, 08:09:56 am »
I think we had this "save delay" with another game in the past? sluffy solution was to hammer SRAM a bunch of times with the save.

pimpinelephant

  • Full Member
  • ***
  • Posts: 182
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2369 on: May 08, 2018, 08:14:06 am »
tales_1_beta2:

I imported the freezekill SRAM, did not edit anything.
All 3 save slots loaded and were present!

Immediate shutdown after saving still does not record unfortunately.


tales_1_beta:

Started a new game, saved in slot 2, immediately soft reset, and then quit.
The save file was present!

It was the same with all three slots.

So it looks like soft resetting will correctly immediately save to SRAM.

sluffy

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2370 on: May 08, 2018, 08:49:49 am »
Thanks for investigating this problem thoroughly. Summary:

1) beta2: Memory sram probe kills slot2 (s-dd1 only, not exhirom). Bsnes is correct. Rip this out completely.

2) beta1: Canoe only: sram is not reliable for 1-2 seconds after boot. Because after boot delay, Canoe loads sram file from disk. Overwriting everything I just did with old, outdated blobs. After waiting period, safe to send stuff there. Old s-dd1 code flushed with current one. Bsnes is correct.

3) Canoe only: Sram saving. Not much was changed between 3b to 4:
- memory probe back on
- some code cleanups to fix bad palettes

My thought is that Canoe has an sram timer to detect changes. Kirby3 writes sram all the time (100+ times a frame) so it never clears (mario pid likely forces it always).


Turning off memory probe didn't fix it curiously. Let's try tuning down bank attack.
https://www.sendspace.com/file/pxwm6b
(think I know what's wrong now, new patch working)


Front Mission Gun Hazard had problem getting Canoe to load sram. Solution was to randomly hammer it. This game has opposite problem - saves not always sticking. But it did for 3b. :o



===1
Tales beta-2b (? + 03)
https://www.sendspace.com/file/31g7o7

Kills all non-essential junk sram writes on save screen. Should clear Canoe's sram timer for immediate saving.



===2
Rockman & Forte is already hirom fastrom. Making this go faster would take some handyman work.

Working on Chrono Trigger bugfix edition now. Then I'll get around to the list.
« Last Edit: May 08, 2018, 10:42:12 am by sluffy »

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 6909
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2371 on: May 08, 2018, 10:58:16 am »
Dokapon 3-2-1 - Arashi o Yobu Yuujou (Japan) -- Looks fine but I can't start a new game because it's a minimum 3 Players game and I can't "emulate" the controller 3.

It seems to require only two controllers. When it gets to player 3's naming turn you should be able to just push 1P Start to move on to the next screen (where it asks to set the players as human or CPU, which is backwards from how they should've done it :P ).
"My watch says 30 chickens" Google, 2018

reyvgm

  • Hero Member
  • *****
  • Posts: 1177
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2372 on: May 08, 2018, 11:11:12 am »
It seems to require only two controllers. When it gets to player 3's naming turn you should be able to just push 1P Start to move on to the next screen (where it asks to set the players as human or CPU, which is backwards from how they should've done it :P ).

Thanks for that info. I had it marked as needed a 3rd controller.

CanoeFan

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2373 on: May 08, 2018, 11:27:33 am »
I'm currently playing Rockman & Forte without a translation patch via Canoe there's some noticeable slowdown in Ground Man's stage right at the beginning it also might be in the rest of the stage since it's some sand waterfall things are in the stage that are causing the slowdown.

I've already confirmed this doesn't happen with the 3DS VC with an inject

Did you try using -no-lowlatency in the command line? If it's a Canoe related slowdown this could make it go away or at least better. If the slowdown is game related there won't be any difference.

teahouser

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2374 on: May 08, 2018, 11:47:17 am »
Working on Chrono Trigger bugfix edition now. Then I'll get around to the list.

Chronosplit messaged me back, you're good to go. His current patches are complete and he doesn't plan on changing them, and any new patches will be optional add ons, like MSU-1/FMV support, and won't effect your work. :thumbsup: Good luck with this one, I'll be available to help test.


Chronosplit

  • Hero Member
  • *****
  • Posts: 1393
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2375 on: May 08, 2018, 12:33:07 pm »
Chronosplit messaged me back, you're good to go. His current patches are complete and he doesn't plan on changing them, and any new patches will be optional add ons, like MSU-1/FMV support, and won't effect your work. :thumbsup: Good luck with this one, I'll be available to help test.
Cheers to you both!  Though I can't test this myself, I always was hoping that compatibility would be a reality at some point. :beer:

Bosco82

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2376 on: May 08, 2018, 12:44:46 pm »
ToP Beta 2b - Saving works correctly again, no problem with freezekill save either

Dragon Ball Z - Chou Gokuuden - Kakusei Hen (J) - overscan fix
https://www.sendspace.com/file/0fwhu6

Dragon Ball Z - Chou Gokuuden - Totsugeki Hen (J) - overscan fix
https://www.sendspace.com/file/fwcj61

Burai - Hachigyoku no Yuushi Densetsu (Japan) - overscan fix
https://www.sendspace.com/file/5wv4h5

Derby Stallion 98 (Japan) (NP) - overscan fix
https://www.sendspace.com/file/58taht

Derby Stallion II (Japan) - overscan fix
https://www.sendspace.com/file/yh5wib

Derby Stallion III (Japan) (Rev 3) - overscan fix
https://www.sendspace.com/file/b77it1
« Last Edit: May 08, 2018, 01:41:36 pm by Bosco82 »

sluffy

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2377 on: May 08, 2018, 01:54:19 pm »
Chrono Trigger (usa, ? + 03)
https://www.sendspace.com/file/sw9opr


Used "Bugfix+SkyDark and Name Liberties" but I think any of them will work. Have to check more later.


Nice job with the overscan list.

Bosco82

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2378 on: May 08, 2018, 02:26:10 pm »
Here what happens when you bump into Marle, this is not right at all





SupaSAIAN

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #2379 on: May 08, 2018, 02:34:07 pm »
ToP Beta 2b - Saving works correctly again, no problem with freezekill save either

Dragon Ball Z - Chou Gokuuden - Kakusei Hen (J) - overscan fix
https://www.sendspace.com/file/0fwhu6

Dragon Ball Z - Chou Gokuuden - Totsugeki Hen (J) - overscan fix
https://www.sendspace.com/file/fwcj61

Burai - Hachigyoku no Yuushi Densetsu (Japan) - overscan fix
https://www.sendspace.com/file/5wv4h5

Derby Stallion 98 (Japan) (NP) - overscan fix
https://www.sendspace.com/file/58taht

Derby Stallion II (Japan) - overscan fix
https://www.sendspace.com/file/yh5wib

Derby Stallion III (Japan) (Rev 3) - overscan fix
https://www.sendspace.com/file/b77it1

Thanks Bosco82, tested and all overscans has been fixed.  :thumbsup: