DIY USB adapter error

Need help? Ask here and someone will help
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: DIY USB adapter error

Post by Matlo »

gimx-serial finds at least a file named "bf3 config.xml".
Can't you see it in the file explorer?
GIMX creator
bf3gamer141
Posts: 29
Joined: Mon Jun 11, 2012 3:09 am

Re: DIY USB adapter error

Post by bf3gamer141 »

No, it says that the config file under GIMX is empty. I have tried replacing that folder and making a new folder inside of it, but no dice.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: DIY USB adapter error

Post by Matlo »

Can you search for the "bf3 config.xml" file on your PC?
What's the location?
GIMX creator
bf3gamer141
Posts: 29
Joined: Mon Jun 11, 2012 3:09 am

Re: DIY USB adapter error

Post by bf3gamer141 »

Okay, this is strange. I searched for bf3 config.xml on my computer, and it found it under c://Program Files/GIMX/config. However, I tried to find it manually with windows explorer, and it said that the folder was empty. I tried to copy it from the search results to the config file, but that didn't work.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: DIY USB adapter error

Post by Matlo »

In the search result: right click on the "bf3 config.xml", and click on "open file location".
GIMX creator
mikotoiii
Posts: 9
Joined: Thu Jan 31, 2013 4:07 pm

Re: DIY USB adapter error

Post by mikotoiii »

Since the OP resurrected this in a different topic, I figured I'd post in the original to keep things together for others, as well as the benefit of the OP.

Gimx does the same thing to me, it won't put the configs into C:\Program Files (x86)\GIMX\configs, instead it puts the files in C:\Users\%username%\AppData\Local\VirtualStore\Program Files (x86)\GIMX\config

I'm running Windows 7 Ultimate x64

Hopefully you can use this as a jumping off point, you will probably find that there is only a Program Files directory under the VirtualStore folder.

You will also need to turn on hidden files start-> computer -> hit the alt key then select tools -> folder options -> view -> show hidden folders and drives.

You may also need to hit the windows key and r and type %appdata% into the run box that appears to get to that location.

Regards,

Mik
bf3gamer141
Posts: 29
Joined: Mon Jun 11, 2012 3:09 am

Re: DIY USB adapter error

Post by bf3gamer141 »

Thank you mikotoiii. I found it. Here is the BF3_McKack config that is included with GIMX .50

<?xml version="1.0" encoding="UTF-8"?>
<root>
<controller id="1" dpi="3600">
<configuration id="1">
<trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
<intensity_list/>
<button_map>
<button id="r1" label="Fire">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_LEFT"/>
</button>
<button id="l1" label="Aim">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_RIGHT"/>
</button>
<button id="r2" label="Melee">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_MIDDLE"/>
</button>
<button id="cross" label="Jump, Vault">
<device type="keyboard" id="0" name=""/>
<event type="button" id="SPACE"/>
</button>
<button id="square" label="Reload, Pick up">
<device type="keyboard" id="0" name=""/>
<event type="button" id="r"/>
</button>
<button id="r3" label="Crouch, Prone">
<device type="keyboard" id="0" name=""/>
<event type="button" id="LCTRL"/>
</button>
<button id="triangle" label="Weapon">
<device type="keyboard" id="0" name=""/>
<event type="button" id="f"/>
</button>
<button id="start" label="Pause">
<device type="keyboard" id="0" name=""/>
<event type="button" id="RETURN"/>
</button>
<button id="PS" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="BACKSPACE"/>
</button>
<button id="select" label="Scoreboard">
<device type="keyboard" id="0" name=""/>
<event type="button" id="TAB"/>
</button>
<button id="l3" label="Sprint">
<device type="keyboard" id="0" name=""/>
<event type="button" id="LSHIFT"/>
</button>
<button id="l2" label="Grenade">
<device type="keyboard" id="0" name=""/>
<event type="button" id="g"/>
</button>
<button id="circle" label="Interact">
<device type="keyboard" id="0" name=""/>
<event type="button" id="e"/>
</button>
<button id="down" label="Fire mode">
<device type="keyboard" id="0" name=""/>
<event type="button" id="q"/>
</button>
<button id="up" label="Flashlight">
<device type="keyboard" id="0" name=""/>
<event type="button" id="t"/>
</button>
<button id="left" label="Class gadget">
<device type="keyboard" id="0" name=""/>
<event type="button" id="3"/>
</button>
<button id="right" label="Teamplay gadget">
<device type="keyboard" id="0" name=""/>
<event type="button" id="4"/>
</button>
</button_map>
<axis_map>
<axis id="rstick x" label="">
<device type="mouse" id="0" name=""/>
<event type="axis" id="x" dead_zone="35" multiplier="13.00" exponent="0.39" shape="Circle" buffer_size="2" filter="1.00"/>
</axis>
<axis id="rstick y" label="">
<device type="mouse" id="0" name=""/>
<event type="axis" id="y" dead_zone="35" multiplier="19.54" exponent="0.39" shape="Circle" buffer_size="2" filter="1.00"/>
</axis>
<axis id="lstick up" label="Move forward">
<device type="keyboard" id="0" name=""/>
<event type="button" id="w"/>
</axis>
<axis id="lstick down" label="Move back">
<device type="keyboard" id="0" name=""/>
<event type="button" id="s"/>
</axis>
<axis id="lstick left" label="Strafe left">
<device type="keyboard" id="0" name=""/>
<event type="button" id="a"/>
</axis>
<axis id="lstick right" label="Strafe right">
<device type="keyboard" id="0" name=""/>
<event type="button" id="d"/>
</axis>
</axis_map>
</configuration>
<configuration id="2">
<trigger type="mouse" id="0" name="" button_id="BUTTON_RIGHT" switch_back="yes" delay="0"/>
<intensity_list/>
<button_map>
<button id="r1" label="Fire">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_LEFT"/>
</button>
<button id="l1" label="Aim">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_RIGHT"/>
</button>
<button id="r2" label="Melee">
<device type="mouse" id="0" name=""/>
<event type="button" id="BUTTON_MIDDLE"/>
</button>
<button id="cross" label="Jump, Vault">
<device type="keyboard" id="0" name=""/>
<event type="button" id="SPACE"/>
</button>
<button id="square" label="Reload, Pick up">
<device type="keyboard" id="0" name=""/>
<event type="button" id="r"/>
</button>
<button id="r3" label="Crouch, Prone">
<device type="keyboard" id="0" name=""/>
<event type="button" id="LCTRL"/>
</button>
<button id="triangle" label="Weapon">
<device type="keyboard" id="0" name=""/>
<event type="button" id="f"/>
</button>
<button id="start" label="Pause">
<device type="keyboard" id="0" name=""/>
<event type="button" id="RETURN"/>
</button>
<button id="PS" label="">
<device type="keyboard" id="0" name=""/>
<event type="button" id="BACKSPACE"/>
</button>
<button id="select" label="Scoreboard">
<device type="keyboard" id="0" name=""/>
<event type="button" id="TAB"/>
</button>
<button id="l3" label="Sprint">
<device type="keyboard" id="0" name=""/>
<event type="button" id="LSHIFT"/>
</button>
<button id="l2" label="Grenade">
<device type="keyboard" id="0" name=""/>
<event type="button" id="g"/>
</button>
<button id="circle" label="Interact">
<device type="keyboard" id="0" name=""/>
<event type="button" id="e"/>
</button>
<button id="down" label="Fire mode">
<device type="keyboard" id="0" name=""/>
<event type="button" id="q"/>
</button>
<button id="up" label="Flashlight">
<device type="keyboard" id="0" name=""/>
<event type="button" id="t"/>
</button>
<button id="left" label="Class gadget">
<device type="keyboard" id="0" name=""/>
<event type="button" id="3"/>
</button>
<button id="right" label="Teamplay gadget">
<device type="keyboard" id="0" name=""/>
<event type="button" id="4"/>
</button>
</button_map>
<axis_map>
<axis id="rstick x" label="">
<device type="mouse" id="0" name=""/>
<event type="axis" id="x" dead_zone="35" multiplier="13.00" exponent="0.39" shape="Circle" buffer_size="2" filter="1.00"/>
</axis>
<axis id="rstick y" label="">
<device type="mouse" id="0" name=""/>
<event type="axis" id="y" dead_zone="35" multiplier="19.54" exponent="0.39" shape="Circle" buffer_size="2" filter="1.00"/>
</axis>
<axis id="lstick up" label="Move forward">
<device type="keyboard" id="0" name=""/>
<event type="button" id="w"/>
</axis>
<axis id="lstick down" label="Move back">
<device type="keyboard" id="0" name=""/>
<event type="button" id="s"/>
</axis>
<axis id="lstick left" label="Strafe left">
<device type="keyboard" id="0" name=""/>
<event type="button" id="a"/>
</axis>
<axis id="lstick right" label="Strafe right">
<device type="keyboard" id="0" name=""/>
<event type="button" id="d"/>
</axis>
</axis_map>
</configuration>
</controller>
</root>
bf3gamer141
Posts: 29
Joined: Mon Jun 11, 2012 3:09 am

Re: DIY USB adapter error

Post by bf3gamer141 »

I started up the client and all it said was "processing time higher than 4000". After a while it closed down and said something like "emuclient error". I saw this post "http://gimx.fr/forum/viewtopic.php?f=5& ... time#p4517" and I saw how it was resolved. I do not have linux though. I have Windows. My wiring has not changed from the pictures I've uploaded earlier.
mikotoiii
Posts: 9
Joined: Thu Jan 31, 2013 4:07 pm

Re: DIY USB adapter error

Post by mikotoiii »

Not sure if you've tried it this way or not, but this is how I launch gimx on my windows pc.

Turn off ps3
Launch gimx, verify com port, and hit start gimx button
Turn on ps3
If a controller assigns itself to port 1, reassign it to 2, 3, or 4.

Test that bound keys work (w,a,s and d in my case)

If you get a gimx time error before you turn on your ps3, that's fine.

I find my adapter gets a little finicky when I start messing around, and unplugging it a bunch., so you may want to try a fresh boot of Windows as well.
bf3gamer141
Posts: 29
Joined: Mon Jun 11, 2012 3:09 am

Re: DIY USB adapter error

Post by bf3gamer141 »

I followed your process. The ps3 controller does automatically assign itself as the second controller. I touched every key on the keyboard, but the ps3 registered nothing. I followed your process. The ps3 controller does automatically assign itself as the second controller. I touched every key on the keyboard, but the ps3 registered nothing. I also realized that my teensy ++ was had the wrong .hex programmed onto it. It is supposed to be at90usb1286, so I rebooted it to the correct .hex. I followed the process again, double checking to be sure it was wired correctly. It still didn't register. It still said that the processing rate was over 4000. The program registered the movement of the mouse and the pressing of the keys, but it did not transfer to the ps3. The red light on the serial is on. I double checked to be sure the teensy ++ registered as a Joystick. What am I missing?
Post Reply