This repositor contains code for reading data files of Little Fighter 2.
Zelphir Kaltstahl d996223b85 add test for all of stage.dat | 3 years ago | |
---|---|---|
data | 3 years ago | |
guix-env | 3 years ago | |
test | 3 years ago | |
.gitignore | 3 years ago | |
LICENSE | 3 years ago | |
decrypt.scm | 3 years ago | |
file-reader.scm | 3 years ago | |
grammar.scm | 3 years ago | |
iter-utils.scm | 3 years ago | |
logging.scm | 3 years ago | |
main.scm | 3 years ago | |
notes.md | 3 years ago | |
notes.org | 3 years ago | |
peg-tree-utils.scm | 3 years ago | |
readme.md | 3 years ago | |
readme.org | 3 years ago |
This project contains code for decrypting data files of Little Fighter 2.
The code is written in GNU Guile (3.0.7
).
(project is still work-in-progress)
With GNU Guix installed, you can do the following:
activate the specified GNU Guix environment:
bash guix-env/env.sh
run the program:
guile -L . main.scm
The output should show a decrypted stage.dat
file.
All you need is a working GNU Guile installation to run the program. How you get it, does not really matter. For example you could use your system package to install GNU Guile, if it is available in your the package sources of your system, or you could download the source code of GNU Guile and compile it for your system.
You can run unit tests using the following command:
guile -L . test/<TEST FILE>
The project depends on nothing except GNU Guile. It is tested using GNU Guile
3.0.7
, but probably works using many older versions as well.