| 08-19-2004, 03:38 PM | #1 |
Since I'll starting to program a program which will write MPQ files, I'd like to know the differences between SFMPQAPI 1.07 and 1.08. I think BlackDick was it, who said that 1.08 is the "bad" version (Heavy Locker only uses 1.07). Now I'd like to know why is it considered the "bad" version. |
| 08-25-2004, 05:51 PM | #2 | |
Quote:
It's because of his function SetMPQStartAt which uses the CopyMemory (win API) function to change the start offset of the mpq archive (used with embedded archives in exe files and such). SFMPQ 1.08 crashes when using this little trick. Original comment from HL source code: 'Trick to set the MPQ starting offset, SFApi 1.8.0.1 do not work nice with this |
| 08-25-2004, 09:07 PM | #3 |
Fine, so actually I don't need to care about it. |
| 12-17-2004, 03:52 PM | #4 |
That's simply because the location of the data he was trying to change had changed between those two versions and the change was not known by him. That's because I have not officially released that version (only included it with WinMPQ), so I have not released the header file. |
| 12-17-2004, 03:57 PM | #5 | |
Quote:
|
| 12-17-2004, 04:13 PM | #6 |
No, that just means don't do anything like modifying data in SFmpq's data structures. ;) If it wasn't OK to use, I wouldn't have included that version with WinMPQ. I should finish up with some things I started and release another version sometime... |
