Increase .data segment size of quake3.exe

Programming related discussions related to game research
navgg
Posts: 3
Joined: Thu Sep 21, 2017 11:46 am

Increase .data segment size of quake3.exe

Post by navgg »

I have disassembled quake3.exe version 1.16n with IDA pro and trying to find a way to increase size of shaders[MAX_SHADERS] array from 1024 to 2048 (or more), it may probably allow me to load bigger maps in old version of quake 3 with no issues. I found that this array is stored in .data segment which seems a part of .exe file.

Is there a way to increase size of .data segment and change pointers to a new values? If yes what tools may I need for this task or I can do it in IDA?