Hey Angelscry,
I don't know if you remember me, but you were helping me with AutoIt scripts to improve launching some time ago, hiding menus, wallpaper, taskbars, mouse pointers, etc. Sorry for putting you through that btw... lol. Anyway, you helped me get everything right except for one thing we got stuck on. We could not get Nestopia to terminate from AutoIt. We had to set it up in the Nestopia menu to use the ESC key. This worked fine, but it would always show the menu bar flash when closing. I'm posting back with a solution to that which I found online recently just in case anyone as picky as me is interested.
This is done with AutoHotKey because I don't know how to use Keyboard Hooks in AutoIt, if that is even possible. Include the following code in your AutoHotKey launcher, this isn't the complete code (You will need to add the nestopia and xbmc codes with your paths and the rest of your script), this is just what's needed to kill nestopia from AHK without seeing the menu.
Code:
#InstallKeybdHook
#UseHook
esc::
ifWinActive,ahk_class Nestopia
{
Process, Close, nestopia.exe
ExitApp
Return
}
else
Return
Also, I prefer Xebra for PS as it's the most accurate emulator out there. The problem is, Xebra is complicated. Some games will not run correctly unless you modify the I-Cache Rate and Size. This makes launching through Advanced Launcher more difficult. It took me hours to figure it out but I finally got it working perfectly.
- Launch Xebra and configure the I-Cache Rate and Size for your game.
- Go to File --> Save --> Simulation Image.
- Save as gamename.sim to the same directory as the image.
- Ensure that the filename of the .sim file matches the filename of the image exactly.
- Create the custom launcher using AutoIt with the following parameters:
Code:
Run('"%path to xebra%" -SIM "%path to simulation image%" -FULL -SPTI %drive letter% -%run mode%', "", @SW_HIDE)
Sample Code with paths: (this code will launch xebra in Run Mode 1 - interprete, the most accurate mode - , with the full PS intro, using SPTI Virtual Drive H)
Code:
Run('"C:\Games\PS\Xebra\Xebra.exe" -SIM "C:\Games\PS\roms\Your Game\Your Game.sim" -FULL -SPTI H: -RUN1', "", @SW_HIDE)
I hope this helps save someone some time. Thanks again for all your hard work on Advanced Launcher and your excellent support Angelscry.