Author Topic: Batch Compile/Decompile of GMFs  (Read 1206 times)

Offline dragonsteincole

  • IRL Pack Guy
  • *
  • Posts: 714
  • Rep: 9
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Batch Compile/Decompile of GMFs
« on: September 15, 2016, 06:57:27 AM »
As the title says, is there any way to batch compile/decompile GMFs? I don't believe either Serge's or Dummy's programs have that function, so this would extend to .bat files, or anything that could automate the process a little.

(For background as to why, plans for a skinpack for DSL at it's most basic, would require having to decompile 70 components (extenders), and compiling at least 560-1120 (colour variants) back.)

Offline dragonsteincole

  • IRL Pack Guy
  • *
  • Posts: 714
  • Rep: 9
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Batch Compile/Decompile of GMFs
« Reply #1 on: September 15, 2016, 11:17:57 AM »
Double post, but for those of you who may want to do something similar, 090901 kindly provided a solution/workaround

"if you change the .bmp or .tga name to something with the same number of characters you dont have to decomp the .gmf to edit,  so then for things like extenders you can open and replace the name all at once"

For example, renaming "ti.bmp" to "99.bmp" within the .gmf file would work, whereas "999.bmp" would not, due to the extra character.

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
Re: Batch Compile/Decompile of GMFs
« Reply #2 on: September 15, 2016, 04:00:53 PM »
As the title says, is there any way to batch compile/decompile GMFs? I don't believe either Serge's or Dummy's programs have that function, so this would extend to .bat files, or anything that could automate the process a little.

Both compilers are open source and you could easily modify them to take paths from argv instead.
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org