H!
First of all, you can't compress the game files with 7zip (the game will crash) , you need to use the game's original FAT file compressor/packer ("doofext.exe -c").
( Doofus.exe doesn't recognize a DAT file compressed with 7zip ; Doofus uses its own proprietary format )
I wrote and finished the full version of the LZSS original compressor/packer(237unpack 1.2 v6a) , it works %100 BUT I haven't published it (PRIVATE).
237unpack v1.2 v6a is a PRIVATE code and was written with a lot of effort, I don't intend to publish it .
The 237unpack v1.0 (download version) ONLY works with the - UNPACK - feature.
I provided a convenience for those who want to examine the game's code so they can UNPACK and examine these codes,
but Compressor/Packer is a different matter, all the effort is in the Compressor/Packer code 😀
The Decompressor/Unpacker code is already in the game for those who know x86 assembly language , those who look will see it, those who search will find it ..
but the Compressor/Packer code is NOT in the game it is only available to the programmers who wrote the game.
237unpack v1.2 v6a code was written from scratch by me (PRIVATE) = Compressor + Decompressor (It works without breaking/freezing or crashing the game.)
The game itself uses LZSS decompressor.
There is a way to change this , of course : adding -> 7zip decompression to the original game-source-code , but the source code is with the software company 😀
This game was made in 1994 , and the programming technologies it used were very good for that time... I think there's nothing else to say about that.
That's right, DOOFUS.exe is compressed with PKlite and extracted into a ~580 kb .EXE file.
The important thing isn't unpacking PKlite ; anyone can unpack PKlite these days , it's very easy .
BUT the critical point : x86 assembly knowledge and studying and reading machine language codes,
and developing new codes in response to those codes .. Pklite unpacking "Like walking in the park" 😀
First of all, you need to forget about using 7zip (unless you work for the doofus-company that wrote the game and you don't have the original source code of the game).
I don't understand what you'll gain ? ..by compressing the game with 7zip ?
It's 2026 and 2.5 MB is already a very small size for today.
EMX