PSO ASM syntax highlighting for Notepad++
Provides syntax highlight and automatic completion for Phantasy Star Online quest scripts (PSO ASM, or PASM), using Notepad++'s User Defined Language.
Installation
- Download UDL file PSO_asm.xml.
- Open Notepad++.
- Go to "Language > Define your language...".
- Click on "Import..." button, browse to the location where
PSO_asm.xml
was saved and open it. - Restart Notepad++.
Auto-completion File
- Close Notepad++.
- Download API file PSO_asm.xml.
- Move the downloaded file to the "plugins\APIs" subfolder of your Notepad++ installation folder.
- Open a .pasm file with Notepad++ and check if auto-completion is working by typing the name of a OP code.
How to use
Open a .pasm file and enable the syntax highlight by selecting "Language > PSO asm".
Theme Colors
The colors of the syntax highlighting for PSO asm works better with the theme Monokai. If you want to change the colors to fit your theme, you can use the Used Define Language tool in Notepad++, or edit the PSO_asm.xml
file and import it again as explained in Installation.
Parsing and Syntax Checking
PASM files cannot be directly imported into QEdit unless the format is correct (and QEdit is very picky with it). To ensure compatibility, there is a parser and checker utility written in Python in the parser/ folder that will create a formatted file to be imported in QEdit.
Credits
The PSO ASM syntax highlighting file and the parser were originally developed by Thomas Neubert and released in Ephinea's forum site:
https://www.pioneer2.net/community/threads/writing-pasm-quest-scripts-in-a-text-editor.9828/
License
Released under The MIT License (MIT).