Data package for LineageII. Contains original CHN C1 script files, splitted by entities, plus build system, which allows to integrate it to any IDE, which supports CMake files. Files are kept in UTF-8 encoding, which allows to have nice history view in git.
All script entities are original C1 files with fixes only (like typos in name IDs, removals of legacy items/npcs, etc). For other chronicles new branches will be created
- File fuzzy search
- Syntax hightlighting
- Code block folding
- UTF8 to UTF16 encoding
- AI merging + compilation
- File merging
- PCH compilation
- Syntax hightlighting for all scripts, not AI only
- Extracting quests from AI scritps into separate
questdata
- More precise file separation (e.g. separating weapons and armors by types, spell-boocks by chants/books/blueprints, etc)
- C4+ support
- Download and install QtCreator
- Download and install CMake
- Download Ninja and copy it into
C:\Windows32
- Download AI merger and NASC
- Download L2CC
- Copy
ais.xml
toC:\Users\<username>\AppData\Roaming\QtProject\qtcreator\generic-highlighter\syntax\ais.xml
- Create
DataPack Kit
inQtCreator
(Tools -> Options -> Kits
) clickApply
andOK
to close the window - Clone this repo
git clone https://github.com/master-toma/l2datapack.git
- Open
<path>/l2datapack/CMakeLists.txt
byFile -> Open File Or Project
- Select
DataPack
kit, chooseDefault
orRelease
and uncheck all other configurations - Click
Configure Project
. First configuration will take some time - Unselect
Hide Generated Files
, now you will see all targets for building scripts - Setup tools (
L2CC
,NASC
,AI Merger
) Optional: you can change output dir by changingDATA_PACK_OUTPUT_DIR
as well here
That's it. Now you will be able to "build
" script files by right-cliking on the "Hammer icon" and choosing Build <target name>
, e.g.
build 1-basics
build 2-complex
build 3-ai
Those three commands will do full script deployment.