13 December 2017, 07:23 | #1 |
Registered User
Join Date: Oct 2006
Location: USA
Posts: 1,058
|
Option to change hdf params (surfaces etc)
Is it possible to support a few other .hdf geometries?
Since .hdf with surfaces = 1 cannot be larger than 1024 MB (?) or so, maybe can FS-UAE automatically set surfaces = 2 if filesize > 1024? A user option to set those geometry parameters would be great, too. |
15 December 2017, 15:59 | #2 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
You can use unofficial/unsupported uae_ options to archive this. For example
hard_drive_0=foo.hdftranslates to Code:
uae_hardfile2=rw,DH0:./foo.hdf,32,1,2,512,0,,uae uae_uaehf0=hdf,rw,DH0:./foo.hdf,32,1,2,512,0,,uae |
15 December 2017, 17:40 | #3 |
Registered User
Join Date: Oct 2006
Location: USA
Posts: 1,058
|
Thanks, that's great news. In which file or in which option do I have to make this change? I am not very familiar with FS-UAE.
Last edited by rsn8887; 15 December 2017 at 18:07. |
15 December 2017, 18:44 | #4 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
Just write it to your configuration file replacing your hard_drive_x options...
If you use the launcher: Highlight your config, go to "Additional Configuration" (rightmost tab), click on "custom configuration" (upper right button), write the lines here, make sure you don't have any hdd's in the "Harddives" tab configured, save the config, cross your fingers... |
15 December 2017, 18:53 | #5 |
Registered User
Join Date: Oct 2006
Location: USA
Posts: 1,058
|
I am confused by "uae_hardfile2"? What if I want to mount several hdf? Should I change it to "3" etc?
EDIT: I got it to work with multiple hdf, just repeat the "uae_hardfile2" option multiple times with different hdf. EDIT2: It only works if I don't use the launcher and edit the config file directly. The launcher erases all additional uae_hardfile2 options that I add and only keeps the last one. Pretty annoying. Last edited by rsn8887; 15 December 2017 at 19:26. |
15 December 2017, 19:42 | #6 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
Oh crap, I just noticed that right now. This is a limitation of pythons configparser module. It only accepts unique keys. It throws DuplicateOptionError exception by default or ignores them if initialized with strict=False. Looks like there's no easy way around it.
|
18 December 2017, 06:02 | #7 |
Registered User
Join Date: Oct 2006
Location: USA
Posts: 1,058
|
I wonder if an exception could be added to allow multiple entries for this particular option uae_hardfile2.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
hdf "surfaces" setting? What does it do? | rsn8887 | support.WinUAE | 14 | 01 January 2017 01:18 |
Nibbler +3HFD - Lost for 28 years c64 game re-surfaces! | Neil79 | Retrogaming General Discussion | 11 | 24 February 2015 22:17 |
Enable RDB mode and Surfaces/Sectors/Reserved | mark_k | support.WinUAE | 1 | 17 February 2013 17:51 |
MCP Option -Change WBTitle- not available! | viddi | support.Apps | 4 | 01 August 2006 00:23 |
|
|