-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
restoring exe stub after repack #16
Comments
the directory you specified when unpacking contains a file called so, assuming that you packed the modified data into a file called the packer currently doesn't restore the exe stub automatically because the |
actually i was wrong about being able to just cat the stub and the data into a combined file; as AGS tries to locate the start of the data via an "end signature" containing the offset, rather than just searching for the start signature, so doing it manually as i suggested would involve using a hex editor to change the offset 16 bytes before the end as a 4 byte little endian value to contain the size of the .exestub file. |
After packing ,i try to run the game and an Microsoft error message shows that it cannt run because of Version mismatch and contact the author
Readme mentions that
the new "exe" will miss the original windows exe stub, but is
compatible with the opensource AGS engine, as well as with scummvm ags port.
that way, a game is about 500 KB smaller after extract and repack as it originally was.
It is the reason why it cannt run correctly after packing?
How can i make it correctly?
The text was updated successfully, but these errors were encountered: