Quick Question About Programs


sebt3 said:
lulzfish said:
Game Maker source code
Link please....
Here I go again writing ambiguously.
The source code for whatever game they're talking about, that Game Maker compiles, NOT the source code to Game Maker.

With that and the Game Maker documentation, someone could probably tediously recreate the game on a different platform like SDL.
 
Last edited by a moderator:
lulzfish said:
I think with a lot of effort, someone could port the Game Maker source code to a reasonable language and make it run on the Pandora, but it wouldn't be easy, and probably not legal.

What I'm saying is the source files and graphics for the game under game maker (the .GMK) are available with a license that doesn't explicitly say it can't be reverse-engineered or ported to another language. Here's the license as written by the author of the game:

==============================
Spelunky® User License v1.1b
==============================

Copyright (c) 2008, 2009 Derek Yu and Mossmouth, LLC

Last Updated on December 25th, 2009

----------------
1. Preamble
----------------

As of December 25th, 2009, I'm releasing the .gmk files for Spelunky and the
Spelunky configuration program to the public. The game and the source code are
being provided to you for the purpose of learning, entertainment, and sharing
with the Spelunky community.

I'm interested in seeing what you guys create! Happy Spelunky-ing!

----------------
2. Definitions
----------------

"Mossmouth" is defined as Derek Yu and Mossmouth, LLC.

The "Game" is defined as the Spelunky game, its program, and all related files,
including, but not limited to, the Spelunky configuration program.

The "Source Code" is defined as the .gmk files for Spelunky and the Spelunky
configuration program, and all of the objects, scripts, sprites, and tiles
contained within those files.

"Covered Works" are defined as the Game, the Source Code, and any modified
versions of the Game and the Source Code.

-------------------
3. Rights Granted
-------------------

The rights granted under this license are granted for the duration of
the copyright.

You may modify and redistribute the Game and its Source Code under the following
conditions:

(1) This license and any appropriate copyright notices in the Source Code are
kept intact.

(2) You may not sell Covered Works.

(3) You must display an appropriate copyright notice somewhere in the beginning
of all Covered Works and in any documentation accompanying such
Covered Works.

(4) If you share a modified version of either the Game or its Source Code with
others, you must not present it as an unmodified, or official, version of
the Game or the Source code. Please make it apparent that it is a mod.

By accepting this license you are agreeing not to restrict or prevent Mossmouth
from modifying or adding to Spelunky in any way.

----------------------------
4. Disclaimer of Warranty
----------------------------

The Game and its Source Code are provided WITHOUT WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

----------------------------
5. Limitation of Liability
----------------------------

In no event, unless required by applicable law or agreed to in writing will any
copyright holders be liable to you for damages, including any general, special,
incidental, or consequential damages arising out of the use or inability to use
the Game, the Source Code, or modified versions of the Game or the Source Code,
even if such holder has been advised of the possibility of such damages. Such
damages include, but are not limited to, loss of data or data being
rendered inaccurate.

Which, in my eyes, means it can be re-written for any platform or in any way as long as credit and the original license are present in the new game. Which sort of reminds me of the GPL. But getting back to my point, is it possible for someone to rewrite the code in a way that it isn't reliant on game maker?
 
Last edited by a moderator:
Well, I decided to take a look at it.
The source is in some kind of Game Maker package file (.gmk), and the Spelunky site says you need Game Maker Pro to open it.

So someone else would have to do it, or at least copy the source out into text files. I'm not paying $25 for a fucking Windows source code reader.
 
lulzfish said:
I'm not paying $25 for a fucking Windows source code reader.

This.

Is.

Hilarious.

But I digress.

Game maker uses it's own scripting language, and whether or not it would translate well over to a REAL programming language... I'm not sure.

Wikipedia's overview of the language is here, official documentation for the GML scripting language can be Found here

If someone were to considering taking this on, I'd be more than happy to tediously rip all of the assets from the game maker files :)\ You can copy each sprite individually as a PNG file, but there's no feature to export them all unless in some proprietary Game Maker format.)
 
Last edited by a moderator:
Apparently there are several half-dead or on-going projects claiming to be able to open a GMK file and recompile it using JAVA to run multiplatform - but I haven't seen a single result from any of these yet. This is an awesome game, probably one of my favorite games ever, but it doesn't seem like it'll ever break out of game maker.
 
Back
Top