26 June 2017, 12:02 | #1 |
Posts: n/a
|
Trouble with FS-UAE via command line
I intend to use FS-UAE from a front-end, and as such I need for it to be able to launch games with a command line. My collection happens to be the WHDLoad archive, which FS-UAE is capable of handling, though there seem to be tradeoffs.
I have three problems. First, the apparent basic inability to point FS-UAE directly at a WHDLoad game .zip and have it work, even though it can handle things fine from within the GUI. I get this message: "Did not find the specified WHDLoad slave. Check the WHDLoad arguments" There is probably a solution to this, but let's move on to the next issue: I can't think of a convenient way to make FS-UAE load a game via its UUID, which seems to be the only way to force FS-UAE to use a custom config, which is a necessary step to get many games to play correctly. I found an app that can generate folders with the names of games, with empty files inside them whose filenames are the games' corresponding UUIDs, but this is only especially useful for one frontend (LaunchBox), which is useless to me. Plus, Launcher.exe doesn't like UUID text with a path included (like: Launcher.exe "WHDLoadGames/Turrican v1.3/sdf785693-2954u9s-3459sdsdfs"). Best I can come up with here would be maybe individual bat files, named after the games, that simply launch Launcher.exe with the appropriate UUID, and while that should work, I sadly wouldn't know how to automate the generation of 2000+ bat files like that. (Though I suspect the folder/UUID files I mentioned earlier would make it at least doable.) Last problem: Even if I successfully launch FS-UAE with a UUID, it ignores my custom configs anyway. For example, I set up a custom config for APB because it needed an anti-Atari shader to avoid looking dark. According to tutorials I've watched, using the UUID should cause FS-UAE to use this custom config (which I gave the same name as the game). But it ignores it. So I'm missing something important here as well. Anyway, that's what I'm staring at. Hopefully someone can offer some tips. |
26 June 2017, 18:54 | #2 |
Registered User
Join Date: Jan 2013
Location: Poland
Posts: 40
|
Yeah, you are right. FS-UAE doesn't support whdload zipped games. It is FS-UAE-Launcher feature. Since whdload games are basically small bootable HDs/Directories with launchable games, you can take a look into small utility I wrote, which can deal with compressed directories from commandline: https://github.com/gryf/fs-uae-wrapper
|
27 June 2017, 01:55 | #3 | |
Posts: n/a
|
Quote:
Well, if it's just a matter of using the correct executable, I'll use the correct one. I hadn't even known to check for a completely different exe. But... it's all moot because Launcher.exe works just fine to launch games either by their user-defined .fs-uae config or their UUID. That leaves me with problems #2 and #3 from before, or alternatively: 4: I don't know how to (conveniently) create custom .fs-uae files for every single game in my collection, which, for the purposes of launching from a front end, is the only way to get any use out of them. |
|
27 June 2017, 05:55 | #4 |
Registered User
Join Date: Jan 2013
Location: Poland
Posts: 40
|
I can't help you with FS-UAE-Launcher (since I don't use it at all), I just cook up my own configurations for every game/system, which in the end doesn't differ much from each other.
First of all, I have prepared special Host.fs-uae, which will be read before any per-game configuration. There goes all the paths for kickstart/floppy/cdroms/whatever. Next is to provide an config for each game, like: Code:
[config] amiga_model = A1200/020 title = Chaos Engine hard_drive_0 = $CONFIG/Chaos_Engine_ECS zorro_iii_memory = 65536 floppy_drive_volume = 0 scanlines = 1 keep_aspect = 1 Code:
Chaos_Engine_ECS/ ├── C │ ├── DIC │ ├── Patcher │ ├── quituae │ ├── RawDIC │ ├── WHDLoad │ └── WHDLoadCD32 ├── ChaosEngine │ ├── ChaosEngine.info │ ├── ChaosEngine.Slave │ ├── Disk.1 │ ├── Disk.2 │ ├── Manual │ ├── Manual.info │ ├── ReadMe │ └── ReadMe.info └── S └── startup-sequence Code:
cd ChaosEngine whdload Cache DCache PreLoad Slave=ChaosEngine.Slave SplashDelay=0 |
27 June 2017, 08:30 | #5 | |
Posts: n/a
|
Quote:
Code:
# FS-UAE configuration saved by FS-UAE Launcher # Last saved: 2017-06-26 02:58:34 [fs-uae] amiga_model = A1200 fast_memory = 8192 hard_drive_0 = F:/Hyperspin/Emulators/Commodore Amiga/FS-UAE/WHDLoad_files/GalacticConqueror_v1.0.zip shader = atari-color-fix.shader x_whdload_args = GalacticConqueror.Slave PRELOAD |
|
27 June 2017, 11:43 | #6 | |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Quote:
[For other readers, the OP is talking about FS-UAE Launcher. FS-UAE itself does not have any specific WHDLoad support]. |
|
27 June 2017, 16:48 | #7 | |
Posts: n/a
|
Quote:
The sad truth is that while this does enable me to load WHDLoad archives directly, this still does not cause the launcher to recognize that I have set up custom config files in a few dozen cases (to fix shading and improve compatibility where needed). APB, for example, needs a special shader. This works if I launch the game via its config file. It does not work if I launch the game via its WHDLoad zip archive or its UUID. It doesn't matter whether I use Launcher.exe or fs-uae-launcher.exe. Honestly this is pretty baffling, because everything I have read and every video guide I have scrutinized has insisted that making custom config files will cause the launcher to automatically make use of those configs. It sure would be nice if someone could explain either that everyone was completely mistaken or that I have missed an important step. Edit: I managed to kludge a solution based on utilizing both the zips and the configs. I'll have to rename all of the files but at least it seems to be working. I will note for posterity that fs-uae-launcher.exe doesn't seem to like running from a front end if there is any kind of path included in its executable (/fred/bob/fs-uae/fs-uae-launcher.exe "/fred/bob/fs-uae/games/game.zip"). It gives a Python error. Fortunately, doing so is not strictly necessary. Last edited by Asterra; 27 June 2017 at 18:55. |
|
29 June 2017, 08:05 | #8 |
Posts: n/a
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trouble with WHDLoad through command line | FreddyBoubil | support.FS-UAE | 3 | 27 June 2017 11:59 |
UAE for 68k command line | Leandro Jardim | support.OtherUAE | 1 | 29 June 2015 01:28 |
Launch FS-UAE from command line with pre-configured config file | AlphaUMi | support.FS-UAE | 7 | 19 March 2015 18:04 |
FS-UAE & command line parameters | Alpha One | support.FS-UAE | 1 | 29 October 2014 19:21 |
WHDload and FS-UAE command line | browniesrgut | support.FS-UAE | 4 | 12 April 2013 14:21 |
|
|