EZ4 kernel 2.02 released

Discussion in 'GBA - Flashing Hardware and Software' started by EZ-Flash2, Jul 12, 2017.

  1. EZ-Flash2
    OP

    EZ-Flash2 Member

    Newcomer
    36
    52
    Jul 16, 2003
    Switzerland
    http://www.ezflash.cn/ez-flash-iv-kernel-2-02-released/

    We added GLOBAL SOFTRESET AND SLEEP(GSS) patch and customized hotkey configuration file.

    default softreset key combination is “L + UP + B”, default sleep key combination is “L + R + START”, default wake up key combination is “START + SELECT”.

    Some games can not apply the GSS patch properly, you can use “L+B” to launch them without GSS patch.

    If you want to set your own hotkey combination, there is a file named “KEYSET.CFG” in the EZ4Kernel 2.02 package. please check it out. This file must placed in the root of SD card.

    We also made a quick tutorial at here

    Jump to download

    Credits: @kuwanger Thanks for the softreset and sleep hack code.
     
    DaRk_ViVi, Madridi, cearp and 7 others like this.


  2. slaphappygamer

    slaphappygamer GBAtemp Maniac

    Member
    1,048
    158
    Nov 30, 2008
    United States
    California
    It's so great that this card is still getting updated. Thanks for the heads up.
     
  3. Localhorst86

    Localhorst86 GBAtemp Advanced Fan

    Member
    844
    423
    Jul 17, 2014
    Germany
    My Nintendo works for Dad
    nice to see this. I already applied my skin to it, can't wait to test this later.
     
    tiduscrying and slaphappygamer like this.
  4. Localhorst86

    Localhorst86 GBAtemp Advanced Fan

    Member
    844
    423
    Jul 17, 2014
    Germany
    My Nintendo works for Dad
    I have noticed an issue with a few ROMs when writing them to NOR. The following games would write to NOR, but would result in a filesize on the NOR of 8448Kb instead of the regular 8192Kb.
    That's So Raven (USA).gba (CRC32: 8E190698)
    Banjo-Kazooie - Grunty's Revenge (Europe) (En,Fr,De).gba (CRC32: FB4F38E2)

    Now, at first I thought the issue could be the apostrophe (special character) in the name so I tried removing that. But that didn't work, the games would still cause this issue. And then I came across "Ab durch die Hecke (Germany).gba" (CRC32: 31E57A19) which also acted the same way. There are no special characters in the name. The only thing these games have in common is that they are all using an EEPROM Save type. But other games that use EEPROM saving are fine.

    Can someone verify these issues using these three games?

    That's So Raven (USA).gba (CRC32: 8E190698)
    Banjo-Kazooie - Grunty's Revenge (Europe) (En,Fr,De).gba (CRC32: FB4F38E2)
    Ab durch die Hecke (Germany).gba (CRC32: 31E57A19)

    Note: I've tried with the official 2.02 release of the kernel and fresh ROMs and SD Cards. I know for certain that Banjo-Kazooie worked perfectly fine from NOR on 2.01 but now just reset loops on 2.02 due to the bigger file size on NOR.

    None of the ROMs I am using are trimmed.
     
  5. Localhorst86

    Localhorst86 GBAtemp Advanced Fan

    Member
    844
    423
    Jul 17, 2014
    Germany
    My Nintendo works for Dad
    Ok, I figured it out (sorry for tripple posting, but I figured it would be better to have the sollution/findings in a separate post instead of burried "within" the issue.

    I noticed what these three games have in common: They don't contain any padding, or have been purposely manipulated by the developers to *appear* not to be padded (The last 8 bytes of "That's so Raven" and "Ab durch die Hecke" reads "baisoku!")

    It seems as if the GSS Patch gets appended to the end of the ROM if it can't find any padding, increasing the size on NOR by 256Kb, presumably due to NOR block sizes (the GSS patch is probably a lot smaller but write operations on the NOR are probably alligned in 256Kb blocks).

    On a side note: The EZ-Flash Team has overlooked of documenting a feature when writing to NOR: If you write a ROM to NOR you can decide of you want the GSS Patch to be applied (by pressing Select) or not (by pressing L+Select). This is very usefull since launching a GSS Patched game off of the NOR will always activate the GSS Patch even if you launch it with L+B. The 256Kb still gets appended when writing to the NOR without the patch enabled, my guess is they are only not patching in the instructions to the game code to execute the GSS Patches.

    So, everything's working at least, not sure if appending the additional 256Kb block might cause issues with "non-trimmable" 128Mbit ROMs, though.
     
  6. EZ-Flash2
    OP

    EZ-Flash2 Member

    Newcomer
    36
    52
    Jul 16, 2003
    Switzerland

    it will be fixed in next release, the quick tutorial also fixed.
     
  7. droople

    droople GBAtemp Regular

    Member
    161
    36
    May 20, 2006
    Australia
    Nice work! If the EZ4 support RTC, it will be perfect.

    I'm still have two EZ3, its a shame the driver not working under win7 64x.
     
    slaphappygamer likes this.
  8. Bart Lemming

    Bart Lemming Gēmu Bōi mikuro

    Member
    333
    20
    Feb 25, 2004
    United Kingdom
    Mute City
    Great news! I'm so glad that these features were added. I'm also really happy to see that you've been working with kuwanger - One of the last bastions of the GBA hacking glory days. :) Here's hoping that GB/GBC and NES drag'n'drop can become a thing (still dreaming. :P )!
     
  9. PoppaDre

    PoppaDre GBAtemp Regular

    Member
    146
    58
    Aug 23, 2016
    Canada
    do i need the .pat file in the PATCH folder on the sd card once its flashed?
     
  10. migles

    migles Mei the sexiest bae

    Member
    GBAtemp Patron
    migles is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    6,806
    4,568
    Sep 19, 2013
    Saint Kitts and Nevis
    my dad works for nintendo.
    for rtc needs a new card...
     
  11. droople

    droople GBAtemp Regular

    Member
    161
    36
    May 20, 2006
    Australia
    Yeah, I should say if the EZ4 could support.
     
  12. Hanafuda

    Hanafuda GBAtemp Advanced Maniac

    Member
    1,862
    660
    Nov 21, 2005
    United States
    Sleep hack is awesome. Awesome, awesome. I'm not having a lot of success with the global reset hotkey though. Actually, none so far, but I've only tried a few games. Can someone suggest a game for which the global reset code is known to work, so I can see it (or figure out what I'm doing wrong)? Ty.
     
  13. PoppaDre

    PoppaDre GBAtemp Regular

    Member
    146
    58
    Aug 23, 2016
    Canada
    whats the patch folder for? and i cant put metroid zero to sleep mode? any reason why? the rom?
     
  14. Bart Lemming

    Bart Lemming Gēmu Bōi mikuro

    Member
    333
    20
    Feb 25, 2004
    United Kingdom
    Mute City
    Having issues with Kirby - Nightmare in Dream Land. Game loads but when I push START the game freezes.

    I've tried both (U) and (E) ROMs from No-Intro and GoodGBA... Anyone else have this problem?
     
  15. Localhorst86

    Localhorst86 GBAtemp Advanced Fan

    Member
    844
    423
    Jul 17, 2014
    Germany
    My Nintendo works for Dad
    Q: My game crashes/behaves oddly when I launch it from PSRAM (example: Banjo-Kazooie - Grunty's Revenge)
    A: The GSS Patch is not 100% compatible with all games, some games simply wont work with the patch running. The EZ-Flash Team has provided us with a way of launching the games without the GSS Patch enabled. Simply launch the Game with the button combination "L+B" from the file selection menu.
     
  16. migles

    migles Mei the sexiest bae

    Member
    GBAtemp Patron
    migles is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    6,806
    4,568
    Sep 19, 2013
    Saint Kitts and Nevis
    my dad works for nintendo.
    i am gonna stay with the 2.01 for now. this one seems to be a really good one and stable.. while the 2.02 gets fixed\better

    what are the sleep hacks for? to put any game to sleep, or to make the games that come with the sleep function work?
     
  17. Localhorst86

    Localhorst86 GBAtemp Advanced Fan

    Member
    844
    423
    Jul 17, 2014
    Germany
    My Nintendo works for Dad
    It puts any game to sleep. Not a feature I ever used.
     
  18. Bart Lemming

    Bart Lemming Gēmu Bōi mikuro

    Member
    333
    20
    Feb 25, 2004
    United Kingdom
    Mute City

    Thanks for that. Had a brainfart. :wacko:
     
  19. migles

    migles Mei the sexiest bae

    Member
    GBAtemp Patron
    migles is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    6,806
    4,568
    Sep 19, 2013
    Saint Kitts and Nevis
    my dad works for nintendo.
    i rather not use it cuz game compatibility and may break stuff...
    i had the "in game menu" patch in my flashcarts, some games had issues with it for example graphical glitches

    btw, i seen they also patch soft reset.. whats the difference between that, and the normal softreset (start+select+a+b)
     
  20. JCR1

    JCR1 GBAtemp Regular

    Member
    190
    20
    Jun 25, 2011
    Mexico
    I suggest to the ez team the option of enable/disable gss on the ez menu.