Skip to content

Releases: devolution2409/NX-input-recorder

NX Input Recorder Initial Release

21 Jul 19:54

Choose a tag to compare

1.0.0 Release

Features

  • Recording of gameplay. This initial release records input for controller 1 on every frame. (In the future, it will be able to record any numbers of controller)
  • Recording is toggled by using + and - at the same time.
    • If you're in a game, the recording will go to /input-recorder/titleID/timestamp.record
    • If you're not currently running a game (i.e. hos menu), or module isn't enable to detect which game you are running, the recording will go to /input-recorder/unknown/

Record format

Each frame is recorded on a line using this format:

| HidControllerID | HidControllerKeys | JoystickPosition.dx | JoystickPosition.dy | JoystickPosition.dx | JoystickPosition.dy |

The data regarding the recording is:

Example:

10 2 0 0 0 0 
10 2 0 0 0 0 
10 2 0 0 0 0 
10 0 -445 -4118 0 0 
10 524288 -987 -24665 0 0 
10 524288 -1023 -32751 0 0 
10 524288 -927 -32753 0 0 
10 524288 -897 -32754 0 0

(Once the code is tweaked to record several controllers they will just be appended to the same line.
So basically, just read a line as several 6-entry tuple.)

How to install
Just merge the atmosphere folder in here with the one on your sdcard.
This sysmodule will be loaded at boot time.