libs/zziplib/zziplib-src/msvc8/zzipself.txt
raw| 1 | HOWTO create an exe-file with an appended zip-resource - file |
| 2 | |
| 3 | we assume an imaginary game called "tetris.exe" |
| 4 | 1. create a zip-archive "tetris.zip" and store "tetris.exe" with NO COMPRESSION (-e0 option in pkzip) |
| 5 | 2. add your data-files, images and sounds to "tetris.zip" with arbitrary compression |
| 6 | 3. call "setstub tetris.zip tetris.exe" |
| 7 | 4. rename tetris.zip into tetris.exe |
| 8 | |
| 9 | now your app should be able read data from itself. |