English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 13 December 2017, 07:23   #1
rsn8887
Registered User
 
rsn8887's Avatar
 
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.
rsn8887 is offline  
Old 15 December 2017, 15:59   #2
jbl007
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.hdf
translates 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
Change the 1 to 2 and you'll have your 2 surfaces.
jbl007 is offline  
Old 15 December 2017, 17:40   #3
rsn8887
Registered User
 
rsn8887's Avatar
 
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.
rsn8887 is offline  
Old 15 December 2017, 18:44   #4
jbl007
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...
jbl007 is offline  
Old 15 December 2017, 18:53   #5
rsn8887
Registered User
 
rsn8887's Avatar
 
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.
rsn8887 is offline  
Old 15 December 2017, 19:42   #6
jbl007
Registered User
 
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
Quote:
Originally Posted by rsn8887 View Post
The launcher erases all additional uae_hardfile2 options that I add and only keeps the last one.
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.
jbl007 is offline  
Old 18 December 2017, 06:02   #7
rsn8887
Registered User
 
rsn8887's Avatar
 
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.
rsn8887 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
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

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 18:20.

Top

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