EZ Flash 4 extracting skin

Discussion in 'GBA - Flashing Hardware and Software' started by 8BitWalugi, Jan 25, 2016.

  1. 8BitWalugi
    OP

    8BitWalugi Taiyohhhhhh!

    Member
    3,422
    273
    Mar 22, 2008
    Australia
    Side 7
    Hey there,
    I want to update my EZ Flash's firmware, but I don't want to lose my skin in the process. The skin I'm using is Dr. Meat's Mother 3 skin (found here, mirrors on the last page of the same thread).

    I was wondering what I could do to extract the skin from the update file. Is it possible? I was considering manually remaking the skin but I can't exactly emulate the EZ4's firmware, can I?

    Thanks in advance for any help at all.
     
  2. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,361
    9,156
    Nov 21, 2005
    The links on that thread seem to be dead, last page too.

    Anyway there have been some tools at various points that could extract things ( http://ezflash.sosuke.com/viewtopic.php?f=9&t=2601 being the one most would remember), however I neglected to mirror/take copies of them and I am not sure if I ever heard back a few years ago when I contacted http://ezflash.sosuke.com/viewtopic.php?t=2712 (le.schtroumpf.j there, le.schtroumpf.jedi elsewhere on the internet). I believe they are packed in GBFS ( https://pineight.com/gba/#gbfs ) for the GBA side of the loader where the DS side uses JPG of various forms in a fairly standard DS ROM makeup. I remember trying some things before and getting somewhere but not to the level of "here is a batch file, have at it" which is what some of the tools I mentioned did.

    Technically you can emulate the loaders too. Various people have disabled checks/features that emulators do not support.
     
  3. 8BitWalugi
    OP

    8BitWalugi Taiyohhhhhh!

    Member
    3,422
    273
    Mar 22, 2008
    Australia
    Side 7
    Thank you for the fast reply! I saw a post you made about the GBFS and tried to open it up, but all I ended up getting was 2 corrupt files (One was 2GB in size, something doesn't seem right)

    How would I go about disabling the checks? When I boot the ezfla_up.bin in VBA it just freezes at the "No disk" screen.

    EDIT: I realised it might be helpful to have access to the specific ezfla_up.bin I'm using, so I uploaded it here. If you can extract and post the graphics it'd be really appreciated!
     
    Last edited by 8BitWalugi, Jan 26, 2016
  4. kuwanger

    kuwanger GBAtemp Regular

    Member
    219
    87
    Jul 26, 2006
    mother3 skin bmp (and some other files for gba mode. No experience on the DS end, so you'll have to look elsewhere for that. And I don't really know if that's all the files. I made a dumb dumper some time ago, and it worked well enough for me. But, *shrug* if it's accurate/complete/whatever.
     
  5. 8BitWalugi
    OP

    8BitWalugi Taiyohhhhhh!

    Member
    3,422
    273
    Mar 22, 2008
    Australia
    Side 7
    Thank you so much Kuwanger!
    I figured while you're here, do you still have the files to this skin? I'm a big Boktai fan and would love to see your work!
     
  6. how_do_i_do_that

    how_do_i_do_that Blue Wizard is about to die.

    Member
    4,919
    256
    May 16, 2008
    Antarctica
    You have insufficient posts to view location.
    If you got the skin extractor 1.0, it would likely help everyone be able to update skinned versions.

    The one here, is dead.
     
  7. kuwanger

    kuwanger GBAtemp Regular

    Member
    219
    87
    Jul 26, 2006
    boktai.zip
    boktai_v2.zip
    default (Darth Vader) skin; includes dump.py for skin dumping

    Basically, I moved from kuwanger.net to kuwanger.altervista.org so you can change links accordingly. And all my skins, IIRC, include all the source images.

    As for dump.py, you'll need python v2. The images that are dumped are named .bmp but internally to the skin they're actually .bm files (a special, very simple, near-raw GBA specific image format). Included is a bm2ppm.py to convert individual files to ppm; I just use a script to actually convert bm->ppm and then ppm->bmp to get actual bmp files for actual usage with the skinning tool. Sorry it's so convoluted, but I really only got as far as making it work for me and ppm files are incredibly trivial to make.
     
  8. 8BitWalugi
    OP

    8BitWalugi Taiyohhhhhh!

    Member
    3,422
    273
    Mar 22, 2008
    Australia
    Side 7
    It's alright, thank you so much for your help so far!
    One more question, how do I skin firmware 1.77? Every time I run EZ4Skin it never writes to firmware 1.77. 1.720 however writes fine, so I'm pretty sure the newer firmware is the problem.

    EDIT: Turns out I was using an old version of EZ4 Skin. Now I'm using this one, however I don't know how to manually insert the asc.dat via hex editing, so I can't finish up my skin :/. Would you be able to help?

    EDIT 2: I got the font working, but I can't seem to get transparency working. I used your Boktai skin as a base, Kuwanger, and I made my own, but could you give me a hand in getting the transparency working? Here's the link and an image of it now.

    I get the feeling the problem lies in the firmware, because this is running 1.77 and your colour fixer/colour fixed skin is 1.72.

    [​IMG]
     
    Last edited by 8BitWalugi, Jan 28, 2016
  9. kuwanger

    kuwanger GBAtemp Regular

    Member
    219
    87
    Jul 26, 2006
    Yea, in part. IIRC, icons can be transparent and you can use full white (#ffffff). However, IIRC you can't use transparency in itemdesc.bmp. You can give it a try anyways with full white (as it has been a while so I could be wrong). And you're right, my fix_colors patcher was designed to use the upper-left pixel in icons and itemdesc.bmp as the transparency color to give more flexibility. But without the patches, you'll have to revert to how the official kernel does it. It might be trivial or a big pain to figure out where to patch the new firmware, but honestly I'm not too interested in trying.

    This is one reason I was really hoping at some point they'd open the code to the kernel. It'd also give me motivation to make themes independent of the firmware, among other things. But, *sigh*, it's unlike to happen. (Dreams of Pogoshell Plugin support for EZ4, among other things...)
     
  10. 8BitWalugi
    OP

    8BitWalugi Taiyohhhhhh!

    Member
    3,422
    273
    Mar 22, 2008
    Australia
    Side 7
    I see I see... Well, the Mother 3 skin uses white so I'll see how I go.

    Thank you yet again, I'll report back with how I went later.

    Edit: Everything was successful! Here's a new thread I made for the release of the skin
     
    Last edited by 8BitWalugi, Jan 28, 2016
  11. Luan.

    Luan. Newbie

    Newcomer
    1
    0
    Feb 26, 2016
    Mexico