How to map keys 0-9 for SPACE WARS (0.78)
-
@caver01 Yeah that fixed it but boy that was a pain to find. (I really should read the docs!) I was looking in
/opt/retropie/configs/...
when it was in/home/pi/RetroPie/roms/arcade/mame2003/cfg/
Anyway, thanks.
Though, it still doesn't work in "Space Wars" inlr-mame2003
which is really odd. But sure, moving on. -
@jonnykesh Still couldn't map the keys? I want to load that ROM now and check it out.
-
@caver01 Not in Mame2003. The TAB menu just doesn't come up. In mame2010 the TAB menu comes up but is sideways and it won't allow you to map the number keys on a keyboard to the 0-9 functions. Have a look.
-
@jonnykesh Well, you would have to do quite a few other changes if you start mapping number keys, as the default raw keyboard mapping has 1-8 spoken for already.
Finding available keys might be tricky.
Isn't space war a vector game? It is better suited for AdvanceMAME in that case anyway. Key mapping question still applies, however. I will take a look tonight.
-
@jonnykesh said in How to map keys 0-9 for SPACE WARS (0.78):
@caver01 Yeah that fixed it but boy that was a pain to find. (I really should read the docs!) I was looking in
/opt/retropie/configs/...
when it was in/home/pi/RetroPie/roms/arcade/mame2003/cfg/
Anyway, thanks.
Though, it still doesn't work in "Space Wars" inlr-mame2003
which is really odd. But sure, moving on.So, were you able to get TAB working in lr-mame2003 or not? This messages seems to imply that you did once you found the right file to delete (sorry, I should have been more explicit about where it was, but it depends on what roms folder people are using). Yet, in a more recent message you are saying again that TAB does not work. Which is it?
I was also wondering, having not looked at this myself yet, whether modifying the controls for THIS GAME in the TAB menu is showing the necessary inputs, or if you have to back out and do it for ALL GAMES (in other words, changing the defaults.
It's too bad these inputs were required to begin with. I remember playing Space Wars as a kid and all of the buttons for gameplay types. I wish it had been built with an on-screen selection instead. Oh well.
-
@caver01 Mame menu is working in all games except Spacewars in 2003.
-
@jonnykesh In that case, delete the spacewar.cfg or whatever the rom is called. I am thinking maybe the keyboard config file for just that title is messed up to prevent you from getting into the menu.
-
@mikemolang You might be interested in this:
-
@jonnykesh Yes, that panel picture will definitely help when messing with this one!
-
Thanks! I had downloaded a couple of photos, but this is nice and clean!
-
GUYS! IT WORKED!!! (Well, basically...)
THE GOOD:
- I DL'ed 1.06 ROMs
- I installed AdvancedMAME
- I hooked up a wired USB keyboard with a number pad (game was preconfigured to use the number pad)
- I PLAYED A GAME!!!
TO DO:
- No sound. The sound worked for less than a second.
- When I tried to copy the two ROM zip files that looked to be most promising, one kept hitting an error and asking for disk 60 to be reinserted. Maybe I got a bad torrent DL? Maybe that is the sound problem.
So, while I still have work to do, you got me there! Thank you so very much!!!
MML
-
@mikemolang You need to put the samples into
/home/pi/RetroPie/roms/mame-advmame/samples
With older games the sounds cannot be emulated so samples are used. If you downloaded a full rom set there will be sample files included. The sample file will be named the same as the game rom and will contain multiple.wav
files. For example: -
YASSSSS!!! Thanks!
Since I am using ARCADE mode, I followed that path and it led me to the AdvancedMAME SAMPLE folder. But when I put the samples there it did not work and it added a "game" called "Sample".
Then I loaded them into the sampleS folder in AdvancedMAME, and viola!!! SOUND!!!!
One problem left (that I know of). A key feature of the game is the ability to press the reset button when both player are out of bullets, or damaged, or frustrated for any other reason. I tried all 10 of the numeric keypad keys, and as of yet, nothing works to reset.
Ideas?
Also, regarding samples, I am going to guess that regardless of which emulator I use, if I don't get sound I should look for samples. Is that correct, or is that a function of AdvancedMAME, or something else?
Thanks again. Very helpful!!
MML
-
@mikemolang The
sample
file is a red herring! Hahahaha, Within RetroPie it'ssamples
you need to use. This is the file path pointed to in the.rc
files. It confused me at first too.
Samples tend to only be for quite old games with very few sound effects. The actual sounds from the PCBs couldn't be emulated for whatever reason, maybe it had very specific, custom sound hardware so the samples option is a work-around.
The only way I can think of to do asoft reset
is to hitTAB
then scroll down toreset game
You could go intoInput (general) > User Interface
and mapReset Game
to a specific key or controller button. However I think this will apply across all games you use that version of AdvMame for. If that isn't a problem then do that.
EDIT: Just checked, reset is mapped to F3 by defaultAnd here's this:
-
@mikemolang Also if you go into the
Dip Switches
setting you can change the length of the game from 0:45 up to 2:00 mins. -
I am away from the machine right now, but when I refer to reset, there is a button on the actual game cabinet, and referred to in the instructions on the cabinet that performs this “reset”. It keeps you in the same game, same scores. It just kills both ships so they can start fighting again.
Pressing TAB to access the quick menu shows numeric keypad buttons 1 thru 0 (10 keys) which correspond to the game modes, but I did not see the button to map for “reset”. Any chance you see it, and I missed it?
That seems to be the final piece.
THANKS!
MML -
@mikemolang You'll see it if you look for it.
-
OK, so I could not get the game to run properly under lr-mame2003. It just kept doing random stuff, first with volume, then with other keys bringing up the menu and so on. Very erratic. Of course, I cannot invoke any kind of menu either.
Tried with Advmame and it works nicely. You can even map the game choice keys as you already figured out, but there is no reset key. This is probably not the RESET the machine (F3), but rather a key that was in the middle of the original control panel between player 1 and 2 controls. It looks like this is missing or overlooked in the emulation of this game.
Sound works fine if you have the sample file. You need to put the .zip into the samples directory pointed to in the advmame.rc file, not the wav files.
-
Would one of you be willing to file a bug report about Space Wars in the mame2003 github repository? URL: https://github.com/libretro/mame2003-libretro/issues
-
@markwkidd This goes beyond just 2003. I tried with advmame, and mame2010 and none of them have the reset button.
We would definitely want someone to file a bug for this that understands what that reset does on the actual arcade machine. I could not find a good description of its use, so I have no idea what happens when you press it on the real thing.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.