I post this in the development thread because I think it's the best place, just tell me if I'm wrong.
I'm using Gimx on an Xbox360.
I compiled the last Gimx version (0.40) this week-end. Everything went smooth and fine on my Gentoo laptop.
Spoof works like a charm.
But....
When i tested there was some errors.
1) If I run gimx-serial with output "gui" or "terminal" selected ; I get an emuclient error when I click on "start".
From a terminal I get this (gui output selected) :
Code: Select all
execvp(gnome-terminal, -x, emuclient, --360pad, --precision, 8, --config, Battlefieldtest.xml, --refresh, 4, --subpos, --serial, --port, /dev/ttyUSB0, --curses) failed with error 2!
Code: Select all
execvp(gnome-terminal, -x, emuclient, --360pad, --precision, 8, --config, Battlefieldtest.xml, --refresh, 4, --subpos, --serial, --port, /dev/ttyUSB0, --status) failed with error 2!
After digging a bit in the sources, I see that in serialMain.cpp there is no more
Code: Select all
else
{
command.append("/bin/bash -c \"");
2) If I run gimx-serial without any ouput selected, when I click "start", it starts but it uses 50% of my CPU. It was only around 5% with version 0.30. As I'm using a dualcore processor, and I guess gimx-serial is not optimized to use multiprocessing, I'm afraid this means that it's using one core at 100%. Ouch !
Is this linked to n° 1 ?
3) Now the good news. Running the whole thing from a terminal makes everything just fine. Spoofing
Code: Select all
usbspoof -p /dev/ttyUSB0
Code: Select all
emuclient --config Battlefieldtest.xml --serial --port /dev/ttyUSB0 --360pad --precision 8 --refresh 4 --subpos --curses