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

[Information] Pokemon 3DS games probably use Pawn vm for scripting #508

Open
PlasmonicXenon opened this issue Oct 10, 2021 · 1 comment
Open

Comments

@PlasmonicXenon
Copy link

I was looking at the opcodes used by the scripting language, and was reminded of a vm that I used a long time ago: the Pawn VM.
Doing some comparisons showed that the opcodes match the last 3.X version of pawn (https://github.com/compuphase/pawn/tree/b0cd23fbc91501e463d6ab428e4736e28c426cf4). Note that the VM part is called AMX.

I've made a gist of the opcodes as defined in the pawn source code here: https://gist.github.com/PlasmonicXenon/ade037df3240b938525231c93c63a6f6.

Do what you will with this information. If you want, I can make a pull request updating the script definitions.

@kwsch
Copy link
Owner

kwsch commented Oct 10, 2021

Ye, we've known about it for years. pkNX has a more updated attempt to look into scripts:

https://github.com/kwsch/pkNX/search?q=pawn

There's also this: https://github.com/HelloOO7/gf-pawncc

They still use pawn in their current games (Sword/Shield), but it hasn't really been an area of active development.

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

2 participants