The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: Odonadon on March 02, 2003, 11:54:43 pm

Title: Magic Engine on Game Launcher?
Post by: Odonadon on March 02, 2003, 11:54:43 pm
Well, I've been fiddling around trying to get Magic Engine to work in Game Launcher by making me own custom cfg and map files.  However, Game Launcher doesn't seem to like the .pce extension, or won't read from the .map, so I can't get a game list.  Yes, my .map file is formatted correctly, and is specified correctly in the .cfg file.  Anyone have any troubles with this?

Thanks,
Odonadon
Title: Re:Magic Engine on Game Launcher?
Post by: Jakobud on March 03, 2003, 02:58:23 pm
Hmmm... I have magic engine running through GL in my cabinet just fine.  Perhaps you could post your CFG for Magic Engine from the config directory.  Then we should be able to see what's wrong.
Title: Re:Magic Engine on Game Launcher?
Post by: Odonadon on March 03, 2003, 04:35:27 pm
Hmmm... I have magic engine running through GL in my cabinet just fine.  Perhaps you could post your CFG for Magic Engine from the config directory.  Then we should be able to see what's wrong.

I don't have my .cfg with me, could you post your .cfg file?  If I saw the fields, I could tell you what I had in mine.  Plus, I could copy and paste yours into mine when I get home from work and save some time waiting for a reply tonight :)

Thanks,
Odonadon
Title: Re:Magic Engine on Game Launcher?
Post by: Odonadon on March 03, 2003, 07:19:13 pm
I can't get the .cfg file from the arcade anyway.  I don't have a floopy drive in it, and I don't have a cat5 cable long enough to reach my PC :).  But if anyone did have theirs, I could try and use it as a template.  That'd be great.

Thanks,
Odonadon
Title: Re:Magic Engine on Game Launcher?
Post by: Jakobud on March 10, 2003, 06:01:21 pm
Here's my pce.cfg




########################################################################
#
# This is a template config file.
#
########################################################################

########################################################################
#
# Main emulator configuration options go here

[Emulator]

# Emulator name, i.e. MAME
name = Magic Engine

# Short description of emulator, i.e. Arcade Machines
description = Turbo Grafix 16 / PC Engine

# Location of emulator, i.e. c:\mame
directory = emu\ME099b4

# Name of emulator executable, i.e. mame.exe
executable = pce.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 = pce.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 = snaps\pce

# 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 = roms\pce

# List of possible ROM extensions (without the ".")
rom_extension = pce

# Use extension when launching game: "yes" or "no"
#  i.e. yes: "emulator.exe rom.ext"
#        no: "emulator.exe rom"
use_extension = yes

# 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


########################################################################
#
# Per ROM options go here
#
# List of short ROM names followed by their options:
#
#   rom = -option1 -option2 ...
#
# i.e.:
#   arkanoid = -novsync

[Options]
Title: Re:Magic Engine on Game Launcher?
Post by: Odonadon on March 10, 2003, 07:22:03 pm
Odd.  On first glance, it looks just like mine.  Maybe I'll do a cut and paste and change the directories accordingly.  I'll let you know.

In the mean time, I've set Magic Engine to load as a "misc" batch file.  I might keep it this way because I can launch the CD games from within ME.

Thanks,
Odonadon
Title: Re:Magic Engine on Game Launcher?
Post by: Jakobud on March 10, 2003, 10:10:47 pm
Well also notice that I am not using any map or rom files.
Title: Re:Magic Engine on Game Launcher?
Post by: Odonadon on March 10, 2003, 11:35:25 pm
Well also notice that I am not using any map or rom files.

Yes, I noticed that.  I've tried that as well, to no avail.  Very odd.

Odonadon
Title: Re:Magic Engine on Game Launcher?
Post by: ErikRuud on March 11, 2003, 09:17:03 am
I have never used Magic Engine, but I have gotten Game Launcher to work with O2Em and Retrocade in addition to mame.  Neither of these came preconfigured with GL.

Odonadon, one thing I would suggest is to make sure that you did not include the "dot" in your ROM Extension parameter.

# List of possible ROM extensions (without the ".")
rom_extension = pce



It is easy to miss that, and GL does not like it.


Title: Re:Magic Engine on Game Launcher?
Post by: Odonadon on March 11, 2003, 12:31:21 pm
I have never used Magic Engine, but I have gotten Game Launcher to work with O2Em and Retrocade in addition to mame.  Neither of these came preconfigured with GL.

Odonadon, one thing I would suggest is to make sure that you did not include the "dot" in your ROM Extension parameter.

# List of possible ROM extensions (without the ".")
rom_extension = pce



It is easy to miss that, and GL does not like it.




Yeah, have quadruple checked that.  I even purposely put the "." in there one time just to make sure it wasn't lying  :o

Very odd.  I'm thinking of wiping everything out and starting from scratch.  Probably won't make a difference, but we'll see.

Odonadon
Title: Re:Magic Engine on Game Launcher?
Post by: Cave on March 11, 2003, 01:39:21 pm
I looked at my old cfg that worked and I noticed I have this
"options_before_rom = no" as yes, not sure if this will make a difference and also maybe try using the full path i.e. c:\emu\ME099b4 .
Title: Re:Magic Engine on Game Launcher?
Post by: Jakobud on March 11, 2003, 02:36:47 pm
Can you just post your CFG file?  Hook up a floppy drive to your cabinet or something.
Title: Re:Magic Engine on Game Launcher?
Post by: ErikRuud on March 12, 2003, 11:46:26 am
options_before_rom would make a big difference.

Yes would cause it to execute pce.exe options rom

No would cause it to execute pce.exe rom options

I'm not familiar with Magic Engine, based on the example that is supposed to work, it want the options after the ROM name.
Title: Re:Magic Engine on Game Launcher?
Post by: Odonadon on March 12, 2003, 05:28:48 pm
options_before_rom would make a big difference.

Yes would cause it to execute pce.exe options rom

No would cause it to execute pce.exe rom options

I'm not familiar with Magic Engine, based on the example that is supposed to work, it want the options after the ROM name.

Don't use any options.  Besides, I can't even get that far.  The problem I have is showing a list of games in Game Launcher, not running the games.  

I've recently figured out that I can't get Magic Engine or ZSNESW to run properly from Game Launcher unless I turn debug mode on.  I don't understand why.  I've recently reinstalled my OS (Win98SE) to no effect, and am now using DirectX 8 instead of DirectX 9.  Don't make no difference either :).  I'm going to try dropping the exe files into a batch file and calling them that way tonight.  Game Launcher seems to treat batch files differently than exe files for some reason.

Odonadon
Title: Re:Magic Engine on Game Launcher?
Post by: Jakobud on March 13, 2003, 01:30:23 am
You should really just try to post your cfg file if possible.  Also make sure in your glaunch.cfg file you have the path prefix set to C:\
Title: Re:Magic Engine on Game Launcher?
Post by: Odonadon on March 13, 2003, 01:55:39 am
Well, I made a batch file.  It loads, but won't go back into Game Launcher properly when done.  I give up.  I'm just going to run things in debug mode.

I have a spare floppy drive - I'll try and hook that up when I get a chance and post my cfg. file.

Odonadon