Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Repo contains the source code of Lua 5.0.2, the version of lua used in Star Wars Battlefront 2 (2005). Looks like the Pandemic developers made 2 modifications:

  • src/llimits.h; MAXSTACK ==> 128 (instead of the default 250)
  • config; NUMBER= -DLUA_USER_H='"../etc/luser_number.h"' -DUSE_FLOAT

You may need to install the 32-bit build env for the required -m32 flag to work.

The 'build_bf2_lua.sh' file contains the build instruction used for the included Linux build of lua & luac.

make MYCFLAGS='-O2 -m32' MYLDFLAGS='-m32'

About

Version of Lua used in Star Wars Battlefront 2 (2005)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages