English Amiga Board


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

 
 
Thread Tools
Old 26 February 2010, 08: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, 11:17   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
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 online now  
Old 26 February 2010, 11:28   #3
Maren
Banned
 
Join Date: Jul 2009
Location: *
Posts: 567
Sorry but what do you mean?
Maren is offline  
Old 26 February 2010, 13:10   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
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 online now  
Old 26 February 2010, 13: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, 15:44   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
That is not good enough solution for me. WinUAE needs at least check if the file exists before suggesting it
Toni Wilen is online now  
Old 26 February 2010, 15: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, 16:14   #8
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
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, 20:24   #9
cosmicfrog
The 1 who ribbits
 
cosmicfrog's Avatar
 
Join Date: Apr 2006
Location: leek, Staffs, UK
Age: 56
Posts: 3,557
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, 14: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, 14:35   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
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 online now  
Old 27 February 2010, 17:44   #12
Maren
Banned
 
Join Date: Jul 2009
Location: *
Posts: 567
Oh well, that changes the perspective
Maren is offline  
Old 27 February 2010, 23:54   #13
Djay
95th User
 
Djay's Avatar
 
Join Date: May 2001
Location: Brighton/UK
Age: 48
Posts: 3,120
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, 14:36   #14
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 50
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, 15:45   #15
Steve
I Identify as an Ewok
 
Steve's Avatar
 
Join Date: Jul 2001
Location: North Lincolnshire
Age: 45
Posts: 2,356
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, 16:03   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
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 online now  
Old 07 March 2010, 15:06   #17
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
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 18:04.
Toni Wilen is online now  
Old 07 March 2010, 19:07   #18
TCD
HOL/FTP busy bee

 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,741
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, 21: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, 09:41   #20
TCD
HOL/FTP busy bee

 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,741
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 16:40
Disk Swapping without the Keyboard IyonUK support.WinUAE 20 13 February 2007 16:05
disk swapping Frog support.WinFellow 17 10 October 2006 23:01
cant seem to get disk swapping to work macphisto support.WinFellow 6 13 July 2004 18:24
Full screen disk swapping Djay support.WinUAE 9 27 March 2003 23: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 17:25.

Top

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