J2ME-Loader
J2ME-Loader copied to clipboard
怨天奇谋 - volume keys are needed
Emulator version: 1.55 Game resolution: 240x320
Device: Xiaomi Redmi3
Android version:
5.1
Description of the issue:
Volumekeys are needed in some games. For this example《天剑奇侠传-典藏版(怨天奇谋)》.
@nikita36078
Why the rush?
Why the rush?
This game is my overdue pity that I should have accomplished ten years ago in Symbian Age. It can't be pass through without the Volumekey, which is the reason why I'm eager.
Could you send me a save before this moment? It's located in J2ME-Loader/data/怨天奇谋
Could you send me a save before this moment? It's located in J2ME-Loader/data/怨天奇谋
I'm sorry I have already passed the moment and saved the game after the moment(But it's just a while after it, maybe still help). After loading this save, walk up into the house on the top-right corner, then you will see another tip about using volume+ key as the pic shows, which comes after a few dialogues.(The tip: Teamleader can use special skill, to switch On/Off his skill by pressing Volume+ key.
Here follows the save file: 怨天奇谋.zip
Thank you, I will think how to handle the additional keycodes better.
Emulator version: 1.55 Game resolution: 240x320
Device: Xiaomi Redmi3
Android version: 5.1 Description of the issue: Volumekeys are needed in some games. For this example《天剑奇侠传-典藏版(怨天奇谋)》.
很好奇无法御剑飞行你是怎么打到后面的。我一直卡在岳飞庙的机关。 @fishlabs
Have you played this game on a real j2me phone? Which model?
It uses keycode 9
or -9
, but I did not find any mention of it in any specifications.
Non-standard keycodes require manual configuration, which is difficult for users.
@woesss Thanks for your reply. I'm sorry I have no real j2me phone at the moment.Can you tell me how to manually configure its keycode ?thank you
Unfortunately, the emulator does not have this feature yet.
Maybe there is another version of the game?
I have not seen anywhere a mention of the keycode 9
or -9
.
It looks like a confusion - it seems to me that someone wanted to assign this function to the key with the number "9", but its code is 57
.
At the moment, you can only change this code in the game itself (via edit its bytecode) - you can ask about it on the forums if you cannot do it yourself
Unfortunately, the emulator does not have this feature yet. Maybe there is another version of the game? I have not seen anywhere a mention of the keycode
9
or-9
. It looks like a confusion - it seems to me that someone wanted to assign this function to the key with the number "9", but its code is57
. At the moment, you can only change this code in the game itself (via edit its bytecode) @woesss Hi, esteemed senpai. As shown in the picture, I have opened the game with the java game decompiler "Halo". Can you tell me in which class file you found the "Keycode 9"? I think I just need to change it to the correct Keycode and it should work.
h.class, method void e(int)
, case 9:
of one of the switches. You need to replace 9
with the keycode of any free key (absolute value, without sign)
@woesss Honored to receive your reply! Now I have checked all the methods in the "h.class" file. I think the most likely method is this method "e" which located between "keyPressed" and "keyReleased".
However, there are several "Case 9:" in this method "e". So I took a picture of all the places where "switch" appears and made a GIF. I would like to know which "Case 9:" is the one you referr to? 3Q!
lookupswitch 10, line 1157