From 3rd revision it's related to FOnline: Aftertimes S3 only!
From 24th revision it's also related to FOnline: Reloaded S4 (WIP)!
- Download and install the latest Notepad++ release from here: https://notepad-plus-plus.org/
- Download this package: http://files.fonline-aftertimes.net/tools/integration_with_npp.zip (or use files from this reposiory).
- 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
- Unpack
foat.xml
andforld.xml
files toC:\Program Files\Notepad++\autoCompletion\
directory. - Unpack
userDefineLang.xml
file toC:\Documents and Settings\<UserName>\Application Data\Notepad++
(for Windows XP) orC:\Users\<UserName>\AppData\Roaming\Notepad++
(for Windows Vista or Windows 7).
- Open any
*.fos
or*.fosp
file by doubleclick. - In "Open with..." table select
Notepad++.exe
(fromC:\Program Files\Notepad++\
) - You should see similar window:
- Choose your User Defined Language from here:
Here you have two different compilators for two different SDKs. You can't use Reloaded's compilator as replacement for Aftertimes and vice-versa but you always can configure them both, f.ex. by placing these in two different directories.
- Unpack ASCompiler.exe file to any place on your hard disk drive (f.ex.
D:\ASCompiler\
) - Run Notepad++, go to menu Plugins -> Plugin Manager -> Show Plugin Manager, find and install NppExec plugin.
- After install and Notepad++'s restart press F6 button on your keyboard. You should see this small window:
- Now write there:
npp_save
D:\ASCompiler\ASCompiler.exe "$(FULL_CURRENT_PATH)"
- Click Save... button, name it as CompileServer and click on Save button. You should get this:
- Do the same for client and mapper script compilations:
npp_save
D:\ASCompiler\ASCompiler.exe "$(FULL_CURRENT_PATH)" -client
and save it as CompileClient
npp_save
D:\ASCompiler\ASCompiler.exe "$(FULL_CURRENT_PATH)" -mapper
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.
- Press Shift + F6 combination keys to run the NppExec Console Filters window.
- Configure highlights for:
%FILE%(%LINE%) : INFO*
%FILE%(%LINE%) : ERROR*
%FILE%(%LINE%) : WARNING*
Success*
Unable to build*
- 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. - Select from menu View -> Function List
- When you'll open some
*.fos
or*.fosp
file then you'll see.