• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Windows File Association? Double clicking file opens file in Game?

Q

QuinnlanVos

Guest
I am making a windows based program that saves and loads a custom ini file (not ".ini" diff extension)

Is there any Dll's or any way at all to let windows know that this custom file ext is associated with my program?
I would also then need a way to begin my program with opening this file.

Is there a solution in GMS2 or am i just dreaming? lol

I did fin a dll for drag and dropping files into the GMS2 screen so that would be my fail-safe

-Thanks
-Quinnlan
 

YellowAfterlife

ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ
Forum Staff
Moderator
You can use parameter_ functions to check what arguments (file paths) were passed to your game
 
Top