Closed rmariotti closed 3 years ago
The issue cannot be reproduced on the newest release 1.2.1 or any following dev build. Please use one of the named iterations of Kuriimu2 and try again. The issue will be closed in 2 days, if no further response is given.
The compression implementation does work as expected in the newest versions of Kuriimu2. Issue closed.
Game Name: Dragon Quest XI: Sugi Sarishi Toki o Motomete Console: 3DS Format extension(s): .pack (PACA) Type: archive
Bug details: There seem to be a bug in the
Backwards Lz77 Nintendo
compression extension: some of the files in Dragon Quest XI are compressed using this algorithm, decompressing them and re-compressing (without altering the content between the decompression and re-compression step) them causes the game to crash.Also after:
A
(A -> A.uncompressed
),A.uncompressed
(A.uncompressed -> A.recompressed
),A.recompressed
(A.recompressed -> A.recompressed.uncompressed
),the
diff
command shows thatA.uncompressed
!=A.recompressed.uncompressed
, so there is some data corruption;md5sum
confirms this behavior. In Citra, injecting the re-compressed files (A.recompressed
andA.recompressed.uncompressed
), causes the game to crash. The original file (A
) obviously works and so does the the decompressed file (A.decompressed
), showing that the decompression algorithm works fine.How to reproduce the bug OS: Devuan GNU/Linux 4.0 (similar to Debian 11.0) Kuriimu2 version: 1.2.1-977136631 Citra version: Canary 1979
Steps
RomFS/ui/title.pack
file.Backwards Lz77 Nintendo
(I'll call the decompression output filetitle.decompressed
from now on).title.decompressed
-> the game works as expected.title.decompressed
(I'll call the compression output filetitle.recompressed
from now on).title.recompressed
-> the game crashes before the title screen.Bonus steps
title.recompressed
and compare the output of the decompression (title.recompressed.decompressed
) withtitle.decompressed
,md5sum
anddiff
both shows that the files are different.title.recompressed.decompressed
-> the game crashes before the title screen.Sample files (if possible): sample_files