Page 1 of 2
HELP!! Problem with Macro
Posted: Sun Jan 13, 2013 8:32 am
by meinemail07
Hello,
mz english is not so good. So sorry.
i can controll my ps3 via pc wit a xbox360 controller.
it works fine.
I wrote a macro named macro.txt and saved in /home/ubuntu/.emuclient/macros
then i start with gimx bluetooth. Now i ould start the macro, but it dont work.
Code: Select all
#Defines the action that triggers the macro execution
MACRO JBUTTONDOWN 5
# Tsukuba
JButtondown 0
Delay 25
JButtonup 0
DELAY 210000
# Geld entgegennehmen
JButtondown 0
Delay 25
JButtonup 0
DELAY 2000
# Erfahrung entgegennehmen
JButtondown 0
Delay 25
JButtonup 0
DELAY 3000
# Fahrer bestätigen
JButtondown 0
Delay 25
JButtonup 0
DELAY 2000
JButtondown 1
Delay 25
JButtonup 1
DELAY 3000
# Restart Makro
JButtondown 5
Thanks for help
Re: HELP!! Problem with Macro
Posted: Sun Jan 13, 2013 9:41 am
by Matlo
Hi,
Everything is case sensitive.
You have to use capital letters for each macro code.
Example: replace JButtondown with JBUTTONDOWN
Please don't double post.
Re: HELP!! Problem with Macro
Posted: Sun Jan 13, 2013 10:07 am
by meinemail07
Thanks for fast Reply.
i changed the macro. but if i press button 5 on mz pad, nothing happend.
Code: Select all
#Defines the action that triggers the macro execution
MACRO JBUTTONDOWN 5
# 1000 km Suzuka
JBUTTONDOWN 0
Delay 25
JBUTTONUP 0
DELAY 210000
# Geld entgegennehmen
JBUTTONDOWN 0
Delay 25
JBUTTONUP 0
DELAY 2000
# Erfahrung entgegennehmen
JBUTTONDOWN 0
Delay 25
JBUTTONUP 0
DELAY 3000
# Fahrer bestätigen
JBUTTONDOWN 0
Delay 25
JBUTTONUP 0
DELAY 2000
JBUTTONDOWN 1
Delay 25
JBUTTONUP 1
DELAY 3000
# Restart Makro
JBUTTONDOWN 5
if macro start, can i see it anywhere, maybe in gui
Re: HELP!! Problem with Macro
Posted: Sun Jan 13, 2013 10:15 am
by Matlo
You forgot to replace a few commands (Delay -> DELAY).
You can see the command beeing sent by checking Output>GUI or Output>Terminal (the last one also displays the time).
Re: HELP!! Problem with Macro
Posted: Sun Jan 13, 2013 11:43 am
by meinemail07
i think, now i have changed all.
but the macro is doing nothing
Code: Select all
#Defines the action that triggers the macro execution
MACRO JBUTTONDOWN 5
# 1000 km Suzuka
JBUTTONDOWN 0
DELAY 25
JBUTTONUP 0
DELAY 210000
# Geld entgegennehmen
JBUTTONDOWN 0
DELAY 25
JBUTTONUP 0
DELAY 2000
# Erfahrung entgegennehmen
JBUTTONDOWN 0
DELAY 25
JBUTTONUP 0
DELAY 3000
# Fahrer bestätigen
JBUTTONDOWN 0
DELAY 25
JBUTTONUP 0
DELAY 2000
JBUTTONDOWN 1
DELAY 25
JBUTTONUP 1
DELAY 3000
# Restart Makro
JBUTTONDOWN 5
Re: HELP!! Problem with Macro
Posted: Sun Jan 13, 2013 12:54 pm
by Matlo
It works fine on my side.
Please post your config on
pastebin and give the link.
Re: HELP!! Problem with Macro
Posted: Sun Jan 13, 2013 12:59 pm
by meinemail07
how can i post my config? the fps-config?
Re: HELP!! Problem with Macro
Posted: Sun Jan 13, 2013 1:12 pm
by Matlo
The config you are selecting in gimx-bluetooth or gimx-serial.
Re: HELP!! Problem with Macro
Posted: Sun Jan 13, 2013 1:19 pm
by meinemail07
and how can i post it? screenshot?
Re: HELP!! Problem with Macro
Posted: Sun Jan 13, 2013 1:22 pm
by Matlo
Matlo wrote:
Please post your config on
pastebin and give the link.