Main > Software Forum

Need some help with "Game Launcher" please!

Pages: (1/2) > >>

Gus:

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

Dave Dribin:


--- Quote from: Gus on September 18, 2002, 06:04:10 pm ---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!
--- End quote ---


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


SirPoonga:



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)

Gus:

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

SirPoonga:

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.

Pages: (1/2) > >>

Go to full version