Homebrew [WIP] rehid:- Button remapping for 3ds

Fierfek

Member
Newcomer
Joined
May 26, 2020
Messages
22
Trophies
0
Age
29
XP
150
Country
United States
Mine crashes on boot. I'm using your most updated build above. Restarted holding select so I could enable game patching in Luma (I think I just have vanilla Luma, not sure how to check), put my json file in in rehid>[title id for Ocarina of Time], and it crashed (crash report attached). I tried putting the file just in rehid without the title id, now my console crashes on boot.

Any idea what I could be doing wrong?

My json:
{
"remappings":[
{"get":"R", "press":"L"}
{"get":"L", "press":"R"}
{"get":"A", "press":"B"}
{"get":"B", "press":"Y"}
{"get":"Y", "press":"A"}
{"get":"X", "press":"ZL"}
{"get":"A", "press":"ZR"}
]
}
 

Attachments

  • crash_dump_00000006.zip
    511 bytes · Views: 153

Kartik

Well-Known Member
OP
Member
Joined
Jun 6, 2015
Messages
653
Trophies
0
Location
github
XP
2,747
Country
India
Mine crashes on boot. I'm using your most updated build above. Restarted holding select so I could enable game patching in Luma (I think I just have vanilla Luma, not sure how to check), put my json file in in rehid>[title id for Ocarina of Time], and it crashed (crash report attached). I tried putting the file just in rehid without the title id, now my console crashes on boot.

Any idea what I could be doing wrong?

My json:
{
"remappings":[
{"get":"R", "press":"L"}
{"get":"L", "press":"R"}
{"get":"A", "press":"B"}
{"get":"B", "press":"Y"}
{"get":"Y", "press":"A"}
{"get":"X", "press":"ZL"}
{"get":"A", "press":"ZR"}
]
}
Your json is invalid. You're missing the commas after entries.
{
"keys":[
{"get":"R", "press":"L"},
{"get":"L", "press":"R"},
{"get":"A", "press":"B"},
{"get":"B", "press":"Y"},
{"get":"Y", "press":"A"},
{"get":"X", "press":"ZL"},
{"get":"A", "press":"ZR"}
]
 
  • Like
Reactions: Nutez

NanashiFinal13

Well-Known Member
Member
Joined
May 1, 2017
Messages
409
Trophies
0
Age
30
XP
2,668
Country
Argentina
Mine crashes on boot. I'm using your most updated build above. Restarted holding select so I could enable game patching in Luma (I think I just have vanilla Luma, not sure how to check), put my json file in in rehid>[title id for Ocarina of Time], and it crashed (crash report attached). I tried putting the file just in rehid without the title id, now my console crashes on boot.

Any idea what I could be doing wrong?

My json:
{
"remappings":[
{"get":"R", "press":"L"}
{"get":"L", "press":"R"}
{"get":"A", "press":"B"}
{"get":"B", "press":"Y"}
{"get":"Y", "press":"A"}
{"get":"X", "press":"ZL"}
{"get":"A", "press":"ZR"}
]
}
You can't remap ZL and ZR on Ocarina of Time, already try it and isn't working. It seems that you can only remap the extra buttons on games that support them. Like Majora's Mask or Dementium Remastered. Actually, Dementiurm Remastered doesn't use ZL and ZR at all, it use the C-Nub, but you can still remap it. If the game you want to remap use ZL, ZR or the C-Nub (even if just use one of buttons) you can remap the 3 buttons, but if the game doesn't use any of them, you can't remap them. Also, as the OP already say, your .json is invalid.
 
Last edited by NanashiFinal13,

Fierfek

Member
Newcomer
Joined
May 26, 2020
Messages
22
Trophies
0
Age
29
XP
150
Country
United States
Your json is invalid. You're missing the commas after entries.
{
"keys":[
{"get":"R", "press":"L"},
{"get":"L", "press":"R"},
{"get":"A", "press":"B"},
{"get":"B", "press":"Y"},
{"get":"Y", "press":"A"},
{"get":"X", "press":"ZL"},
{"get":"A", "press":"ZR"}
]

I'm so dumb, thanks!!

You can't remap ZL and ZR on Ocarina of Time, already try it and isn't working. It seems that you can only remap the extra buttons on games that support them. Like Majora's Mask or Dementium Remastered. Actually, Dementiurm Remastered doesn't use ZL and ZR at all, it use the C-Nub, but you can still remap it. If the game you want to remap use ZL, ZR or the C-Nub (even if just use one of buttons) you can remap the 3 buttons, but if the game doesn't use any of them, you can't remap them. Also, as the OP already say, your .json is invalid.

Oh, huh. That sucks, I hate how few games use them.
 
  • Like
Reactions: NanashiFinal13

Kartik

Well-Known Member
OP
Member
Joined
Jun 6, 2015
Messages
653
Trophies
0
Location
github
XP
2,747
Country
India
You can't remap ZL and ZR on Ocarina of Time, already try it and isn't working. It seems that you can only remap the extra buttons on games that support them. Like Majora's Mask or Dementium Remastered. Actually, Dementiurm Remastered doesn't use ZL and ZR at all, it use the C-Nub, but you can still remap it. If the game you want to remap use ZL, ZR or the C-Nub (even if just use one of buttons) you can remap the 3 buttons, but if the game doesn't use any of them, you can't remap them. Also, as the OP already say, your .json is invalid.

I'm so dumb, thanks!!



Oh, huh. That sucks, I hate how few games use them.
Try using this with oot3d, I think ZL/ZR should now work with these games.
 

Attachments

  • 0004013000001D02.zip
    46.3 KB · Views: 183

NanashiFinal13

Well-Known Member
Member
Joined
May 1, 2017
Messages
409
Trophies
0
Age
30
XP
2,668
Country
Argentina
I try it with Amazing Spider-Man and works great! Also works with Ocarina of Time, but for some reason, it freeze the console if you try to remap the ocarina touch button to select button, this issue was present with previous versions, so its probably a game issue. Its not that i care much about it, because ZR and ZL works great!
 

Kartik

Well-Known Member
OP
Member
Joined
Jun 6, 2015
Messages
653
Trophies
0
Location
github
XP
2,747
Country
India
I try it with Amazing Spider-Man and works great! Also works with Ocarina of Time, but for some reason, it freeze the console if you try to remap the ocarina touch button to select button, this issue was present with previous versions, so its probably a game issue. Its not that i care much about it, because ZR and ZL works great!
Please also try games, which already support zl/zr and check if remapping works correctly.
 

Kartik

Well-Known Member
OP
Member
Joined
Jun 6, 2015
Messages
653
Trophies
0
Location
github
XP
2,747
Country
India
This was apparently happening due to the missing accelerometer driver, should be fixed as soon as I figure out accelerometer calibration stuff.
Please try this with your games and check if they work again.
 

Attachments

  • 0004013000001D02.zip
    46.9 KB · Views: 161

MarioKartFan

Well-Known Member
Member
Joined
Aug 27, 2019
Messages
596
Trophies
0
XP
2,319
Country
Algeria
I love the idea behind this Project. But I cannot for the life of me get it to work.

1. I am running Luma 10.2.1. I have enabled Game Patching.
2. I have downloaded your latest release. I have extracted the folder 0004013000001D02 to /Luma/Titles.
3. I have created a folder named rehid in the root of my SD card.
4. I have created a rehid.json file containing one of the examples in your initial post.
5. The remapping is not working.
6. I tried also using a rehid.json file in a subfolder of /rehid/ with the TitleID of a specific game. The remapping still did not work.

Any ideas?
 

Kartik

Well-Known Member
OP
Member
Joined
Jun 6, 2015
Messages
653
Trophies
0
Location
github
XP
2,747
Country
India
I love the idea behind this Project. But I cannot for the life of me get it to work.

1. I am running Luma 10.2.1. I have enabled Game Patching.
2. I have downloaded your latest release. I have extracted the folder 0004013000001D02 to /Luma/Titles.
3. I have created a folder named rehid in the root of my SD card.
4. I have created a rehid.json file containing one of the examples in your initial post.
5. The remapping is not working.
6. I tried also using a rehid.json file in a subfolder of /rehid/ with the TitleID of a specific game. The remapping still did not work.

Any ideas?
From where did you download the release? From the gbatemp post or the github?
 

Kartik

Well-Known Member
OP
Member
Joined
Jun 6, 2015
Messages
653
Trophies
0
Location
github
XP
2,747
Country
India
Open rosalina menu, go to process list and check if they're is a process named rehid. Also for the release i posted in gbatemp thread, you need to create rehid.json differently.
 

MarioKartFan

Well-Known Member
Member
Joined
Aug 27, 2019
Messages
596
Trophies
0
XP
2,319
Country
Algeria
Good news is that rehid is in the process list. Can you explain what we need to do for the release posted in gbatemp to create rehid.json?

For example, my rehid.json states the following:
{
"keys":[
{"get":"CRIGHT", "press":"RIGHT"}
]
}
 
Last edited by MarioKartFan,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    I @ idonthave: :)