Comments

Log in with itch.io to leave a comment.

(1 edit)

Does this still work? I tried to convert a .yy room to a .yaml and I got the error Reading...An error occurred: Invalid char 125 at position 343. This is normal GM room without any hand modification to .yy file

In GameMaker Studio 2.3 (2020-ish) and newer, each resource takes up one line in YYP (or .resource_order), so the original problem that this tool solves no longer exists.

Would have to rewrite most of it to make it work with current versions, and even then I’m not quite sure how the IDE orders resources in the YYP

Hey. This tool seems great! I have a Mac and I downloaded this and it gave me the .exe, which cannot run on Macs. Is there something else that I was supposed to receive or something else I am supposed to do? Thanks very much

You'd want it to either run it through WINE or compile it yourself from Haxe source code (linked here).

Hi, Thanks for a great tool! It's strange that yoyo games hasn't fixed this issue already. I can't get it to work with inherited rooms though. All child rooms are lost from the yaml-file. Am I doing something wrong? Thanks!!

Hi there, when I try to get this working, I get the following error: 
"Couldn't find your YYP!"  and the commit always fails. 

You can see the file structure in the GIF below... 

Super excited to get this working since I just spent about 6.5 hours doing one merge, so anything that can make this easier on me would be incredibly welcome.

If anyone can help me figure this one out please let me know!

As mentioned in the other comment, you will need to tweak the file to have the path to your project directory if it's not in the repository root directory.

(1 edit)

Hello, sorry for my ignorance,nbut where do I put that...? 

Does that go here? 

for file in *.yyp; do
yyp_path="$file"
break
done


yyp_path = "drive/folder/folder"


Like that?

yyp_path would be set to something like "folder/some.yyp", and then you could get rid of for-loop entirely

This has been the biggest complaint with working with multiple people. Thanks so much for this.

If this is what I think this is, this could change everything for my team!
Will report back here after looking into it more.

(2 edits)

Awesome. I'm looking forward to having this in my back pocket for the next #gittogether where it's nothing but conflicts and when we have conflicts at our studio, which is almost every week I feel. Thank you!

I'm not sure if this will get in the way of development on my mac, or if it will run without issue... I'll have to find out next time I'm on my mac.

We use a monolithic repo, so I'll have to rewrite the pre-commit to get it working in our main workflow, but this is great.

(1 edit) (+1)

You'll want to either run it through Wine on Mac, or to compile from source code.

Should still work with a monolithic repo, as it would aid situations where two people work on adjacent items at once.

(1 edit)

I'll let you know what happens when I try to get it working on the mac :)
I bet Wine will be fine. 🍷

Our monolithic repo is made of all our gms2 projects, server code and more.
So it doesn't find the .yy files. When it does it just finds the first one it looks like.
Haven't had a moment to really dig into it yet.
I'll have to refresh my bash skills to loop through all the subdirs and make it do it to all of them soon enough. 👏