I need help with godmode9, I need to decrypt many cias for citra but it takes me a long time because I can't select many cias at the same time because my L and R buttons don't work, is there a way or something to modify the godmode9 buttons?
I think to fix that error you just need to install firmtool, should just beI can't even compile it. maybe @Pk11 can help both of us:
C:\Users\GODREBORN\Desktop\a\GodMode9>make firm
Building arm9/arm9.elf
make[1]: Nothing to be done for 'all'.
Building arm11/arm11.elf
make[1]: Nothing to be done for 'all'.
Creating output/vram0.tar
add: aeskeydb.bin
add: easter.bin
add: font_default.frf
add: GodMode9_splash.png
[FLAVOR] GodMode9
[VERSION] v2.1.1-1-g658c9b49
[BUILD] 2022-05-24 19:07:12
[FIRM] output/GodMode9.firm
/opt/devkitpro/msys2/usr/bin/python3.exe: No module named firmtool
make: *** [Makefile:99: firm] Error 1
pip install -U git+https://github.com/TuxSH/firmtool.git
as per the README. (Depending on how Python is installed you may need to swap pip for pip3
, python3 -m pip
, or py -3 -m pip
)It seems it's very simple to swap around the buttons, just gotta swap around a couple defines. I've attached a build with L/SELECT and R/START swapped, I didn't change anything visually so just press SELECT whenever it says L and START whenever it says R, I picked those since they're rarely used but I can do something else if needed.I need help with godmode9, I need to decrypt many cias for citra but it takes me a long time because I can't select many cias at the same time because my L and R buttons don't work, is there a way or something to modify the godmode9 buttons?
diff --git a/common/hid_map.h b/common/hid_map.h
index 7f2ac2a..083f04b 100755
--- a/common/hid_map.h
+++ b/common/hid_map.h
@@ -2,14 +2,14 @@
#define BUTTON_A ((u32)1 << 0)
#define BUTTON_B ((u32)1 << 1)
-#define BUTTON_SELECT ((u32)1 << 2)
-#define BUTTON_START ((u32)1 << 3)
+#define BUTTON_SELECT ((u32)1 << 9)
+#define BUTTON_START ((u32)1 << 8)
#define BUTTON_RIGHT ((u32)1 << 4)
#define BUTTON_LEFT ((u32)1 << 5)
#define BUTTON_UP ((u32)1 << 6)
#define BUTTON_DOWN ((u32)1 << 7)
-#define BUTTON_R1 ((u32)1 << 8)
-#define BUTTON_L1 ((u32)1 << 9)
+#define BUTTON_R1 ((u32)1 << 3)
+#define BUTTON_L1 ((u32)1 << 2)
#define BUTTON_X ((u32)1 << 10)
#define BUTTON_Y ((u32)1 << 11)
#define BUTTON_ANY 0x00000FFF
That's what I tried doing, but it still errors. It built firmware tool, but it's not in devkitPro. Do I need to put it in tools?I think to fix that error you just need to install firmtool, should just bepip install -U git+https://github.com/TuxSH/firmtool.git
as per the README. (Depending on how Python is installed you may need to swap pip forpip3
,python3 -m pip
, orpy -3 -m pip
)
It seems it's very simple to swap around the buttons, just gotta swap around a couple defines. I've attached a build with L/SELECT and R/START swapped, I didn't change anything visually so just press SELECT whenever it says L and START whenever it says R, I picked those since they're rarely used but I can do something else if needed.
Diff:diff --git a/common/hid_map.h b/common/hid_map.h index 7f2ac2a..083f04b 100755 --- a/common/hid_map.h +++ b/common/hid_map.h @@ -2,14 +2,14 @@ #define BUTTON_A ((u32)1 << 0) #define BUTTON_B ((u32)1 << 1) -#define BUTTON_SELECT ((u32)1 << 2) -#define BUTTON_START ((u32)1 << 3) +#define BUTTON_SELECT ((u32)1 << 9) +#define BUTTON_START ((u32)1 << 8) #define BUTTON_RIGHT ((u32)1 << 4) #define BUTTON_LEFT ((u32)1 << 5) #define BUTTON_UP ((u32)1 << 6) #define BUTTON_DOWN ((u32)1 << 7) -#define BUTTON_R1 ((u32)1 << 8) -#define BUTTON_L1 ((u32)1 << 9) +#define BUTTON_R1 ((u32)1 << 3) +#define BUTTON_L1 ((u32)1 << 2) #define BUTTON_X ((u32)1 << 10) #define BUTTON_Y ((u32)1 << 11) #define BUTTON_ANY 0x00000FFF
Hmm, maybe tryThat's what I tried doing, but it still errors. It built firmware tool, but it's not in devkitPro. Do I need to put it in tools?
/opt/devkitpro/msys2/usr/bin/python3.exe -m pip install -U git+https://github.com/TuxSH/firmtool.git
actually, looks like msys2 has its own special Python so try explicitly using its pip.this error'd in windows. and, it says that it has to do with the package.Hmm, maybe try/opt/devkitpro/msys2/usr/bin/python3.exe -m pip install -U git+https://github.com/TuxSH/firmtool.git
actually, looks like msys2 has its own special Python so try explicitly using its pip.
Are you using msys2 or cmd? If you're using cmd might need to dothis error'd in windows. and, it says that it has to do with the package.
C:\opt\devkitpro\msys2\usr\bin\python3.exe -m pip install -U git+https://github.com/TuxSH/firmtool.git
(or whatever the exact path is, might need to leave out the "opt\")Ah weird... Afraid I'm not sure why that would happen...View attachment 311351
I got it to work in linux easily. there always seem to be issues with windows. here's the error:
View attachment 311353
I give up on it. I figured out where the files are supposed to go, but once I got to no module _cffi_backend, I couldn't figure out how to fix it. it may not work in windows cmd prompt or at least, it takes a lot of struggling to force it to work.Ah weird... Afraid I'm not sure why that would happen...