English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 11 January 2023, 23:21   #21
lesta_smsc
Registered User
 
lesta_smsc's Avatar
 
Join Date: Feb 2012
Location: United Kingdom
Posts: 3,173
Quote:
Originally Posted by Photon View Post
Not sure what everyone means. I thought I was clear. Let's go again.

I am asking how to
  1. Right-click a file (Yes! Check! We still have the power to do this!)
  2. Open With WinUAE (Now THIS may or may not work depending on what day Windows is having, it must be forced by app.)
  3. The config that I have set as default somehow via the UI (or perhaps by copying a file and renaming it? I certainly don't want whatever is the default config after install...) loads the Amiga and Host config thus selected with the file inserted into DF0 as if I had done all those clicks and path navigation manually.

E.g. _after_ associating all files under Pri & Extensions, double-clicking an ADF opens the standard dialog where nothing works. You click Other Programs, Browse, choose WinUAE.exe, and the bog standard Amiga and host config opens an A500 1.3 and shows the disk hand. No boot.

(I would prefer right-click because double-clicking an Amiga file mistakenly provided with an .exe suffix obviously cannot do what an Amiga emu user wants.)


As for the right click and run with WinUAE - what you want is to add a SHELL command in the Windows Registry. I do this for DOSBOX so I can run executable files from DOS programs/games quickly and easily.

If this is what you are after (and if needed you can put the command line set up etc in the actual command line anyhow below) then this might help:

Edit and save the following as a .reg file then open it add it registry (bear in mind this is my set up for DOSBox so just amend to your requirements and yes there is a double backslash otherwise it doesn't work). The "%1\ at the end basically inserts the selected file at the end of the command so in your case it would be an adf. I believe you change the "exefile" to "adffile" (I assume) it might let you have this shell specifically for the adf file, but unsure as I've only done this with .exe:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile\shell\DOSBox]

[HKEY_CLASSES_ROOT\exefile\shell\DOSBox\command]
@="D:\\Games\\DOS\\DOSBox-0.74\\dosbox.exe "%1""

Last edited by lesta_smsc; 13 January 2023 at 01:29.
lesta_smsc is offline  
Old 13 January 2023, 00:59   #22
Saghalie
Registered User
 
Saghalie's Avatar
 
Join Date: Nov 2014
Location: FT Lewis, WA
Posts: 374
Reply to lesta_smsc (Thanks!)

Quote:
Originally Posted by lesta_smsc View Post

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile\shell\DOSBox]

[HKEY_CLASSES_ROOT\exefile\shell\DOSBox\command]
@="D:\\Games\\DOS\\DOSBox-0.74\\dosbox.exe "%1""
Thanks for this! I never knew about being able to do this and I
have a lot of GOG games as well as a bunch of Amiga games!
I have another project for my late night TV addiction.

Thanks again!
Saghalie is offline  
Old 13 January 2023, 01:31   #23
lesta_smsc
Registered User
 
lesta_smsc's Avatar
 
Join Date: Feb 2012
Location: United Kingdom
Posts: 3,173
Quote:
Originally Posted by Saghalie View Post
Thanks for this! I never knew about being able to do this and I
have a lot of GOG games as well as a bunch of Amiga games!
I have another project for my late night TV addiction.

Thanks again!
You're welcome. Please let me know how you get on. I currently use Windows 7 (yes, I refuse to change lol) so I am not sure if the registry is different for anything newer such as Windows 8/10/11 (there wasn't a 9?)
lesta_smsc is offline  
Old 13 January 2023, 01:43   #24
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,518
Quote:
Originally Posted by lesta_smsc View Post
...(there wasn't a 9?)
Nope, some 'clever' Windows programs checked for the version of Windows to start with 9 to determine if it was Windows 95 or 98. That's why there's no Windows 9.
TCD is offline  
Old 13 January 2023, 07:54   #25
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
Quote:
Originally Posted by lesta_smsc View Post
You're welcome. Please let me know how you get on. I currently use Windows 7 (yes, I refuse to change lol) so I am not sure if the registry is different for anything newer such as Windows 8/10/11 (there wasn't a 9?)
I am trying W10 on an old laptop for a month now. Will format it and reinstall W7 as soon as possible. W10 is a mammoth of slowness compared to W7 (up to date with security updates). MS is his own enemy with all the bullshits running "by default" on their OS (but can we still call them OS with all these preinstalled and irrelevant applications ?...). IMO, at the end I see on usage Win10 as bulk as WinME.
malko is offline  
Old 15 January 2023, 00:03   #26
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
These are definitely neat solutions.

But I guess I have to be a bit nice to Toni, so he sees this as a feature-request that he might spend time on.

Not that it has to do with me at all, it's for all users of UAE - though the reason for the question is that I personally would like WinUAE to get the same ease of use of as other emulators.

My request/suggestion works out logically like this:

I (now) tout real Amiga before emulation anytime. I've spent time and money to have 4 different Amiga models renewed and online, but not everyone is there (yet!) and this wasn't the case for me when I came back to Amiga. None of my Amigas were working, and I had to use emulation. Then it wasn't exact, now it's accurate, with many great features added.

Since not all can have a real Amiga, if users have to roll their own solution, it then follows that Amiga emulation will fade in popularity, and the desire to get and use a real Amiga, even more.

Meanwhile, other emulators are a double-click away from enticing users to come back both to emulation and to the real platform. It would be great to see such a development for UAE!
Photon is offline  
Old 15 January 2023, 07:57   #27
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,518
Pretty sure this falls on deaf ears, but here we go: The 'Amiga' will never be 'a double-click' emulation experience except for frontends. It's the nature of the machine and its emulation. Quickstart is a pretty good compromise for that 'problem'.

No matter how clever you design the solution you'll always end up with a) still requiring the user to choose or b) a specific set of files that work. I don't think either will really improve the experience for people who haven't used an Amiga before. A short, to the point video explaining how to use WinUAE using quickstart would be much more helpful I'd say.

Edit: Also worth having a look at how FS-UAE does it in connection with its database.

Last edited by TCD; 15 January 2023 at 08:04.
TCD is offline  
Old 15 January 2023, 13:47   #28
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
WinUAE is not a user friendly front end that decides the config and never will be (Except Quickstart which works with >90% of disk based programs). It also won't try to prevent wrong choices because wrong choices are possible in real world too.

This has been discussed many times already. Use a front end if you want user friendly UI that hides all the interesting details. I won't do UIs or documentation.

"Other" emulators generally can do it easily because there are no dozens of different configurations that all existed in real world.

EDIT: if there is public database that can be used to map image checksum to config, it can be implemented (like virus check is done using Amiga Bootblock Reader if data file is included) because it won't require any extra nice GUIs.

Last edited by Toni Wilen; 15 January 2023 at 15:04.
Toni Wilen is offline  
Old 17 January 2023, 18:25   #29
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Thx Toni.

Well first of all I'm the last person to need a nice GUI. In other words, I'm the opposite of one with 10000+ very old uncategorized already released pieces of software and wanting to setup a nice graphical menu. I shouldn't have to say this, because what I want (to make WinUAE powerful see below) is in my first post.

For WinUAE (and std. A500 Quickstart (apart from DF1 enabled)-compatible files (.adf, .dms, .exe) only 2 changes are required,

1. A500 Quickstart (sans df1, or perhaps better a config with a magical name e.g. "UAE default configuration" that you could modify) and an autostart toggle flag in Miscellaneous perhaps?

The alternative is config name as command line argument, but may be incompatible with 2.

2. When using the Installer, register a Context Menu entry allowing any file to be opened with WinUAE (and e.g. WinUAE rejecting it if extension is not one of the above or file size is > 50MB). I.e. no file type association needed and no reading of the file necessary beyond what is in WinUAE now.

I just think this is a good idea. Download new game or demo, right-click and check it out. Is this a bad idea?

@lesta_smsc Yeah I could do it just for myself but then nobody else would be helped. It could be very powerful. (And you're not missing out as I think you know. Win7===Win11. Nothing has happened. M$ forces .NET updates for their own plans, a console release changed nothing really from DX11, and two half-hearted HDR attempts but not done yet. Win8+ brought two major dealbreakers in place of these attempts at refresh. Please take Win version as a side note, we use it to emulate another OS after all. )
Photon is offline  
Old 17 January 2023, 20:34   #30
john4p
Competition Moderator
 
john4p's Avatar
 
Join Date: Feb 2008
Location: Germany
Posts: 4,756
I find WinUAE's GUI with all its options pretty user-friendly.

To me RetroArch is much more of a hassle to configure. But maybe that's because I've been using WinUAE for 20 years.
john4p is offline  
Old 17 January 2023, 23:25   #31
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
Quote:
Originally Posted by Toni Wilen View Post
[..] "Other" emulators generally can do it easily because there are no dozens of different configurations that all existed in real world. [...]


Quote:
Originally Posted by john4p View Post
I find WinUAE's GUI with all its options pretty user-friendly. [...]
I would add : well organised, easy to find and logically placed .
malko is offline  
Old 18 January 2023, 14:09   #32
john4p
Competition Moderator
 
john4p's Avatar
 
Join Date: Feb 2008
Location: Germany
Posts: 4,756
Quote:
Originally Posted by malko View Post
I would add : well organised, easy to find and logically placed .
Exactly, I don't feel a need to put another GUI on top of this (though it's great of course there is FS-UAE for people who don't need that many options).
john4p is offline  
Old 18 January 2023, 16:48   #33
A500+
Amigas: A500+ A600 A1200
 
A500+'s Avatar
 
Join Date: Dec 2022
Location: Liverpool, UK
Age: 42
Posts: 55
Quote:
Originally Posted by Photon View Post
Thx Toni.
The alternative is config name as command line argument.
This is already possible with WinUAE. You just use the -f switch followed by the config you want to load. E.g:

Code:
winuae.exe -f "path\to\configs\exampleconfig.uae"
(No need for " marks if there are no spaces in your path or config name)

I know this isn't the baked-in, context menu solution you're asking for but you could use it to roll your own solution and I'm fairly sure it's what most front-ends utilise.
A500+ is offline  
Old 18 January 2023, 19:19   #34
jbl007
Registered User
 
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
Quote:
Originally Posted by Toni Wilen View Post
if there is public database that can be used to map image checksum to config, it can be implemented (like virus check is done using Amiga Bootblock Reader if data file is included) because it won't require any extra nice GUIs.
Information could be easily extracted from openretro db. Is there any interest in this? How should the xml look like?
jbl007 is offline  
Old 21 January 2023, 18:27   #35
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Quote:
Originally Posted by jbl007 View Post
Information could be easily extracted from openretro db. Is there any interest in this? How should the xml look like?
I don't know, I haven't checked and it isn't interesting enough for me. I'll need more information

Main requirement is to match it with quickstart config + optional extra adjustments (like specific memory config or KS version if it needs something uncommon)

But I think xml file is not good choice if it has thousands of entries (very slow to parse). Some database with indexing is much better choide, like sqlite.
Toni Wilen is offline  
Old 23 January 2023, 18:53   #36
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Quote:
Originally Posted by john4p View Post
Exactly, I don't feel a need to put another GUI on top of this (though it's great of course there is FS-UAE for people who don't need that many options).
Agree, and this topic is not about a "Front-end" even though many have mentioned it in the thread.

Quote:
Originally Posted by A500+ View Post
This is already possible with WinUAE. You just use the -f switch followed by the config you want to load. E.g:

Code:
winuae.exe -f "path\to\configs\exampleconfig.uae"
(No need for " marks if there are no spaces in your path or config name)

I know this isn't the baked-in, context menu solution you're asking for but you could use it to roll your own solution and I'm fairly sure it's what most front-ends utilise.
All right!

So
1. Some .uae file with a standard name to be added to the install and zip, e.g. Quickstart.uae (because there is none now, which I was suprised to find, and it must be linked to a Host config (also .uae and it's not linked now, it works in mysterious ways) so it reads the correct keyboard and joystick etc or it will start and you have to interrupt and load correct Host config, bah)

2. <path>winuae.exe -f <path>Configurations\Quickstart.uae added as a Context menu entry on install.

This will do it?
Photon is offline  
Old 23 January 2023, 20:07   #37
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,098
Probably unsupported, but I just noticed that it's possible to specify quickstart configuration on the command line e.g.
winuae -cfgparam=quickstart=A500,0
. Relying on the value after the comma is likely not Toni-friendly, but the idea of being able to do quickstarts like this is useful to me.
paraj is offline  
Old 23 January 2023, 21:57   #38
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Quote:
Originally Posted by paraj View Post
Probably unsupported, but I just noticed that it's possible to specify quickstart configuration on the command line e.g.
winuae -cfgparam=quickstart=A500,0
. Relying on the value after the comma is likely not Toni-friendly, but the idea of being able to do quickstarts like this is useful to me.
Useful to know, all depends on how Host Configurations tie into this, obviously you often want some adaptations to this or better:

1) Windowed (and not tiny default size) or Full-screen with sync settings not staggering on the monitor you have, so you can see
2) Sound settings to not give conflicts or sound lag, so you can hear
3) Inputs mapped to your keyboard/mouse/controller so you can use

This would be solved with a parameter for Host config too. I'm pretty sure a Host config is not loaded from an Amiga config. Granted, the Amiga config is more important, but without Host config it will be just a Quickstart test to run non interactive software. I mean more of a general solution like in some other emus. I think it would be great and make running Amiga stuff Mama Mia, so easy.
Photon 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
iGame auto-launch in WBC TroelsDK support.Apps 6 21 June 2013 19:39
auto start game from hdd on launch espontaneo support.WinUAE 2 19 October 2008 13:41
Can I launch ADF files from Workbench directly? randomspam New to Emulation or Amiga scene 4 07 January 2006 01:37
On WinUAE launch Unregistered support.WinUAE 3 06 August 2004 16:23
How do I make ADF files? Ziaxx support.WinUAE 10 24 September 2001 17:34

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 08:08.

Top

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