TASEmulators / desmume

DeSmuME is a Nintendo DS emulator
http://desmume.org
GNU General Public License v2.0
2.99k stars 547 forks source link

[linux+?] gzip streaming of .zip files tanks performance #853

Open rofl0r opened 5 days ago

rofl0r commented 5 days ago

State your operating system:

Linux gtk2 / cli

DesMuME version

git master

Issue

at least in the game "captain america (u)", using above frontends, the gzip streaming of a .zip archive, which appears to be on-the-fly, heavily affects performance between level section switches, resulting in high cpu load, low fps, and stuttering sound on a mid-level x86 device. using the extracted .nds file instead results in perfect performance. since most NDS games are < 100 mb, it may be better to extract the entire file to ram once on startup instead. i'm posting this both as a reminder and to hear @zeromus' thoughts, since his absence on IRC makes chatting difficult ;)

zeromus commented 5 days ago

zeromus has nothing useful to add for the linux frontend. I'm skeptical that the gzip is done on the fly, otherwise it would be absurdly slow. gzip is not "seekable".