Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: FunkyGibber on March 07, 2021, 04:13:17 AM
-
Does anyone know how to open SK Jukebox from Attract Mode?
All the emulators have a romlist which shows the name of each game, which, once selected open that game using the emulator executible. I don't want to open individual games, I want to open the SK Jukebox software only.
Has anyone had any success opening a program in this way?
-
i'm not using SK Jukebox.
>Different ways:
-set media files as "roms" and play it via "emulator"
Does SK Jukebox supports playing media files directly from command line / batch?
for example : play mp3 files via VLC media player. See section : VLC-mp3 / Music via VLC (http://forum.attractmode.org/index.php?topic=503.msg4231#msg4231)
-if program not support commandline, just start program-exe directly with a dummy file
for example to start FileZilla FTP Client:
-create a file FileZilla.dummy or just FileZilla.txt
-move it to a rom-folder
-create emulator with this settings:executable "C:\Program Files\FileZilla FTP Client\filezilla.exe"
args "[name]"
rompath C:\attract\EMU\FileZilla\ROMS
romext .dummy
-create shortcut of program-exe and set this links as romfile
for example to start notepad from AM:
-right mouse button to your .exe > create shortcut
-move this shortcut to a folder
-rename this link-file to Notepad
-create an emulator Notepad
-edit emulator to this settings:executable cmd
args /c "[romfilename]"
rompath C:\attract\EMU\Notepad
romext .lnk
alternative: create batch file
-start program from utility menu plugin
Here (http://forum.attractmode.org/index.php?topic=1747.0)
Here (http://forum.attractmode.org/index.php?topic=3838.msg26687#msg26687)
Here (http://forum.attractmode.org/index.php?topic=3757.msg25949#msg25949)
Here (http://forum.attractmode.org/index.php?topic=3360.msg25358#msg25358)
-
Thanks a lot for your reply hermine.
The only two options that would work would be to create a dummy file to open the exe or by loading up the shortcut. I've spent a few hours trying to get these to work but it isn't opening the SKJukebox. I've literally copy and pasted your text exactly and only changed the url and still no luck.
As you need to have something to click onto on the display page, I had to create a romlist.txt file called "Jukebox.txt", with the text "Jukebox;Jukebox;JukeBox;;;;;;;;;;;;;;"
This then shows a single option on the display page - "Jukebox"
I then created a shortcut of the SKJukebox.exe and named it Jukebox. It is in the same folder as the executable it is a shortcut to (which url is one directory back from Attractmode in a folder called SK Jukebox)
Then I put this text into the Attract\emulators\Jukebox file :
executable cmd
args /c "[romfilename]"
rompath ../SK JukeBox/Jukebox
romext .lnk
Upon testing, nothing happens. I'm not sure what /c does, and I noticed that in your example you use backslashes instead of forward slashes...I've tried both and neither work.
Is there anything I'm doing wrong?
-
for tests, please try full static paths (drive letter, colon, backslashes, and so on):
driveletter:\full_path_to_folder_where_SKJukeBox_link_file_is_found
for example: C:\MyRoms\SK JukeBox\Jukebox
create Collection/Rom List in AM again.
-
Thanks for your speedy response hermine,
I tried putting the shortcut in a folder called ROMS and pointed the rom path to the folder and not the file.
It worked. I'm going to see if I can glue some of my hair back now. You really helped out, thanks a lot.