It is technically possible. The flashcard would have to unpack the rom onthefly. This would probably require memory in the flashcard though.Is it not technically possible for ROMs to run out of zip archive or similar? If not, then why.
If flashcarts don't have enough or any memory then it is not technically possible. Do flashcarts have enough memory to run carts in this way or not?It is technically possible. The flashcard would have to unpack the rom onthefly. This would probably require memory in the flashcard though.
Can't you be a lil' more polite please - -' !!Can you quit posting utter bullshit please. The only person who made a sensible reply was maikelsteneker. This has NOTHING to do with emulators. In case you hadn't have already noticed, this is the R4 and flashcart forum and nowhere in my post did I mention emulators.
I can positively assert that "additional" compression would not be a waste of time. I can typically reduce ROM sizes by well over 50% using various algorithms.Not to mention about 60% of roms these days already have their internal code and/or pictures/sound.... compressed: compression on top of compression does not give great results: pull apart a DS rom and see how many files have LZ in their name or start of the file.
as far as i know trimming doesnt have anything to do with compression. its just simply removing "empty" junk data...Various carts (the RAM based ones) use simple compression like LZ/huffman/RLE (which the GBA/DS can decode with BIOS functions) for GBA but seen as DS roms currently are up at 128 megs and do not often require a fast bit of memory then no. You could decompress to empty space on the NAND/?SD but time taken would be horrendous .
Not to mention about 60% of roms these days already have their internal code and/or pictures/sound.... compressed: compression on top of compression does not give great results: pull apart a DS rom and see how many files have LZ in their name or start of the file.
I dare say as most people maintain a clean set of roms the majority of compression seen is normally the junk bytes at the end of the rom (in various cases they can be almost half the rom: snowboard kids USA is 34 megs after trimming if memory serves).
Dear sir, you are an idiot!Just to cite a few examples of trimmed roms that I have then compressed with RAR compression:
Castlevania - Portrait of Ruin (E) 50MB -> 25MB
Digimon World (U) 57MB -> 18MB
Phoenix Wright - Justice For All (E) 32MB -> 13MB
Picross (E) 33MB -> 4MB
Pokémon Diamond (U) 61MB -> 18MB
Sim City (E) 56MB -> 7MB
I think there's no more need to question whether compression would be a valuable space saving endeavour.
So back to the topic question, would it be feasible to support compression on flashcarts. As arctic_flame mentioned, one method is to decompress before execution which would take time. Alternatively, as maikelsteneker mentioned, it may be possible to decompress on-the-fly but would require memory on the flashcart.