Okay, Hijack v322 is out.

This version fixes a long-standing problem inside Hijack which prevented correct parsing of config.ini when that file was larger than 4095 bytes in size.

The reason for the bug was that Hijack tries to intercept only the FIRST read of conffig.ini from the player, so as not to mess up subsequent reads by Emplode or whatever. However, on startup, the player appears to read the file twice: once partially (modulo 4096), and then again fully, but only when it's larger than 4095 bytes.

It's not clear whether the player is doing the partial read intentionally, or if libc (or the kernel) is doing some kind of fancy read-ahead thingie, but now that the behaviour is known, Hijack copes with it correctly.

So.. if your config.ini is HUGE, it will work with Hijack now.

Cheers


Edited by mlord (29/03/2003 09:47)