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

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

SupaSAIAN

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1760 on: April 20, 2018, 09:23:54 am »
Sluffy your MMX patch is only for the Spanish translation of Blade133bo or can it work with more translations with the DRM problem??
« Last Edit: April 20, 2018, 09:46:13 am by SupaSAIAN »

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 6480
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1761 on: April 20, 2018, 12:37:21 pm »
Just to be sure on MMX, did you try getting a 1-Up and finish the level?
From what I've read, Capcom buried the antipiracy code within the 1-Up code (sets a flag that gets checked at the end of the level) probably to make it difficult to find.
Quote
Sir Howard Stringer, chief executive of Sony, on Christmas sales of the PS3:
"It's a little fortuitous that the Wii is running out of hardware."

SupaSAIAN

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1762 on: April 20, 2018, 12:50:30 pm »
Just to be sure on MMX, did you try getting a 1-Up and finish the level?
From what I've read, Capcom buried the antipiracy code within the 1-Up code (sets a flag that gets checked at the end of the level) probably to make it difficult to find.

I think I have take an extra life at the Storm Eagle level (but I'm not sure if I dead at the boss) and I can finish that level with normallity, I have played the game during almost 1'5 hours and defeated 3 bosses without DRM issuses.

sluffy

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1763 on: April 20, 2018, 01:29:53 pm »
Currently no speaker mode. Blind test.


Troddlers (0000, usa, clean)
https://www.sendspace.com/file/y7gimj

Listen for audio pops in drum hits.



I think patch is for Spanish translation only -- makes lots of rom edits. Will play usa rev1 and see how it compares.


===1
Plok (usa, 0000, clean)
https://www.sendspace.com/file/haqjzr

Listen for harmonica pops.


Already asked about what I'm doing:
Gaussian is 4-point. Looks at last 4 audio samples played.

Code: [Select]
step3:
outx = ((outx & 0xFFFF) ^ 0x8000) - 0x8000;
-or-
outx = (int16) outx;

This is when overflow occurs (sign bit changes from -7ff0 ==> +7ff0). Because brr sample has too many max $8000 values (3-4 in a row). blargg's audio core seems to "side-step" this with more accurate timing. Snes9x 1.51 / Canoe is unlucky.


I'd cheat by doing this, even if inaccurate: CLIP16(outx). Can't do that so we have to modify audio waveform to start churning out a mix of non-bleed values like $8000, $9000, $8000, $8000, $9000. A few well-placed hand edits.

$8000 = -32768
$9000 = -28672



===2
Battle Racers (Japan) (dsp1 pid, clean)
https://www.sendspace.com/filegroup/rGMeuRWDZsTViKw7zW6XXQ

debug1a = test boot
debug1b = please upload sram if 1a fails
« Last Edit: April 20, 2018, 02:57:51 pm by sluffy »

Lazermutt4

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1764 on: April 20, 2018, 03:01:31 pm »
===1
Plok (usa, 0000, clean)
https://www.sendspace.com/file/haqjzr

Listen for harmonica pops.

Plok appears to have no change.

reyvgm

  • Hero Member
  • *****
  • Posts: 1156
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1765 on: April 20, 2018, 03:02:46 pm »
To whoever tests Battle Racers, let me explain a little bit what you need to do.

You need to use either ID BA10 or BD10 on hakchi.
Then test the first patch. Check if the game boots and plays fine. If it doesn't, then use patch 2, load the game, close the SNES Classic and use Hakchi to extract the save file and upload it here.

SupaSAIAN

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1766 on: April 20, 2018, 03:13:42 pm »
Currently no speaker mode. Blind test.


Troddlers (0000, usa, clean)
https://www.sendspace.com/file/y7gimj

Listen for audio pops in drum hits.



I think patch is for Spanish translation only -- makes lots of rom edits. Will play usa rev1 and see how it compares.


===1
Plok (usa, 0000, clean)
https://www.sendspace.com/file/haqjzr

Listen for harmonica pops.


Already asked about what I'm doing:
Gaussian is 4-point. Looks at last 4 audio samples played.

Code: [Select]
step3:
outx = ((outx & 0xFFFF) ^ 0x8000) - 0x8000;
-or-
outx = (int16) outx;

This is when overflow occurs (sign bit changes from -7ff0 ==> +7ff0). Because brr sample has too many max $8000 values (3-4 in a row). blargg's audio core seems to "side-step" this with more accurate timing. Snes9x 1.51 / Canoe is unlucky.


I'd cheat by doing this, even if inaccurate: CLIP16(outx). Can't do that so we have to modify audio waveform to start churning out a mix of non-bleed values like $8000, $9000, $8000, $8000, $9000. A few well-placed hand edits.

$8000 = -32768
$9000 = -28672



===2
Battle Racers (Japan) (dsp1 pid, clean)
https://www.sendspace.com/filegroup/rGMeuRWDZsTViKw7zW6XXQ

debug1a = test boot
debug1b = please upload sram if 1a fails

Troddlers 0000:
https://www.youtube.com/watch?v=5HZjGFOyJSU

Plok 0000:
https://www.youtube.com/watch?v=Ln-fP1Ttwoc

Battle Racers BD10:
Game boots but gives this screen: https://imgur.com/20TM655
Here is the save of the debug1b patch: https://www.sendspace.com/file/82pbib

reyvgm

  • Hero Member
  • *****
  • Posts: 1156
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1767 on: April 20, 2018, 03:25:44 pm »
Troddlers seem to be the same? I can't tell due to the low quality of the audio in the video (I know it's not your fault), but we need Robin64 to make on of those direct feed videos.

Plok seems to be fixed? I didn't hear the clicking sound during the intro, but a gameplay video would be nice since the clicking is more pronounced while playing.

Did you try the other ID for Battle Racers?

SupaSAIAN

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1768 on: April 20, 2018, 03:53:25 pm »
Troddlers seem to be the same? I can't tell due to the low quality of the audio in the video (I know it's not your fault), but we need Robin64 to make on of those direct feed videos.

Plok seems to be fixed? I didn't hear the clicking sound during the intro, but a gameplay video would be nice since the clicking is more pronounced while playing.

Did you try the other ID for Battle Racers?

I'm not an expert, but I think the bass still sounds a little saturated.
Yes, I just tried it with ID BA10 and same result.

Robin64

  • Full Member
  • ***
  • Posts: 140
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1769 on: April 20, 2018, 04:01:18 pm »
Just tested Plok myself. I'm afraid the tick/pop sound in the music is still very much present.

reyvgm

  • Hero Member
  • *****
  • Posts: 1156
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1770 on: April 20, 2018, 04:02:35 pm »
Just tested Plok myself. I'm afraid the tick/pop sound in the music is still very much present.

You sure you didn't accidentally apply some old SFROM Tool patch?  :laugh: :laugh:

sluffy

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1771 on: April 20, 2018, 04:04:38 pm »
Huh. Unexpected. Maybe it's something added on top of brr overflow. Or looking at wrong area.


mmx rev1 usa != mmx rev1 spanish
- rev1 usa uses upgraded false-postive engine (lda sram - inc - sta sram - cmp). Largely done but have to do a few boss fights.

- rev1 spanish is ... like Bosco82 pointed out. rev0 engine. But I think it's different from rev0 too. Have to play rev0 usa also.


Battle Racers sram looks mostly normal. But ram is $91 init? Have to see what happens on emus. And those red dots ... has a vague familiar pattern to it.

Robin64

  • Full Member
  • ***
  • Posts: 140
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1772 on: April 20, 2018, 04:07:38 pm »
You sure you didn't accidentally apply some old SFROM Tool patch?  :laugh: :laugh:

Oh you!  :P

But in seriousness, the tick is an odd one. I don't know if it something to do with the frequency it plays at, but it's easier to hear on some sound systems than others. My Macbook's tinny speakers barely show it, but my amazing 5.1 system makes it very clear.

I can't hear it in SuperSAIAN's video at all on this laptop, but it's already super tinny from being recorded off-screen etc, so.

Edit: Troddlers still has the same Plok tick/pop/noise.
« Last Edit: April 20, 2018, 04:16:33 pm by Robin64 »

reyvgm

  • Hero Member
  • *****
  • Posts: 1156
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1773 on: April 20, 2018, 04:12:10 pm »

Battle Racers sram looks mostly normal. But ram is $91 init? Have to see what happens on emus. And those red dots ... has a vague familiar pattern to it.

I didn't see red dots on the image SupaSAIAN uploaded, and no one has yet made a video of it. Maybe if someone did upload a video others could maybe identify the red dots on other games?

Robin64

  • Full Member
  • ***
  • Posts: 140
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1774 on: April 20, 2018, 04:18:43 pm »
I didn't see red dots on the image SupaSAIAN uploaded, and no one has yet made a video of it. Maybe if someone did upload a video others could maybe identify the red dots on other games?

They're actually really dark. I couldn't see them at first til I moved my head up and down in front of my monitor.

Enhance!


reyvgm

  • Hero Member
  • *****
  • Posts: 1156
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1775 on: April 20, 2018, 04:26:30 pm »
Ah thanks.

That's the kind of stuff you sometimes saw with NES games if you didn't introduce them correctly in the system :P

Robin64

  • Full Member
  • ***
  • Posts: 140
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1776 on: April 20, 2018, 04:35:49 pm »
Edit: Don't think the video even picked them up. Crazy.

But yes, it does a few frames of garbled graphics before settlings to the red dots pattern, but it's soooo fast. It does feel like the NES game not in properly thing.

reyvgm

  • Hero Member
  • *****
  • Posts: 1156
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1777 on: April 20, 2018, 06:46:41 pm »
Etiel where the heck are you!

sluffy

  • Hero Member
  • *****
  • Posts: 642
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1778 on: April 20, 2018, 08:19:35 pm »
Bust-A-Move (USA) (0000, clean)
https://www.sendspace.com/file/7vv9c5

This might not be fixable. But want to see effects of doing this. It'll look wrong. But I need to know if screen does any weird flashing when ceiling is about to drop.

CuttySnark

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Snes emulators (Canoe, Snes9x) -- game problems and fixes
« Reply #1779 on: April 20, 2018, 08:53:40 pm »
They're actually really dark. I couldn't see them at first til I moved my head up and down in front of my monitor.

Enhance!



Same thing occurs with debug1a when using PID 0000 extra byte 02 to enable DSP1.