Page 1 of 2

I think I have the source code for Super Mario Bros X!

Posted: Sat May 30, 2015 8:10 pm
by Neoflash
Okay, so a while ago, I downloaded a file called the SMBX ultimate graphics pack. It had two parts to it. The first part was just a few graphics, and the second part was a lot of graphics. So I used part 2 for a bit. Then, I found something. I found a file called "smbx.bas" in a folder labeled "SMBX Hard-Coded source". I looked it over and it looks like a programming language (Probably Visual Basic or something) I don't know much programming, so I uploaded the file for somebody who does to check it. Is this the source for SMBX? Or is this just some random file filled with code or whatnot.

Anyways, here is the file I found.

http://www.mediafire.com/download/kdjd7 ... bx.bas.txt

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun May 31, 2015 12:21 am
by Shadow Yoshi
That isn't the source code - that's the result of putting smbx.exe through a decompiler, which doesn't do much. The only person that might still have the SMBX source code is Redigit, its creator, and he's not here anymore.

Have a look around GitHub to see what source code repositories look like. Here's some that are written in Visual Basic.

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun May 31, 2015 4:16 am
by Squishy Rex
And for this reason I think I'm going to change the name on that folder to prevent further confusion. There's also a real possibilty that Redigit could have destroyed the source code once he cancelled SMBX updates. We've no evidence to prove it still exists or not, but, if Redigit does still have the source, I can surely guarantee he won't be handing it out, if the past few years is anything to go by.

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun May 31, 2015 4:50 am
by Mable
IIRC Redigit claimed he deleted the source code. Even though if someone would have it besides him nobody would be possible to do anything with it bc it's written like if Redigit was drunk.

Afterall we don't need that anyway we got VSMBX and PGE now which work a lot better.

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun May 31, 2015 10:04 am
by Neoflash
Oh, I just looked at it and I thought it was the source code. Wait, wouldn't Vatteri have the source code because he made SMBX 1.3.0.1?

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun May 31, 2015 10:31 am
by RudeGuy
Neoflash wrote:Oh, I just looked at it and I thought it was the source code. Wait, wouldn't Vatteri have the source code because he made SMBX 1.3.0.1?
SMBX 1.3.0.1 is just an update of graphics and sound. These 2 things don't need the source code to be changed.

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun May 31, 2015 11:56 am
by HeroLinik
Apparently someone claimed to have the source code a long while ago (I think it was Master X), but the problem was they were never online to give it to anyone. But yeah, I don't think Redigit even went out and distributed the source code to anyone, because he doesn't care about SMBX anymore.
What I don't get is how some people have different HUDs, such as Emral's star-shaped item box. It was claimed earlier that someone had the source code, but I'm not that curmudgeonly. How do some people have different HUDs?

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun May 31, 2015 12:01 pm
by Emral
castlewars wrote:What I don't get is how some people have different HUDs, such as Emral's star-shaped item box
http://www.smbxgame.com/forums/v ... ded#p97977

Also, I don't use the star hud since almost a year.

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun May 31, 2015 12:35 pm
by Kevsoft
To clear some things up what we have and what we don't.

1.) This decompiled crap from vb-decompiler is useless, even from me as a hacker. Not only gives it uncompileable code, it is totally unreadable. Even ASM (machine code) is more readable. But I use the vb-decompiler to get some function names which is in the smbx exe in it.
2.) We can patch and I did it already a lot. Patching is more kinda a "overwriting" rather than adding, but thanks to a mechanism called "Dll-Injection" we can modify general things like replacing the audio-engine and the graphics engine. This came all down to LunaDll.
3.) I have learned more through hacking the game than I would probably have learned through the source code. Because the hacking part makes it interesting. (add adding lua-functions for it)

Anyway, I did however reconstruct one function, but I stopped after it because it is way too much work to reconstruct all from SMBX parts. I would rather spend my time working on PGE than rewriting SMBX functions.
Click here to see the npcToCoins function.
The npcToCoins function is called when the player hits a goal and all enemies get removed to coins.

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun Jan 29, 2017 7:38 am
by Dato24
Why Redigit will not give his source code?

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun Jan 29, 2017 7:43 am
by Thehelmetguy1
I think the source code was locked by nintendo when redigit got done.

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun Jan 29, 2017 8:56 am
by Dato24
It's a very sad story :/ and why Redigit is no more active on this website/forum?

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun Jan 29, 2017 8:57 am
by MacDuckBeat
Dato24 wrote: It's a very sad story :/ and why Redigit is no more active on this website/forum?
He got sued by the lawyer of Nintendo probably. I can't tell anything else I couldn't remember.

Re: I think I have the source code for Super Mario Bros X!

Posted: Sun Jan 29, 2017 9:05 am
by HeroLinik
RSuper wrote:
Dato24 wrote: It's a very sad story :/ and why Redigit is no more active on this website/forum?
He got sued by the lawyer of Nintendo probably. I can't tell anything else I couldn't remember.
That actually wasn't why Redigit stopped with SMBX. The real reason is lost in history, but what I can guess is that the community at that point was an absolute trainwreck and he didn't want to run a forum with a terrible community, so he stopped work on SMBX as a way to get away from it. Or maybe he got bored of it and wanted to work on a new game, who knows? As has been said earlier, it's lost in history, but what happened was that the major SMBX forums at the time were taken down, that included TrekWeb and the original SMB.org. The cease and desist was the final nail in the coffin after all this had happened.

Re: I think I have the source code for Super Mario Bros X!

Posted: Wed Feb 01, 2017 1:21 pm
by AirSeus
HeroLinik wrote:
RSuper wrote:
Dato24 wrote: It's a very sad story :/ and why Redigit is no more active on this website/forum?
He got sued by the lawyer of Nintendo probably. I can't tell anything else I couldn't remember.
That actually wasn't why Redigit stopped with SMBX. The real reason is lost in history, but what I can guess is that the community at that point was an absolute trainwreck and he didn't want to run a forum with a terrible community, so he stopped work on SMBX as a way to get away from it. Or maybe he got bored of it and wanted to work on a new game, who knows? As has been said earlier, it's lost in history, but what happened was that the major SMBX forums at the time were taken down, that included TrekWeb and the original SMB.org. The cease and desist was the final nail in the coffin after all this had happened.
Well, the reason Nintendo stepped in was because Redigit made a foolish move and tried to make money off the game and then it went down hill, the forums was closed down for a few days, then re opened for a week and then shut down completely and given to Nintendo. After that, it was announced that SMBX was cancelled and was for a while forbidden to be downloaded.

Re: I think I have the source code for Super Mario Bros X!

Posted: Wed Feb 01, 2017 2:48 pm
by HeroLinik
IzIcy wrote:Redigit made a foolish move and tried to make money off the game and then it went down hill
IIRC, he wasn't making money off the game, but making money off the ads on SMB.org.

Re: I think I have the source code for Super Mario Bros X!

Posted: Wed Feb 01, 2017 4:51 pm
by AirSeus
HeroLinik wrote:
IzIcy wrote:Redigit made a foolish move and tried to make money off the game and then it went down hill
IIRC, he wasn't making money off the game, but making money off the ads on SMB.org.
He admitted that he tried to make money off it but failed.
Anyway, isn't that what Joey is doing lol?

Re: I think I have the source code for Super Mario Bros X!

Posted: Thu Feb 02, 2017 3:25 am
by HeroLinik
IzIcy wrote:Anyway, isn't that what Joey is doing lol?
You could say that but the thing is that the domain name isn't infringing with Nintendo's property.

Re: I think I have the source code for Super Mario Bros X!

Posted: Thu Feb 02, 2017 5:55 am
by Waddle
HeroLinik wrote:
IzIcy wrote:Anyway, isn't that what Joey is doing lol?
You could say that but the thing is that the domain name isn't infringing with Nintendo's property.
Afaik the domain name "SMB.org" is what got him into trouble initially; he wasn't trying to sell the game or anything.

Re: I think I have the source code for Super Mario Bros X!

Posted: Mon Feb 06, 2017 12:36 pm
by Dato24
thehelmetguy1 wrote:I think the source code was locked by nintendo when redigit got done.
Does Joey have the source code? Otherwise how he made 1.3.0.1 version?