Jump to content
LaunchBox Community Forums

freeflyer454

Members
  • Posts

    34
  • Joined

  • Last visited

Posts posted by freeflyer454

  1. 1 hour ago, 3lc3z4r said:

    I tried it as such and nothing happened, but I'm still not upset, rather anxious to see if you can fix this little inconvenience... I'll be waiting with pleasure for the possible solution, thanks  (I attach the image in case you think I did something wrong)

     

    Dang.  It might only work if a hot key is set to trigger it.  I don't have a lot of experience with AutoHotKey so I'm just guessing.  Well, I'll look at adding that feature to the rom launcher in a few days.

  2. On 5/26/2022 at 11:56 PM, 3lc3z4r said:

    mmmm, maybe.....i will seek help in the forums, thanks for your time and for the script...I almost uninstalled the emulator because I couldn't find the correct launcher for this case (especially because of the full screen and closing it afterwards)

    Just did a quick search for the AHK command to move the mouse.  In LaunchBox, go to Tools > Manage > Emulators... then edit the entry for the Phoenix Rom Launcher.  On the left side of the window, look for Running Script.  Inside there, paste the following:

    MouseMove, 0, 50, 0, R

    That *should* move the mouse down 50 pixels from it's current position when the Phoenix Rom Launcher is run.  I haven't tested it for certain, but you can play around with it and see if that does what you're looking for.  Hope that helps.

  3. 4 hours ago, 3lc3z4r said:

    I don't know if you pay attention to this but do you know any way that the mouse when starting the full screen does not go to the upper right corner, there are times that I just press it by chance and it closes all launchbox

     

    Sure, the program is written in AutoIt, so it'd just be a simple line of code and recompile it.  I'm offshore atm and won't be home for another week or so, but you can try it yourself.   Or look into adding a similar AHK script to launchbox when it launches the phoenix-rom-launcher.  Either way could move the mouse for you.  Hope that helps.

  4. 1 hour ago, cobhc said:

    Hi,

    Any update on this? I stopped using Retroarch for both 3DO and Jaguar because of compatibility and this emulator runs great but would be amazing to have it properly implemented into Launchbox. Is there also anyway of launching the emulator in fullscreen mode?

    Thanks.

    As far as I know, the Phoenix emulator doesn't have a way to launch directly into fullscreen mode.  Doesn't seem to be any commandline options for that.  This launcher app I made uses Phoenix's keyboard shortcut to go fullscreen as soon as it's launched.  Works pretty good. 

     

  5. 2 hours ago, d8thstar said:

    can anyone help?  i am getting the attached error when trying to run this from LB.

    I think that error means the Rom_Launcher can't determine the platform for the rom being launched. 

    Is this the original Rom_Launcher from the first post that you are using?   That one used key words in the rom's path to determine which platform it was for.   The versions I created on the 2nd page of this post also used the rom's file extension to determine the platform.  They haven't been fully tested so I haven't updated the original post with the newer version yet, but I think they should work better.  

  6. I finally got around to adding this feature.  It compiled cleanly, but I haven't tested it out yet.

    The route I went was to just add an entry to the launcher's ini file.  You'll see it listed as "AHK_script=".  Not sure if it'll work with just the name (if in the same directory) or if you'll need to supply the full path in quotes.  

    So basically, after launching Phoenix, the launcher will run the AutoKey() function if it's been enabled.  If it's disabled and there is a value in the script's path variable, then it will launch that script.

    Also, this assumes AHK is installed and ahk scripts are associated with the AHK program.

     

    Let me know if this works.  I'll try to do some testing with it and maybe add a section for it to the GUI once I have time.

     

    _Phoenix_Rom_Launcher.ini _Phoenix_Rom_Launcher.exe

  7. 3 hours ago, Darkshade said:

    Just tested, it works nicely!

    Thank you.

    As for the AHK script, give it a try, it should be capable of reading controller input (at least, it's doing so on my end; I hope it does for you also.).

    I'm updating all of my emulators to use it, so I'd love to use it for this too.

     

    EDIT:  To make it work with the launcher you might need to change:

     

    WinClose, ahk_exe {{{StartupEXE}}}

    to

    Process, Close, PhoenixEmuProject.exe

    Hmm... is your idea to integrate the features of your AHK script into the rom launcher or is it to use your AHK script on the launcher & Phoenix?

    Your AHK script could probably be launched through LB alongside the launcher (disable the AutoKey feature) and modified to kill both the launcher & Phoenix on confirmation of exit.  Have you tried that yet?

    Trying to incorporate the features of your AHK script into the rom launcher would involve figuring out controller input in AutoIt.  It seems there are some rudimentary examples of controller input with AutoIt, but that'd take some time to test & play around with it.

     

    Edit:   Forget that... I see what the issue is.  Without the AutoKey feature turned on, the rom_launcher immediately exits after launching Phoenix (so an AHK script launched through LB wouldn't work in that scenario).  And with the AutoKey feature turned on, it kills Phoenix as soon as Esc is pressed and then exits. 

    Another option might be to have the rom_launcher launch your AHK script.  I think AutoIt can launch AHK scripts using ShellExecute("path\to\script.ahk")

  8. 14 hours ago, Darkshade said:

    Thank you!

    Whenever time permits, I greatly appreciate it.

    Also, I hope I'm not asking too much, but I wonder if you could incorporate my AHK script for confirming Emulator Quit upon pressing Escape, over the one that is currently being used. (Or at least as an optional addition).

    You can find it here (Variation 2):

     

    So, I looked into it some last night.  I couldn't strictly use the rom's file extension because Phoenix accepts some common extensions (".bin", ".binar", ".rom") for multiple platforms.  but all the rest of the extensions for various rom files I can use as a filter to determine the platform.  I combined that with my previous way of filtering for common system names.   So, I think that solution will work a majority of the time (though I haven't had a chance to test it yet).

    Here's a quick updated version I cooked up last night - if you want to give it a test drive. 

    I'll look into the AHK script you provided.   I'm not sure if AutoIt can handle controller input - I'll have to investigate that one.  But at least the variation 1 should be do-able.

    _Phoenix_Rom_Launcher.exe

  9. 3 hours ago, Darkshade said:

    My Jaguar ROMs are compressed, Launchbox unzips them to the default Launchbox/ThirdParty/7-Zip/Temp/ directory, which is also where my Phoenix cartridge path(s) are.

    As such, this solution doesn't quite work for me, and I don't wish to rename the name of Temp folder for the sake of one platform.

    I did try recompiling the script with changes to make this work, but I kept running into compiler errors on various external references.

     

    Would you mind compiling a version of this script without this requirement? Or an alternative that just looks for 'Temp'?

    I have jophran's original launcher working correctly, but am struggling to get AutoHotKey to close the emulator on hitting ESC.

    His currently suggested solution is to use your script.

    Many thanks.

    Ah... that's good to know.  I didn't realize that's how LaunchBox handled compressed roms.  I think I did it the way I did because that was the easiest way to determine which platform the game was being launched for.  I need to know the platform since the xml nodes are in different node paths between platforms.  I guess a more fool-proof way would be to compare the game's file extension with lists of extensions for each platform.  

    I'll look into implementing that and updating the script.  I need to update the script here anyways (got another version that works with ColecoVision roms now).

    I'm working offshore at the moment, but I'll try to get it done in a day or two (hopefully).

  10. Yes, it'll work like that.  Only thing is if you ever do a restore from that backup file, you'll have to setup the bios-es again. 

    You could always just copy over the bio settings for those systems from the config xml to the backup xml.  Not that big of a deal, though. 

    Glad you got it working.

     

  11. Not sure I completely understand the situation you describe... You have three Phoenix emulator folders and you would prefer to have one. 

    To do that, go ahead and get your single Phoenix emulator folder ready - just make sure it still has that "full" _Phoenix_Rom_Launcher.xml file to go along with the Rom_Launcher.

    Then in LaunchBox, under Tools... Manage Emulators.  Then pick the one you want to keep and associate it with the 3 different systems (remember you'll actually be selecting the _Phoenix_Rom_Launcher.exe file as the actual emulator exe).  Then go ahead and remove the other unused Phoenix instances.

    image.png.95e02212e720482616cad709c0efd6bc.png

    I'm not sure, but LaunchBox may ask at this point if you want to associate those games with the emulator.  If it does - great!  If not, you may have to do it through the Bulk Edit Wizard.  You do this by selecting one game from one of the systems, press Ctrl - A to select all the games for that system, Right-click and Edit to bring up the Bulk Edit Wizard.  Press Next.  Then for the Field selector, you'll want to pick Emulator and for Value, select the single Phoenix emulator.  You'll do that for each system.

     

    As long as you're not actually changing the game rom or bios file paths, then the Rom_Launcher backup file should be good.  If you are moving any of them, then I'd suggest opening the _Phoenix_Rom_Launcher.xml in a text editor and correct the old paths to the new paths.  The xml file is just a ascii txt file and can be easily read and edited.  If you have a bunch of paths to change, then use a text editor with a search & replace feature.

    Hope that helps

     

  12. I have to exempt the exe in my antivirus (BitDefender), but other than that, I have no problem launching it through LaunchBox.  I've finally tested it with ColecoVision games added to my LB library, and it all seems to work the same as the previous version.

    First off, you can try launching it from the command prompt and add the path to the game rom as the argument.  That'll let us know that the program starts Phoenix and changes the config file as it should. Like on my setup, I typed..   

    L:\LaunchBox\Emulators\Phoenix [3DO, Jaguar]\Phoenix v2.8.JAG\_Phoenix_Rom_Launcher.exe "L:\LaunchBox\Games\ColecoVision\River Raid.col"

     

    As for the LaunchBox error, it sounds like a permissions issue - something denying LaunchBox from executing this new exe.   Maybe some other security software that may be blocking it?  Maybe try running LaunchBox as Admin?  I don't really know how to help with that issue.

     

  13. 14 hours ago, legolas119 said:

    thanks,

     

    well, currently i have loaded in Phoenix all my jaguar, 3do and colecovision games and i'm using your "old" launcher version in order to directly load games for jaguar and 3DO in LB. And I don't need to add any new games in my 3 lists. I only need to use your new loaded version in ordert to load colecovision too in LB.

    Now, if I want to use the new version of your loader, I have to:

    1) save my current phoenix.config.xml and the _phoenix_Rom_Launcher.xml files in another location 

    2) overwrite my current loader with you new version and keep a copy of my phoenix.config.xml in the emulator folder

    3) run again the backup utility of your loader in order to create a new _phoenix_Rom_Launcher.xml version

    4) Run LB and try the 3 consoles if it is able to load games for all the console

    is that correct?

     

    thanks!

    Ah.. if everything is already loaded into the backup file, then go ahead and drop in the new exe file.  It should just work.

  14. 2 hours ago, legolas119 said:

    many thanks! just a question: is it necessary only to overwrite the .exe file or have I to delete the old file and the old .xml file and then i hav to do again the import procedure also for Jaguar and 3DO?

    Good question... I'd probably use the old exe file to restore the rom library back into the phoenix.config.xml file.  Then I'd move both the _Phoenix_Rom_Launcher.exe and the _Phoenix_Rom_Launcher.xml files outside of the Phoenix folder somewhere.  That way, if something is wrong with the new exe,  you can always go back.  Once that's done, it's okay to put the new _Phoenix_Rom_Launcher.exe inside the Phoenix folder.

    ----

    There's several ways to do it, but basically, you want to have all your current settings and full complete rom library inside the phoenix.config.xml file.  If you did the restore, then you can launch Phoenix and load up any remaining roms into it's library.  

    Once you've got everything set and loaded into Phoenix (that means you have a "full" config file), you can create a new backup.  The _Phoenix_Rom_Launcher won't overwrite it's own backup file, so you'll have to delete or move the old _Phoenix_Rom_Launcher.xml file if it's still inside the Phoenix folder.   

    If you already have Launchbox setup to use the _Phoenix_Rom_Launcher.exe as the emulator for the 3DO, Jaguar, and ColecoVision games, then it should be ready to go.

    ----

    After typing all this up, I realize my simple little program isn't as intuitive as I had imagined it would be.  LOL   

    It really is a simple program once you understand how it works though:

      -  The backup button just makes a copy of Phoenix's config file and names it _Phoenix_Rom_Launcher.xml.   

      -  When the program is run through LaunchBox, it does four things: 

                      it searches that backup xml file for the rom information,

                      it deletes all the rom info (making it quicker to load),

                      it copies the launched rom's info back into Phoenix's config file,

                      then it launches the Phoenix emulator.

      -  The restore button just copies the backup file and names it back to phoenix.config.xml.

     

    Hope that helps.  Holla if you have any more questions or run into any issues.   

     

  15. 14 hours ago, Ackling17 said:

    I have tried to do it multiple times each time i launch a game in launchbox with the _phoenix_rom_launcher.exe it gives me a line 2163 error message saying "error: variable used without being declared"

    Yeah.. I'll need to make some changes to the script to make it work.  It should be pretty straight forward though. 

    When I wrote the script, it didn't occur to me to make it work with any of the other systems Phoenix emulates - I was only using it for 3DO & Jag.  

    --

    Just re-read your post.  I think what you're describing was a bug in the script that dealt with determining which platform Phoenix was being launched to run.  The best way I can determine which system is being launched is to look for specific words in the rom path that is passed from LaunchBox to the Phoenix launcher.  So the rom paths need to contain the words "3DO", "Jaguar", or "ColecoVision" somewhere in their paths.  Before, it was case sensitive, which was causing the problem, but I fixed that part. 

  16. On 9/3/2020 at 3:45 PM, Unholy said:

    Hey thanks a lot for the reply. Unfortunately my setup is the same and I get that error message... :(

    I just happened to be looking back over the script and saw something that might be causing your issue.  The program looks for the words "3DO" or "Jaguar" inside the rom's path to know which platform it's for.  So if either of those particular strings are not in the rom's path, it could cause it to throw that error. 

    It's always the little things you miss that trip you up  ?

    • Like 1
  17. On 11/26/2020 at 2:42 PM, legolas119 said:

    many thanks! so i downloaded the 2 files _Phoenix_Rom_Launcher.au3 and _Phoenix_Rom_Launcher.exe.  I have to put both in the emulator directory, am I right (Is _Phoenix_Rom_Launcher.au3 useful?) ? After that i will follow the steps creating a new backup file.

    Finally i suppose I have to modify in LB the file that it will be launched in this way, am I right?

    https://i.postimg.cc/W3km8vS4/Immagine.png

    Do you know if it works also for Colecovision?thanks

    Hi. I'm the one who authored the _Phoenix_Rom_Launcher.  Glad to hear you found it useful.   You actually don't need the _Phoenix_Rom_Launcher.au3 file - it's just the source script that AutoIt complies into the executable file.  I included it as a download in case anyone want's to read the script to see how the program works or study some clean AutoIt scripting  :)

×
×
  • Create New...