KillzXGaming / Switch-Toolbox

A tool to edit many video game file formats
GNU General Public License v3.0
958 stars 155 forks source link

Request : Implement LZSS compressing back #247

Open HelpTheWretched opened 4 years ago

HelpTheWretched commented 4 years ago

LSZZ compression from the Tools menu does not seem to do anything. The alert says the new file was created, but every time I've used this, the new file is identical to the old one. Confirmed by a file-comparing program.

I've found a command-line program elsewhere that performs LZSS compression, but it doesn't create the file header seen in the original files, so patching them into the game (Majora's Mask 3D) causes a crash.

KillzXGaming commented 4 years ago

Currently LZSS compression only decompresses atm. I had forgotten it was kept enabled so it had the option to compress back.

HelpTheWretched commented 4 years ago

Well, sucks to not have that capability, but thanks for addressing. I figured it was just something overlooked.

Do you happen to know of another program that can do LZSS with the kinds of file headers seen in 1st/2nd-party games?