|
Post by Ultima on Jul 29, 2007 9:06:51 GMT -5
Hm. I wouldn't really like the idea of copying the INI from the directory into the home directory, as the frontend would have absolutely no way of telling which INI file pSX is gonna use. It's really not elegant, and forcing the user to use ~/.pSX as the settings directory... just isn't a style I'd be used to. It really makes sense that the closest configuration file (being in the same directory) be used first before anything else. To me anyway
|
|
dfreer
Junior Member
Posts: 75
|
Post by dfreer on Jul 29, 2007 21:35:09 GMT -5
Ultima With what I proposed, you are always going to have the user's config file in his/her home directory. And it would always be the config file the emulator uses (but the contents of which would contain either the old psx.ini file the user had previously user, OR the freshly created one for a new user). So the frontend would always use the ~/.pSX/psx.ini file. With what you are suggesting, when you let the emulator check for a config file in the current directory and exclusively use it (not creating a ~/configFile), and if it doesn't find a current directory config it then uses the ~/configFile... that is where you run into the issue of the frontend not knowing which config file to use. I suppose you could set a flag saying "If flag == 0, then config file == ./psx.ini, else if flag == 1 then config file == ~/.pSX/psx.ini" and have pSXFrontend check for that... Ultimately though, this is just a matter of how to get from A -> C, we are just discussing what B should be. As said before, I'd be happy with either method, as long as the end result is that it is possibly to use multiple users with pSX. That's the main point of my thread Thanks for the feedback Ultima!
|
|
|
Post by Ultima on Jul 29, 2007 21:59:03 GMT -5
So the frontend would always use the ~/.pSX/psx.ini file. And that's exactly the problem I'd have with the suggestion If I'm only gonna be modifying/using only ~/.pSX/psx.ini, then when I set memory cards and such, it'll go only into ~/.pSX/psx.ini, which pSX 1.11 and 1.12 don't use in the first place. Simply put, backwards compatibility is destroyed, and sometimes, backwards compatibility may be important for when a newer version manages to break compatibility (which sometimes happens). The only way to clear this up is if I write to both ./psx.ini and ~/.pSX/psx.ini, but it's not a very clean solution. At any rate, I do agree that we're only discussing a minor point here
|
|
|
Post by patrickp on Jul 30, 2007 2:07:04 GMT -5
However, with the Linux version, we're not talking compatibility with a large number of previous versions, as we are with the Windows one. There are only two versions of the emulator in Linux so far, and only one full release of the Linux version - although a second one is obviously imminent.
If people want to keep those two versions running, there's no reason they can't do so separately from later versions, and we could then start backwards compatibility from this point.
|
|
|
Post by Ultima on Jul 30, 2007 8:36:57 GMT -5
Meh, I just don't see any reason why using ~/.pSX/ should come at the cost of extra confusion or breakage of backwards compatibility when it could easily be prevented. As dfreer said, as long as it *can* recognize and make use of ~/.pSX/ properly, it should be fine, after all.
|
|
|
Post by spookykid on Aug 13, 2007 9:17:13 GMT -5
Ultima: I would like for you if possible to consider ravamping the GUI, nothing fancy, but just using some stock icons, or following Gnome HIG, an about MenuItem would be nice, a toolbar, not really nothing over exagerated, but just to seem a little bit more polished. I would like to offer my help if you want. My past works include this www.gnome-look.org/content/show.php/gtk-gnutella+mockup?content=34970. Thank you for your time. Ohhh did I say pSX is a great emulator?
|
|
|
Post by patrickp on Aug 13, 2007 13:04:42 GMT -5
Are you talking about the emulator or Ultima's pSX Frontend, spookykid? If you're talking about pSX Emulator, the developer is pSX Author, and your comments would probably be better placed in a new thread or somewhere like the current pSX v1.12 released thread. Alternatively, if you're talking about Ultima's pSXFrontend your comments would be better in the Work/Discussion Thread: pSX Frontends thread. This thread was started by dfreer specifically about the issue of where the pSX configuration file goes, because it's likely that Ultima will adopt a similar method to whatever pSX Author decides on, and that's the reason for Ultima's particular contribution to this thread. Ultima has, actually, already incorporated his Frontend placing its configuration file in a ~/.pSX folder, in a WIP.
|
|
|
Post by spookykid on Aug 13, 2007 15:55:29 GMT -5
ok, than you patrickp, i was talking about pSXAuthor GUI, it would be great to be full Gnome HIG, and it wouldn't take much time to accomplish this. I've already posted on pSXAuthor post. Thank you for your answer.
|
|
dfreer
Junior Member
Posts: 75
|
Post by dfreer on Aug 27, 2007 21:37:49 GMT -5
Wow, can't wait to see 1.13! Thanks pSX Author, downloading now! EDIT: Alright, just checked it out. For anyone who hasn't downloaded it yet, it's default behavior is to use the psx.ini if it finds it in it's current directory, and only it. If there is no ./psx.ini, then it will create one in ~/.pSX/psx.ini I'm going to go play with it and Ultima's Frontend now
|
|