Setup

Overview

  1. BlueputDroid
  2. HiroMacro
  3. Button locations
  4. Macro copy

1. BlueputDroid connect to your PS3.

BlueputDroid in Six Axis mode

  1. phone: run BlueputDroid; accept and remember any prompts for root access
  2. phone: touch start
  3. PS3: add bluetooth accessory and scan
  4. phone: enter the code on your phone when prompted. I had to access a pulldown menu on 2.3.7.
  5. phone: click on new entry for your PS3
  6. phone: enjoy novelty of controlling PS3 from your phone
  7. leave running for next steps

2. HiroMacro
HiroMacro running

  1. run HiroMacro
  2. accept and remember any prompts for root access
    start service
  3. switch to BlueputDroid (press and hold home then chose BlueputDroid)
  4. press volume down to bring up HiroMacro menu
  5. record or run macro
  6. ???
  7. profit!

3. Button location setup for your device

  1. Be running BlueputDroid and HiroMacro
  2. Record a macro to get the locations for buttons used
    1. press volume down to get macro menu (default action button)
    2. touch on record then record the following sequence:
    3. a) touch on down then pause for 2 seconds
    4. b) touch on right then pause for 4 seconds
    5. c) touch on x then pause for 2 seconds
    6. d) touch on triangle
    7. press volume down to stop recording.
    8. Note the filename.
  3. Switch to HiroMacro and touch menu then script then select the recording just done
  4. Identify the touchDown commands. Ignore all touchMove lines -  this is when your finger wiggles slightly when touching screen. Use the sleep 1234 lines - after a touchUp to help identify which is which in the order from above.
    1. eg touchDown 0 1220 4139
  5. Edit provided scripts with new button location at top.
    1. eg I've changed the coord_x_down to 1220 below:
      // down arrow
      //touchDown 0 3031 4004
      var #coord_x_down 1220
      var #coord_y_down 4139
      //touchDown 0 #coord_x_down #coord_y_down

4. Macro copy

You need a method to copy scripts to/from the device. The best way will depend on what you're used to.
To find the location, simply record any macro on the device and then find the file. Use the button layout recording above for example. 
  1. Copy files to sdcard/HiroMacro/Documents. This worked for me using Android v4.1.2.
  2. Copy files via FTP wirelessly. Great if your PS3 and computer are not in the same room. FTPDroid can use root to access /data/data/ (https://play.google.com/store/apps/details?id=berserker.android.apps.ftpdroid&hl=en) which helps with 2.3.7.
  3. Hardcore method using the Android Debugger: sudo ./adb push buy-single-kart-coded.txt /data/data/com.prohiro.macro/HiroMacro/Documents
  4. [your suggestion here]

No comments:

Post a Comment