DS-Homebrew / TWiLightMenu

DSi Menu replacement for DS/DSi/3DS/2DS
https://wiki.ds-homebrew.com/twilightmenu/
GNU General Public License v3.0
3.29k stars 206 forks source link

Reduce file size? #1227

Open mariomadproductions opened 4 years ago

mariomadproductions commented 4 years ago

Currently the app is quite large for a DS homebrew.

Some ideas for reducing the size of the data:

Apologies if this comes off as interfering or rude. It just seems like a sensible idea.

RocketRobz commented 4 years ago
chyyran commented 4 years ago

PNG and RAW audio are used for ease of customization. We used to use BMPs before which were even larger and still were harder to customize.

As with many things there is always a time-space tradeoff with compression. SD card space might be at a more of a premium than other mediums but CPU time is the most precious resource on the DS. More heavy compression (especially with time sensitive audio) might be pretty infeasible with the slow ARM CPUs if we want to keep up any semblance of performance.

mariomadproductions commented 4 years ago

I guess the solution to the "ease of customization" in regard to images is to provide simple tools to convert from png to whatever smaller format. For images, compression doesn't necessarily need to be used to reduce the file size. Tiled graphics, like commercial games use, can be smaller without requiring any or much extra CPU time.

chyyran commented 4 years ago

There are certain structural reasons why tiled graphics would be difficult with the current VRAM layout and graphics libraries... It's something to be improved on but will require a lot of work. Not to mention that the tools available to create and edit tilemaps aren't the most documented.

Peter0x44 commented 3 years ago

1411 reduces file size considerably overall, since the AP patches no longer have to be in separate files

RocketRobz commented 7 months ago

LTO has also reduced file size slightly. 4f0e04480