|
Post by Ultima on Aug 17, 2006 10:13:04 GMT -5
|
|
|
Post by patrickp on Aug 17, 2006 11:06:17 GMT -5
Ultima: will try that shortly; however, I've established one thing, I think. Once I select the pSX executable, it will be set to whatever BIOS is in psx.ini, and I can change it by changing the BIOS in psx.ini and either restarting the the frontend or re-selecting the pSX executable. Also, if I create a profile with a BIOS in it, that BIOS is set by loading that profile. Haven't tried it yet, but my guess is I'll be able to change the BIOS in a profile in psxfrontend.ini, and set it by loading that profile; whereas if I change the default BIOS in psxfrontend.ini, it will be changed back to the one in psx.ini as soon as I run it. Edit: yes, that works Will check that, and also if the BIOS set in the frontend (say, from a profile) will change the BIOS set in psx.ini when I run the emulator from the frontend, before I try 1.04. Edit: as does that. Now for 1.04 ************************************* Hey, the v1.04 WIP works! The disc: box gives the options of Image and Drive, and each of those gives the correct result on clicking the browse button. The BIOS box shows a long list of BIOSs before I select the pSX executable, and the appropriate BIOSs in my bios folder once I've selected the executable! Result!
|
|
|
Post by Ultima on Aug 17, 2006 11:20:04 GMT -5
Whoops, I uploaded a semi-b0rked copy... it doesn't actually run pSX (just displays what it would've run), though it does write the settings. It's how I check without having to wait every time for pSX to load every time. lol, I hope you don't mind If you do, tell me and I'll just reupload one that does run.
|
|
|
Post by patrickp on Aug 17, 2006 11:32:07 GMT -5
Well, so it doesn't! Still the bits that weren't working before do now! ;D Edit: Hey, pretty useful, isn't it? You get to see what command line you've created. Seems you can create profiles with it, too. Which reminds me: not a particularly important point, but have you noticed the frontend actually creats a command line with two spaces rather than just one, before the switches?
|
|
|
Post by Ultima on Aug 17, 2006 19:22:12 GMT -5
Yeah, I know. It was trivial enough for me to not care, but I guess I'll fix it anyway (just requires a trim before concatenation) lol I think I'm going to retract my previous request for full paths for memory cards from commandline, as that would make shortcut importing that much more difficult...
|
|
|
Post by Ultima on Aug 17, 2006 22:23:38 GMT -5
www.hostfile.org/psxfrontendv104.rarHistory ======= v1.04 (2006-08-17) + Import profile shortcuts + Relative paths ~ Fixed dropdown list bug on pre-XP operating systems (started from v1.02) ~ Some more BIOS fixes Oh, and I just remembered that shortcuts have a maximum target length of 260 characters, so be warned if you're trying to make a shortcut out of a profile with long paths (heh I guess relative paths was a good thing for alleviating this a bit). patrickp: Heh shortcut importing was *somewhat* of a pain, not as bad as I thought (had to do some odd stuff with the code to check for parameters in parentheses and such).
|
|
|
Post by patrickp on Aug 18, 2006 8:32:42 GMT -5
Works excellently, Ultima! The shortcut importing works, but doesn't pick up paths not in quotation marks!. I noticed it wasn't picking up the memcard switches, and then it failed to pick the image path for one game - I noticed in the shortcut that since it had no long names or spaces, I hadn't enclosed it in quotation marks. Doing that fixed it but, of course, as you've pointed out previously, memcard paths apparently don't work if they're enclosed in quotes... Still, gives a head start on creating profiles - would still have had to assign a BIOS to make a complete profile, so adding memcard locations as well is no pain. In fact, even without a shortcut to work from, setting up a profile is pretty easy. Great work! ;D Notice you've fixed the double spaces before the switches as well! Edit - like the logo, too! I can think about doing away with my shortcuts folder now, and just have a shortcut to the frontend on my desktop. Edit 2: looks like the frontend regards a closing square bracket ] as some sort of instruction - I used one at the end of a profile name and it promptly created several of them, all with that last character missing. This is a European keyboard; the ] character is the extreme right hand one on the qwerty row, just before the carriage return. So that row actually goes qwertyuiop[] Edit 3: These are just ideas, Ultima; as far as I'm concerned, the frontend works now! If you want to update it, great, but in your own time, m8! I was thinking about defaults: it would be nice to be able to set one profile as default, which is always selected when you open the frontend, and it might be a good idea to have it open on the Profiles tab; once people have set up their profiles, that's going to be the tab they want.
|
|
|
Post by Ultima on Aug 18, 2006 9:48:40 GMT -5
Hm, I forgot that INI section names can't contain square brackets, as section names themselves are identified by square brackets. The only solution would be to add a key with the name, and make the section names generic, which I don't want to do, as it sacrifices *some more* readability from the INI file (makes it a bit harder to find profiles by eye). I don't feel like changing it, so I'm just going to disable the use of square brackets as profile names Not reading unquoted paths was an oversight (yet again). lol thanks for reminding me I'll see what I can do about the profile thing. Edit: Hm, I just realized that the shortcut being unable to remember BIOS settings can be bypassed if you pass commandlines arguments into pSX Frontend, where it can then load the selected profile, run pSX, and exit the frontend. In that way, games with specific BIOS requirements can be run from a shortcut as well. The functionality is already implemented (was very trivial to add), but I wanted to see if anyone wanted it alongside the regular shortcut export stuff. If so, what should I call the button for creating it? Advanced Shortcut?
|
|
|
Post by Ultima on Aug 18, 2006 19:19:53 GMT -5
www.hostfile.org/psxfrontendv105.rarHistory ======= v1.05 (2006-08-18) + Create "advanced" shortcuts that do more than what the pSX commandline switches allow (such as BIOS selection) + Automatically show Profiles tab on startup if profiles are found ~ Check shortcut arguments for paths without quotation marks ~ Paths without spaces will not get quotation marks when exported to shortcut ~ Profile names cannot contain square brackets (messes with INI) At this point, I think pSX Frontend is mostly done
|
|
|
Post by reigan42 on Aug 18, 2006 19:37:50 GMT -5
awesome, great release ultima I can use CD's now woohoo ;D ;D ;D ;D ;D ;D ;D ;D ;D Thanks!
|
|
|
Post by patrickp on Aug 19, 2006 7:10:25 GMT -5
Yes, great job, Ultima! It's a very complete package, now, and everything seems to work. It now reads shortcuts with memcard paths, and the advanced shortcut is a great idea and works well - looking at how it does it, it's really pretty simple! ;P
Howeeeeveer (you were expecting that, weren't you?)... I appreciate your incorporation of the idea of opening it on the Profiles tab, but I don't think it should then jump to the Basic tab when you load a profile. As I said, once you've set up your profiles, the profile tab is where you're going to do everything. But that's a quibble. I would like to see the the option of setting a profile as default, which will be set each time you open the frontend.
I do think there should be a warning when you try to save to a profile that already exists: ATM if you were to load one profile, type the name of another which already exists and save, it will overwrite the new one without a warning. Admittedly that would be difficult to do accidentally, but not impossible. And I'd like to see the option to select a profile (i.e. when you click on it, it appears in the Profile box) without loading it; that would make it easy to transfer settings from one profile to another (load one profile, make a couple of changes and save it as another): that would make the warning necessary IMHO (H!!!!). But you may not see it like that...
As I said before, these are suggestions, not demands, and if you do decide to incorporate any of them - in your own time! I'm sure other people will have suggestions too - but as of now, I think the frontend _is_ a complete work.
Which brings me on to another consideration - at this point, where you now have an effective, working frontend that makes a good companion for pSX Emulator, do you think it would be worth asking pSX Author to host it on the pSX page? I'd certainly second any such request; I'm sure a lot of other members would once they become aware of the possibilities of the frontend, as well.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 19, 2006 9:33:04 GMT -5
I hope you don't mind me linking to the frontend in my signature.
|
|
|
Post by Ultima on Aug 19, 2006 19:53:55 GMT -5
No problem. patrickp: The main reason I forced a tab switch when loading a profile was to signify that the profile was loaded. Meh, oh well, removed, I guess. I semi-implemented the profile clicking thing, but all it does is load the selected profile's name into the Profile field. It's a pain to copy profiles without loading it first, as there is no easy way (in AutoIt anyway) to copy INI sections. Additionally, if what you want to do is click a profile and click Save (presumably as a renamed copy), the frontend would not be able to tell whether you want to make a copy of the selected profile, or save the current session into a new profile. As such, it's easier just to load the selected profile, make your changes, rename what's already in the Profile field, and save. I'm not sure I want to do the default profile thing, as it doesn't seem particularly hard to load the profile you wish to load by default, especially when the Profiles tab is shown first, and the list is sorted alphabetically (name the default profile _DEFAULT or something, and it'll appear first, assuming you have no other weird characters as the first character in a profile name). Adding it on my end would mean interface reorganization (where would I put such a feature?), and a bunch of other checks, such as un-defaulting a profile if it's deleted, or warning before it's deleted, or whatever. The warning before overwrite was something I planned on adding, but forgot to do (lol I seem to forget lots of things). Done I'm going to wait on releasing the next version to see what you guys say about it. Here's the changelog so far: + Copy profile name to Profile field when selected from list + Warn before overwriting a profile - Don't switch to Basic tab when loading profile About hosting it on the main page... the thought has crossed my mind, but it was never a "serious" consideration, especially when the project wasn't very mature. While it's more mature right now, it's not urgent to me. You're free to ask him if you want, though
|
|
|
Post by Gamesoul Master on Aug 19, 2006 23:15:18 GMT -5
I deleted the .ini file for it, got the latest version, set all the paths, then clicked "Advanced Shortcut" after creating a profile, then hit "Cancel" to *not* create an advanced shortcut. It still saved a shortcut called "1" in my memcards directory (which was the last one I used), and it had the simple parameters of the .exe pathname and the game to load.
|
|
|
Post by Ultima on Aug 19, 2006 23:22:25 GMT -5
Fixed (you guessed it -- oversight ). Um, I also changed it so that advanced icons use the pSX icon.
|
|