Author Topic: Help Adding ScummVM menu to AM (Ras Pi)  (Read 7689 times)

ltpaulieb

  • Newbie
  • *
  • Posts: 4
    • View Profile
Help Adding ScummVM menu to AM (Ras Pi)
« on: February 19, 2017, 12:51:09 PM »
Hey everyone,

The last post on this was back in June of 2016, so rather than resurrecting an old thread, I started a new one.

Edit: I read the sticky on ScummVM (windows based) but its very lost in translation because the file structure is somewhat different on Ras Pi

I am trying to add ScummVM to my current AM build.  I have tried the following entries in the "add emulator" feature of AM and have gotten mixed results, I am guessing because of the structure of the roms, since they are folders, not individual files.

This is the entry I found:
executable         /opt/retropie/emulators/scummvm/bin/scummvm
arguments         -f -p [rompath][name] [name]
rom url              /home/pi/RetroPie/roms/scummvm
extension           .svm

Now I am a bit confused as to the arguments.  I have two roms I am trying to add, full throttle & curse of monkey island (i legally own a copy of both games).  The rom folders are: /home/pi/RetroPie/roms/scummvm/ft/ for full throttle (scummvm's naming system) and /home/pi/RetroPie/roms/scummvm/comi/ for curse of monkey island.

I am very confused as to how to set up the arguments based on the folder structure I just provided, need help there.  The [rompath][name][name] is confusing.

In addition, the extensions of the files in these folders are either LA0, LA1, or LA2, none of them have a .svm extention (referenced in the code I posted above)...not sure if that makes a difference?

Please note both these games are working when launched from ScummVM in ES, so no issues with the roms.

I don't mind launching ScummVM to have to launch the games, I just want a ScummVM emulator option in my build.

Any help is greatly appreciated, new to all of this and this forum is a massive wealth of help and info!!!!
« Last Edit: February 19, 2017, 01:26:58 PM by ltpaulieb »

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Help Adding ScummVM menu to AM (Ras Pi)
« Reply #1 on: February 19, 2017, 11:37:47 PM »
The [rompath][name][name] is confusing.
It's the standard config in AM for emulator system scummvm

the trick is to edit your existing romlist-file (linux & raspberry : /home/pi/.attract/romlists ):
here

or using an existing xml-list:
Here
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

ltpaulieb

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Help Adding ScummVM menu to AM (Ras Pi)
« Reply #2 on: February 20, 2017, 03:41:08 PM »
Thanks @hermine.potter!!

Okay so I made some progress.

I have the emulator showing in my wheel menu (still working on the snap for that, but that's not an issue.

The two games I have installed are now showing within scummvm, with their respective snap vid, box art and wheel art.

Still cannot launch the games from the emulator, I get bounced back to attract mode each time.

I noticed now that in the rom folder the .svm files are now there when they weren't before and if I go into ES the games now launch directly from the title instead of launching scummvm then selecting it from there.

This is the desired outcome I'd like on attract mode and I am completely stuck.  Is this where I should be editing the rom-list in /home/pi/.attract/romlist?  Sorry I'm trying to follow your post and I'm getting a little stuck at this part.  Thanks in advance!

ltpaulieb

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Help Adding ScummVM menu to AM (Ras Pi)
« Reply #3 on: February 20, 2017, 10:17:43 PM »
Here's the error message I get from launching either rom in attract mode

I edited the scummvm text file as instructed.  I was unable to run the Vbs script it kept giving me a location error

[attachment deleted by admin]

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Help Adding ScummVM menu to AM (Ras Pi)
« Reply #4 on: February 22, 2017, 11:41:13 PM »
@ltpaulieb
error tells you what's wrong :
Non existing game path

>Have a look, how scummvm works on rpi (and linux):

you can start scummvm with this command:
scummvm

if scummvm isn't installed use this install parameter:
sudo apt-get install scummvm

on retropie, you copy your game-folders to this path:
/home/pi/RetroPie/roms/scummvm
(so you see : /home/pi/RetroPie/roms/scummvm/Flight of the Amazon Queen )

command-line parameters of scummvm are unique and differs to another emulator systems. Every game got their own unique game-id.
Flight of the Amazon Queen : queen
Beneath a Steel Sky : sky
and so on (please note game short name or start scummvm and 'Edit Game' > there is ID too)

you can start command-line of scummvm this way:
scummvm -f -p "/home/pi/RetroPie/roms/scummvm/Flight of the Amazon Queen" queen
red : name of game-folder
green : scummvm game-id

and this is the problem in AM.
if you generate your romlist by name of game-folders, you aren't able to set the unique game-id
if you rename your game-folders to unique game-id, your romlist looks very messy and unhandy.
« Last Edit: February 24, 2017, 12:15:09 AM by hermine.potter »
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

ltpaulieb

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Help Adding ScummVM menu to AM (Ras Pi)
« Reply #5 on: February 22, 2017, 11:57:34 PM »
Thank you so much.

I figured out one issue...I was using brackets in my code still!

Now I get scummvm to open from AM but it's to the main scummvm interface where all the games are, along with options, etc.

I think I know what the issue is, do I need to move the svm files to their respective game folders?
Or are they supposed to be in the main roms/scummvm folder?

I am also using unique game ID for folder names as well, should I change them?


mahuti

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
    • View Profile
    • Github Repositories
Re: Help Adding ScummVM menu to AM (Ras Pi)
« Reply #6 on: March 08, 2017, 08:37:43 AM »
I'm just getting ready to try to tackle this myself.

Dukafleed

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Help Adding ScummVM menu to AM (Ras Pi)
« Reply #7 on: March 17, 2017, 06:35:29 AM »
i spend sometime yesterday to figure out how to get scummvm on raspery pie, and got all my games to work

here are some pointers - assuming you have downloaded latest scummvm emulator
game folders should be same as game id ( along with boxart and snaps if you have)
create svm file for each game with same game id name

use this command line for each svm file

scummvm -f -p "/home/pi/RetroPie/roms/scummvm/Flight of the Amazon Queen" queen
red : name of game-folder
green : scummvm game-id
red and green should be the same (game id)