Render UI [Reverse Engineering]

Hi, I would like to say “hello to everyone” from this forum judging that I’m new here, I have a couple of questions about reverse engineering, and please excuse my ignorance If it may sound stupid.

A couple of months ago I started with “game hacking” it’s a nice thing to create aimbot, wallhacks and stuff like this, but to be honest I was always wondering how to add an in-game button based on the same logic that the game used initially.

Example
for an in-game button, the game is using .tga files

  • Bg .tga
  • But .tga
  • But-Active.tga

Also if there is any guide here that would be able to show me how to do such things I would really appreciate a link for, thank you for your time and I hope I did not say to much stupid stuff.

Hello Prex.

I’m afraid that if what you want to do is to create a button using the same logic the game used, then the answer is heavily game dependent. In general you’d be looking into how the game packages its resources and how you can pack that with additional content. If the game is using something like HTML for its user interface, then modifying it and adding new buttons should be doable, but if they’re using Scaleform you’ll have to reverse the SWF files, edit that and then put it back together.

If the studio uses their own UI library, then you’ll have to figure that library out first and how they lay out their files.

Finally, if this is a small game and they’ve just hardcoded the UI… then that’s going to be painful. If you’re lucky the engine is separate and in a DLL with exported functions which you can play with.

If you want a game to fiddle with, you could check Skyrim as that’s mod friendly and the community has done some rather unspeakable things to that game. You could look into how SkyUI creates user interface elements and how SKSE extends the game to allow such behaviour.

1 Like