FOnline Development > Tools

Notepad++ and integration with FOnline scripts for 412 engine revision

(1/1)

remake:
Preparing
1. Download and install the latest Notepad++ release from here: https://notepad-plus-plus.org/
2. Download this package: https://files.fonline-aftertimes.net/tools/integration_with_npp.zip
3. Download and unpack to C:\Program Files\Notepad++\ with all subdirectories this package: https://files.fonline-aftertimes.net/tools/PluginManager_v1.4.9_x64.zip

Code marks
1. Unpack foat.xml and forld.xml files to C:\Program Files\Notepad++\autoCompletion\ directory.
2. Unpack userDefineLang.xml file to C:\Documents and Settings\<UserName>\Application Data\Notepad++ (for Windows XP) or C:\Users\<UserName>\AppData\Roaming\Notepad++ (for Windows Vista or Windows 7).

Running
1. Open any *.fos file by doubleclick.
2. In "Open with..." table select Notepad++.exe (from c:\Program Files\Notepad++\)
3. You should see similar window:


Compilator
1. Unpack ASCompiler.exe file to any place on your hard disk drive (f.ex. D:\ASCompiler\)
2. Run Notepad++, go to menu Plugins -> Plugin Manager -> Show Plugin Manager, find and install NppExec plugin.

3. After install and Notepad++'s restart press F6 button on your keyboard. You should see this small window:

4. Now write there:

--- Code: ---npp_save
D:\ASCompiler\ASCompiler.exe "$(FULL_CURRENT_PATH)"
--- End code ---
5. Click Save... button, name it as CompileServer and click on Save button. You should get this:

6. Do the same for client and mapper script compilations:

--- Code: ---npp_save
D:\ASCompiler\ASCompiler.exe "$(FULL_CURRENT_PATH)" -client
--- End code ---
and save it as CompileClient

--- Code: ---npp_save
D:\ASCompiler\ASCompiler.exe "$(FULL_CURRENT_PATH)" -mapper
--- End code ---
and save it as CompileMapper
7. Test it - open *.fos file, press F6, select proper compile script. In case of error you can click the error line and go to error place in the script.


Configure the compilator's results
1. Press Shift + F6 combination keys to run the NppExec Console Filters window.
2. Configure highlights for:
%FILE%(%LINE%) : INFO*
%FILE%(%LINE%) : ERROR*
%FILE%(%LINE%) : WARNING*
Success*
Unable to build*

3. And now results will be like:

or


Function List
1. Unpack functionList.xml file to C:\Users\<UserName>\AppData\Roaming\Notepad++\ and overwrite (or if you have it customized then merge with) existing one.
Note: My file is already merged with original one from Notepad++ package. If you don't have it customized for your preferences then you don't have to worry about it and just overwrite existing one.
2. Select from menu View -> Function List
3. When you'll open some *.fos file then you'll see.

loord:

--- Quote from: remake on December 26, 2017, 01:33:19 pm ---...
2. Download this package: http://files.fonline-aftertimes.net/tools/integration_with_npp.zip
3. Download and unpack to C:\Program Files\Notepad++\ with all subdirectories this package: http://files.fonline-aftertimes.net/tools/PluginManager_v1.4.9_x64.zip
...

--- End quote ---
can you update these links? not working anymore.
thanks

remake:
Reuploaded.

Mopok:
In > 7.9.1 notepad++ version function list files are separated, so need add only one fos.xml file in functionList folder and add it to overrideMap.xml.
This is actual for me simple)  :)

remake:

--- Quote from: Mopok on March 17, 2021, 03:38:00 pm ---In > 7.9.1 notepad++ version function list files are separated, so need add only one fos.xml file in functionList folder and add it to overrideMap.xml.
This is actual for me simple)  :)

--- End quote ---
Sure, I'll look to it in some free time.

Navigation

[0] Message Index

Go to full version