![]() |
![]() |
#1 |
Posts: n/a
|
![]()
I'm pretty new to these forums, WinUAE and Amiga emulation in general, so I apologize if I'm missing something obvious. (I did some forum searches, but came up empty on these issues.)
I'm running WinUAE 1.5.2, mostly through GameBase Amiga v1.6. While the database side of GB Amiga is excellent, I'm not entirely happy with the user interface of the underlying GameBase program (and judging from the existence of the MAGE project, I'm not alone ![]() While doing the necessary research for it, I've done some googling and forum searching on WinUAE command line parameters. They seem to be intentionally obscure and relatively undocumented. I've found that -f, -0/1/2/3[path\to\disk image] and -s diskimage[0-XX]=[path\to\file] work fine, but -cfgparam, which I thought could be extremely useful in some cases, doesn't. I may be doing something wrong, but for example, -cfgparam nr_floppies=3 or chipset=aga don't do anything: when WinUAE's UI loads, just one floppy drive is enabled and the chipset is still OCS. The code to parse -cfgparam seems to be in the source code, and it's mentioned by Toni Wilen in an old forum post right here. Is the functionality gone in the current version? Another thing is rezipping. What, if any, is the recommended method to go about this for games that save high scores? I do recall Belgarath saying in a forum post that GameBase's unzip/rezip functionality shouldn't be used with WinUAE, since it already has zip support. Is the data currently written to the .adf by WinUAE or just forgotten? For my own frontend, I'm thinking of implementing a system that unzips the game from the GameBase collection into a temporary directory, runs that, checks if any modifications were made, and then rezips it into some defined "overlay" directory outside GBA to avoid overwriting the originals. When the game is run again, it checks for the existence of this modified disk from the overlay directory and runs that instead of the GBA original, unless told to do otherwise. (If I'm feeling adventurous, I'll just save the differences between the original disk and the modified disk to save space, and construct the complete modified copy at runtime, but that's going to have to wait until v2.0 ![]() This post is getting long, but one last thing: is there a method of defining a default savestate in a .uae config file or a command line parameter? GB Amiga tries to do this, apparently, with a game-specific savestate=[filename] config option, but it doesn't seem to carry over to WinUAE: using the Save State function in the UI Misc section asks for a file name instead of defaulting to the one in the config file. |
![]() |
#2 | |||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,587
|
Quote:
-cfgparam chipset=aga works fine Quote:
Quote:
(Non-WinUAE specific questions skipped, they are not my problem ![]() |
|||
![]() |
![]() |
#3 | |||
Zone Friend
|
![]() Quote:
This is actually something that you could like, because it is not GUI-related for a change ![]() Quote:
I do like that idea ![]() Quote:
![]() ![]() |
|||
![]() |
![]() |
#4 | |||
Posts: n/a
|
Quote:
Quote:
(As an aside: man, I spent a good while searching where in the configs WinUAE stores the "write protected" state of an unzipped ADF disk in the drive until realizing that it simply sets the Read-only flag of the ADF file itself. ![]() Quote:
Once in WinUAE, the config option would determine the name of the file that gets saved in the savestate folder once the user presses Shift+End+numpadkey instead of default.uss, default_1.uss etc. No need to bring up the GUI and manually save the state into a differently named file. This way, the quick key savestate from Xenon 2 won't be overwritten by the quick key savestate of another game, like The Lost Vikings; instead, the savestate folder would contain xenon_2.uss, the_lost_vikings.uss, maybe the_lost_vikings_1.uss (or _2, _3 etc.) if more than one state is saved. Then, when playing Xenon or TLV again later on, the restore state quick keys would be "smart", and get mapped to loading the state files for that particular game only. Personally, I think this would be really cool. And since it would be optional, adding this feature shouldn't break any existing savestate workflows of people who may rely on there only being the ten global default quick key savestates. I hope you'll consider it. |
|||
![]() |
#5 | |||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,587
|
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
#6 | ||
Posts: n/a
|
Quote:
Quote:
![]() Anyway, if what I last suggested indeed does appear in a future version, that's excellent! Especially if by "that can be done" you also mean the "smart" quick loading functionality (you didn't explicitly quote that bit of my last message, so it's ambiguous), I'll be overjoyed ![]() Thanks, and keep up the good work. I'll see what I can do with that PyQT frontend... |
||
![]() |
#7 |
Registered User
Join Date: Dec 2013
Location: GR
Age: 47
Posts: 1,416
|
Could someone give a hint what is the command line to mount disk xxxx.adf to df1?? Talking about WinUAE 4+.
|
![]() |
![]() |
#8 | |||
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Your config is called "Default.uae" hey, judging from this thread: How to edit default quickstart configuration?
Try these: Disk into DF0: Quote:
Disk into DF1: Quote:
Disks into DF0: & DF1: Quote:
Last edited by DamienD; 10 September 2018 at 12:45. |
|||
![]() |
![]() |
#9 |
Registered User
Join Date: Dec 2013
Location: GR
Age: 47
Posts: 1,416
|
Great
example; -1 "D:\emulators\WinUAE\disks\Another world\Another world_2.adf" did the trick, thanks a lot. PS i don't have to write config name, it picks default.uae by itself. |
![]() |
![]() |
#10 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
|
![]() |
![]() |
#11 |
Registered User
Join Date: Dec 2013
Location: GR
Age: 47
Posts: 1,416
|
There is an option in every game to pick A1200 as hardware configuration if you want to.
Also this list is helpful which games DON'T support df1 (probably not complete) http://eab.abime.net/attachment.php?...1&d=1496691355 |
![]() |
![]() |
#12 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Quote:
![]() |
|
![]() |
![]() |
#13 |
Registered User
Join Date: Oct 2006
Location: CZ
Posts: 45
|
Is this intentional? Can't use "-portable" together with "-cfgparam":
WORKS: winuae.exe -f Ugh.uae -cfgparam use_gui=no WORKS: winuae.exe -config Ugh.uae WORKS: winuae.exe -portable -f Ugh.uae WORKS: winuae.exe -portable -config Ugh.uae NOT WORKS: winuae.exe -config Ugh.uae -cfgparam use_gui=no NOT WORKS: winuae.exe -portable -f Ugh.uae -cfgparam use_gui=no NOT WORKS: winuae.exe -portable -config Ugh.uae -cfgparam use_gui=no |
![]() |
![]() |
#14 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Why do you need to use "-portable" with this?
Setting the config i.e. "-f Ugh.uae", "-cfgparam" and using "use_gui=no" will start the game automatically using the configuration file which should contain all that's needed. Also, if you usually use "Portable mode" in WinUAE, then there will already be a "winuae.ini" file in the <WinUAE dir> anyway, which I guess would still be used for general settings. Last edited by DamienD; 10 February 2019 at 22:43. |
![]() |
![]() |
#15 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,587
|
|
![]() |
![]() |
#16 | |
Registered User
Join Date: Oct 2006
Location: CZ
Posts: 45
|
Quote:
Toni Wilen: Yes, it works at the last place. Thanks. |
|
![]() |
![]() |
#17 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Quote:
...but as mentioned, you would have a "winuae.ini" file located in the <WinUAE dir> if you'd already ticked "Portable mode" from under "Paths"; so no need to write this parameter in the command line ![]() |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Diskswapper command line | MrX_Cuci | support.WinUAE | 6 | 09 September 2012 22:16 |
is there new command line ? | turrican3 | support.WinUAE | 1 | 15 April 2007 12:21 |
command line? | Drake1009 | support.WinUAE | 7 | 14 August 2004 17:17 |
A list of command line parameters | D-Dan | request.UAE Wishlist | 0 | 10 June 2004 03:46 |
Command Line. | ruttolibero | support.WinUAE | 1 | 25 July 2003 15:05 |
|
|