playnite-plugin icon indicating copy to clipboard operation
playnite-plugin copied to clipboard

[Bug] 3ds files failing to download/unzip successfully.

Open Snaid1 opened this issue 9 months ago • 2 comments

Describe the bug 3ds game files not downloading successfully.

To Reproduce Steps to reproduce the behavior:

  1. Have a ROM integration with a 3ds library with at least one game in it
  2. add a 3ds emulator to Playnite (I used Pablo MK7's citra port but for this bug I don't think it makes a difference)
  3. configure ROM Playnight plugin for 3ds games
  4. try to "install" one of the games
  5. after it seems to finish downloading it fails and displays the error in the attached screenshot.

Expected behavior 3ds files are downloaded and extracted if necessary so I can seamlessly play my dumped 3ds games.

Screenshots

Image

Additional context when I try opening the downloaded zip file in windows explorer, I get an error saying the zip file is invalid. I do not store the files on my ROMM server as zips so this is whatever zip file the server/plugin created to download.

I tested with 3 different games and all gave the same error when installed using the plugin. I also tried manually downloading the files in the browser and putting them where they belong and those ran fine. it's only an issue when using the plugin.

Snaid1 avatar Feb 25 '25 06:02 Snaid1

Also I am using the latest update of the ROMM Library plugin (0.2.8 as of this writing) and the latest ROMM Server software (v3.7.3 as of now)

Snaid1 avatar Feb 25 '25 06:02 Snaid1

I ran into a similar issue with Gameboy files and did some digging. Seems that the Playnite plugin is trying to save the files being delivered by RomM as a zip file regardless of what is actually delivered. For single files that are delivered changing the file extension to the correct one seems to fix the issue with every platform that I have tested so far: gb, gbc, gba, ngc, n64, nes, snes, genesis. The exception to the file extension renaming so far has been xbox games, which are stored in an ISO format. Since ISO is a type of archive renaming it to a .zip and then trying to extract it doesn't throw an exception and instead extracts the contents of the iso or xiso. After the contents are extracted the Playnite plugin deletes the files that do not meet the compatible formats for the platform which results in everything that was just extracted being deleted as well as the iso or xiso file. Further testing I also noticed that the toggle for automatically extracting doesn't seem to work as the plugin tries to extract regardless and when I set the toggle to on it tried to extract twice.

Starkiller4011 avatar Sep 25 '25 15:09 Starkiller4011

I have also ran into this issue. The issue seems to be that the RomM server's response always sets the 'multi' property to true no matter if the rom is a single file or not. The fix that I have been testing (Not sure if its the correct way) is to use the 'has_multiple_files' property instead, this a fixed the issue for me.

Multi-File Game Image****

Single-File Game Image

matthew-pye avatar Dec 05 '25 15:12 matthew-pye