It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
level-studio: Indiana Jones and The Emperor's Tomb (2003) XInput/Full controller support Fix
This fix is for XInput-compatible controllers only.
Im using an unofficial Xinput gamepad that works perfectly fine with games on Steam that have full controller support but for some reason it just isn't recognized or working with this fix. Weirdly it was kinda working when I also had AntiMicroX open and bound to keyboard keys (yet was working with YOUR controls, not the keyboard input, I have no clue why) but the moment I changed the deadzones from 0 to 65 in the configs, it just stopped recognizing my controller entirely

EDIT Turns out you have to start the game with the controller connected or it just wont work properly if you connect it after

I still cant get the diagonal analog stick inputs to not slow down my movement to a crawl though, despite not having this issue in full support games and emulators. Also what is "Threshold A2D"?
Post edited October 08, 2023 by SirCranburry
avatar
EmilioGomez: I found this thread while trying to get the Windows version of Indiana Jones and the Emperor's Tomb (IJET) as close as possible to full gamepad compatibility/support without using external software like Xpadder, Controller Companion, Joy2Key, Pinnacle Game Profiler, etc.

I took SumoX's great work here as a starting point, as well as the original button layout for both the Xbox and PS2 editions of the game. I also applied Herro_kitty's use of AXIS_Z for the LT and RT triggers, which left us with 2 less buttons to bind externally.

All that remained was the pesky D-Pad that IJET refuses to acknowledge. Then it hit me: do we really need it at all? The game only uses it to access Indy's Inventory, so I moved that to other buttons. I believe my proposed binding solution results in a confortable controller layout for both new and experienced players of this game. This has been tested with an Xbox 360 gamepad in both the CD and GOG versions of the game.

Just like SumoX's version, you need to open the binds.cfg file with a text editor such as Notepad. It's located in the GameData\indy folder inside your Indiana Jones and the Emperor's Tomb directory (C:\Program Files (x86)\Indiana Jones and the Emperor's Tomb\GameData\indy - C:\GOG Games\Indiana Jones and the Emperor's Tomb\GameData\indy or wherever you installed it).

Once you open binds.cfg, scroll down until you find the second set of bindings which begin with setbind 1. Delete all setbind 1 and addbind 1 entries in the file, then copy the following code, paste it where the one you erased was, save and close the file.

setbind 1 COMMAND_FORWARD CONTROLLER 0 AXIS_Y 0.0 1.0 1.0
setbind 1 COMMAND_BACKWARD CONTROLLER 0 AXIS_Y -1.0 0.0 1.0
setbind 1 COMMAND_LEFT CONTROLLER 0 AXIS_X -1.0 0.0 1.0
setbind 1 COMMAND_RIGHT CONTROLLER 0 AXIS_X 0.0 1.0 1.0
setbind 1 COMMAND_PUNCH CONTROLLER 0 BUTTON_0 -1.0 1.0 1.0
setbind 1 COMMAND_KICK CONTROLLER 0 BUTTON_2 -1.0 1.0 1.0
setbind 1 COMMAND_JUMP CONTROLLER 0 BUTTON_1 -1.0 1.0 1.0
setbind 1 COMMAND_BLOCK CONTROLLER 0 BUTTON_5 -1.0 1.0 1.0
setbind 1 COMMAND_USE CONTROLLER 0 BUTTON_3 -1.0 1.0 1.0
setbind 1 COMMAND_RELOAD CONTROLLER 0 AXIS_Z -1.0 0.0 1.0
setbind 1 COMMAND_INVENTORY KEYBOARD 0 KEY_UP 0.0 1.0 1.0
setbind 1 COMMAND_INVENTORY_PREV KEYBOARD 0 KEY_LEFT -1.0 1.0 1.0
setbind 1 COMMAND_INVENTORY_NEXT CONTROLLER 0 BUTTON_6 -1.0 1.0 1.0
addbind 1 COMMAND_INVENTORY_NEXT KEYBOARD 0 KEY_RIGHT -1.0 1.0 1.0
setbind 1 COMMAND_INVENTORY_EXIT KEYBOARD 0 KEY_DOWN -1.0 1.0 1.0
setbind 1 COMMAND_CAMERA CONTROLLER 0 BUTTON_4 -1.0 1.0 1.0
setbind 1 COMMAND_CAMERA_X CONTROLLER 0 AXIS_RX -1.0 1.0 10.0
setbind 1 COMMAND_CAMERA_Y CONTROLLER 0 AXIS_RY -1.0 1.0 10.0
setbind 1 COMMAND_GAME_START CONTROLLER 0 BUTTON_7 -1.0 1.0 1.0
addbind 1 COMMAND_GAME_START KEYBOARD 0 KEY_ESCAPE -1.0 1.0 1.0
setbind 1 COMMAND_PEEK_LEFT CONTROLLER 0 BUTTON_4 -1.0 1.0 1.0
setbind 1 COMMAND_PEEK_RIGHT CONTROLLER 0 BUTTON_5 -1.0 1.0 1.0
setbind 1 COMMAND_EXT_1 KEYBOARD 0 KEY_LBRACKET -1.0 1.0 1.0
setbind 1 COMMAND_EXT_2 KEYBOARD 0 KEY_RBRACKET -1.0 1.0 1.0
setbind 1 COMMAND_ROLL CONTROLLER 0 BUTTON_4 0.0 1.0 1.0
setbind 1 COMMAND_UI_LEFT CONTROLLER 0 AXIS_X -1.0 -0.9 1.0
addbind 1 COMMAND_UI_LEFT KEYBOARD 0 KEY_LEFT -1.0 1.0 1.0
setbind 1 COMMAND_UI_RIGHT CONTROLLER 0 AXIS_X 0.9 1.0 1.0
addbind 1 COMMAND_UI_RIGHT KEYBOARD 0 KEY_RIGHT -1.0 1.0 1.0
setbind 1 COMMAND_UI_UP CONTROLLER 0 AXIS_Y 0.9 1.0 1.0
addbind 1 COMMAND_UI_UP KEYBOARD 0 KEY_UP -1.0 1.0 1.0
setbind 1 COMMAND_UI_DOWN CONTROLLER 0 AXIS_Y -1.0 -0.9 1.0
addbind 1 COMMAND_UI_DOWN KEYBOARD 0 KEY_DOWN -1.0 1.0 1.0
setbind 1 COMMAND_UI_SELECT CONTROLLER 0 BUTTON_0 -1.0 1.0 1.0
addbind 1 COMMAND_UI_SELECT KEYBOARD 0 KEY_RETURN -1.0 1.0 1.0
addbind 1 COMMAND_UI_SELECT KEYBOARD 0 KEY_NUMPADENTER -1.0 1.0 1.0
setbind 1 COMMAND_UI_DELETE CONTROLLER 0 BUTTON_2 -1.0 1.0 1.0
addbind 1 COMMAND_UI_DELETE KEYBOARD 0 KEY_DELETE -1.0 1.0 1.0
setbind 1 COMMAND_UI_START CONTROLLER 0 BUTTON_7 -1.0 1.0 1.0
addbind 1 COMMAND_UI_START KEYBOARD 0 KEY_RETURN -1.0 1.0 1.0
addbind 1 COMMAND_UI_START KEYBOARD 0 KEY_NUMPADENTER -1.0 1.0 1.0
setbind 1 COMMAND_UI_BACK CONTROLLER 0 BUTTON_1 -1.0 1.0 1.0
addbind 1 COMMAND_UI_BACK KEYBOARD 0 KEY_ESCAPE -1.0 1.0 1.0
setbind 1 COMMAND_TURNLEFT CONTROLLER 0 AXIS_RX -1.0 0.0 1.0
addbind 1 COMMAND_TURNLEFT KEYBOARD 0 KEY_LEFT -1.0 1.0 1.0
setbind 1 COMMAND_TURNRIGHT CONTROLLER 0 AXIS_RX 0.0 1.0 1.0
addbind 1 COMMAND_TURNRIGHT KEYBOARD 0 KEY_RIGHT -1.0 1.0 1.0
setbind 1 COMMAND_CLIMB_UP CONTROLLER 0 AXIS_RY 0.0 1.0 1.0
addbind 1 COMMAND_CLIMB_UP KEYBOARD 0 KEY_UP -1.0 1.0 1.0
setbind 1 COMMAND_CLIMB_DOWN CONTROLLER 0 AXIS_RY -1.0 0.0 1.0
addbind 1 COMMAND_CLIMB_DOWN KEYBOARD 0 KEY_DOWN -1.0 1.0 1.0
setbind 1 COMMAND_TOGGLEHELD CONTROLLER 0 AXIS_Z 0.0 1.0 1.0
setbind 1 COMMAND_SKIP_CUTSCENE CONTROLLER 0 BUTTON_8 -1.0 1.0 1.0
addbind 1 COMMAND_SKIP_CUTSCENE CONTROLLER 0 BUTTON_0 -1.0 1.0 1.0
addbind 1 COMMAND_SKIP_CUTSCENE KEYBOARD 0 KEY_ESCAPE -1.0 1.0 1.0
setbind 1 COMMAND_TOGGLERUN KEYBOARD 0 KEY_LMENU 0.0 1.0 1.0

The resulting control scheme inside the game will be as follows

Left Thumbstick: Move Indy/Navigate Menus
Right Thumbstick: Camera View/Climb Rope
A: Primary Attack/Menu Select
B: Jump/Menu Back
X: Secondary Attack/Menu Delete
Y: Action/Use/Interact/Pull Out Appropriate Tool (Context Sensitive)
LB: Look Mode/Camera Reset/Roll/Wall Peek Left
RB: Guard Mode/Focus on Enemy/Wall Peek Right
LT: Inventory Select/Draw or Holster Weapon/Last Item Used
RT: Reload Ammo
Select: Cycle Inventory
Start: Pause/Menu
D-Pad: Null

I'm also modifying the Tips.txt file inside GameData\indy\gameinfo so that the game's popup tutorial tips show the buttons like the Xbox version instead of keyboard commands I will post it when I finish testing it.

As a way to reward my efforts, I would appreciate anybody who can show me how I can edit items on the Main Menu. I'd like to change the "Press Enter" phrase there so it reads "Press Enter", as well as modify the Gamesave instructions in the Load Game screen.
The rest of the inventory commands can also be bind to the controller ?
setbind 1 COMMAND_INVENTORY KEYBOARD 0 KEY_UP 0.0 1.0 1.0
setbind 1 COMMAND_INVENTORY_PREV KEYBOARD 0 KEY_LEFT -1.0 1.0 1.0
addbind 1 COMMAND_INVENTORY_NEXT KEYBOARD 0 KEY_RIGHT -1.0 1.0 1.0
setbind 1 COMMAND_INVENTORY_EXIT KEYBOARD 0 KEY_DOWN -1.0 1.0 1.0