mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-10-01 11:28:01 +03:00
ccc367ec124ab0660b8abbe969565285a0a377d2
This covers enough of the music/sound functions to get the few games I tried working. Looping is not properly implemented here. Unfortunately, loop offsets are stored in a "bgi" file which appears to be encypted. There are two options for fixing this: (1) the proper solution, crack the bgi encryption and read the offsets from that file, or (2) read the loop offsets from the "smpl" chunk in the wav file. (2) is easier but it will only work for wav files (not ogg).
xsystem4
xsystem4 is an implementation of AliceSoft's System 4 game engine for unix-like operating systems.
NOTE: This is a work in progress. Very little is implemented so far.
Building
xsystem4 uses the meson build system.
mkdir build
meson build
ninja -C build
Running
You will need to create an AIN file using the System 4 SDK compiler. Then simply pass it to the system4 executable.
build/system4 ???.ain
Languages
C
96.5%
GLSL
2.7%
Meson
0.3%
CMake
0.2%
Scheme
0.2%