PDA

View Full Version : Problem with Blaze blue launch script HELP!



meboo
01-28-2011, 11:06 AM
Hi!

Iīm trying to make a script that lets me quit with joystick button 7 on joystick 1.

The following script works, but i have to quit with the keyboard.

#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
Blockinput on
SetBatchLines -1
Gui +AlwaysOnTop -Caption +ToolWindow
Gui Color, 0
Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE
Run, BBCTStart.exe, , Max
Blockinput off
Process, WaitClose, BBCTStart.exe
return
ESC::
Process, Close, BBCTStart.exe
ExitAPP
return

When i change the script to exit with joy7 or 1joy7 HS just sits there and i cant select anything. It dosenīt lock up since the theme movie continues to play and BB isnīt launched in the background out of focus since i cant find it in the task manager.
Please help!

This is the script that dosent work:

#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
Blockinput on
SetBatchLines -1
Gui +AlwaysOnTop -Caption +ToolWindow
Gui Color, 0
Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE
Run, BBCTStart.exe, , Max
Blockinput off
Process, WaitClose, BBCTStart.exe
return
joy7::
Process, Close, BBCTStart.exe
ExitAPP
return
:hmmmm2:

-----------
Maybe i should clarify that itīs the PC version of BB iīm using and not some hacked stuff.
And if anybody has another type of script there running theirs with iīd be more than happy to try it out.

brian_hoffman
02-02-2011, 02:54 PM
Hi!

Iīm trying to make a script that lets me quit with joystick button 7 on joystick 1.

The following script works, but i have to quit with the keyboard.

#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
Blockinput on
SetBatchLines -1
Gui +AlwaysOnTop -Caption +ToolWindow
Gui Color, 0
Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE
Run, BBCTStart.exe, , Max
Blockinput off
Process, WaitClose, BBCTStart.exe
return
ESC::
Process, Close, BBCTStart.exe
ExitAPP
return

When i change the script to exit with joy7 or 1joy7 HS just sits there and i cant select anything. It dosenīt lock up since the theme movie continues to play and BB isnīt launched in the background out of focus since i cant find it in the task manager.
Please help!

This is the script that dosent work:

#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
Blockinput on
SetBatchLines -1
Gui +AlwaysOnTop -Caption +ToolWindow
Gui Color, 0
Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE
Run, BBCTStart.exe, , Max
Blockinput off
Process, WaitClose, BBCTStart.exe
return
joy7::
Process, Close, BBCTStart.exe
ExitAPP
return
:hmmmm2:

-----------
Maybe i should clarify that itīs the PC version of BB iīm using and not some hacked stuff.
And if anybody has another type of script there running theirs with iīd be more than happy to try it out.

Sorry, I'm running the hacked stuff. Typically the line
Process, WaitClose, BBCTStart.exe

Will halt the script until BBCTStart.exe stops running, therefore it may never be getting to your Joy7 remap.

ESC probably normally closes the emulator therefore you think that the script is working fine, when in fact it may not be.

meboo
02-11-2011, 12:04 AM
Hi Brian!

Ahhh..iīll have to look into that as soon as i get home.
Tnx for the input!