xTVaser / pcsx2-rr

PCSX2-rr - The Playstation 2 Emulator with TAS Tools (Now Merged into PCSX2 Core!)
http://pcsx2.net/
Other
33 stars 6 forks source link

[Feature Request]: How to run Lua scripts? #125

Closed omgitsraven closed 12 months ago

omgitsraven commented 12 months ago

Description

Sorry if this is a silly question, but: I can't find where in the interface to run lua scripts? I'm running the last release version (128mb/v2.0.3) and I've looked through the entire interface and I can't find anything about running lua scripts. Was the feature removed? Or does some setting need to be enabled to show it?

Reason

Hoping to look around the contents of the game's RAM, and make some things found there human-readable, as well as take automated screenshots

Examples

I've been able to do similar things in Mesen (for the NES) and Bizhawk (for the SNES)

omgitsraven commented 12 months ago

For anyone else running into this: don't actually use the latest release; go back to this one: https://github.com/xTVaser/pcsx2-rr/releases/tag/rr-1.0.1

leaving the issue open because I'm still not sure if I'm just doing something wrong in the latest version, but at least this works around it

xTVaser commented 12 months ago

The lua scripting was in the original pcsx2-rr implementation by the original author, back in 2017/2018. It was removed when it was first added to the official pcsx2 as it wasn't suitable.

If you actually need the 128mb version then this repo's releases are useful, if you just want the input recording stuff, then you should be using the official pcsx2 release (input recording was added many many years ago). The official PCSX2 has a feature called PINE which lets you interact with some aspects of the emulator (such as reading/writing memory) programmatically, but I don't personally know much about it.

Looks like i accidentally committed the main repository's issue templates here but this repo is basically just my personal fork of pcsx2 and not a distinct project anymore (with the exception of the 128MB debug build to simulate a TOOL PS2). https://github.com/xTVaser/pcsx2-rr#future-of-this-repository