Repository navigation
NFSU2 Revived v0.15.10
What's Changed in v0.15.10
Keyboard Configuration Menu Removal & Joypad-Only Controls
- Controls Menu UI Filtering: Replaced keyboard configuration in Options -> Controls with direct Joypad Configuration. Patched the in-game Controls menu device builder (
0x4ace00/ offset0x14d756c) to skip Device 0 (Keyboard) from the menu list, ensuring Options -> Controls opens directly to Joypad Configuration and preventing crashes from entering the keyboard remapper. - Full In-Game Keyboard & Touch Functionality Preserved: Restored DirectInput
EnumDevicesBySemantics(Method 9) inguest_input.incandlibnfsu2_android.so(0x479820) to the working v0.15.7 baseline so on-screen touch controls (nativeKey) and keyboard inputs remain fully functional during gameplay.
DirectInput Joypad Object Name Resolution & Button Labels
- GetObjectInfo Dispatch Handler: Restored the
IDirectInputDevice8::GetObjectInfodispatch handler inlibnfsu2_android.so(0x47a3f8toumaddl x1, w0, w8, x9) andguest_input.incsofillObjectis called and returnsDI_OK, properly querying and registering joypad object names. - In-Game Joypad Button Labels: Joypad control configuration in Options -> Controls now correctly displays button names (
A,B,X,Y,LB,RB,Back,Start,LS,RS,D-pad) instead of empty strings or---. - Controller Profile GUID: Restored Xbox 360 controller product GUID (
0x028e045e) inpadProductGuidmatching known compatible gamepad profiles.
Trigger Axis DirectInput Normalization (Z-Axis)
- Z-Axis DirectInput Descriptor: Renamed offset 8 in DirectInput object table from
LTtoZ-Axisand offset 20 toZ Rotationinlibnfsu2_android.so(0x182328) andguest_input.inc. - Combined Analog Triggers: Updated
publishPad()inmain.cppto combine trigger inputs ontoZ-Axis(state.leftTrigger - state.rightTrigger), replicating standard PC DirectInput gamepad behavior:// Z: LT pushes it one way and RT the other, as DirectInput shows an Xbox pad (Z-Axis). const float axes[6]={state.leftX,state.leftY,state.leftTrigger-state.rightTrigger,state.rightX,state.rightY,0.f}; setGuestPad(axes,state.buttons,state.hatX,state.hatY);
Launcher Game Language Selection.
- Localization Override Removal: Removed forced hardcoded language strings and runtime overrides from native binaries and hooks, ensuring language selection strictly uses the game's native language assets.
Full Changelog: v0.15.9...v0.15.10