Jump to content

Recommended Posts

Posted (edited)

Hello,

I'm on the last stage for now with L2Server, and working with tooling as well, since I have all parsers done.
So, next tool, which I share to public is l2cc: Lineage2 compiler collection for C1 format (C4 comes soon). 

 

It can produce all pre-compiled headers (PCH): category, item, skill and npc. It parses *data.txt using original L2Server ayacc parser specification, and produces pre-compiled headers, used by L2NPC component.

Easiest way to use: copy l2cc.exe to the Script/ directory, and call

l2cc.exe -c ./ -o ./
l2cc.exe -i ./ -o ./
l2cc.exe -n ./ -o ./
l2cc.exe -s ./ -o ./

It will read all neded files (./ argument) and store pch at ./ (-o argument)

Use

 

l2cc.exe -h for help

 

Note: since l2cc.exe uses original L2Server ayacc parser specification, it also could be used for quick check, if your *data.txt is written according to grammar.

Edited by MasterToma
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...