Is it possible to use compressed roms in a flash card?

Discussion in 'NDS - Flashcarts and Accessories' started by GoldenSun3DS, May 12, 2013.

  1. GoldenSun3DS
    OP

    GoldenSun3DS GBAtemp Regular

    Member
    264
    34
    Apr 27, 2013
    United States
    Like .Rar, .7z, or .Zip?
    The reason I ask is because I only have a 2GB MicroSD Card and space will become an issue. Especially when 500MB roms like Pokemon B2 could easily become 250MB if compressed.
    My card is the R4i Gold 3DS Revolution from nds-card.com btw, incase it matters.
     
  2. bobmcjr

    bobmcjr GBAtemp Advanced Fan

    Member
    895
    334
    Apr 26, 2013
    United States
  3. GoldenSun3DS
    OP

    GoldenSun3DS GBAtemp Regular

    Member
    264
    34
    Apr 27, 2013
    United States
    How efficient is TokyoTrim? Also, would it be possible to later reverse the trim (without the original file)?
     
  4. Sicklyboy

    Sicklyboy Resident Mechanical Keyboard Addict

    Global Moderator
    5,714
    4,679
    Jul 15, 2009
    United States
    [̲̅$̲̅(̲̅ ͡° ͜ʖ ͡°̲̅)̲̅$̲̅]
    Very efficient but it depends on the ROM, it removes all unnecessary padding/garbage data.

    You shouldn't need a patch if your cart isn't garbage.

    You can untrim it but there's generally no reason to. Emulators on the PC and other consoles handle trimmed ROMs just fine.
     
  5. Rydian

    Rydian Resident Furvert™

    Member
    27,883
    8,109
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
    Trimming can remove up to ~49% of the size of a ROM. But it can also remove less than 1%. Totally depends on the game.
     
  6. GoldenSun3DS
    OP

    GoldenSun3DS GBAtemp Regular

    Member
    264
    34
    Apr 27, 2013
    United States
    Wow, that sounds about as good as RAR compression.
     
  7. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,089
    8,589
    Oct 27, 2002
    France
    Engine room, learning
    ROMs doesn't compress well in zip/rar anyway, you will have better file size by removing unused trailing bytes (trimming all the 0 after the actual game's data size).
    if you used zip/rar on your flashcard, you would need to extract it every time before launching the game as the DS doesn't have a background processor to do it while playing, and you would end twice the size of the game on your SD card.
     
  8. N!ck

    N!ck Member

    Newcomer
    26
    0
    Jan 20, 2011
    United States
    Flashcarts aren't capable of running compressed games. You can trim the ROM files though.
     
  9. Coto

    Coto GBAtemp Addict

    Member
    2,353
    403
    Jun 4, 2010
    Chile
    it's possible to remove 00's but not the other way around, you'd need to write somewhere where those 00's belong..
     
  10. Sicklyboy

    Sicklyboy Resident Mechanical Keyboard Addict

    Global Moderator
    5,714
    4,679
    Jul 15, 2009
    United States
    [̲̅$̲̅(̲̅ ͡° ͜ʖ ͡°̲̅)̲̅$̲̅]
  11. GoldenSun3DS
    OP

    GoldenSun3DS GBAtemp Regular

    Member
    264
    34
    Apr 27, 2013
    United States
    Anyone know if Lameboy can run GBC games from in zip folders?
    I have my GB/GBC romset with each individual roms in their own zip folders...