MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Pages: 1

Jayme65
MAME Fan
Reged: 05/22/06
Posts: 10
Send PM


Launching rom from a distant folder (with command line)
#298884 - 11/13/12 11:22 AM


Hi,

I've done some quick test, and it appears that I can't launch (with command line) a rom located on a "distant" folder without declaring that folder in "mame.ini" before!?
mame.exe "D:\Downloads\EMULATION\MAME v145 ROMS\005.zip"

wouldn't run if it hasn't been declared in "mame.ini" file before:
rompath roms;D:\Downloads\EMULATION\MAME v145 ROMS

Is that correct?
You really can't "give" a rom to mame coming from anywhere on your disk if you haven't declared that folder before?

(I ask because you can do it with any other emulator!)
Thanks!!



redk9258
Regular
Reged: 09/21/03
Posts: 3968
Loc: Troy, Illinois USA
Send PM


Re: Launching rom from a distant folder (with command line) new [Re: Jayme65]
#298885 - 11/13/12 12:45 PM


The correct way would be:
mame.exe -rp "D:\Downloads\EMULATION\MAME v145 ROMS" 005

-rp is short for -rompath.

You may want to read .\docs\config.txt

Edited by redk9258 (11/13/12 12:52 PM)



Jayme65
MAME Fan
Reged: 05/22/06
Posts: 10
Send PM


Re: Launching rom from a distant folder (with command line) new [Re: redk9258]
#298896 - 11/13/12 05:34 PM


Thanks for your reply. That is exactly what I needed!!

(And yes, I've followed your advice and read carefully .\docs\config.txt)

Thanks redk9258!!


Pages: 1

MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Pi 
0 registered and 5 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3726