Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //--------------------------------------
- //--- 010 Editor v3.1 Binary Template
- //
- // File: GexTemplate.bt
- // Author: Phillip Stephens
- // Revision: Final
- // Purpose: Document the Extension Installer for GameMaker
- //--------------------------------------
- #include <GedTemplate.bt>
- struct GEXFile
- {
- int id;
- int version;
- int seed;
- //GMExtensionEditable editable;
- char data[FileSize() - (sizeof(int)*3)];
- /*
- -- Once the data above is decrypted:
- int fileSize;
- char fileData[fileSize];
- -- Zlib compressed data (need to remember this when creating the installer).
- -- repeat until there is no more data.
- -- the equation for decrypting a byte is as follows:
- return (byte)m_obfuscation.SwapTable[1, t];
- -- simple ne? everything else about the encryption is EXACTLY the same as the GMKrypt Documentation.
- */
- }file;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement