linuxserver / emulatorjs

Self hosted web based retro emulation front end with rom and art management.
382 stars 26 forks source link

[Bug] Issue navigating to psx page from rom management page. #59

Closed ltomes closed 1 year ago

ltomes commented 2 years ago

While on the Rom Management page, attempting to navigate the the psx page results in the following error for me:

triggerUncaughtException(err, true /* fromPromise */);
^

[Error: EISDIR: illegal operation on a directory, read] {

errno: -21,
code: 'EISDIR',
syscall: 'read'
}

This could be related to https://github.com/linuxserver/emulatorjs/pull/58 not yet being merged. I am not sure.

Xeddius commented 2 years ago

I had this issue earlier today, I solved it by switching to CHD format as I had games in .7z format and this exact problem was happening to me until I converted the .bin/.cue into CHD, it's also slightly smaller as CHD anyway and is the new standard format for compressing most iso/bin games. I highly recommend it.

If you don't want to change over to CHD then you'll have to figure out which .zips/.7z/etc are causing the issue, many highly compressed .zip files cause problems.

ltomes commented 2 years ago

I'm hoping PR 58 resolves the zip archives having issues (I tracked my failures down to a zip archive), and based on what you are saying it sounds like that will maybe resolve this issue. But it could be the bin format inside like you are saying. I can look into that next if PR 58 doesn't fully resolve things.

Randy Linden gave permission to use one of his ROMs in integration tests so, after this is fixed I may try to add a simple test harness that runs some of these shell scripts in isolation and asserts non 0 exit codes against 7zip, rar, and zip archives. https://twitter.com/RandalLinden/status/1538965024932171776

Xeddius commented 2 years ago

I look forward to it, keep me updated!

ltomes commented 2 years ago

I had this issue earlier today, I solved it by switching to CHD format as I had games in .7z format and this exact problem was happening to me until I converted the .bin/.cue into CHD, it's also slightly smaller as CHD anyway and is the new standard format for compressing most iso/bin games. I highly recommend it.

If you don't want to change over to CHD then you'll have to figure out which .zips/.7z/etc are causing the issue, many highly compressed .zip files cause problems.

I have not switched formats yet, but see the failed to decompress issues you describe. That error is in the psx emulator baked into emulator js right? It's not part of this repo?

Edit: Just seeing this now: https://github.com/linuxserver/emulatorjs/issues/16#issuecomment-1002432693

MainServerSpace commented 1 year ago

Use chdman very easy process I did it for all mine and it works great. Great to see my original coming to use

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue is locked due to inactivity