Previous Thread
Next Thread
Print Thread
Opening roms with applescript in 0122 #36819 12/27/07 08:23 PM
Joined: Nov 2004
Posts: 80
A
agallisa Offline OP
Member
OP Offline
Member
A
Joined: Nov 2004
Posts: 80
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
Joined: Nov 2004
Posts: 80
A
agallisa Offline OP
Member
OP Offline
Member
A
Joined: Nov 2004
Posts: 80
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
Joined: Mar 2007
Posts: 20
J
JussiP Offline
Member
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
3 registered members (Sharkpuncher, hal3000, Vas Crabb), 115 guests, and 1 spider.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,696
Posts114,319
Members4,865
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3