2024 Manual
In this manual I will describe the way to install ZipWriter from the first to the last step. It will include lua + luarocks download and screenshots. ZipWriter supports lzlib rock which doesn't require manual library compilation.
You will need Git Bash (installed with Git automatically).
This guide doesn't work on PowerShell.
Make sure you install 32bit version.
lua_modules if exists.luarocks if exists.luarocks in %UserProfile% dir if exists.gitignore file ends with new empty linePATH variableC:\lua (to suit this guide)lua-5.3.x_Win32_bin.zip and lua-5.3.x_Sources.zip where x is the latest patch version from https://luabinaries.sourceforge.net/download.htmli686-14.2.0-release-win32-dwarf-msvcrt-rt_v12-rev0.7z for dependencies compilation from https://github.com/niXman/mingw-builds-binaries/releases (link source https://www.mingw-w64.org/downloads/)PATH variable:C:\lua
C:\lua\mingw32\bin
C:\lua\mingw32\i686-w64-mingw32\bin
luarocks config lua_version 5.3
luarocks config variables.LUA_INCDIR "C:\lua\lua53\include"
luarocks init
luarocks install lzlib ZLIB_DIR="C:\lua\mingw32\i686-w64-mingw32"
luarocks install zipwriter
Further usage:
./lua.bat your_script.lua