-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workinglvlbuild.exeRelated to lvlbuild.exeRelated to lvlbuild.exeqsprite.exeRelated to qsprite.exeRelated to qsprite.exeres.exeRelated to res.exeRelated to res.exexsprite.exeRelated to xsprite.exeRelated to xsprite.exe
Description
Expected Behavior
When passing 1 as the encode_flag to the following functions, the data should be compressed using LZSS:
res_add_fileres_replace_fileres_write
Various files are saved with compression including level data and actor sprites. The RES.EXE program also allows raw access to compress any file in a resource archive.
src/utility/lvlbuild.c should be updated to set encode_flag=1 when saving screen data after this is fixed.
Actual Behavior
No data is included in the archive, because the function is not implemented.
Steps to Reproduce the Problem
- Mount some file to add to the archive in C:\TEST.TXT
- Mount RES.EXE in C:\
- Run RES.EXE TMP.DAT C
- Run RES.EXE TMP.DAT A TEST.TXT TEST 1
- Run RES.EXE TMP.DAT L
- Run RES.EXE TMP.DAT E TEST TEST2.TXT
The report should show that the data is compressed appropriately, and extracting the file should have the same contents as the input file.
Specifications
- Version:
- Platform:
- Subsystem:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglvlbuild.exeRelated to lvlbuild.exeRelated to lvlbuild.exeqsprite.exeRelated to qsprite.exeRelated to qsprite.exeres.exeRelated to res.exeRelated to res.exexsprite.exeRelated to xsprite.exeRelated to xsprite.exe