Yabause [Saturn]

Post Reply
User avatar
h3xl3y
Member
Member
Posts: 40
Joined: Fri Mar 29, 2013 2:55 pm

I saw your script Admin but it works same way as without script, so i guess you made it only to change the exit key to Esc

i have made a script that hides that ugly Log Window and mouse cursor  8)
so decided to post my version (posted here because there don't have access)

Code: Select all

#include <Misc.au3>    
$app = "yabause.exe"
$app2 = "D:\mGalaxy\mGalaxy.exe"
$windows = "Qt Yabause v0.9.12 - A Beautiful And Under-rated Saturn Emulator"
$windows2 = "Select your iso/cue/bin file"

If $CmdLine[0] == 1 Then
    Run( $app )
    _MouseTrap(@DesktopWidth, @DesktopHeight, @DesktopWidth, @DesktopHeight)
    WinWaitActive( $windows )
    Send("^i")             
    WinWait( $windows2 )
    Send( $cmdline[1] )
    Send("{ENTER}")
    WinActivate ( $app, $windows )
    WinWaitActive( $windows )
    Send("^l")             
    While ProcessExists( $app )
       Sleep(500)
    WEnd
    ProcessWaitClose( $app )
    WinActivate( $app2 )
    Exit 0
EndIf
NOTE: didn't change exit key to Esc key because i don't need it
          who need to change exit key to Esc can easily edit the script
Aeliss
Hero Member
Hero Member
Posts: 900
Joined: Thu Apr 04, 2013 5:55 pm

you can desactivate definitively the log window in the emulator too.
But the tips to hide the cursor is good to know, I haven't see the cursor because this emulator is too laggy on my computer and awfull in openGL nmode. I will take it for future script ^^ thx.

And i think the command line is better because I use Xpadder with some keyboard key assigned and if I push the button during the command "Send( $cmdline[1] )" > bug
Last edited by Aeliss on Fri May 17, 2013 5:13 pm, edited 1 time in total.
User avatar
h3xl3y
Member
Member
Posts: 40
Joined: Fri Mar 29, 2013 2:55 pm

I don't think you can desactivate Log Window from emu, maybe only in latest SVN build
asked on their forum, and the admin said it will implement in the next version

As for Xpadder i use it too, and don't have any problem with the script
Last edited by h3xl3y on Fri May 17, 2013 11:14 pm, edited 1 time in total.
Post Reply