Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. //--------------------------------------
  2. //--- 010 Editor v3.1 Binary Template
  3. //
  4. // File: GexTemplate.bt
  5. // Author: Phillip Stephens
  6. // Revision: Final
  7. // Purpose: Document the Extension Installer for GameMaker
  8. //--------------------------------------
  9.  
  10. #include <GedTemplate.bt>
  11.  
  12. struct GEXFile
  13. {
  14. int id;
  15. int version;
  16. int seed;
  17.  
  18. //GMExtensionEditable editable;
  19.  
  20. char data[FileSize() - (sizeof(int)*3)];
  21. /*
  22. -- Once the data above is decrypted:
  23.  
  24. int fileSize;
  25. char fileData[fileSize];
  26.  
  27. -- Zlib compressed data (need to remember this when creating the installer).
  28.  
  29. -- repeat until there is no more data.
  30. -- the equation for decrypting a byte is as follows:
  31.  
  32. return (byte)m_obfuscation.SwapTable[1, t];
  33.  
  34. -- simple ne? everything else about the encryption is EXACTLY the same as the GMKrypt Documentation.
  35. */
  36. }file;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement