Skip to content

BlueAmulet/FAFLuaJit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README for LuaJIT 2.1.0-FAF
-----------------------------

How to build:

 1) Need MSVC x86 console(tested on MSVC 2022)
 2) Run msvcbuild.bat(+debug)
 3) Run FAExt.bat(+debug)
 4) Copy FAExt.dll into FAF bin dir.

Patch for embed into FAF:

 FAExtLoad.cpp is section
 HFAExtLoad.cpp is hook
 https://github.com/FAForever/FA_Patcher (requires v2)

Results:

 Lobby test gains x4-x7 speedup, ingame ~+0.5 sim.

ToDo:

 Save/load, desyncs, require & FFI security, repair list bytecode, something else.

Development has been suspended due to the lack of a noticeable performance gains.


README for LuaJIT 2.1.0-beta3
-----------------------------

LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.

Project Homepage: https://luajit.org/

LuaJIT is Copyright (C) 2005-2022 Mike Pall.
LuaJIT is free software, released under the MIT license.
See full Copyright Notice in the COPYRIGHT file or in luajit.h.

Documentation for LuaJIT is available in HTML format.
Please point your favorite browser to:

 doc/luajit.html

About

LuaJIT for FAF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 81.5%
  • Lua 15.6%
  • Other 2.9%