This is a template you can use to make games for the PS2 (Playstation 2) using the JavaScript programming language. This is made possible by the AthenaEnv engine.
Assuming that you have a working PCSX2 emulator on your machine and that you have enabled the checkbox "Enable host filesystem" under Settings > Emulation.
Open the athena.elf file available in this template in the emulator.
In PCSX2, you can achieve this under System > Start File... by selecting the athena.elf file using the File Explorer.
You might want to build a single .iso file you can distribute your game as.
To achieve this, create a zip of all the files present in this template.
This includes your source code, athena.elf, athena.ini, ATHA_000.01 and SYSTEM.CNF.
Exclude this readme.
Make sure to create the zip archive by selecting each file and folder one by one rather than zipping the outer folder containing everything. It might still work, but I only had success with the former method.
Once the zip is created, you can convert it into an .iso with this website https://mconverter.eu/.
If you know of other alternatives that successfully builds an .iso that runs, feel free to make a pull request.
Once the .iso is created, you can open it up in the emulator like you would any other PS2 game.
The version available in the repository is a stable version called AthenaEnv V4. The documentation/README has been updated to: https://github.com/DanielSant0s/AthenaEnv/blob/v4/README.md
You can still use the version available in the AthenaEnv GitHub Releases section, the most stable version, but remember to use the documentation/README already available from the beginning.