Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Add LUA and TAS #1483

Open
GoogleCodeExporter opened this issue Apr 15, 2015 · 5 comments
Open

[FEATURE REQUEST] Add LUA and TAS #1483

GoogleCodeExporter opened this issue Apr 15, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

I think it would be an amazing addition to PCSX2 to add the ability to run lua 
scripts and movie recording/playing for all sorts of things. eg Speedruns and 
keeping up with IRC chat while playing for instance.

I think this feature should definitely be added.

Original issue reported on code.google.com by [email protected] on 25 Feb 2014 at 12:01

@GoogleCodeExporter
Copy link
Author

You can already record movies by pressing F12. why you would want to play them 
in the emulator while running the emulator i don't get..

and LUA scripts, what would you want to use them for?

Original comment by refraction on 25 Feb 2014 at 9:27

@GoogleCodeExporter
Copy link
Author

Lua scripting is an extremely useful tool when TASing.
Although some programming knowledge is required, the user has power over things 
like game screen display, inputs, and memory. 

The following are some common applications, though the possibilities are 
endless.
    Displaying helpful information on screen.
    Eliminating tedious repetition.
    Creating specific circumstances for testing.
    Brute forcing a difficult solution.

Example video :)
http://www.youtube.com/watch?v=htSSC2YRNEY

Original comment by [email protected] on 25 Feb 2014 at 2:22

@GoogleCodeExporter
Copy link
Author

This will have to come from a third party :p
We get this request occasionally but no one in the team is a TAS'er 
and LUA sounds like a moon base to me :p
No seriously, best would be if you find someone that wants to code this in!

Original comment by ramapcsx2.code on 26 Mar 2014 at 9:30

  • Changed state: Backburner

@GoogleCodeExporter
Copy link
Author

I would attempt it with some help from the code.
I would port from another RR based emulator since the code is generally the 
same.
I just dont know how to go about calling hard reboots, or getting a control 
table from pcsx2.
Tell me how to call them I will submit a pull request by tomorrow.

Original comment by [email protected] on 26 Mar 2014 at 6:22

@GoogleCodeExporter
Copy link
Author

Find void SysCoreThread::ResetQuick() for resets. There is no control table.
I'm not sure you'll have any luck trying to adapt another emus code to this.
This part is entirely up to chance in how it's implemented, so each emulator 
will look different.

Original comment by ramapcsx2.code on 27 Mar 2014 at 3:23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant