English Amiga Board


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

 
 
Thread Tools
Old 06 June 2012, 18:57   #1
rofl0r
Registered User
 
Join Date: Jun 2012
Location: mt meru / hyberborea
Posts: 33
FS-UAE: missing path documentation

i had to run FS-UAE in strace to find out where it has its root directory.
it is in $HOME/Documents/FS-UAE
usually on linux stuff is placed in $HOME/.appname
the directory $HOME/Documents is not even likely to exist.
it just happens to be there on ubuntu.

additionally, the F12 menu didn't recognize any of the .adf files i placed in Floppies/ dir.
(e.g. showing empty list)
rofl0r is offline  
Old 06 June 2012, 19:14   #2
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by rofl0r View Post
i had to run FS-UAE in strace to find out where it has its root directory.
it is in $HOME/Documents/FS-UAE
usually on linux stuff is placed in $HOME/.appname
the directory $HOME/Documents is not even likely to exist.
it just happens to be there on ubuntu.

additionally, the F12 menu didn't recognize any of the .adf files i placed in Floppies/ dir.
(e.g. showing empty list)
Hi,

The path stuff is (more or less) documented:
http://fengestad.no/wp/fs-uae/getting-started
http://fengestad.no/wp/fs-uae/documentation

Yes, with recent standards, the preferred locations on Linux is
~/.config for config files, and
~/.local/share for data files (both subject to configuration)

One reason for using a more "visible" location is that with FS-UAE, you would need to manually create configuration files, whereas with many other applications, configuration is just stored in ~/.config (the user may not even know it). So this choice was motivated by having the configuration directory easy to find by users, and currently also the same across all platforms.

It doesn't always use $HOME/Document btw, it respects the users configured Documents directory, which could be named something else (according to xgd user dir specification).

You can use ~/.config/fs-uae/fs-uae.conf, and you can override the directory paths there if you want to prevent creation of ~/Documents/FS-UAE

The files in the floppies dir does not automatically appear anywhere, but you can reference them in configurations by name only (without path).

You may also be interested in the launcher: http://eab.abime.net/showthread.php?t=64531
FrodeSolheim is offline  
Old 06 June 2012, 21:24   #3
rofl0r
Registered User
 
Join Date: Jun 2012
Location: mt meru / hyberborea
Posts: 33
Quote:
Originally Posted by FrodeSolheim View Post
i've read them all, but it doesnt specify the *exact* path. it speaks about "My Documents"

Quote:
Originally Posted by FrodeSolheim View Post
Hi,


Yes, with recent standards, the preferred locations on Linux is
~/.config for config files, and
~/.local/share for data files (both subject to configuration)

One reason for using a more "visible" location is that with FS-UAE, you would need to manually create configuration files, whereas with many other applications, configuration is just stored in ~/.config (the user may not even know it). So this choice was motivated by having the configuration directory easy to find by users, and currently also the same across all platforms.

It doesn't always use $HOME/Document btw, it respects the users configured Documents directory, which could be named something else (according to xgd user dir specification).
oh. if its xdg-specific, portability will get a hit. imagine it linked against SDL on a framebuffer-only linux install.
why not simply use a FSUAEDIR environment variable, the current path ($CWD), or a command line argument ? i think the latter would be the nicest.

running fs-uae would yield in: error: please specify path with --path=/my/fsuae-root/.
so you create the directory structure using fs-uae -create-directories /foo/bar, and create a wrapper script to launch it and you're done.

or it asks for a path on first start, and then stores it in ~/.fs-uaerc

note that this is a thought experiment about how to make it simpler for anybody to get it to work.

Quote:
Originally Posted by FrodeSolheim View Post
Hi,

You can use ~/.config/fs-uae/fs-uae.conf, and you can override the directory paths there if you want to prevent creation of ~/Documents/FS-UAE

The files in the floppies dir does not automatically appear anywhere, but you can reference them in configurations by name only (without path).
hmm, so what is the purpose of the empty menu/list that is displayed when one selects the floppy drive in the gui ?

Quote:
Originally Posted by FrodeSolheim View Post
Hi,

You may also be interested in the launcher: http://eab.abime.net/showthread.php?t=64531
hmm well, that one will require some to build some gui toolkit first, which is a major PITA for LFS kind of linux systems. to get QT/GTK up and running, you have to compile *dozens* of libraries and be lucky enough that they all work together. i'd prefer if all this functionality could be used from inside the cool SDL gui.
rofl0r is offline  
Old 06 June 2012, 21:45   #4
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by rofl0r View Post
i've read them all, but it doesnt specify the *exact* path. it speaks about "My Documents"
Yes, well I write "(My) Documents" for simplicity, the point is the current user's documents directory whatever it is called

Quote:
Originally Posted by rofl0r View Post
oh. if its xdg-specific, portability will get a hit. imagine it linked against SDL on a framebuffer-only linux install.
why not simply use a FSUAEDIR environment variable, the current path ($CWD), or a command line argument ? i think the latter would be the nicest.

running fs-uae would yield in: error: please specify path with --path=/my/fsuae-root/.
so you create the directory structure using fs-uae -create-directories /foo/bar, and create a wrapper script to launch it and you're done.

or it asks for a path on first start, and then stores it in ~/.fs-uaerc

note that this i thought experiment about how to make it simpler for anybody to get it to work.
Without XDG configuration, It will still work, but fall back to ~/FS-UAE. Anyway, there is already an argument for this, try the --base-dir.

Quote:
Originally Posted by rofl0r View Post
hmm, so what is the purpose of the empty menu/list that is displayed when one selects the floppy drive in the gui ?
The floppy image list (items from floppy_image_list_x options) are displayed there. You can set them manually, or using a launcher that will automatically include them. For instance, FS-UAE Launcher does this.

Quote:
Originally Posted by rofl0r View Post
hmm well, that one will require some to build some gui toolkit first, which is a major PITA for LFS kind of linux systems. to get QT/GTK up and running, you have to compile *dozens* of libraries and be lucky enough that they all work together. i'd prefer if all this functionality could be used from inside the cool SDL gui.
I understand what you want here, but I see FS-UAE rather as an engine, and features which cannot be in a launcher (such as floppy swapping) needs to be in FS-UAE itself. But what can be implemented outside FS-UAE can normally be implemented *faster* and easier outside FS-UAE, which is major consideration.

There is nothing stopping extra functionality to be available in a "cool SDL GUI". For instance, one could create a fullscreen frontend for game or floppy selection, and start FS-UAE seamlessly (which the unreleased FS Game Center does).

In theory, for game selection for instance, you could have an application which looks exactly like FS-UAE (if that is a goal), and starts FS-UAE when you select a game. Many games require a full emulator reset anyway (say an AGA vs OCS game), and merely swapping floppies is not good enough. So the difference between a emulation reset and a program restart can be quite insignificant -even not detectable if one wants to..

There are some advantages to run FS-UAE on demand as well. By restarting the entire program when starting a new game for instance, there is less possibility of a bug in the emulator reset when hardware options are changed, causing game compatibility problems.

This is for instance a screenshot of my other fullscreen launcher, which is based on SDL, OpenGL and Python: http://fengestad.no/fs-game-center/screenshot.png

Last edited by FrodeSolheim; 06 June 2012 at 21:56.
FrodeSolheim is offline  
Old 14 September 2013, 11:47   #5
gunatm
Retronerd
 
gunatm's Avatar
 
Join Date: Aug 2002
Location: Hamburg (Germany)
Age: 49
Posts: 86
I got the same problems with the path stuff, because it is not really documented on your page. At first nice product! Thanks! I need examples for the config files like Config and Default to understand. I would like to create a mobile configuration, which does not create any directories in "my documents". The log files are more informative than the hp. I want the startdir as basedir, but i do not understand, where i can define that.
gunatm is offline  
Old 14 September 2013, 11:52   #6
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by gunatm View Post
I got the same problems with the path stuff, because it is not really documented on your page.
I think that is a weird statement, since "path stuff" has been documented for quite a while: http://fs-uae.net/paths.

I you want to have a portable setup, you may also want to take a look at the development version (http://fs-uae.net/download-devel) which even has a dedicated portable download.

Last edited by FrodeSolheim; 14 September 2013 at 12:11.
FrodeSolheim is offline  
Old 30 September 2013, 10:34   #7
gunatm
Retronerd
 
gunatm's Avatar
 
Join Date: Aug 2002
Location: Hamburg (Germany)
Age: 49
Posts: 86
Thank you! that should help. I give feedback, when it´s done. Best regards from Hamburg
gunatm 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
Missing stereo sound in FS-UAE [Solved] yesplease support.FS-UAE 20 22 January 2013 07:11
68030 (or 68851) documentation without missing images Toni Wilen request.Other 2 12 July 2011 13:17
2.2 default path changes sun68 support.WinUAE 4 19 July 2010 21:31
Path command... illy5603 New to Emulation or Amiga scene 16 29 September 2008 00:15
Golden Path coach support.Games 3 16 December 2002 22:09

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

Top

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