HELP!! Problem with Macro

Need help? Ask here and someone will help
meinemail07
Posts: 9
Joined: Sun Jan 13, 2013 7:56 am

HELP!! Problem with Macro

Post 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. :cry:

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
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: HELP!! Problem with Macro

Post 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.
GIMX creator
meinemail07
Posts: 9
Joined: Sun Jan 13, 2013 7:56 am

Re: HELP!! Problem with Macro

Post 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
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: HELP!! Problem with Macro

Post 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).
GIMX creator
meinemail07
Posts: 9
Joined: Sun Jan 13, 2013 7:56 am

Re: HELP!! Problem with Macro

Post 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
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: HELP!! Problem with Macro

Post by Matlo »

It works fine on my side.

Please post your config on pastebin and give the link.
GIMX creator
meinemail07
Posts: 9
Joined: Sun Jan 13, 2013 7:56 am

Re: HELP!! Problem with Macro

Post by meinemail07 »

how can i post my config? the fps-config?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: HELP!! Problem with Macro

Post by Matlo »

The config you are selecting in gimx-bluetooth or gimx-serial.
GIMX creator
meinemail07
Posts: 9
Joined: Sun Jan 13, 2013 7:56 am

Re: HELP!! Problem with Macro

Post by meinemail07 »

and how can i post it? screenshot?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: HELP!! Problem with Macro

Post by Matlo »

Matlo wrote: Please post your config on pastebin and give the link.
GIMX creator
Post Reply