Hacking EZ4 kernel 2.02 released

EZ-Flash2

Official EZ-FLASH Stuff
OP
Member
Joined
Jul 16, 2003
Messages
1,109
Trophies
3
XP
3,484
Country
China
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.
 

Localhorst86

Robert'); DROP TABLE members;--
Member
Joined
Jul 17, 2014
Messages
2,739
Trophies
1
Location
Nintendo works for my dad
XP
5,362
Country
Germany
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.
 

Localhorst86

Robert'); DROP TABLE members;--
Member
Joined
Jul 17, 2014
Messages
2,739
Trophies
1
Location
Nintendo works for my dad
XP
5,362
Country
Germany
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.
 

EZ-Flash2

Official EZ-FLASH Stuff
OP
Member
Joined
Jul 16, 2003
Messages
1,109
Trophies
3
XP
3,484
Country
China
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.


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

Bart Lemming

Gēmu Bōi mikuro
Member
Joined
Feb 25, 2004
Messages
353
Trophies
2
Location
Mute City
XP
582
Country
United Kingdom
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 )!
 

Hanafuda

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
4,497
Trophies
2
XP
6,972
Country
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.
 

Bart Lemming

Gēmu Bōi mikuro
Member
Joined
Feb 25, 2004
Messages
353
Trophies
2
Location
Mute City
XP
582
Country
United Kingdom
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?
 

Localhorst86

Robert'); DROP TABLE members;--
Member
Joined
Jul 17, 2014
Messages
2,739
Trophies
1
Location
Nintendo works for my dad
XP
5,362
Country
Germany
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?

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.
 

migles

All my gbatemp friends are now mods, except for me
Member
Joined
Sep 19, 2013
Messages
8,033
Trophies
0
Location
Earth-chan
XP
5,299
Country
China
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?
 

Localhorst86

Robert'); DROP TABLE members;--
Member
Joined
Jul 17, 2014
Messages
2,739
Trophies
1
Location
Nintendo works for my dad
XP
5,362
Country
Germany
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?
It puts any game to sleep. Not a feature I ever used.
 

Bart Lemming

Gēmu Bōi mikuro
Member
Joined
Feb 25, 2004
Messages
353
Trophies
2
Location
Mute City
XP
582
Country
United Kingdom
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.


Thanks for that. Had a brainfart. :wacko:
 

migles

All my gbatemp friends are now mods, except for me
Member
Joined
Sep 19, 2013
Messages
8,033
Trophies
0
Location
Earth-chan
XP
5,299
Country
China
It puts any game to sleep. Not a feature I ever used.
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)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro