English Amiga Board


Go Back   English Amiga Board > Requests > request.UAE Wishlist

 
 
Thread Tools
Old 26 February 2010, 09:42   #1
Maren
Banned
 
Join Date: Jul 2009
Location: *
Posts: 567
Disk-swapping improvement (WinUAE)

Here's the deal. Most of the software I know that's several disks image big has been renamed to show the actual number of the disk at the end of the name, e.g. a 3-disk demo called "foo" would consist of "foo-1.adf, foo-2.adf and foo-3.adf". Others may go "foo.adf, foo-2.adf and foo-3.adf" completely skipping "1" for the first disk, then we have the roman numeral disks "foo-I.adf, foo-II.adf, foo-III.adf" and finally the the letter disks "foo-A.adf, foo-B.adf, foo-C.adf"

Basically I'd love to see is certain functionality allowing WinUAE to automatically swap disks (end+F keys) basing it's choice on said last number.

How could this be done? if "foo-1.adf" is in the drive, just make WinUAE try "foo-2.adf". If "foo-2.adf" is in the drive, then make WinUAE try "foo-3.adf" and so on.

Should the next disk not be available, just do what WinUAE does right now when you only have one disk in the Disk Swapper and press end+F key: prompt the user to the disk selection box.


Regards
Maren is offline  
Old 26 February 2010, 12:17   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,337
It won't be that easy if you have multiple versions (with slightly different naming) in same directory or files inside archives.
Toni Wilen is offline  
Old 26 February 2010, 12:28   #3
Maren
Banned
 
Join Date: Jul 2009
Location: *
Posts: 567
Sorry but what do you mean?
Maren is offline  
Old 26 February 2010, 14:10   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,337
I only mean that finding possibly correct image won't be as easy it it seems

Idea is good and I'd like to implement it but there can be issues..
Toni Wilen is offline  
Old 26 February 2010, 14:28   #5
Maren
Banned
 
Join Date: Jul 2009
Location: *
Posts: 567
Quote:
Originally Posted by Toni Wilen View Post
I only mean that finding possibly correct image won't be as easy it it seems

Idea is good and I'd like to implement it but there can be issues..
Ah! I get it! but I didn't mean to turn WinUAE into a sort of disk image search tool. This is what I had in mind:

1. You insert "foo-1.adf" and start emulation.

2. When the application asks you to insert "foo-2.adf", you press end+F key and WinUAE simply replaces the line "foo-1.adf { C:\Program Files\WinUAE\Demos\ }" with "foo-2.adf { C:\Program Files\WinUAE\Demos\ }" without searching for anything whatsoever. Just have it attempt load the disk whether it exists or not. It's replacing the last number/letter, no more, no less
Maren is offline  
Old 26 February 2010, 16:44   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,337
That is not good enough solution for me. WinUAE needs at least check if the file exists before suggesting it
Toni Wilen is offline  
Old 26 February 2010, 16:50   #7
Maren
Banned
 
Join Date: Jul 2009
Location: *
Posts: 567
Shouldn't I be the one getting picky here?

Anyways, thanks for considering the suggestion
Maren is offline  
Old 26 February 2010, 17:14   #8
BippyM
Global Moderator

BippyM's Avatar
 
Join Date: Nov 2001
Location: Nottingham, UK
Age: 44
Posts: 8,875
Some ask for the previous disk too!!!

It'd need 2 combinations.. previous disk, next disk etc.. Then there are those that start with disk 1, ask for disk 3, then disk 5, then disk 2 etc..
BippyM is offline  
Old 26 February 2010, 21:24   #9
cosmicfrog
The 1 who ribbits
cosmicfrog's Avatar
 
Join Date: Apr 2006
Location: leek, Staffs, UK
Age: 52
Posts: 3,555
Send a message via MSN to cosmicfrog
arn`t naming conventions created just for this kind of thing, thinking of tosec
if only it was that simple
cosmicfrog is offline  
Old 27 February 2010, 15:18   #10
Maren
Banned
 
Join Date: Jul 2009
Location: *
Posts: 567
Quote:
Originally Posted by Toni Wilen View Post
That is not good enough solution for me. WinUAE needs at least check if the file exists before suggesting it
Ok, I spent a few hours trying to come up with a logical explanation for your approach, but I failed miserably

Why perform this check? I mean, if WinUAE attempts to load the file but it can't be found, then just prompt the user to the disk selection box and let them choose it manually (if replacing the number didn't do it, then the disk most likely doesn't exist anyways)

You see, successfully "checking" for a disk would imply "searching" the folder or reading it off a file containing a sort of list for the disks available in the folder (and that's assuming the list is actually up to date) yet I still can't see why this would be of any use given that WinUAE wouldn't be able to do anything about a missing file to begin with.

Regards.
Maren is offline  
Old 27 February 2010, 15:35   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,337
I was thinking of shortcuts for "next disk" and "previous disk". Press shortcut and winuae checks current disk name, guesses name of next disk and attempts to find it, if found, insert it and continue normally (without any dialogs). If not, do more guesses and if still not found, open dialog.

I think this is better way to do it
Toni Wilen is offline  
Old 27 February 2010, 18:44   #12
Maren
Banned
 
Join Date: Jul 2009
Location: *
Posts: 567
Oh well, that changes the perspective
Maren is offline  
Old 28 February 2010, 00:54   #13
Djay
aka breakpoint

Djay's Avatar
 
Join Date: May 2001
Location: Brighton / UK
Age: 43
Posts: 3,091
Quote:
Originally Posted by Toni Wilen View Post
I was thinking of shortcuts for "next disk" and "previous disk". Press shortcut and winuae checks current disk name, guesses name of next disk and attempts to find it, if found, insert it and continue normally (without any dialogs). If not, do more guesses and if still not found, open dialog.

I think this is better way to do it
that sounds the most efficient way
Djay is offline  
Old 28 February 2010, 15:36   #14
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 45
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Quote:
Originally Posted by bippym View Post
Some ask for the previous disk too!!!

It'd need 2 combinations.. previous disk, next disk etc.. Then there are those that start with disk 1, ask for disk 3, then disk 5, then disk 2 etc..
Heheh.
Street Fighter II (ECS) comes to mind...ah the memories, me, the A500, SFII and one drive...
andreas is offline  
Old 28 February 2010, 16:45   #15
Steve
Truth seeker...
Steve's Avatar
 
Join Date: Jul 2001
Location: UK
Age: 41
Posts: 2,273
Hmmm. Interesting. lol. I have had an idea for this which may be a better solution. How about enabling this "feature" when the user loads a zip archive containing all the disk images. When a disk is required WinUAE automatically tries each disk in the archive till one is accepted.
Steve is offline  
Old 28 February 2010, 17:03   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,337
Automatically checking if disk is accepted is impossible (lets not restrict this to trackdisk.device based programs..). The end.

"Previous" is not 100% needed, "next" of course wraps around, just keep clicking
Toni Wilen is offline  
Old 07 March 2010, 16:06   #17
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 23,337
http://www.winuae.net/files/b/winuae.zip updated, quick multidisk program disk swapping implemented. As usual, I misused old GUI elements.. Right click on "Select image file"-button to open "favorite menu", detected disks will be added on top of the menu if currently inserted image looks like it has multiple disks.

Following disk naming conventions supported:

"*(disk x*", "*diskx*", "*_x.*", "*-x.*", "*_a.*", "*-a*", "*lowercaseA.*", "*_?x.*" (x = number 1 to 9, a = character a/A-z/Z, ? any character, * = anything)

"Next disk image in DFx:" input events added (no previous disk yet) EDIT: previous now implemented.

I hope this is something that was requested

Last edited by Toni Wilen; 07 March 2010 at 19:04.
Toni Wilen is offline  
Old 07 March 2010, 20:07   #18
TCD
Registered User

TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 41
Posts: 24,012
Quote:
Originally Posted by Toni Wilen View Post
"Next disk image in DFx:" input events added (no previous disk yet) EDIT: previous now implemented.
Very useful feature Will have a look later Thanks for the suggestion Maren and the implementation Toni.
TCD is offline  
Old 07 March 2010, 22:15   #19
Maren
Banned
 
Join Date: Jul 2009
Location: *
Posts: 567
Looking good but before I say anything:

1. What's the shortcut for swapping disks?

2. Is it supposed to work with .dms images? can't get them to load like .adf's and .ipf's
Maren is offline  
Old 08 March 2010, 10:41   #20
TCD
Registered User

TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 41
Posts: 24,012
Quote:
Originally Posted by Maren View Post
1. What's the shortcut for swapping disks?
You can assign them via the input panel. 'Next disk image in DFx' and 'Previous disk image in DFx'.
TCD 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
HXC Disk Swapping Woes manic23 support.Hardware 2 12 May 2013 17:40
Disk Swapping without the Keyboard IyonUK support.WinUAE 20 13 February 2007 17:05
disk swapping Frog support.WinFellow 17 11 October 2006 00:01
cant seem to get disk swapping to work macphisto support.WinFellow 6 13 July 2004 19:24
Full screen disk swapping Djay support.WinUAE 9 28 March 2003 00:12

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 05:06.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.08985 seconds with 13 queries