Jump to content

[TUTORIAL] Compiler-ul Zeex


Uzzi25,

Recommended Posts

Am vazut ca in ultimul timp tot vad/primesc mesaje ca nu reusiti sa copilati un gamemode cu compiler-ul 'Zeex'

Cu acesta gamemodul se compileze in maxim 5 - 6 secunde, depinde de liniile gamemode-ului.


Avem nevoie de urmatoarele:

- Libraria YSI. ( ultima versiune, bineinteles )
- Compiler-ul in sine. (Zeex)
- Sublime Text 3.

Creem un nou folder pe desktop pe care il numim : 'Execute Compiler'.

Intram in acesta si vom creea alt fisier pe care il vom denumii : 'lnd'.

Adaugam in acesta fisierele care se afla in arhiva compiler-ului.

Dezarhivam arhiva 'pawno' in folder-ul 'Execute Compiler'. 

Dupa ce am facut asta, dezarhivam arhiva 'Libraria YSU 4.x' in 'include'. 

Iar la final, adaugam in folderul 'include', include-urile de care avem nevoie pentru gamemode-ul nostru.

Deschidem Sublime Text 3.

Ne ducem la 'Preferences' -> 'Package Settings' -> 'Pawn Compiler Settings' -> 'Edit Build Settings ( Pawn.sublime-build )'.

Dupa trebuie sa adaugam in acel fisier urmatorul cod:

{
    "cmd": ["pawncc", "$file_name", "-;+", "-v2", "-d3","-Z+", "-\\)+"],
    "path": "C:/Users/Leonard/Desktop/Execute Compiler/lnd"
}
{
    "cmd": ["pawncc", "$file_name", "-;+", "-v2", "-d3","-Z+", "-\\)+"],
    "path": "C:/Users/Leonard/Desktop/Execute Compiler/lnd"
}


Parametrul 'path' il modificam in fiecare dupa locatia unde ai instalat Zeex Compiler-ul.


Dupa ce am facut si acest pas, salvam si asta a fost tot.
 

 

Link to comment
Share on other sites

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.