bwkaz
04-24-2003, 02:26 PM
This is ... weird. After installing the game and the last patch (2199) to that point, I installed the Epic bonus pack (using an installer made by someone, but that doesn't matter -- see later). Today, I tried to update to 2225 by running the Loki update tool. It bombed out with a message "No matching delta for /usr/local/games/ut2003/System/Setup.int".
OK... odd... so I go to investigate. Sure enough, the bonus pack .exe overwrote that Setup.int file with a new version. Without saving the original (actually that would've happened anyway; the standard bonus pack install instructions say to just unzip the .exe in the /usr/local/games/ut2003 directory) anywhere. And without registering itself with anything on the system, so nothing in the update knows it's changed Setup.int.
So, I extracted the patch manually, and started poking around. The MD5sum in the patch.dat file needed to be changed (I figure if all else fails, I can reextract the patch). So I change that stuff and try to run the loki_patch tool again (on the new patch.dat), and get:
** WARNING **: expected from file of length 8856 bytes
ERROR: Failed patch delta on /usr/local/games/ut2003/System/Setup.int Not sure what the warning is all about, but the error is still preventing the patch from installing.
So, I look around in the data directory, and saw a "diff"-type file (named data/System/Setup.int.0). Unfortunately, the filetype is binary, so I can't read it to find out what to change in Setup.int (since it's just a text file, ideally it'd be changeable; but no).
The weird thing is, the current MD5sum of the Setup.int file matches perfectly the "newsum" value in patch.dat. So do the current sizes. So I (also) tried setting "optional" to 1, -1, and a couple of other values; nope, still the same error message.
So. Does anyone know how to either uninstall the bonus pack, or how to skip patching that file (since it obviously doesn't need to be patched)?
This isn't related to glibc or TLS or anything like that; I'm using glibc 2.2.5 (same as before) and kernel 2.4.20-preempt (which, again, always worked).
OK... odd... so I go to investigate. Sure enough, the bonus pack .exe overwrote that Setup.int file with a new version. Without saving the original (actually that would've happened anyway; the standard bonus pack install instructions say to just unzip the .exe in the /usr/local/games/ut2003 directory) anywhere. And without registering itself with anything on the system, so nothing in the update knows it's changed Setup.int.
So, I extracted the patch manually, and started poking around. The MD5sum in the patch.dat file needed to be changed (I figure if all else fails, I can reextract the patch). So I change that stuff and try to run the loki_patch tool again (on the new patch.dat), and get:
** WARNING **: expected from file of length 8856 bytes
ERROR: Failed patch delta on /usr/local/games/ut2003/System/Setup.int Not sure what the warning is all about, but the error is still preventing the patch from installing.
So, I look around in the data directory, and saw a "diff"-type file (named data/System/Setup.int.0). Unfortunately, the filetype is binary, so I can't read it to find out what to change in Setup.int (since it's just a text file, ideally it'd be changeable; but no).
The weird thing is, the current MD5sum of the Setup.int file matches perfectly the "newsum" value in patch.dat. So do the current sizes. So I (also) tried setting "optional" to 1, -1, and a couple of other values; nope, still the same error message.
So. Does anyone know how to either uninstall the bonus pack, or how to skip patching that file (since it obviously doesn't need to be patched)?
This isn't related to glibc or TLS or anything like that; I'm using glibc 2.2.5 (same as before) and kernel 2.4.20-preempt (which, again, always worked).