bzt b45cdbcc75 AdvGame 2.0 import | 1 dag sedan | |
---|---|---|
.. | ||
en | 1 dag sedan | |
hu | 1 dag sedan | |
img | 1 vecka sedan | |
API.md | 3 veckor sedan | |
MEG-4_OS.md | 6 månader sedan | |
README.md | 1 år sedan | |
floppy.md | 2 dagar sedan | |
manual.css | 1 månad sedan |
The user's manual is created with gendoc. You'll have to download and compile that tool.
wget https://gitlab.com/bztsrc/gendoc/-/raw/main/gendoc.c
gcc gendoc.c -o gendoc
Simple as that. Once you have gendoc, you can create the manual by going into one of the language code directories and running
cd docs/en
gendoc ../../public/manual_en.html manual.xml
docs/en
directory to the ISO-639-1 language code of the new language, for example docs/hu
.docs/hu/manual.xml
between the <doc>
... </doc>
tag.src/lang/hu.md
.NUMLANGS
define in src/lang.h.src/lang/hu.h
.lang.h
.dict
array.If you have used a new writing system (or most notably any CJK), then in the src/misc directory run
make langchk
This will check if the default font has all the glyphs for the new translation. If it reports errors, then use
SFNEdit on src/misc/default.sfn
and add the missing glyphs.
Finally, run make distclean all
in the src directory. This will parse the assets (including the new translation
files) and regenerate data.c
to be embedded in MEG-4 (a clean recompilation should take no more than a minute).