This repositor contains code for reading data files of Little Fighter 2.

Zelphir Kaltstahl d996223b85 add test for all of stage.dat il y a 3 ans
data 5b00b743ec ignore <end> tag entirely for normal stages il y a 3 ans
guix-env 094c23506d add guix environment il y a 3 ans
test d996223b85 add test for all of stage.dat il y a 3 ans
.gitignore 0b9c6c88e0 add gitignore il y a 3 ans
LICENSE 88037f82b6 Initial commit il y a 3 ans
decrypt.scm cbe2b5844d add first implementation il y a 3 ans
file-reader.scm 175e44b59b add tests and test data il y a 3 ans
grammar.scm d996223b85 add test for all of stage.dat il y a 3 ans
iter-utils.scm 8b8c7d3fcb add iter utils il y a 3 ans
logging.scm cbe2b5844d add first implementation il y a 3 ans
main.scm cbe2b5844d add first implementation il y a 3 ans
notes.md f4bacf70f8 update output il y a 3 ans
notes.org 542f7489da remove obsolete js implementation example il y a 3 ans
peg-tree-utils.scm 31f37d8c24 add more peg-tree utility functions il y a 3 ans
readme.md 57d2cfd5a8 update export il y a 3 ans
readme.org 57d2cfd5a8 update export il y a 3 ans

readme.md

Table of Contents

  1. About
  2. Usage
    1. Using GNU Guix
    2. Other ways
  3. Testing
  4. Dependencies

About

This project contains code for decrypting data files of Little Fighter 2.

The code is written in GNU Guile (3.0.7).

Usage

(project is still work-in-progress)

Using GNU Guix

With GNU Guix installed, you can do the following:

  1. activate the specified GNU Guix environment:

    bash guix-env/env.sh
    
  2. run the program:

    guile -L . main.scm
    

The output should show a decrypted stage.dat file.

Other ways

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.

Testing

You can run unit tests using the following command:

guile -L . test/<TEST FILE>

Dependencies

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.