Author Topic: Fs-Uae with Attract mode, Retropie on Ubuntu help.  (Read 11744 times)

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Fs-Uae with Attract mode, Retropie on Ubuntu help.
« on: April 13, 2017, 10:29:41 PM »
Got most emulators running on attract mode.  Using fs-uae for amiga whd games through retropie on ubuntu .  I have whdload files for my games and have scanned them through fs-uae launcher and can start them no problem but when I go to run them through attract mode I just get the workbench hand screen like there's no disk in the emulator and it only sees the uae config file but doesn't load the game.  I was thinking maybe I need to point attract mode to fs-uae launcher instead of the standard runcommand.sh.  Would that automatically run the games through attract mode using fs-uae?

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #1 on: April 13, 2017, 10:38:54 PM »
Does it work properly in EmulationStation?

Post your /etc/emulationstation/es_systems.cfg and your ~/.attract/emulators/fs-uae.cfg files.

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #2 on: April 14, 2017, 06:45:22 PM »
Does the same in emulationstation.  Yes I know my directory paths are different as I have all my roms on a different drive and copied the amiga whdload games over just to make sure for emulationstation.  I think I have to point the executable to fs-uae launcher to get the games to work instead of the standard runcommand.sh.

# Generated by Attract-Mode v2.2.1
#
executable           /opt/retropie/supplementary/runcommand/runcommand.sh
args                 0 _SYS_ amiga "[romfilename]"
rompath              /media/yelever/Roms/amiga
romext               .adf;.adz;.dms;.ipf;.uae;.zip;.sh;.ADF;.ADZ;.DMS;.IPF;.UAE;.ZIP;.SH
system               Commodore Amiga
artwork    flyer           /media/yelever/Roms/amiga/flyer;/home/yelever/RetroPie/roms/amiga/flyer
artwork    marquee         /media/yelever/Roms/amiga/marquee;/home/yelever/RetroPie/roms/amiga/marquee
artwork    snap            /media/yelever/Roms/amiga/snap;/home/yelever/RetroPie/roms/amiga/snap
artwork    wheel           /media/yelever/Roms/amiga/wheel;/home/yelever/RetroPie/roms/amiga/wheel

Es config with roms copied over just in case.

<system><name>amiga</name><fullname>Commodore Amiga</fullname><path>/home/yelever/RetroPie/roms/amiga</path><extension>.adf .adz .dms .ipf .uae .zip .sh .ADF .ADZ .DMS .IPF .UAE .ZIP .SH</extension><command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ amiga %ROM%</command><platform>amiga</platform><theme>amiga</theme></system>

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #3 on: April 14, 2017, 09:16:58 PM »
Do you have the BIOS files installed in the correct location?

What type of files are your roms: .zip, .uae, etc.?

Post your /opt/retropie/configs/all/amiga/emulator.cfg file.

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #4 on: April 15, 2017, 04:33:23 AM »
I have the bios files and using uae files along with the corresponding whdload files.  Everything works with fs-uae launcher but through attract mode it just boots no game is loaded.

default = "fs-uae"
fs-uae = "bash /opt/retropie/emulators/fs-uae/bin/fs-uae.sh %ROM%"


progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #5 on: April 17, 2017, 12:12:08 AM »
What's the content of the /opt/retropie/emulators/fs-uae/bin/fs-uae.sh?

Also, what version of Ubuntu are you running?

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #6 on: April 17, 2017, 04:21:18 PM »
Running xubuntu

#!/usr/bin/env bash

# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution and
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
#

rom="$1"

rootdir="/opt/retropie"
datadir="$HOME/RetroPie"
romdir="$datadir/roms/amiga"
savedir="$romdir"
biosdir="$datadir/BIOS"
kickfile="$biosdir/kick13.rom"

source "$rootdir/lib/archivefuncs.sh"

if [[ ! -f "$kickfile" ]]; then
    dialog --msgbox "You need to copy the Amiga kickstart file (kick13.rom) to the folder $biosdir to boot the Amiga emulator." 22 76
    exit 1
fi

archiveExtract "$rom" ".adf .adz .dms .ipf"

# check successful extraction and if we have at least one file
if [[ $? == 0 ]]; then
    rom="${arch_files[0]}"
    romdir="$arch_dir"

    floppy_images=()
    for i in "${!arch_files
  • }"; do

        floppy_images+=("--floppy_image_$i=${arch_files[$i]}")
    done
fi

fs-uae --floppy_drive_0="$rom" "${floppy_images
  • }" --kickstart_file="$kickfile" --floppies_dir="$romdir" --save_states_dir="$savedir"

archiveCleanup

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #7 on: April 17, 2017, 09:26:46 PM »
Have you enable the WHDLoad feature of FS-UAE as described here https://fs-uae.net/whdload-support?


yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #8 on: April 18, 2017, 12:25:36 AM »
Yes as I can run the games through the launcher

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #9 on: April 18, 2017, 11:59:07 AM »
Yes as I can run the games through the launcher

Provide an example of how you running them through the launcher. Are you clicking on an icon on the desktop or launching from the command line? Basically you need to figure out the correct command line syntax so it can be placed in the AM emulator.cfg file.

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #10 on: April 18, 2017, 03:17:33 PM »
Running launcher from a desktop icon.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #11 on: April 18, 2017, 08:03:59 PM »
What file is does the icon run?
« Last Edit: April 18, 2017, 08:44:14 PM by progets »

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #12 on: April 18, 2017, 08:29:27 PM »
All I could find is this command by right  clicking the icon and properties

fs-uae-launcher %f

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #13 on: April 18, 2017, 08:50:26 PM »
Ok, fs-uae-launcher is going to be the executable that you'll use.

Run fs-uae-launcher and create a configuration file for one of your games. Name it the same as the game but with the .fs-uae file extension.

Go to the terminal and type "fs-uae-launcher <your-game-name>.fs-uae" and see if your game runs.

yelever

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Fs-Uae with Attract mode, Retropie on Ubuntu help.
« Reply #14 on: April 18, 2017, 09:21:41 PM »
I just get this

bash: Xenon 2 (2 Disk): No such file or directory