The Mossmouth Forums

Games => Source => Topic started by: Gorm on August 21, 2012, 11:04:14 AM



Title: Quick Restart Spelunky (and TLS)
Post by: Gorm on August 21, 2012, 11:04:14 AM
Quick Restart Spelunky / Quick Restart Tastes Like Spelunky

Download (Spelunky1.2, source included): http://www.mediafire.com/?ab29vzcihg4d8mz
Download (TLS, source included): http://www.mediafire.com/?b8942r3i2yt1hz3

Description: A picture says more than a thousand words, and I'm too lazy to write 1000 words, so I'll just give you this:
(http://www.ld-host.de/uploads/images/b311f7ffcfecf8b6733ce28f7e3824e2.png)
Not enough? Okay: After you die, instead of having to go to the high scores room and so on, you can simply start a new game py pressing the jump button. And if you've used a shortcut, you'll start at the corresponding level. No new features here, just a way to save a little time. Or a lot of time, if you're a frequent dier.

As alwas, I appreciate all kinds of feedback: complaints, suggestions, bug reports...


Title: Re: Quick Restart Spelunky (and TLS)
Post by: KarjamP on August 21, 2012, 12:13:07 PM
Useful mod is useful.  :)

Wish this is actually part of the main game.


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Nathan on August 21, 2012, 02:58:05 PM
Good job! They should implement this into 1.2


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Stracker on August 26, 2012, 08:33:40 AM
is it possible to reverse the buttons and use the use key to restart and not go the high scores ?  I can't seem to get myself to press the jump button when I die...


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Nathan on August 26, 2012, 09:25:20 AM
Just go into the source and change the buttons arround


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Nathan on August 27, 2012, 02:13:43 PM
Winterdrake requested this a while back. Maybe email it to him


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Stracker on August 28, 2012, 09:52:23 AM
Tried looking in the source code, I can't find the part I'm supposed to change, I'm used to c++, not game maker, any tip where I should look ?


Title: Re: Quick Restart Spelunky (and TLS)
Post by: KarjamP on August 28, 2012, 10:51:59 AM
Tried looking in the source code, I can't find the part I'm supposed to change, I'm used to c++, not game maker, any tip where I should look ?

http://lmgtfy.com/?q=GML+Tutorials


Title: Re: Quick Restart Spelunky (and TLS)
Post by: halibabica on August 28, 2012, 07:49:20 PM
Rude, KarjamP. They don't know where to look in the code to change it. That's something only the mod developer could help with, not Google.


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Skoke on August 28, 2012, 08:22:05 PM
I don' know hali, google seems to know more than it should. ;)


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Nathan on August 28, 2012, 09:53:36 PM
Tried looking in the source code, I can't find the part I'm supposed to change, I'm used to c++, not game maker, any tip where I should look ?

If your new to programming there is a good chance you will never find it  :-[.


Title: Re: Quick Restart Spelunky (and TLS)
Post by: KarjamP on August 29, 2012, 12:05:11 AM
If your new to programming there is a good chance you will never find it  :-[.

He isn't new to programming (as he's used to C++).  :P


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Nathan on August 29, 2012, 12:46:22 AM
Oh I didn't see that part


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Wonkyth on August 29, 2012, 03:01:33 AM
Tried looking in the source code, I can't find the part I'm supposed to change, I'm used to c++, not game maker, any tip where I should look ?
I understand your pain. Everything about GML encourages sloppy unreadable code, even if your trying hard to keep it legible.
As for help, my usual method of finding where the hell variables are set, etc, involves much Ctrl+F-ing. :P
If you can come up with a couple of search terms that match what your looking for, you can usually find it eventually. Good luck! ;)


Title: Re: Quick Restart Spelunky (and TLS)
Post by: halibabica on August 29, 2012, 04:15:30 AM
But if you don't know the terms or variables the mod developer used, then there's still a good chance you wouldn't find it. Don't give them shit for not being able to locate it in a code they're unfamiliar with.


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Wonkyth on August 29, 2012, 04:19:31 AM
Yep, comes down to guesswork unfortunately. :(


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Stracker on August 29, 2012, 04:55:43 AM
Alright, I tried to modify one single thing (the game over text) and game maker gives me errors about the treasuregen script... I fixed it with a workaround and now bomb give errors too, I think there's a problem with gamemaker


Title: Re: Quick Restart Spelunky (and TLS)
Post by: halibabica on August 29, 2012, 02:05:55 PM
If you copy/paste the error messages here, we might be able to help you fix them.


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Stracker on August 30, 2012, 06:04:13 AM
I can fix these errors myself, the problem is I get these errors without even touching the source code.
I just change the text of a string and I get errors. I tried to take a clean source and I get the same errors.
Anyway the errors I encountered are :
-oMusic errors, but I know it just comes from the fact I run spelunky without supersound.dll next to it

-scrTreasuregen wasn't called properly several times in scrInitLevel, It was called without arguments when it needed one, I just changed every call to have 1 as an argument and it worked...

-something about collision in oExplosion that when I tried to fix, led to a corrupted exe whenever I tried to compile...

Note that I have this with this mod's source AND the original spelunky 1.1 source

I think it's a problem with my version of gamemaker, but I may be wrong...


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Nathan on August 30, 2012, 08:09:17 AM
First off use 1.2. I also had text errors while working on my Pacifist mod but found a way around it. I forgot exactly what I did


Title: Re: Quick Restart Spelunky (and TLS)
Post by: halibabica on August 30, 2012, 02:12:46 PM
Hmm...some of those sound familiar, but without the the actual word-for-word error message, there's not much I can do for you. o.o


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Fridgelid on July 17, 2013, 01:24:55 PM
Ok I'm new to this, and I'm on os x. I have scoured the internet for any type of guide on how to just simply install mods, but haven't found anything... can anyone compile a step-by-step guide how I can install this on mac with game maker lite? I have no experience with coding or modding spelunky, thanks.


Title: Re: Quick Restart Spelunky (and TLS)
Post by: halibabica on July 17, 2013, 02:02:09 PM
I think GM doesn't work on Macs just like everything else, but someone might know how to do it.


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Fridgelid on July 18, 2013, 10:03:16 AM
It works on mac, but I think in order for this quick restart mod to work I just have to drag it in the right place... I have the quick restart .exe and .gm81, any idea where I might put them?


Title: Re: Quick Restart Spelunky (and TLS)
Post by: Urza on July 18, 2013, 12:40:14 PM
Okay, here's the thing. "Mods" for Spelunky are really altered copies of the entire game, minus the sounds and music (thus the need to put them in the same folder as the standard game). They are are normally offered as windows .exe files, with .gmk or .gm81 source code sometimes available as well.

There are two possible ways you can play them on a Mac. Use some type of emulator to play the exe file, or compile the source code using the full (not lite) version of Game Maker for Mac. Unfortunately, Game Maker for Mac seems to be two versions behind the PC version and I don't think many of the mods were designed for Game Maker 7.

I would guess the emulator is your best bet, but I don't have any personal experience with this. Wish I could be more help, but evidently Spelunky just doesn't have a very big Mac fanbase.