Previous Thread
Next Thread
Print Thread
Opening roms with applescript in 0122 #36819
12/27/07 08:23 PM
12/27/07 08:23 PM
Joined: Nov 2004
Posts: 80
San Francisco
A
agallisa Offline OP
Member
agallisa  Offline OP
Member
A
Joined: Nov 2004
Posts: 80
San Francisco
I seem to be having trouble loading roms using applescript in 0122 and not sure if anyone can offer any assistance. If you open script editor (found in /Applications/Appe Script) and run a command such as:

do shell script "/Applications/Games/OLDSchool/Mac\\ MAME/mame0122 /Applications/Games/OLDSchool/Mac\\ MAME/roms/frogger.zip"

I will get the error

frogger.26 NOT FOUND
frogger.27 NOT FOUND
frsm3.7 NOT FOUND
frogger.608 NOT FOUND
frogger.609 NOT FOUND
frogger.610 NOT FOUND
frogger.607 NOT FOUND
frogger.606 NOT FOUND
pr-91.6l NOT FOUND
ERROR: required files are missing, the game cannot be run.

From the terminal it will launch with
/Applications/Games/OLDSchool/Mac\ MAME/mame0122 /Applications/Games/OLDSchool/Mac\ MAME/roms/frogger.zip

Running the applescript from above on SLDMame 0116 works just fine.


Re: Opening roms with applescript in 0122 [Re: agallisa] #36822
12/28/07 12:17 AM
12/28/07 12:17 AM
Joined: Nov 2004
Posts: 80
San Francisco
A
agallisa Offline OP
Member
agallisa  Offline OP
Member
A
Joined: Nov 2004
Posts: 80
San Francisco
Thanks to Mark LaBonte, simply adding the -rompath to the do shell script fixes this.
do shell script "/Applications/Games/OLDSchool/Mac\\ MAME/mame0122 /Applications/Games/OLDSchool/Mac\\ MAME/roms/frogger.zip -rompath /Applications/Games/OLDSchool/Mac\\ MAME/roms/"

Re: Opening roms with applescript in 0122 [Re: agallisa] #36859
12/30/07 12:46 PM
12/30/07 12:46 PM
Joined: Mar 2007
Posts: 20
J
JussiP Offline
Member
JussiP  Offline
Member
J
Joined: Mar 2007
Posts: 20
Actually, you should be able to just do

/Applications/Games/OLDSchool/Mac\\ MAME/mame0122 -rompath /Applications/Games/OLDSchool/Mac\\ MAME/roms/ frogger.zip


Moderated by  R. Belmont 

Who's Online Now
4 registered members (R. Belmont, Stick, Praxis, mfm005), 149 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,664
Posts113,575
Members4,848
Most Online324
Dec 20th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.029s Queries: 14 (0.014s) Memory: 5.5949 MB (Peak: 5.7578 MB) Zlib enabled. Server Time: 2019-07-15 18:01:48 UTC