Hacking EZ Flash IV 2.0 Kernel Release - No more patching

Bart Lemming

Gēmu Bōi mikuro
Member
Joined
Feb 25, 2004
Messages
353
Trophies
2
Location
Mute City
XP
582
Country
United Kingdom
I go away for a few days (not usuall a big deal in the GBA scene) and I come back to the 2.01 update with mention of possible further improvements later on. This is great news. :)

I've got a new-batch EZ-Flash on the way but I've only got my old one just now. Has anyone upgraded to 2.01 using a 2GB Sandisk MiniSD? How'd it go?

GBA Master Race, FTW! :P
 

Bart Lemming

Gēmu Bōi mikuro
Member
Joined
Feb 25, 2004
Messages
353
Trophies
2
Location
Mute City
XP
582
Country
United Kingdom
So, impatience got the better of me and I upgraded (using Localhorst's skinned version). It didn't work for me. :(

I've got a Sandisk 2GB mini SD card. The EZ IV seemed to update okay but then upon bootup the screen freezes on the EZ IV home screen and then black lines 'drip' down the screen until the whole thing sits there looking back at me with a totally black screen (?!)

Just thought I'd share my experience. I'm off to put 1.78 back on until my new cart arrives. :)

EDIT: Bugger. It seems I can't downgrade. Get the same outcome as above. I think I've killed my cart... RIP. She served me well. :(
 
Last edited by Bart Lemming,

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
So, impatience got the better of me and I upgraded (using Localhorst's skinned version). It didn't work for me. :(

I've got a Sandisk 2GB mini SD card. The EZ IV seemed to update okay but then upon bootup the screen freezes on the EZ IV home screen and then black lines 'drip' down the screen until the whole thing sits there looking back at me with a totally black screen (?!)

Just thought I'd share my experience. I'm off to put 1.78 back on until my new cart arrives. :)

EDIT: Bugger. It seems I can't downgrade. Get the same outcome as above. I think I've killed my cart... RIP. She served me well. :(
No. Try a different SD card. The lines are the usual sign that the SD isn't recognized. Note that SD compatibility has changed massively with the introduction of SDHC compatibility in the 1.75 release.

EDIT: since you mentioned you had a 2GB miniSD you surely have the white EZFlash IV model. Try using a micro SD(HC) with a mini SD adapter.
 
Last edited by Localhorst86,

Bart Lemming

Gēmu Bōi mikuro
Member
Joined
Feb 25, 2004
Messages
353
Trophies
2
Location
Mute City
XP
582
Country
United Kingdom
Well, it's good to know that I haven't killed my cart. Annoyingly, I don't have a micro to mini SD adapter or another mini SD card. I think I'll just have to wait until my new cart arrives in a few days.

It's interesting that I did have FW 1.78 on the card before I updated it but now I can't go back to it though... Maybe I'll try putting on an older version and try again. :)

@yamca: Just wondering what brand your card is?
 

xs4all

Well-Known Member
Member
Joined
Jun 9, 2008
Messages
721
Trophies
1
Location
37°16'55.2"N 115°47'58.6"W
XP
2,813
Country
Australia
Just repeating what everyone has already said about kernel 2.01, I have the Micro SDHC version of this card, and yes games loads faster after the first initial loading of the game.

FYI, just throwing it out there for those that are curious, I'm using a 16GB SanDisk Ultra UHS-I Class 10 MicroSD card. I have a total of 1,193 roms, pretty much every single USA/PAL with some JAP roms I could find on the card. Yes it's overkill, yes I'd probably never going to play every single game or any for that matter, but just the thought of having every game at my disposal is pretty neat.
 

Bart Lemming

Gēmu Bōi mikuro
Member
Joined
Feb 25, 2004
Messages
353
Trophies
2
Location
Mute City
XP
582
Country
United Kingdom
Thanks for sharing. :)

You jogged my memory and reminded me I had an old 512MB mini SD card. I thought it was Kingston. It's actually a Kingmax card - it didn't work. :(

Pie in the sky thought: I wonder if the auto patching thing can be retooled to allow 'native' support for GB/GBC/NES Roms... Would that require a special build of each emu (Goomba and PocketNES)?
 

kuwanger

Well-Known Member
Member
Joined
Jul 26, 2006
Messages
1,510
Trophies
0
XP
1,783
Country
United States
They could use something like Plugin2GBA. They certainly have my blessing to use it. The other advantage of that would be it'd support things like the jpg viewer, midi player, etc. :)

In any case, it'd be more complicated than what they're currently doing--copy one game and patch it in place. Even at the most basic level, a stripped down version would still be copying two files (the "patch" (with the emulator + pogoshell fake stuff) and the game). Of course the "better" way would be to have three files (the "path", the emulator, and the game). *shrug*

I'd definitely like to see it.
 

tiduscrying

that butt...
Member
Joined
Jun 12, 2012
Messages
509
Trophies
1
Location
HELL
Website
tiduscrying.wordpress.com
XP
2,491
Country
United States
They could use something like Plugin2GBA. They certainly have my blessing to use it. The other advantage of that would be it'd support things like the jpg viewer, midi player, etc. :)

In any case, it'd be more complicated than what they're currently doing--copy one game and patch it in place. Even at the most basic level, a stripped down version would still be copying two files (the "patch" (with the emulator + pogoshell fake stuff) and the game). Of course the "better" way would be to have three files (the "path", the emulator, and the game). *shrug*

I'd definitely like to see it.
Holy shit, that'd be godly. I've had the OG EZFlashIV for two years now and I always thought development has totally ceased on it since the GBA is so "old" but when the new Micro SD model came out along with the 1.7X firmwares, I was mildly excited for new stuff. Now with the 2.X firmwares, auto-patching and hopefully global IGR (and sleep, but I don't use it all that often tbh) coming soon I am hyped as all hell! If the EZ Team used your plugins to add more file support to the EZFlash browser.... man... That would just be what dreams are made of.
 
D

Deleted-236924

Guest
I for one am glad they're continuing support for the EZ4.

There was incentive to move on back in the DS days, and EZVi was nice (I still want to get one of those), but it's hard to compete against DSTwo+ and R4i Gold/AK2i right now, and 3DS is pretty much dead in terms of flashcards.

GBA on the other hand... only other option was the Everdrive which is a really good card, but it also costs an arm and a leg. Glad they recognized that and resumed making them, especially with microSD support (I've got the original miniSD model, good card, but my first miniSD failed on me and replacements are hard to come by, had to shell out like $25 for just a 2GB.)
EZ4 is super cheap and lacks some features but it's a really damn good GBA flashcard despite that. RTC I can deal without, and the required game patching was the main thing going against it but that's soon to be a thing of the past entirely.

Kind of too bad they already got my money for it years ago. I'd donate extra money for the work they've done on it since :P

I just hope the universal soft reset patch works with 100% compatibility. If it doesn't work on certain games and still requires manual patching then it's kinda eh.


btw, any games that require the hard reset to work properly anymore? I had issues back in the days with Yoshi's Island and someone gave me the 1.72RESET fw that does hard reset by default and that fixed it, I just hope that upgrading to 2.01 won't require me to hold L+A while loading certain games. Rather every game just work by default without having to do weird maneuvers :P (having hard reset be default behavior would be ideal tbh, it's only like 2-3 seconds longer when loading a game due to GBA bios logo but if it guarantees games will work properly then it's worth it.)
 

kuwanger

Well-Known Member
Member
Joined
Jul 26, 2006
Messages
1,510
Trophies
0
XP
1,783
Country
United States
AFAIK, no, they've never gotten around to fixing the soft reset. Basically, it required a lot of trial and error to get soft reset working properly in Pogoshell (and Prince's bustamove clone was a great help because of an odd glitch), but the result is that what I've got in my Pogoshell fork should be enough to copy. Basically:

memset((void *)(0x02000000), 0, 256*1024);
SETW(REG_IE, 0);
SETW(REG_IF, 0);
SETW(REG_IME, 0);

SETW(REG_DISPCNT, DISP_MODE_0 | DISP_BG1_ON );
SETW(REG_BG1CNT, 0);

p = (uint32 *)0x03007FC0;
for(i=0; i<4*4; i++)
p = 0;

SETW(REG_SOUNDBIAS, 0x0200);
reset();

in asm (arm in ram)
reset:
mov r0,#0xfc
swi #0x010000
swi #0x000000


I may or may not have cut out too much stuff (IIRC, something about a bit set in the 0x3007fxx range to do with how reset functions). In fact, I think my plugin2gba also does something about resetting the scroll registers because Dwedit's goomba color makes some presumptions about their default value. Been too long to be 100% certain.

tl;dr - Getting soft reset working properly is hard.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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