Search found 6 matches
- Fri Dec 02, 2016 9:12 pm
- Forum: Won't implement
- Topic: Externalize Lua
- Replies: 6
- Views: 3493
Re: Externalize Lua
I can assure you package can be accessed in 14.21 on windows (x64). I don't have a valid lua dll offhand to demonstrate the crash but here's me loading a dll. https://gyazo.com/58c6bd3a9e0effb92136855c02f2b445 had it been a proper dll it would have returned a function which could be called to ...
- Fri Dec 02, 2016 4:24 pm
- Forum: Won't implement
- Topic: Externalize Lua
- Replies: 6
- Views: 3493
Re: Externalize Lua
I do realize using external dll's would result in non-deterministic behavior. However I intend to use it solely in a single player environment so that determinism is not necessarily required. As for not allowing it, right now it is entirely possible to load an external c library. simply call package ...
- Fri Dec 02, 2016 3:46 am
- Forum: Won't implement
- Topic: Externalize Lua
- Replies: 6
- Views: 3493
Externalize Lua
I’m currently trying to create a singleplayer mod that need to make use of an external c library. Currently this is impossible as lua has been statically linked into the executable. Right now if a dll is loaded it would result in an immediate crash as it could not be built against the correct lua ...
- Wed Nov 30, 2016 12:49 pm
- Forum: Tools
- Topic: Disabling lua restrictions
- Replies: 2
- Views: 2738
Re: Disabling lua restrictions
Thanks for linking that, I do wish I had seen it before I had done all of the reverse engineering
- Tue Nov 29, 2016 10:55 pm
- Forum: Tools
- Topic: Disabling lua restrictions
- Replies: 2
- Views: 2738
Disabling lua restrictions
I'm sure most of you have noticed that several standard lua functions have been disabled in factorio. This includes the entirety of io and os. (you may however not be aware the serpent library has been added). Based on what I’ve read in the forums it would appear this is done to ensure determinism ...
- Sun Mar 06, 2016 9:51 pm
- Forum: Not a bug
- Topic: Unnecessary PDB
- Replies: 1
- Views: 1305
Unnecessary PDB
The version of factorio released on steam (likely the one available from the factorio website as well) includes a pdb file with the executable. On my windows install, before running the game the entire game is about 400mb of which 100mb is the pdb file. This file is useful for debugging and ...