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

eXtremeDevil

Well-Known Member
OP
Member
Joined
Sep 5, 2012
Messages
130
Trophies
1
XP
486
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,086
Trophies
2
XP
2,627
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
130
Trophies
1
XP
486
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
11
Trophies
0
Age
26
XP
240
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
Reactions: DSoryu

eXtremeDevil

Well-Known Member
OP
Member
Joined
Sep 5, 2012
Messages
130
Trophies
1
XP
486
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!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: The cybertruck is a death trap.