Author Topic: Various emulator settings  (Read 25065 times)

zlagos

  • Full Member
  • ***
  • Posts: 48
    • View Profile
Re: Various emulator settings
« Reply #45 on: September 09, 2017, 03:35:46 AM »
DOSBOX

Sorry this code is wrong.  :-[

Code: [Select]
@echo off
SET linkspath=C:\attract\EMU\dosbox\links\
SET dosboxpath=C:\attract\EMU\dosbox\DOSBox.exe

for %%a in (%1) do (
set filepath=%%~dpa
)

cd %filepath%
for %%* in (.) do (
set currentfolder=%%~nx*
echo %%~nx*
)

echo "%dosboxpath%" > %linkspath%%currentfolder%.bat %1 -exit -fullscreen

The correct would be:  :-[ :-[ :-[

Code: [Select]
@echo off
SET linkspath=C:\attract\EMU\dosbox\links\
SET dosboxpath=C:\attract\EMU\dosbox\DOSBox.exe

for %%a in (%1) do (
set filepath=%%~dpa
)

cd %filepath%
for %%* in (.) do (
set currentfolder=%%~nx*
echo %%~nx*
)

cd %linkspath%

echo "%dosboxpath%" > %currentfolder%.bat %1 -exit -fullscreen


Thank you very much for the post  :)
« Last Edit: September 09, 2017, 10:11:05 AM by zlagos »

mastic_man

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Various emulator settings
« Reply #46 on: February 08, 2018, 06:48:36 AM »
Could any one help me with the command line settings for MFME emulator 5.1
I am trying to boot games from within a directory and not having much luck?
The settings I am using are-

executable           H:\HyperPC\Emulators\MFME 51\MFME.exe
args                 -s "[emulator]" -r "[name]"
rompath              H:\HyperPC\Roms\Fruit Machines
romext               .zip;.7z;<DIR>;.gam

hermine.potter

  • Sr. Member
  • ****
  • Posts: 367
    • View Profile
Re: Various emulator settings
« Reply #47 on: February 09, 2018, 01:19:40 AM »
@mastic_man
What are your parameters to start a game directly from command line?
path_to_your_emulator\emulator.exe -parameter -parameter path_to_your_romfile\romfile_name.romfile_extension
what shows console window of AM (errors)?
So we can help you.
« Last Edit: February 09, 2018, 01:21:34 AM by hermine.potter »
AM Version : 2.3.0
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : WindowsXP x86 SP3
System : Dell Precision T3500 ; Intel X5650 ; 4GB RAM
Emulators : zsnes; mame; dosbox; scummvm; bsnes; fusion; openbor; windows_games; winuae; video; flashgames; vice; visualboy

mastic_man

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Various emulator settings
« Reply #48 on: February 09, 2018, 03:01:48 AM »
Hermine, thank you for taking the time and reading my post.

The command line for launching a game would be -
F:\HyperPC\Emulators\MFME 51\MFME.exe [FileName].gam

The games are in separate directories
 H:\HyperPC\Roms\Fruit Machines\FileName Folder for example.

The error message i got was "Fruit machines is not a valid integer"

hermine.potter

  • Sr. Member
  • ****
  • Posts: 367
    • View Profile
Re: Various emulator settings
« Reply #49 on: February 19, 2018, 12:14:13 AM »
@mastic_man
uh.. a little bit tricky. This is the correct commandline, to start your game?
F:\HyperPC\Emulators\MFME 51\MFME.exe H:\HyperPC\Roms\Fruit Machines\game123\game123.gam

regarding to this post, you need an identical folder and filename stucture like this:
H:\HyperPC\Roms\Fruit Machines\game123\game123.gam
H:\HyperPC\Roms\Fruit Machines\gameABC\gameABC.gam
and so on

this should work to you:
Code: [Select]
executable           F:\HyperPC\Emulators\MFME 51\MFME.exe
args                 [rompath][name]\[name].gam"
rompath              H:\HyperPC\Roms\Fruit Machines
romext               <DIR>
« Last Edit: February 19, 2018, 12:17:44 AM by hermine.potter »
AM Version : 2.3.0
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : WindowsXP x86 SP3
System : Dell Precision T3500 ; Intel X5650 ; 4GB RAM
Emulators : zsnes; mame; dosbox; scummvm; bsnes; fusion; openbor; windows_games; winuae; video; flashgames; vice; visualboy