01-04-2017, 07:27 AM
GMExtract is a program I made to extract sprites and sounds from games made with Game Maker Studio. To run it you can either double-click the executable and it will bring up input file and output folder dialogues, or you can run it via the command-line:
(You can omit the -s and -a options to extract both.)
I personally recommend the second method since the folder dialogue is a bit inconvenient, but it's there for those who have trouble using the command prompt.
The files will be extracted into "sprites" and "audio" subfolders in the chosen output directory. For audio, many games also have a number of sounds and music in the same folder as the game's .exe, and are not within the data.win.
Big thanks to PoroCYon and Mirrawrs for their digging into the format here and here. Although their studies were for Undertale specifically, turns out most of it applies to pretty much all data.win files.
The program is open-source on GitHub here, you can download it in the releases section.
Be sure to post here if you have any questions, compliments, or issues. Enjoy!
Code:
Usage: GMExtract inFile outDir [-s|-a]
inFile: The data.win file to extract from
outDir: The folder to save the extracted files to
-s: Only extract sprites
-a: Only extract audio
I personally recommend the second method since the folder dialogue is a bit inconvenient, but it's there for those who have trouble using the command prompt.
The files will be extracted into "sprites" and "audio" subfolders in the chosen output directory. For audio, many games also have a number of sounds and music in the same folder as the game's .exe, and are not within the data.win.
Big thanks to PoroCYon and Mirrawrs for their digging into the format here and here. Although their studies were for Undertale specifically, turns out most of it applies to pretty much all data.win files.
The program is open-source on GitHub here, you can download it in the releases section.
Be sure to post here if you have any questions, compliments, or issues. Enjoy!