All Projects → komefai → Ps4macro

komefai / Ps4macro

Licence: mit
Automation utility for PS4 Remote Play written in C#

Programming Languages

macro
33 projects

Projects that are alternatives of or similar to Ps4macro

Cointrol
฿ Bitcoin trading bot with a real-time dashboard for Bitstamp.
Stars: ✭ 1,351 (+382.5%)
Mutual labels:  bot, automation
Auto Youtube Subscription Playlist 2
Script automatically adds videos to playlists from Youtube channels and/or subscriptions (Youtube Collections alternative).
Stars: ✭ 136 (-51.43%)
Mutual labels:  bot, automation
Facebookautolikeprofessional
Auto Like reactions and unlike Facebook Status, Comments, Photos, group posts, page posts, change facebook theme and skin colors, auto tag members in group post.. Auto Comment and Auto Reply to all Comments... Facebook Auto Like Unlimited 2019 is 100% safe to use...
Stars: ✭ 101 (-63.93%)
Mutual labels:  bot, automation
Spam Bot 3000
Social media research and promotion, semi-autonomous CLI bot
Stars: ✭ 79 (-71.79%)
Mutual labels:  bot, automation
Instauto
Instagram bot / automation library written in Javascript for Node.js
Stars: ✭ 184 (-34.29%)
Mutual labels:  bot, automation
Slacky
🐍 The BEST Slack Selfbot on GitHub | No Bot User, Acts Like It's You! ⭐️
Stars: ✭ 80 (-71.43%)
Mutual labels:  bot, automation
Instalike Instagram Bot
automate instagram activities using instagram bot - like follow/unfollow comment; python requests lib
Stars: ✭ 128 (-54.29%)
Mutual labels:  bot, automation
Instagramfirstcommenter
This bot will post a predefined comment as fast as possible to a new post on the target profile. I used this to successfully win tickets for a big music festival.
Stars: ✭ 26 (-90.71%)
Mutual labels:  bot, automation
Instapy
📷 Instagram Bot - Tool for automated Instagram interactions
Stars: ✭ 12,473 (+4354.64%)
Mutual labels:  bot, automation
Whatsapp Bot
BOT - WhatsApp Web in TypeScript
Stars: ✭ 170 (-39.29%)
Mutual labels:  bot, automation
Ps4remoteplayinterceptor
A small .NET library to intercept and inject controls on PS4 Remote Play for Windows
Stars: ✭ 76 (-72.86%)
Mutual labels:  bot, automation
Bas
BrowserAutomationStudio can automate everything that Chrome can.
Stars: ✭ 203 (-27.5%)
Mutual labels:  bot, automation
Webwhatsappbot
Core to automatize whatsapp - working 11/2018
Stars: ✭ 59 (-78.93%)
Mutual labels:  bot, automation
Vkbot
Простой разговорный бот на PHP
Stars: ✭ 88 (-68.57%)
Mutual labels:  bot, automation
Openkore
A free/open source client and automation tool for Ragnarok Online
Stars: ✭ 956 (+241.43%)
Mutual labels:  bot, automation
Vapor
☁️ Lightweight Steam client framework for node.js
Stars: ✭ 105 (-62.5%)
Mutual labels:  bot, automation
Whatsapp Web Bot
Whatsapp Web Bot - Example of Bot for use on Whatsapp Web (on Chrome)
Stars: ✭ 450 (+60.71%)
Mutual labels:  bot, automation
Vkb
Bot for vk.com competitions
Stars: ✭ 24 (-91.43%)
Mutual labels:  bot, automation
Instagram Bot
An Instagram bot developed using the Selenium Framework
Stars: ✭ 138 (-50.71%)
Mutual labels:  bot, automation
Nvidia Sniper
🎯 Autonomously buy Nvidia Founders Edition GPUs as soon as they become available.
Stars: ✭ 193 (-31.07%)
Mutual labels:  bot, automation

PS4 Macro

Twitter Donate

Automation utility for PS4 Remote Play written in C# using PS4RemotePlayInterceptor.

🔔 Download latest version here!

Screenshot

Screenshot

Usage

⚠️ To use WITHOUT a controller plugged in, see EmulateController in Settings section below.

Easy Way (shortcut)

Press the touch button on your controller (touchpad) to start recording and press it again to stop.

NOTE: If you're using the touch button in the macro then disable it by going to Playback->Record On Touch

Manual Way

To record, click on RECORD button (Ctrl+R) to arm recording then press PLAY to start recording controls. The red text on the bottom right indicates the number of frames recorded. You can stop recording by clicking on RECORD button (Ctrl+R) again. The macro will then play the controls in a loop.

Settings

You can create settings.xml using a text editor and place it in the same folder as PS4Macro.exe to override default settings.

Setting Description Default
AutoInject Automatically poll for PS4 Remote Play and inject whenever possible false
BypassInjection Bypass the injection for debugging purposes false
EmulateController Run with controller emulation (use without a controller) false
ShowConsole Open debugging console on launch false
StartupFile Absolute or relative path to the file to load on launch (can be xml or dll) null
Example settings.xml
<?xml version="1.0" encoding="utf-8"?>
<Settings>
  <AutoInject>true</AutoInject>
  <BypassInjection>false</BypassInjection>
  <EmulateController>true</EmulateController>
  <ShowConsole>true</ShowConsole>
  <StartupFile>MyMacro.xml</StartupFile>
</Settings>

Command Line Arguments

As of version 0.5.0, you can pass command line arguments to PS4Macro.exe and override the values in settings.xml. This also allows you to create multiple shortcuts to PS4Macro.exe and have each of them override the settings when switching between games (recommended for advanced users).

Arguments

Argument Description Default
SettingsFile Absolute or relative path to the settings file (will take priority) null

Examples

Override settings using arguments
C:\> PS4Macro.exe --AutoInject --EmulateController --ShowConsole=false --StartupFile="C:\macro.xml"
Override default settings file (highest priority)
C:\> PS4Macro.exe --SettingsFile="C:\custom-settings.xml"
Using Windows shortcut

Right-click on PS4Macro.exe and click on Create shortcut to create a new shortcut. Right-click on the newly created shortcut and select Properties and append your command line arguments after the existing text in the Target field.

Command Line Shortcut

Remapper

Remapper allows you to use your keyboard to control PS4 games with customizable key bindings. To use Remapper, go to Tools->Remapper and focus on PS4 Remote Play to control the game. Simply close the window to return to marco or script mode.

To map a key to a button or a macro, edit the Key cell and enter your desire key. You can find the key from the Member name column in this table (eg. Delete, NumPad4, PageDown). Use key None to completely disable the key.

To add a recorded macro, click on ... to browse and select an xml macro file.

Remapper

Scripting

C# scripting support has been introduced in version 0.3.0 and later. This allows us to create custom behaviors beyond repeating macros with an easy-to-use API. The API also includes wrapped convenience functions such as pressing buttons, timing, and taking a screenshot from PS4 Remote Play.

See the scripting video tutorial to get started or see the wiki for full documentation, examples, and other information.

NOTE: The script have to include a reference to PS4MacroAPI.dll to interface with PS4Macro. At the moment the scripts has to be compiled into a DLL file to be able to open with PS4 Macro.

Basic Example Script

This example script will press DPad up and wait one second, follow by pressing square. The loop repeats every 800ms.

using PS4MacroAPI;

public class Script : ScriptBase
{
    /* Constructor */
    public Script()
    {
        Config.Name = "Example Script";
        Config.LoopDelay = 800;
    }

    // Called when the user pressed play
    public override void Start()
    {
        base.Start();
    }

    // Called every interval set by LoopDelay
    public override void Update()
    {
        Press(new DualShockState() { DPad_Up = true });
        Sleep(1000);
        Press(new DualShockState() { Square = true });
    }
}

List of Scripts


Troubleshoot

Macro not playing/recording

=> Disable AutoInject in settings.xml since some machines does not support AutoInject.

EmulateController does not work

=> Make sure you unplug every DualShock 4 controllers from your computer (otherwise the real controller will take priority over the emulated one). Start PS4 Remote Play, follow by PS4 Macro and wait for this screen. If you see the text Press the OPTIONS button on the controller to start. then it means that the emulated controller is working correctly. You can then press the Start button.

Emulate Controller Troubleshoot

Visual Studio Build Error

=> Reinstall NuGet Package.

Update-Package –reinstall PS4RemotePlayInterceptor

To-Do List

  • Improve scripting API docs
  • Playback timeline UI
  • Macro editor tool
  • Mouse support for Remapper
  • ...

Resources

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].