GMS2 Resource Importer
A downloadable tool for Windows, macOS, and Linux
NOTE: This tool does NOT currently work with GMS2.3+, due to the new project format. I'm looking into updating the tool to work with the new format.
GMS2 Resource Importer lets you transfer multiple resources of different types between GameMaker Studio 2 projects in one go. You can import resources from normal .yyp projects and .yyz exported project archives. It's even possibly to transfer resources from some broken projects.
You can also use the tool to import external sprites and sounds. This is especially helpful when wanting to replace multiple sprites or sounds in a project. You can import multiple sprites or sounds in one go, sprites or sounds already in the project will be replaced (if you want), settings (bounding boxes etc.) for existing resources will stay the same. Read more about this in the provided documentation.
From version 0.91, the tool should work using Mono on Mac OS X and Linux. Let me know if you have any problems!
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
This should be a built in feature of GameMaker.... but... are you going to make it compatible with 2.3+ anytime soon???
I get an error when selecting my source project. Sorry i don't know how to make the error log english. Maybe you can find something anyway?
System.IO.DirectoryNotFoundException: En del af stien 'C:\Users\Cablefish\Documents\GameMakerStudio2\merctown Playground\merctown\views' blev ikke fundet.
ved System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
ved System.IO.FileSystemEnumerableIterator`1.CommonInit()
ved System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
ved System.IO.Directory.GetFiles(String path, String searchPattern)
ved GMS2ResourceImporter.frmMain.GetViewDefault(String sProjectFolder)
ved GMS2ResourceImporter.frmMain.LoadSourceProject(String fileName)
ved GMS2ResourceImporter.frmMain.btnImportFrom_Click(Object sender, EventArgs e)
ved System.Windows.Forms.Control.OnClick(EventArgs e)
ved System.Windows.Forms.Button.OnClick(EventArgs e)
ved System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
ved System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
ved System.Windows.Forms.Control.WndProc(Message& m)
ved System.Windows.Forms.ButtonBase.WndProc(Message& m)
ved System.Windows.Forms.Button.WndProc(Message& m)
ved System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
ved System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Indlæste assemblies **************
mscorlib
Assemblyversion: 4.0.0.0
Win32-version: 4.8.4400.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
GMS2ResourceImporter
Assemblyversion: 1.0.1.0
Win32-version: 1.0.1.0
CodeBase: file:///C:/Users/Cablefish/Documents/GameMakerStudio2/GMS2ResourceImporter/GMS2ResourceImporter.exe
----------------------------------------
System.Windows.Forms
Assemblyversion: 4.0.0.0
Win32-version: 4.8.4400.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assemblyversion: 4.0.0.0
Win32-version: 4.8.4360.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assemblyversion: 4.0.0.0
Win32-version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assemblyversion: 4.0.0.0
Win32-version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assemblyversion: 4.0.0.0
Win32-version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assemblyversion: 4.0.0.0
Win32-version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assemblyversion: 1.0.0.0
Win32-version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Newtonsoft.Json
Assemblyversion: 12.0.0.0
Win32-version: 12.0.2.23222
CodeBase: file:///C:/Users/Cablefish/Documents/GameMakerStudio2/GMS2ResourceImporter/Newtonsoft.Json.DLL
----------------------------------------
System.IO.Compression.FileSystem
Assemblyversion: 4.0.0.0
Win32-version: 4.8.4084.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression.FileSystem/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.FileSystem.dll
----------------------------------------
mscorlib.resources
Assemblyversion: 4.0.0.0
Win32-version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_da_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
Assemblyversion: 4.0.0.0
Win32-version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_da_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** JIT-fejlfinding **************
Hvis du vil aktivere JIT-fejlfinding, skal værdien jitDebugging indstilles
i afsnittet system.windows.forms i konfigurationsfilen
for programmet eller computeren.
Programmet skal desuden kompileres med fejlfinding
aktiveret.
Eksempel:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Når JIT-fejlfinding er aktiveret, bliver alle ikke-afviklede
undtagelser sendt til det JIT-fejlfindingsprogram, der er registreret på computeren, i stedet for
at blive afviklet af denne dialogboks.
I'd rate this 5 stars but I rated it 5 stars already so it gets 6 stars.
I was happy with the program before, but I saw a new version that lets you export all of the sprites from a project. This is extremely useful for me. I have thousands of sprites, which would take hours to export one-by-one, and now I can get all of them in and out with ease. Sometimes the best things in life are free.
One of my projects (only use GMS 2.2.5, so should be no problems) now throws an exception when selecting it as the source. I think I was on the older version of Resource Importer, but installed the latest one and it still occurs. The .yyp is valid (passes a JSON linter) and loads fine, so I'm not sure what the problem is. I imagine this might not be fixable given priority is probably supporting 2.3, but thought I'd report it, here's the log.
Any updates on if this will be useable with GMS2.3? It pretty much is an essential tool to have.
Hello,
The tool doesn't work with GMS 2.3 due to change in the .yyp file structures.
It will still produce a v2.2.5 ypp file and GMS 2.3 will fail to open it.
If you don't use source control, be careful.
GamePhase, do you plane to release an update version of your tool ?
I added a warning to the description about GMS2.3. I'm looking into updating the tool to work with the new format. The new project format is quite different so it may take a while.
No problem.
Take your time.
We'll go the good ol' way in the mean time :D
If you get it working with 2.3 that would be amazing. I use this all the time on my projects. Thank you for any future effort you put into it.
Absolute favorite tool for me, had some own tricks to import and also used lazy eye gmtransfer. yes hope this will work with game maker 2.3 the latest that will arrive soon. anyway so many thanks and hope you keep on developing this one. I did give some support $10
yes been testing this but not this version, works so far very nice.
Thank you for sharing this. It really helps me.
There is a little problem . If the order of several assets in source is 1,2,3,4,5. After importing, it will be 5,4,3,2,1. Most of the time, the order not matters. Sometimes, I think it's better to keep the order the same.
Great tool! great!
THANK YOU for this, I'm managing two very large projects with a huge number of shared scripts in a subfolder and my head exploded when I realized I couldn't export the folder as an extension. It'd be nice if it kept folder order intact (it looks like it reverses it on import) but that's not a big deal. I thought I was doomed once I ported to GMS2!
wow, this looks interesting...