libretro / beetle-ngp-libretro

Standalone port of Mednafen NGP to the libretro API, itself a fork of Neopop.
GNU General Public License v2.0
11 stars 43 forks source link

Core Fails To Remove Temporarily Extracted ROMs on Exit #16

Closed Awakened0 closed 7 years ago

Awakened0 commented 8 years ago

On Windows the latest nightly build of this core leaves behind extracted ROMs after exiting. RetroArch seems to exit cleanly and save SRAM fine according to the log. Here are the lines where it mentions the failure:

RetroArch [INFO] :: Removing temporary content file: ....\Games\SNK Neo Geo Pocket Color\Dark Arms - Beast Buster 1999 (World) (En,Ja).ngc. RetroArch [ERROR] :: Failed to remove temporary file: ....\Games\SNK Neo Geo Pocket Color\Dark Arms - Beast Buster 1999 (World) (En,Ja).ngc.

Full log here: http://hastebin.com/enasudexab.tex

I have an older build of the core from 2015-7-17 that cleans up the temp file fine.

andres-asm commented 8 years ago

I think it's retroarch failing not the core itself, can you make sure to test both cores in the same RA version?

logs from the core read RetroArch [libretro INFO]

Awakened0 commented 8 years ago

Yes, I tested both in the same RA version, so I figured it was something in the core. I tried the latest core with both today's nightly and one from 2016-01-06 and both leave a temp file behind. With the older build of the core in each RA version neither leave anything behind.

andres-asm commented 8 years ago

Pretty weird...

On Mon, Jan 25, 2016 at 8:38 PM, Awakened0 notifications@github.com wrote:

Yes, I tested both in the same RA version, so I figured it was something in the core. I tried the latest core with both today's nightly and one from 2016-01-06 and both leave a temp file behind. With the older build of the core in each RA version neither leave anything behind.

— Reply to this email directly or view it on GitHub https://github.com/libretro/beetle-ngp-libretro/issues/16#issuecomment-174761400 .

Jacklaleyn commented 7 years ago

any posible solution? same problem here

klepp0906 commented 7 years ago

mine does this as well. While not the ideal solution you can set the directory to the windows temp folder ;p

I use symlinks to manage alot of stuff without using additional space and the fact this was extracting and leaving remnants in the symlink only folders meant i was gaining not saving space ;p