Important : DipSwitch setting issue
Posted: Fri Jul 02, 1999 12:30 pm
This is quite a long post. Please read the last line - I'm proposing a new 'rule'...
<p>
I was thinking about getting the MARP upload script to automatically check all tournament uploads to make sure they have the correct dip switch settings. It's not hard to check what settings are used. I just tried running all the t1-galagads recordings through a checking program, and found that most of the recordings were started with wrong dipswitch settings, and then corrected, really early on.
<p>
Here's some output from the checker... It prints the recording's file name for each recording, followed by a list of all the dipswitch settings that were used in that recording, with the number of frames which that setting was in use for to the left. The first one is GameBoy's:
<p>
<PRE>
inp/plf_t1-galagads_87740_m35rc2.zip:
<p>
31183 97f5 - legal
<p>
</PRE>
<p>
It shows that he used the same settings all the way through the game (since there's only one line of output), the game lasted for 31183 frames (that's around 8 minutes and 39 seconds), and the dipswitch settings he used were '97f5', which is the tournament setting. (It's a hexadecimal number, which sums up all the settings in a compact form).
<p>
Next we have The Krog's recording:
<p>
<PRE>
inp/smk_t1-galagads_2222220_m35rc2.zip:
<p>
71 bff7 - default
247488 97f5 - legal
</PRE>
<p>
This shows that he started the recording with the default settings, then after 71 frames (just over a second) the settings changed to the tournament settings, and stayed there for the rest of the game. I reckon he must have paused the game in the boot sequence and changed the settings, or you would see them changing one by one (the default settings and the tourney settings differ in at least 2 places - extra lives and difficult). I don't know how galaga works, but some games only read their dip switches when they first boot, so this technique of changing the settings during the recording might not always work.
<p>
Then Chris Parsley's recording:
<p>
<PRE>
inp/cmp_t1-galagads_110990_win35rc2.zip:
<p>
29782 bff3
</PRE>
<p>
This one uses the same settings all the way through, but they're not the tourney settings, and they're not the default settings - the '3' on the end shows that the difficulty level is 'hard', but not 'hardest'. (it's easy=7, medium=1, hard=3, hardest=5, unless you mess with the 2credit or demo-sound switches, which add 1 or 8 to these figures respectively).
<p>
So what gives, Chris?
<p>
Next up is one of GameBoy's older recordings, which he's since beaten:
<p>
<PRE>
inp/plf_t1-galagads_66890_m35rc2.zip:
<p>
245 97f5 - legal
31 9ff5
172 a7f5
9 9ff5
20616 97f5 - legal
</PRE>
<p>
It looks like he had set the switches correctly in a previous game, since they start off at the tourney settings. He then plays about with them for a few seconds before putting them back where they were. Maybe just checking that he had the correct settings, or something. The switch he's changing there is the one which controls extra life awards. I had to play with it a bit myself to see that '20k 70k 70k' is the one I wanted. Again, I'm not sure how safe this is. A bit like pulling faces in the wind, you might have the switch in the wrong place just as MAME reads it, and then you might be stuck in that position for the rest of the game. Maybe this doesn't happen in galaga, but in general it's a really good idea not to change the dipswitches during a recording. My suggestion is to start a game, set the switches up correctly, hit escape to abort the game, and then start recording with the switches set correctly from the beginning.
<p>
NotMan does the same thing as Steve K. did - adjusted the settings while paused:
<p>
<PRE>
inp/sh_t1-galagads_1547260_m35rc2.zip:
<p>
63 bff7 - default
232905 97f5 - legal
</PRE>
<p>
And, of course, my recording is perfect (if slightly lacking in points), starting with the correct settings and leaving them set:
<p>
<PRE>
inp/zw_t1-galagads_26050_m35rc2.zip:
<p>
10971 97f5 - legal
</PRE>
<p>
Sorry to go on about this, but if we can refrain from changing settings within a recording, then I can automate the setting checking, and refuse to upload games with the wrong settings.
<p>
What do people think of this? Good idea? Or over the top?
<p>
BOTTOM LINE: please hit escape and re-start the recording whenever you change dip-switch settings.
<p>
Chris.
--
zwaxy@bigfoot.com
<p>
I was thinking about getting the MARP upload script to automatically check all tournament uploads to make sure they have the correct dip switch settings. It's not hard to check what settings are used. I just tried running all the t1-galagads recordings through a checking program, and found that most of the recordings were started with wrong dipswitch settings, and then corrected, really early on.
<p>
Here's some output from the checker... It prints the recording's file name for each recording, followed by a list of all the dipswitch settings that were used in that recording, with the number of frames which that setting was in use for to the left. The first one is GameBoy's:
<p>
<PRE>
inp/plf_t1-galagads_87740_m35rc2.zip:
<p>
31183 97f5 - legal
<p>
</PRE>
<p>
It shows that he used the same settings all the way through the game (since there's only one line of output), the game lasted for 31183 frames (that's around 8 minutes and 39 seconds), and the dipswitch settings he used were '97f5', which is the tournament setting. (It's a hexadecimal number, which sums up all the settings in a compact form).
<p>
Next we have The Krog's recording:
<p>
<PRE>
inp/smk_t1-galagads_2222220_m35rc2.zip:
<p>
71 bff7 - default
247488 97f5 - legal
</PRE>
<p>
This shows that he started the recording with the default settings, then after 71 frames (just over a second) the settings changed to the tournament settings, and stayed there for the rest of the game. I reckon he must have paused the game in the boot sequence and changed the settings, or you would see them changing one by one (the default settings and the tourney settings differ in at least 2 places - extra lives and difficult). I don't know how galaga works, but some games only read their dip switches when they first boot, so this technique of changing the settings during the recording might not always work.
<p>
Then Chris Parsley's recording:
<p>
<PRE>
inp/cmp_t1-galagads_110990_win35rc2.zip:
<p>
29782 bff3
</PRE>
<p>
This one uses the same settings all the way through, but they're not the tourney settings, and they're not the default settings - the '3' on the end shows that the difficulty level is 'hard', but not 'hardest'. (it's easy=7, medium=1, hard=3, hardest=5, unless you mess with the 2credit or demo-sound switches, which add 1 or 8 to these figures respectively).
<p>
So what gives, Chris?
<p>
Next up is one of GameBoy's older recordings, which he's since beaten:
<p>
<PRE>
inp/plf_t1-galagads_66890_m35rc2.zip:
<p>
245 97f5 - legal
31 9ff5
172 a7f5
9 9ff5
20616 97f5 - legal
</PRE>
<p>
It looks like he had set the switches correctly in a previous game, since they start off at the tourney settings. He then plays about with them for a few seconds before putting them back where they were. Maybe just checking that he had the correct settings, or something. The switch he's changing there is the one which controls extra life awards. I had to play with it a bit myself to see that '20k 70k 70k' is the one I wanted. Again, I'm not sure how safe this is. A bit like pulling faces in the wind, you might have the switch in the wrong place just as MAME reads it, and then you might be stuck in that position for the rest of the game. Maybe this doesn't happen in galaga, but in general it's a really good idea not to change the dipswitches during a recording. My suggestion is to start a game, set the switches up correctly, hit escape to abort the game, and then start recording with the switches set correctly from the beginning.
<p>
NotMan does the same thing as Steve K. did - adjusted the settings while paused:
<p>
<PRE>
inp/sh_t1-galagads_1547260_m35rc2.zip:
<p>
63 bff7 - default
232905 97f5 - legal
</PRE>
<p>
And, of course, my recording is perfect (if slightly lacking in points), starting with the correct settings and leaving them set:
<p>
<PRE>
inp/zw_t1-galagads_26050_m35rc2.zip:
<p>
10971 97f5 - legal
</PRE>
<p>
Sorry to go on about this, but if we can refrain from changing settings within a recording, then I can automate the setting checking, and refuse to upload games with the wrong settings.
<p>
What do people think of this? Good idea? Or over the top?
<p>
BOTTOM LINE: please hit escape and re-start the recording whenever you change dip-switch settings.
<p>
Chris.
--
zwaxy@bigfoot.com