Japanese Gimmick! on a PAL console

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Japanese Gimmick! on a PAL console
by on (#76996)
Is there anyway to adapt the japanese 60Hz version to a 50Hz PAL console without slowdown?

by on (#77000)
That would be extremely difficult without the source code. Even if you did have the code it would still be a major job. The velocities of every object would have to be altered to fit the 50 Hz frame rate, and there is no guarantee that the velocity system used in Gimmick! is granular enough to represent those speeds.

You would also have to change the music data and / or code if you wanted the music to not slow down and the pitches to change.

by on (#77001)
Oh, I see... Thanks

by on (#77002)
There already was a shockingly good pal port (most of the "extra sound" was uitilised pretty badly and could be replaced with dpcm) but I think it does have some slowdown yeah.

by on (#77003)
Jeroen wrote:
(most of the "extra sound" was uitilised pretty badly and could be replaced with dpcm)

It's not like The Legend of Zelda or Super Mario Bros. 2: Mario Madness, where the original game used the FDS channel just for a few sound effects and didn't use DPCM at all. In Gimmick, the entire bass line is DPCM, so there'd have to be some serious channel interruption going on.

by on (#77005)
tepples wrote:
Jeroen wrote:
(most of the "extra sound" was uitilised pretty badly and could be replaced with dpcm)

It's not like The Legend of Zelda or Super Mario Bros. 2: Mario Madness, where the original game used the FDS channel just for a few sound effects and didn't use DPCM at all. In Gimmick, the entire bass line is DPCM, so there'd have to be some serious channel interruption going on.

In addition to this, on a PAL system, even though the pitches of the PSGs change, the DPCM does not, so the music would be extremely disharmonic since the bass would be playing in the wrong key.

by on (#77011)
There is already a PAL version of Gimmick. However, the music was ported badly if you want my opinion. As opposed to the music of CV3, which was greadly reduced to the normal NES channels.

Anyways, it would be difficult to hack the japanese version so that it works on a PAL NES because of the DPCM pitch.

by on (#77013)
Game genie code ALEAAUAO will transpose the square waves and triangle waves up by one half step (it changes CLC to SEC before an ADC)
Game genie code ALUANOAO will transpose the "FME7" sound channels up one half step.
But even with those two minor changes, the sound is still off key with the DMC channel, still slightly too low for the DMC channel's pitch.

Also: GVVTEXIS fixes the status bar.

by on (#77014)
Dwedit wrote:
Game genie code ALEAAUAO will transpose the square waves and triangle waves up by one half step (it changes CLC to SEC before an ADC)
Game genie code ALUANOAO will transpose the "FME7" sound channels up one half step.
But even with those two minor changes, the sound is still off key with the DMC channel, still slightly too low for the DMC channel's pitch.

Also: GVVTEXIS fixes the status bar.


That's got to be the most nerdcore use for a Game Genie I've ever heard of! I love it! :o

by on (#77016)
On a whim, I decided how to quantify exactly how flat the poor man's pitch compensation is, because the music engine in my compo entry also uses it.

NTSC CPU freq: 315/176 MHz = 1.7898 MHz
PAL CPU freq: 4.43361875*3/8 MHz = 1.6626 MHz
PAL CPU up a semitone (2^(1/12)) = 1.7615 MHz
Ratio: 1.01607
log(ratio)*1200/log(2) = 28 cents flat, where 100 cents = 1 semitone

Dendy CPU freq: 4.43361875*2/5 MHz = 1.7734 MHz
Ratio: 1.0092
NTSC games on Dendy run 15 cents flat, both PSG and DPCM

by on (#77017)
qbradq wrote:
Dwedit wrote:
Game genie code ALEAAUAO will transpose the square waves and triangle waves up by one half step (it changes CLC to SEC before an ADC)
Game genie code ALUANOAO will transpose the "FME7" sound channels up one half step.
But even with those two minor changes, the sound is still off key with the DMC channel, still slightly too low for the DMC channel's pitch.

Also: GVVTEXIS fixes the status bar.


That's got to be the most nerdcore use for a Game Genie I've ever heard of! I love it! :o


Yes. +1

by on (#77019)
28 cents flat should be pretty noticeable I think, it's 1/3 off the supposed value.
But the DPCM sounds a bit off anyways because of hardware limitations, so that have to be added to that value, which might increase even more, or attenuate the error.

In fact this is completely related but is there a way for me to listen Gimmick music without the DPCM channel (I mean the channel should still be there musically but not sound like it does). Because I really do not like it's sound, even though I like the music in Gimmick.
I think I could do MIDIs of all the songs but that'd be quite some work. It would be great to hack the sound engine to redirect the channel to another one, although this is probably impossible.

by on (#77021)
Bregalad wrote:
In fact this is completely related but is there a way for me to listen Gimmick music without the DPCM channel

Several emulators and NSF players support muting channels.

Quote:
It would be great to hack the sound engine to redirect the channel to another one, although this is probably impossible.

Hardly impossible. Trap writes to $4012 and work outward from there, then redirect the notes to the triangle channel.

by on (#77022)
I think Bregalad wants the DCPM portions of the music left in tact, just not played through the NES DCPM channel.

by on (#77026)
That's what I was trying to say in my reply to the second quote. It depends on what table the game uses to translate notes into DPCM play commands. Instead, the hack would translate those into triangle channel play commands.

by on (#77040)
Seems i'm alone on the whole pal version not sounding that bad. (Altough obviously the famicom version sounds alot better)

by on (#77041)
I think this as well. I wasn't able to found any (big) difference until I disabled the NES audio channels and left Sunsoft 5 alone