Use EZ Flash 3 in 1 Expansion Pack for rumble in GBA games?

eXtremeDevil

Well-Known Member
OP
Member
Joined
Sep 5, 2012
Messages
137
Trophies
1
XP
528
Country
Now that I'm trying to use my EZ Flash 3 in 1 Expansion Pack again on my DS Lite, and given the fact that I'm trying the rumble function for the first time (it works great), today I wondered if maybe GBA games with the rumble function (I know they are only a few) would actually rumble if played on that cart. I guess not, but, I though of asking here.

Thanks in advance!
 

metroid maniac

An idiot with an opinion
Member
Joined
May 16, 2009
Messages
2,164
Trophies
2
XP
3,274
Country
I was able to find some source code for how rumble works on this cart, so it may be possible to write patches for such games if no such patches exist yet. Especially since several GBA games have similar patches for the EZ Flash Omega Definitive Edition already.
void SetShake(u16 data) { *(vuint16 *)0x9fe0000 = 0xd200; *(vuint16 *)0x8000000 = 0x1500; *(vuint16 *)0x8020000 = 0xd200; *(vuint16 *)0x8040000 = 0x1500; *(vuint16 *)0x9E20000 = data; *(vuint16 *)0x9fc0000 = 0x1500; }
 

eXtremeDevil

Well-Known Member
OP
Member
Joined
Sep 5, 2012
Messages
137
Trophies
1
XP
528
Country
I was able to find some source code for how rumble works on this cart, so it may be possible to write patches for such games if no such patches exist yet. Especially since several GBA games have similar patches for the EZ Flash Omega Definitive Edition already.
void SetShake(u16 data) { *(vuint16 *)0x9fe0000 = 0xd200; *(vuint16 *)0x8000000 = 0x1500; *(vuint16 *)0x8020000 = 0xd200; *(vuint16 *)0x8040000 = 0x1500; *(vuint16 *)0x9E20000 = data; *(vuint16 *)0x9fc0000 = 0x1500; }
So, not openly available, but possible. Good to know. I have no idea how to patch games so, maybe in the future someone can give us some light about this. Thanks!
 

Wokann

Member
Newcomer
Joined
Feb 6, 2023
Messages
23
Trophies
1
Age
27
XP
453
Country
Hong Kong
Yes, ez3in1 Do can rumble while playing gba game. Different from the gba original rumble port (GPIO), ez has its own rumble port like what #2 said. And also the ez rumble port has some slight difference between ez3in1 and ezode. So we can't use the rumble tutorial EZteam supportting for ezode directly in ez3in1.
I've listed the detail in another post, and make an example code to support rumble in all of GPIO, ezode, ez3in1. You can see that.
https://gbatemp.net/threads/gamecube-gba-rumble-games-and-rom-hacked-rumble.589863/post-10236322
And I've also used this code in my rom hack project (a chinese translation project of Pokemon Pinball Ruby&Sapphire jp). You can see the rumble codes in /src. Or use this patch to run in your ez3in1 to experience its rumble. Here is my projct link:
https://github.com/Wokann/PokemonPinballRubySapphire_CHN
If you want ez3in1 to play the gba game which original has rumble function (GPIO), for now you may find the code where it use GPIO, and insert the ez
rumble port after it to active rumble in ez3in1. (ezode dont have this worry, cause ezode support both original rumble port (GPIO) and ez rumble port.)
 
Last edited by Wokann,
  • Like
  • Love
Reactions: BETA215 and DSoryu

eXtremeDevil

Well-Known Member
OP
Member
Joined
Sep 5, 2012
Messages
137
Trophies
1
XP
528
Country
Yes, ez3in1 Do can rumble while playing gba game. Different from the gba original rumble port (GPIO), ez has its own rumble port like what #2 said. And also the ez rumble port has some slight difference between ez3in1 and ezode. So we can't use the rumble tutorial EZteam supportting for ezode directly in ez3in1.
I've listed the detail in another post, and make an example code to support rumble in all of GPIO, ezode, ez3in1. You can see that.
https://gbatemp.net/threads/gamecube-gba-rumble-games-and-rom-hacked-rumble.589863/post-10236322
And I've also used this code in my rom hack project (a chinese translation project of Pokemon Pinball Ruby&Sapphire jp). You can see the rumble codes in /src. Or use this patch to run in your ez3in1 to experience its rumble. Here is my projct link:
https://github.com/Wokann/PokemonPinballRubySapphire_CHN
If you want ez3in1 to play the gba game which original has rumble function (GPIO), for now you may find the code where it use GPIO, and insert the ez
rumble port after it to active rumble in ez3in1. (ezode dont have this worry, cause ezode support both original rumble port (GPIO) and ez rumble port.)
Cool, thanks!
 

Indy13

Well-Known Member
Member
Joined
Jan 26, 2017
Messages
673
Trophies
0
Age
46
XP
1,578
Country
France
I made some ez3in1 rumble patch for Drill Dozer.
you can see this post:
https://gbatemp.net/threads/drill-dozer-rumble-patch-for-ez3in1.661260/
This is really great, thank you for everything! I've been looking for years how to make the rumble work with the gba games on GBAExploader now I know that the game had to be patched everything is clear now! :)

Do you think it would be possible to have an EZ3in1 patch for Pokemon Pinball Ruby Sapphire (us or eur version) and Butano Fighter?

https://gbatemp.net/download/butano-fighter.36827/
 

Wokann

Member
Newcomer
Joined
Feb 6, 2023
Messages
23
Trophies
1
Age
27
XP
453
Country
Hong Kong
This is really great, thank you for everything! I've been looking for years how to make the rumble work with the gba games on GBAExploader now I know that the game had to be patched everything is clear now! :)

Do you think it would be possible to have an EZ3in1 patch for Pokemon Pinball Ruby Sapphire (us or eur version) and Butano Fighter?

https://gbatemp.net/download/butano-fighter.36827/
Surely possible. if you see my previous reply, I've already made chinese translation based on pokemon pinball ruby&sapphire (JP) which supports all of ezode rumble, IG cartridge rumble and ez3in1 rumble last year. And the source code of rumble also posted on that github link.
As far as I known, this is the first patched GBA game which supports ez3in1 rumble.
 
Last edited by Wokann,
  • Like
Reactions: Indy13

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    AncientBoi @ AncientBoi: Hewo