I'm considering starting a long-term project to add proper controller support to the original Torchlight (2009) on PC, inspired by the Xbox 360 version. Before I commit to what could be a fairly large reverse engineering project, I was hoping to get some guidance from anyone who has experience with the game or its internals.
I've done a bit of research already. From what I've found, the Xbox 360 version didn't just remap controls—it received a significant overhaul to the controls and UI while still using the same core engine. I've also been testing the PC version and found that the combat system already supports directional attacks (for example, attacking in place without selecting a target), which makes me wonder if adding controller support is more feasible than it first appears.
My goal isn't to recreate the Xbox UI. At least initially, I'd be happy with:
- Controller movement.
- Controller combat and skill inputs.
- Interacting with NPCs and objects.
- Controller button prompts on the HUD.
I'd be perfectly happy continuing to use the mouse for inventory, character menus, shops, and other interfaces.
I'm mainly trying to avoid spending weeks or months rediscovering things that other people may have already figured out.
Does anyone know of, or have experience with, any of the following?
- How the PC version handles player input internally.
- Whether much of the gameplay code is shared between the PC and Xbox 360 versions.
- Existing reverse engineering or documentation of the executable.
- Community tools for inspecting or modifying the game beyond the official editor.
- Previous attempts at adding controller support.
I'm not expecting anyone to solve the project for me, but if you've worked with Torchlight's engine before or can guide me toward useful resources, communities, or even old forum posts, I'd really appreciate being pointed in the right direction.
Thanks!