Skip to content

Conversation

@Josh194
Copy link
Owner

@Josh194 Josh194 commented Apr 27, 2021

Allows lua to open a C++ module and use it to access the client API.

Written in C as C++ didn't seem to work, though that might've just been because I had the luaopen function in a namespace.
@Josh194 Josh194 linked an issue Apr 27, 2021 that may be closed by this pull request
Josh194 and others added 7 commits April 27, 2021 15:11
Fixed mod not loading and crashing game.
Check that build is not in-source
At least for now, we will be using Zydis for use in injection code that needs to analyze a code section. This is to allow the process to be debugged during injection (by using a jmp instead of int3). We may need to switch to something like Capstone in the future due to Zydis only supporting x86 and x86-64.
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

Successfully merging this pull request may close these issues.

Create Factorio Lua/C++ Interaction Layer

2 participants