GameMaker mass project converter to newest version
A downloadable tool for Windows
GameMaker mass project converter to newest version
Both scripts search the directory for projects, convert them using ProjectTool.exe, change file names, and save them in a new directory. Logging is done to the conversion_log.txt file, and the script with multiple processes uses ThreadPoolExecutor to speed up the conversion by processing multiple projects simultaneously. This tutorial should help you understand how the script works and how to customize it for your needs.
The only thing you need to do is copy the folders (not .yyz or .gmz files - but You can add .gmz and other ext that can be converted) containing project files .yyp and .gmx into the projects_directory. Set the path to this directory as you desire in the following line:
projects_directory: Path to the directory containing projects to be converted.
The projects will be converted to the latest version of GameMaker and saved in the output_directory, which you can edit in the following line:
output_directory: Path to the directory where converted projects will be saved.
UP:
Adding to the context menu the option to run a script on individual .yyp and .gmx files will trigger a conversion to the latest version.
The batch file (.bat) will automatically add keys to the registry, allowing the option to appear in the context menu. You right-click on a .yyp or .gmx file, select gm_convert_to_newest_ver
, and a folder named _old_ver
is created in the directory, where the current old project is moved. In place of the old one, a converted project in the new version is created.
I also fixed bugs related to cloning platform options that everyone has in their profile.
You just need to enter your own paths in the batch file:
SET "PYTHON_PATH=C:\Python310\python.exe" - path to Python
SET "SCRIPT_PATH=D:\Projects_conversion gm\gm_convert_to_newest_ver.py" - path to the script. I
f you need any further assistance, feel free to ask!
UP2:
- Fixed bugs.
- Added 2 mass conversion scripts that remove old files and folders from the
projects_directory
folder in our path and move each project that has been converted to a new projects folder, where a folder named_old
is created (added to the script name:_with_old_folder_created
). - Added support for converting files: gmz, gmez, gmx, yyp, yyz, yymp, yymps.
Download
Click download now to get access to the following files:
Development log
- Convert via right click context menu!88 days ago
Leave a comment
Log in with itch.io to leave a comment.