How To Get Macros On Ps4 Settings
PS4 Macro
Automation utility for PS4 Remote Play written in C# using PS4RemotePlayInterceptor.
Screenshot
Usage
EmulateController
in Settings section below.
Easy Way (shortcut)
Press the affect button on your controller (touchpad) to start recording and press it over again to finish.
NOTE: If you're using the touch push button in the macro then disable information technology by going to Playback->Tape On Touch
Manual Way
To record, click on Record
button (Ctrl+R) to arm recording and then press PLAY
to starting time recording controls. The red text on the bottom correct indicates the number of frames recorded. You can stop recording by clicking on Tape
push (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 information technology in the aforementioned folder equally PS4Macro.exe
to override default settings.
Setting | Description | Default |
---|---|---|
AutoInject | Automatically poll for PS4 Remote Play and inject whenever possible | imitation |
BypassInjection | Featherbed the injection for debugging purposes | simulated |
EmulateController | Run with controller emulation (utilise without a controller) | false |
ShowConsole | Open debugging panel on launch | false |
StartupFile | Absolute or relative path to the file to load on launch (tin can be xml or dll) | naught |
Example settings.xml
<?xml version= "1.0" encoding= "utf-viii" ?> <Settings> <AutoInject>truthful</AutoInject> <BypassInjection>imitation</BypassInjection> <EmulateController>true</EmulateController> <ShowConsole>true</ShowConsole> <StartupFile>MyMacro.xml</StartupFile> </Settings>
Command Line Arguments
As of version 0.5.0, you can laissez passer control line arguments to PS4Macro.exe and override the values in settings.xml. This also allows you to create multiple shortcuts to PS4Macro.exe and accept each of them override the settings when switching between games (recommended for advanced users).
Arguments
Statement | 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
Correct-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 control line arguments after the existing text in the Target
field.
Remapper
Remapper allows you to employ your keyboard to command PS4 games with customizable key bindings. To use Remapper, become 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 central to a button or a macro, edit the Cardinal cell and enter your want key. Y'all tin 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 scan and select an xml macro file.
Scripting
C# scripting support has been introduced in version 0.iii.0 and later. This allows us to create custom behaviors beyond repeating macros with an easy-to-utilize API. The API as well includes wrapped convenience functions such equally 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.
Bones Instance Script
This instance script will printing DPad up and await ane 2nd, follow past pressing square. The loop repeats every 800ms.
using PS4MacroAPI; public course Script : ScriptBase { /* Constructor */ public Script() { Config.Name = "Example Script" ; Config.LoopDelay = 800; } // Called when the user pressed play public override void Outset() { base of operations.Start(); } // Called every interval set past LoopDelay public override void Update() { Press(new DualShockState() { DPad_Up = true }); Slumber(1000); Press(new DualShockState() { Square = true }); } }
Listing of Scripts
- Keyboard Remapping Utility
- Marvel Heroes Omega Bot
- PES2018 Bot (Simulator Mode) by leguims
Troubleshoot
Macro not playing/recording
=> Disable AutoInject in settings.xml since some machines does not support AutoInject.
EmulateController does not piece of work
=> Make certain y'all unplug every DualShock iv controllers from your computer (otherwise the real controller will take priority over the emulated ane). Offset PS4 Remote Play, follow by PS4 Macro and expect for this screen. If you see the text Press the OPTIONS button on the controller to start.
then it ways that the emulated controller is working correctly. You can then press the Kickoff button.
Visual Studio Build Mistake
=> Reinstall NuGet Package.
Update-Package –reinstall PS4RemotePlayInterceptor
To-Do List
- Meliorate scripting API docs
- Playback timeline UI
- Macro editor tool
- Mouse support for Remapper
- ...
Resources
- Making Of Video
- Scripting Tutorial Video
- Prototype Demo Video
Credits
- EasyHook
- Jays2Kings/DS4Windows
- jforshee/ImageHashing
- Mono.Options
Source: https://github.com/komefai/PS4Macro
0 Response to "How To Get Macros On Ps4 Settings"
Post a Comment