Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: Gus on September 18, 2002, 06:04:10 pm
-
My problem with Game Launcher is that when I execute mame.exe GL doesnt point to my rom directory:
# Use rom_directory when launcher game: "yes" or "no"
# i.e. yes: "emulator.exe c:\full\path\rom"
# no: "emulator.exe rom"
use_rom_directory = yes
My mame.cfg.
# Main emulator configuration options go here
[Emulator]
# Emulator name, i.e. MAME
name = MAME
# Short description of emulator, i.e. Arcade Machines
description = Arcade Machines
# Location of emulator, i.e. c:\mame
directory = D:\Arcade\Mame
# Name of emulator executable, i.e. mame.exe
executable = mame.exe
# Global options passed to emulator, i.e. -sound 1
global_options =
# Command to run before running executable. If blank, then nothing
# will be run.
pre_command =
# Command to run after running executable. If blank, then nothing
# will be run.
post_command =
# Name of map file. A map file maps short ROM file names to full game
# names.
map_file = mame.map
# Options go before ROM when launching: "yes" or "no".
# i.e. yes: "emulator.exe -option1 -option2 rom"
# no: "emulator.exe rom -option1 -option2"
options_before_rom = no
# Directory to look for screen shot images, i.e. c:\mame\snap
# Supported formats are PCX, PNG, and BMP.
screen_shot_directory = D:\Arcade\Mame32\snap
# A ROM file is a list of ROMs to use. If set to "no", ROMs are
# scanned for in the rom_directory. If set to "yes" a ROM file (which
# is essentially just a list of ROMs) is used instead of trying scan.
# The default is "no". ROM files are useful for merged ROMs with
# MAME, where the actual ROM names are buried within a ZIP file.
use_rom_file = yes
# rom_dir, rom_extension, use_extension, and use_rom_directory are
# only relevant if a ROM file is not used. They are ignored if not
# needed.
# Directory to ROMs
rom_directory = D:\Arcade\Roms\RomsMame
# List of possible ROM extensions (without the ".")
rom_extension =
# Use extension when launching game: "yes" or "no"
# i.e. yes: "emulator.exe rom.ext"
# no: "emulator.exe rom"
use_extension =
# Use rom_directory when launcher game: "yes" or "no"
# i.e. yes: "emulator.exe c:\full\path\rom"
# no: "emulator.exe rom"
use_rom_directory = yes
Debugger:
Even though I put "use_rom_directory = yes" it still doesn't point to my rom directory.
D:\Arcade\GL>cd D:\Arcade\Mame
D:\Arcade\Mame>echo Will run: "mame.exe .sonicwi2 "
Will run: "mame.exe .sonicwi2 "
D:\Arcade\Mame>pause
D:\Arcade\Mame>mame.exe .sonicwi2
"" approximately matches the following
supported games (best match first):
puckman PuckMan (Japan set 1)
puckmana PuckMan (Japan set 2)
pacman Pac-Man (Midway)
puckmod PuckMan (harder?)
pacmod Pac-Man (Midway, harder)
Need help please!
/Gus
-
Debugger:
Even though I put "use_rom_directory = yes" it still doesn't point to my rom directory.
D:\Arcade\GL>cd D:\Arcade\Mame
D:\Arcade\Mame>echo Will run: "mame.exe .sonicwi2 "
Will run: "mame.exe .sonicwi2 "
D:\Arcade\Mame>pause
D:\Arcade\Mame>mame.exe .sonicwi2
Need help please!
You must set "use_rom_file = no" if you want to use a ROM directory. ROM files and ROM directories are mutually exclusive and you need to pick one or the other.
FWIW, you don't need a ROM directory for mame. You should be able to run it like "mame.exe sonicwi2" if you put ROM paths in MAME's mame.cfg or mame.ini.
-Dave
-
i'd think you'd want these otpions:
use_rom_directory = no (this is listed twice in the cfg?????)
use_rom_file = no (what dave said)
# List of possible ROM extensions (without the ".")
rom_extension = zip
# Use extension when launching game: "yes" or "no"
# i.e. yes: "emulator.exe rom.ext"
# no: "emulator.exe rom"
use_extension = NO
# Use rom_directory when launcher game: "yes" or "no"
# i.e. yes: "emulator.exe c:\full\path\rom"
# no: "emulator.exe rom"
use_rom_directory = no (second listing is here)
-
Thanks for the fast reply guys!
Still doesn't work :'(
Debugger after editing mame.cfg
D:\Arcade\GL>cd D:\Arcade\Mame
D:\Arcade\Mame>echo Will run: "mame.exe sonicwi2 "
Will run: "mame.exe sonicwi2 "
D:\Arcade\Mame>mame.exe sonicwi2
075-p1.bin NOT FOUND
075-s1.bin NOT FOUND
ng-sfix.rom NOT FOUND
neo-geo.rom NOT FOUND
ng-sm1.rom NOT FOUND
075-m1.bin NOT FOUND
ng-lo.rom NOT FOUND
075-v1.bin NOT FOUND
075-v2.bin NOT FOUND
075-c1.bin NOT FOUND
075-c2.bin NOT FOUND
075-c3.bin NOT FOUND
075-c4.bin NOT FOUND
ERROR: required files are missing, the game cannot be run.
It still seems like GL doesn't point to my rom directory.
My "mame.cfg" in GL looks like this now:
[Emulator]
# Emulator name, i.e. MAME
name = MAME
# Short description of emulator, i.e. Arcade Machines
description = Arcade Machines
# Location of emulator, i.e. c:\mame
directory = D:\Arcade\Mame
# Name of emulator executable, i.e. mame.exe
executable = mame.exe
# Global options passed to emulator, i.e. -sound 1
global_options =
# Command to run before running executable. If blank, then nothing
# will be run.
pre_command =
# Command to run after running executable. If blank, then nothing
# will be run.
post_command =
# Name of map file. A map file maps short ROM file names to full game
# names.
map_file = mame.map
# Options go before ROM when launching: "yes" or "no".
# i.e. yes: "emulator.exe -option1 -option2 rom"
# no: "emulator.exe rom -option1 -option2"
options_before_rom = no
# Directory to look for screen shot images, i.e. c:\mame\snap
# Supported formats are PCX, PNG, and BMP.
screen_shot_directory = D:\Arcade\Mame32\snap
# A ROM file is a list of ROMs to use. If set to "no", ROMs are
# scanned for in the rom_directory. If set to "yes" a ROM file (which
# is essentially just a list of ROMs) is used instead of trying scan.
# The default is "no". ROM files are useful for merged ROMs with
# MAME, where the actual ROM names are buried within a ZIP file.
use_rom_file = no
# rom_dir, rom_extension, use_extension, and use_rom_directory are
# only relevant if a ROM file is not used. They are ignored if not
# needed.
# Directory to ROMs
rom_directory =
# List of possible ROM extensions (without the ".")
rom_extension = zip
# Use extension when launching game: "yes" or "no"
# i.e. yes: "emulator.exe rom.ext"
# no: "emulator.exe rom"
use_extension = no
# Use rom_directory when launcher game: "yes" or "no"
# i.e. yes: "emulator.exe c:\full\path\rom"
# no: "emulator.exe rom"
use_rom_directory = no
You said something about a "mame.ini" file, doesnt have one in my mame directory.
Am I using the right version of mame? I use the "Windows command line version of MAME 0.61"
/Gus
-
Look closer:)
# Directory to ROMs
rom_directory =
Hmmm, interesting.
Also, the exe is named mame.exe? Just making sure you aren;t using the optimized mamepp.exe.
-
It's there now, with the same result as earlier...
If i put the roms in the same folder as mame.exe it runs like a charm. It's one solution to the problem but I want to keep all my roms in different folders.
Why should this value be set to "no"?
# Use rom_directory when launcher game: "yes" or "no"
# i.e. yes: "emulator.exe c:\full\path\rom"
# no: "emulator.exe rom"
use_rom_directory = no
This problem is driving me nuts!
EDIT
I changed it to "yes" and most of the games work now!
Thanks alot!
Do you have nes.cfg and snes.cfg? If you do, would you mind posting them and tell me which emulator you use?
Thanks again!
/Gus
-
Since you do not want to use a ROM file, you need to setup mame.cfg in Game Launcher's directory as such:
options_before_rom = no
use_rom_file = no
rom_directory = D:\Arcade\Roms\RomsMame
rom_extension = zip
use_extension = no
use_rom_directory = no
You must have rom_directory set to something otherwise GL has no idea what games to list in the menu.
You're not done yet, and this is the part that I think you have been missing. In addition to configuring mame.cfg, you need to use MAME's mame.ini file. This file does not exist by default. You need to create it with "mame.exe -createconfig". Once the config file is created, edit it and make sure you have this line:
rompath D:\Arcade\Roms\RomsMame
BTW, make sure you can run MAME by hand before trying to get it to work with GL. At the moment I think you're debugging 2 problems at the same time.
-Dave