![]() ![]() It performs no analysis on your code to find AddCSLuaFile calls. Gluapack requires you to tell it what files should be sent to the client. The program has a simple CLI interface which you can view the help of with: Unix Therefore, the entire file is commented out so that compiling the file triggers no Lua errors, and adds the file to the Lua cache so that gluapack can read it. Lua files do not show up in here until they are compiled. * This is done because on the client the loader reads the clientside/shared chunks from the Lua cache ( garrysmod/cache/lua). When the server/client loads/spawns in, the loader will unpack all the packed files into a virtual file system stored in garrysmod/data/gluapack/vfs/Īny calls to file library, include and CompileFile will additionally use this virtual file system, therefore seamlessly "injecting" your unpacked addon into the game. The gluapack loader will be injected into your addon's autorun folder. The clientside and shared packs will be commented out* and chunked into 64 KiB files. Gluapack will then pack the addon into three parts - serverside, clientside and shared. Gluapack will locate serverside, clientside and shared files in your addon, according to your configuration. 100% compatible with the file library, include and CompileFile.Supports server, shared and client realms.Minimizes the impact of your addons to the Lua file limit. ![]() Requires no serverside or clientside binary module.Quick, easy and portable - perfect for a CI/CD pipeline.Gluapack is a program that can pack hundreds of Garry's Mod Lua files into just a handful. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |