Skip to content

sagefantasma/gcxEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gcx Editor

A tool designed to allow users to edit .gcx files from MGS2 Master Collection Version.

How do I use this?

  1. Download a release or build the solution locally.
  2. Run GcxEditorGUI.exe.
  3. Load a .gcx file from MGS2.
  4. After the .gcx and dictionary is loaded, the right-side of the main panel will be loaded with a JSON document representing the decoded contents of the selected .gcx file. You can use the list on the left-side of the main panel to navigate to references of each procedure in the json document - including calls to the procedure and the procedure's own declaration.
  5. Within the JSON document, you can modify any object or element thereof.
  6. Once you are finished modifying the JSON document, you can "export" it to a .gcx file containing the changes you made, assuming there are no invalid modifications.
  7. If the export completes with no errors, the .gcx file created you will have a valid .gcx that should be loadable by MGS2.

What is this useful for?

  • Reverse engineering
  • Game script modding
  • Memes

Tutorials!

Future Plans

  • Addition of a visual-programming editing option as an alternative to JSON editing
  • Script resource editing(see the MGS MC Mod Manager @ANTIBigBoss owns and maintains here for stage resource editing)
  • String editing
  • Font editing
  • MGS3 MC support?

Please consider supporting this project on Ko-Fi!

Donations are not expected or required, however I would be truly honored to earn your support!

Credits

  • Huge thanks to ANTIBigBoss, snakeswiss, trilon, zeke, and grave for their help over the past few years of working towards this project!
  • Special thank you to oct0xor for his python gcx decompiler - his tool was invaluable in learning what I needed of the .gcx file format in order to bring this project to life. Admittedly, I still prefer his decompiler's output over mine 😅

About

A tool designed to let you mimic a true GCX compiler for Metal Gear Solid 2

Resources

License

Stars

Watchers

Forks

Sponsor this project

Contributors

Languages