Hi all,

I am trying to add a new text section to a .exe file. Basically a game build from a popular game.

I'm basically trying to add more space for my own code.

I am able to modify and nops to some routines.

However, when trying to add a new text section, the game crashes.

I used the same code to add a new text section, to a very basic simple visual studio .exe build, and that runs fine.

I think there might be issues with the relocation tables. Would anyone have advanced pointers on how to "create" more text space so I can add code?

Very new to this hacking, so not sure if this is the proper way to insert new code outside of code caves, which tends to be very small gaps.