English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 18 April 2020, 12:35   #1
Sebiohazard
Registered User
 
Sebiohazard's Avatar
 
Join Date: Jul 2019
Location: France
Posts: 99
Hooooo How do I launch LHA games from the command line ?

Good morning all !

I use FS-UAE on the command line to launch Amiga 1200 games in .lha format but it does not work. With the launcher I have no problem.

The command lines I use are the same as in the configuration file created by FS-UAE (.fs-uae) here:

Code:
fs-uae --amiga-model=a1200 --chip-memory=2048 --fast-memory=8192 --kickstart-file=a1200-40.68.rom --hard-drive-0=e:\jeux\amiga\lha\flashback.lha --x-whdload-args=flashbackfr.slave PRELOAD
It doesn't work I have this error message...



Greetings !
Sebiohazard is offline  
Old 18 April 2020, 14:05   #2
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Hi, flashback.lha isn't a complete bootable hard drive (and also, FS-UAE itself does not read .lha archives). You need to run this through fs-uae-launcher instead. FS-UAE Launcher will be able to extract the .lha and assemble a minimal working bootable harddrive with whdload support files.

You don't need to specify the whdload args option, as fs-uae-launcher should detect that the archive contains an WHDLoad install, and will extract the args automatically.

If you need to pass config to fs-uae via fs-uae-launcher, you need to for example use --config:kickstart-file=a1200-40.68.rom
FrodeSolheim is offline  
Old 18 April 2020, 15:20   #3
Sebiohazard
Registered User
 
Sebiohazard's Avatar
 
Join Date: Jul 2019
Location: France
Posts: 99
Quote:
Hi, flashback.lha isn't a complete bootable hard drive (and also, FS-UAE itself does not read .lha archives). You need to run this through fs-uae-launcher instead. FS-UAE Launcher will be able to extract the .lha and assemble a minimal working bootable harddrive with whdload support files.
Thank you for your answer yes FS-UAE Launcher launches games in .lha format very well but FS-UAE Launcher does not work correctly with my front end (Attract Mode)... that's why I use FS-UAE in command line...

How to proceed thank you ?!
Sebiohazard is offline  
Old 18 April 2020, 19:44   #4
gryf
Registered User
 
Join Date: Jan 2013
Location: Poland
Posts: 40
You could try https://github.com/gryf/fs-uae-wrapper

Although wrapper it is rather config centric, not commandline centric. I don't remember if I accept all parameters as commandline switches - perhaps you could test it and if there is anything you think is missing, just fill an issue on GH.
gryf is offline  
Old 18 April 2020, 23:24   #5
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
@Sebiohazard What's the problem with fs-uae-launcher? As I said, fs-uae cannot set up the drive on its own, so you need fs-uae-launcher for this.
FrodeSolheim is offline  
Old 19 April 2020, 07:01   #6
thevoice
Registered User
 
Join Date: Oct 2006
Location: germany
Posts: 149
@Sebiohazard let's think something crazy. if your used frontend does not support fs-uae/launcher as frode has planned it to work, you maybe ask the author of your frontend to make it compatible with fs-use/launcher rather then ask frode to make his software compatible to some random frontend ?
thevoice is offline  
Old 19 April 2020, 11:40   #7
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
I'm not actually convinced I have to do anything. The reason I asked is to smoke out what the problem is. If the frontend can run the fs-uae via the command line, then there's no apparant reason why it cannot run (the command line version) of fs-uae-launcher with similar parameters.
FrodeSolheim is offline  
Old 19 April 2020, 15:04   #8
thevoice
Registered User
 
Join Date: Oct 2006
Location: germany
Posts: 149
that is what i meant. why should you bother with stuff not related to fs-uae or the launcher
thevoice is offline  
Old 19 April 2020, 15:51   #9
Sebiohazard
Registered User
 
Sebiohazard's Avatar
 
Join Date: Jul 2019
Location: France
Posts: 99
@thevoice:

Hello thank you for your answer I found an alternative, I use RetroArch & the core PUAE Libretro for Amiga 1200 games in .lha format it works really well with my front end

& for the Amiga CD32 I use FS-UAE in command line

@FrodeSolheim:

Hello thanks for your help the problem with Launcher & Attract Mode is when launching a game... there is a bug in the display of windows...

Greetings !
Sebiohazard is offline  
Old 19 April 2020, 19:22   #10
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
If you're happy with your current solution, then great!

But for reference (and for others which might read this), fs-uae-launcher can work in a no-gui mode, and just set up everything before launching fs-uae. That should not be much different from launching fs-uae with preconfigured drives.

There is also a
--no-gui
option for FS-UAE Launcher to surpress the "launching fs-uae..." dialog.
FrodeSolheim is offline  
Old 21 April 2020, 14:07   #11
Sebiohazard
Registered User
 
Sebiohazard's Avatar
 
Join Date: Jul 2019
Location: France
Posts: 99
Hello thank you for your reply

I found why I had a graphics bug when launching Amiga 1200 games in .lha format with FS-UAE Launcher & Attract Mode.

You just have to activate the fullscreen it works with or without the option --no-gui

Even more incredible the launcher can directly launch games in .lha format without going through a configuration file .fs-uae !!! Here is the configuration required for Attract Mode:

Code:
executable           c:\attract\emulators\fs-uae suite 3.0.0\launcher.exe
args                 "[romfilename]"
rompath              c:\attract\games\amiga 1200
romext               .lha
I am very happy with FS-UAE now I have the choice between him & RetroArch.

Greetings
Sebiohazard is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
FSUAE - Launch CDTV Rom from the command line? zardoz support.FS-UAE 1 22 March 2020 11:46
Can I use the command line to launch a program after WB starts up? zardoz support.WinUAE 1 16 June 2017 17:47
Launch FS-UAE from command line with pre-configured config file AlphaUMi support.FS-UAE 7 19 March 2015 18:04
LHA in command line for PC Vollldo request.Apps 2 04 March 2012 12:27
is there new command line ? turrican3 support.WinUAE 1 15 April 2007 12:21

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:44.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.26870 seconds with 15 queries