3 ms·
I (and others in demoscene and gamedev) often used this "trick" to avoid having extra resource-files and just distribute a single .exe (that was in reality a sm
by whizzter 5y ago
I (and others in demoscene and gamedev) often used this "trick" to avoid having extra resource-files and just distribute a single .exe (that was in reality a small exe plus a huge zip appended just behind it).
Works well because Windows just reads the MZ and then PE headers that says where the EXE data is (up to the original .exe size). Then the .ZIP central directory pointer is easily findable at the end of the file so it works fine after appending.