Automated B-spec with phone

  • Thread starter Cue2
  • 10 comments
  • 3,008 views
688
I have a way to automate B-spec racing with a Nokia N900. Not many people have this phone but if anybody is interested please let me know here and I will replace this with a more thorough guide of how to do it.

On the N900 you need to install

Easydebian
Bluemaemo
xdotool

Pair the N900 with the PS3 via bluetooth in bluemaemo then while bluemaemo is in the background run this script from an x-terminal

Code:
#! /bin/sh
fixkbdfocus bluemaemo
while :
do
 xdotool key KP_Enter
 xdotool key Down 
done

this will skip all menus and keep doing the same race again and again until you close bluemaemo.
 
Last edited:
I guess it's possible for anyone with a 3G phone and a remote desktop app, right?

I'd like to know how to do it as that is a phone I have been considering once my current phone dies. ( I can get on for cheap. :sly:)
 
I guess it's possible for anyone with a 3G phone and a remote desktop app, right?

I'd like to know how to do it as that is a phone I have been considering once my current phone dies. ( I can get on for cheap. :sly:)

When automated with a desktop there is little reason to use a phone too other than maybe checking up on it or making small adjustments. With a remote desktop app it should be possible to do that with most phones through something like vnc, snx, or ssh and x-forwarding.

What this N900 automation does is do automated offline B-spec grinding, for example to get the Air of Experience trophy.

It's essentially the same as the Arduino automation here:
https://www.gtplanet.net/forum/showthread.php?p=5554599

but without having to buy an Arduino board or plugging anything into the PS3.

It may be possible to actually win time trials and races too since the phone can act as a PS3 control and drive the car automatically but I'm not sure how the timing will be, it will be even tougher if doing anything with other cars on the track.

On the N900 you need to install

Easydebian
Bluemaemo
xdotool

Pair the N900 with the PS3 via bluetooth in bluemaemo then while bluemaemo is in the background run this script from an x-terminal

Code:
#! /bin/sh
fixkbdfocus bluemaemo
while :
do
 xdotool key KP_Enter
 xdotool key Down 
done

this will skip all menus and keep doing the same race again and again until you close bluemaemo.
 
That is quite neat Cue2, I must say. If it wasn't for remote racing, I think I'd actually be looking into whether that's at all possible with other phones. And it does raise the question, can it be used to automate gear sending? :lol:
 
That is quite neat Cue2, I must say. If it wasn't for remote racing, I think I'd actually be looking into whether that's at all possible with other phones.

Thanks doctorrg. I might get an Iphone 4 soon so I'll look into whether it's possible to do it, since there seems to be some interest in it.

And it does raise the question, can it be used to automate gear sending? :lol:

:lol: Indeed it can. What's really cool about this phone in particular is its multitasking. This means that with smartcam running in the background I can place it in front of my TV and control my entire PS3 from work too; add friends, read messages, and start races as if I were there.
 
Last edited:
:lol: Indeed it can. What's really cool about this phone in particular is its multitasking. This means that with smartcam running in the background I can place it in front of my TV and control my entire PS3 from work too; add friends, read messages, and start races as if I were there.

That is cool!
 
Don't mean to Lazarus a thread, but I wonder if this can be coded for any Android device using Shell and a BT>PS3 app. On my Thunderbolt I use BlueputDroid as a PS3 keyboard / arrows. I'll have to play around with this.
 
Back