Not an example file, but still relevant - I decided to share my extraction/repacking tools for the EAGLS engine. Tried it on the script files @vnthegodfatherkiwi sent me via pm and various other games, works on all samples I could test.
You need Python 3.8 or newer, platform doesn't matter. Both python files can unpack and pack. scpacker.py extracts and decrypts the script files to UTF-8, and rawpacker.py can extract all archives the engine uses but doesn't decrypt files. Can be useful if you are able to recompress the cg files and want to pack them back into a new archive, for example. The files GARbro extracts are already decrypted and can't be side-loaded into the engine.
Also threw in a regex formatter for translation works, maybe it's useful for someone. Let me know if you need help with the tools or the engine.
https://files.catbox.moe/nvis0z.zip
The reason I wrote it is that HSHINTAI_decrypt doesn't work on some archive types, and even those it manages to extract can crash the game on repacking.
Txt mode can't handle multiple sections in the archive and dat mode is useless for translation works.
For the record: most game scripts I had available don't use any text formatting, yet quite a few commands are supported:
(e) puts text on the next row
(y=・) furigana
(f=1) set font size to 1 for example, can be 0-9 for gothic and 10-19 for mincho, the mapping number<->fontsize varies between games
(c=r,g,b) text color; rgb values between 0-255
(s=r,g,b) text outline; rgb values between 0-255
(r) reset text formatting
<> escapes brackets, for example