Hotline Miami

Hotline Miami

View Stats:
Tmoss Nov 7, 2012 @ 6:15pm
I made a custom level
I worked on and off for a few days to figure this out and learned a lot (I have no real programming or GM experience). There is no easy way to make a custom level and don't really have enough room on this post to explain it all. I believe there is room here for an external editor, and I have some Ideas about that, but I can see that it would be a good bit of work for them. GM7 doesn't seem to include the most robust level editor.

Check it out!

Disclaimer: this is the first "mod" for a game I have ever made so my level design is lacking in many ways. Also I was playing very conservatively so you can get a good view of the level so try not to judge that.

@Dennaton Thanks for the game, I really love it. I graduated from college with a business degree, but I would love to make games for a living. Your game is inspiration for me.

Last edited by Tmoss; Nov 7, 2012 @ 6:17pm
< >
Showing 1-12 of 12 comments
rolandsoreal Nov 7, 2012 @ 8:02pm 
nice one!
Jim Nov 7, 2012 @ 8:52pm 
good job. How did you figure out the file format, etc?
ℐℎℯ Genji Nov 7, 2012 @ 9:19pm 
nice work!, but how ?
Tmoss Nov 7, 2012 @ 10:06pm 
Thanks! I hope the devs don't come after me with masks on, but I decompiled the game and edited the files using the same tools they used to make the game and packing it all back up into the exe. It was a matter of figuring out what goes where, which took a while for me because I'm not too experienced with this type of thing. Hotline Miami had a certain draw that made me want to extend its playability right away.

To be honest, its a method pretty similar to how I believe people modified Minecraft in the early days (and maybe still do?).
Caleb Nov 8, 2012 @ 2:55am 
Wow, looking really good! I hope there will be an editor some day, this would really extend this game's life.
[Sac] Shyzuto Nov 8, 2012 @ 4:50am 
Nice, it looks awesome! ^_^
Breadfish Nov 8, 2012 @ 6:36am 
So now It's up to the developers, Steam Workshop or player made mods to break the game.
The Get Games exclusive level came out today, the file is a .lvl and has to be manually placed into the hotline_miami folder, so it looks like levels can be added as simply as that.
Tmoss Nov 8, 2012 @ 10:11am 
Originally posted by Police Constable London:
The Get Games exclusive level came out today, the file is a .lvl and has to be manually placed into the hotline_miami folder, so it looks like levels can be added as simply as that.

I wish it was that easy to add levels externally but after checking it out I'm pretty sure that .lvl file is checked by the game and the level is unlocked from within the game .exe. I guess you could say it's sort of "hardcoded" for the Expo level in particular.

What I can ascertain about adding maps externally:
-Code would need to be added to read levels (called "rooms" in GM) from an external source and I'm not sure how easy this is to implement with GM7.

-It is possible to use a third party editor and add to the decompiled game files already:
I attempted it using a third party editor called GMare but found it simpler for the time being to use the GM room editor. I just wanted to get a proof of custom level out and not bother further than that.

-Another option: Use a more robust third party editor like OGMO for external editing
-this requires adding something liek an XML parsing plugin to the game code itself.

-Any external editor will need the game's objects, sprites, and tiles. I believe such a program could be made quickly by us but would violate copyright to distribute such a program without the dev's involvment.

-Finally, loading externally seems to be somewhat slower depending on the format of the file. I am also not sure how the game would handle it, unforseen things could break.
Last edited by Tmoss; Nov 8, 2012 @ 10:22am
Rainer Zufall Apr 2, 2013 @ 11:23am 
Hey there, im wondering if you still have the decompiled game somewhere on your hard drive. I am using game maker too and would really like to have a look into the source code because im wondering how they done the enemy AI for days now and still dont have a clue. I hope you dont mind me asking if you could send me the .gmk file or at least the source code. I also sent you a friends request.
Btw. sorry for bad english ^^

Greetings from germany
Domi Jul 24, 2013 @ 4:38pm 
I would really appreciate it if you shared the .gmk file. I would also like to mess with levels but I can't find the .gmk after decompling the .exe.
Lewi Sep 8, 2013 @ 3:08am 
i really want to play this map
< >
Showing 1-12 of 12 comments
Per page: 15 30 50

Date Posted: Nov 7, 2012 @ 6:15pm
Posts: 12