Re: How to Use Create a Custom SMBX Launcher Page

Share guides you have written for SMBX, and related tools here.
Alagirez
Boom Boom
Boom Boom
Posts: 3467
Joined: Tue Dec 02, 2014 2:28 am
Flair: Show your fangs!
Pronouns: He/Him/That wolf
Contact:

Re: How to Use Create a Custom SMBX Launcher Page

Postby Alagirez » Mon Mar 21, 2016 2:59 am

9/11/22 edit: Original author deleted, it wasn't me who made this thread. It was "Horikawa Otane".
Original reply: show
The introduction was rude 0/10
bwt thanks for posting this! i will make my own launcher with this tutorial!
Last edited by Alagirez on Sun Sep 11, 2022 12:54 am, edited 2 times in total.

h2643
Birdo
Birdo
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: How to Use Create a Custom SMBX Launcher Page

Postby h2643 » Mon Mar 21, 2016 10:11 am

Camacho wrote:The introduction was rude 0/10
nah

Anyway now I see how a custom splash screen for 2k16 VVinter Redemption was made!
Last edited by h2643 on Wed Apr 13, 2016 2:26 pm, edited 1 time in total.

Mario_and_Luigi_55
Spike
Spike
Posts: 270
Joined: Sat Feb 27, 2016 12:01 pm

Re: How to Use Create a Custom SMBX Launcher Page

Postby Mario_and_Luigi_55 » Mon Mar 21, 2016 10:37 am

Horikawa Otane wrote:So you jerks aren't using the 2.0 launcher and you should! It's fully compatible with existing 1.3.0.1 levels. All you gotta gotta do is include a new folder! :D
I tried.
Horikawa Otane wrote: Make sure every line after the { has a comma after it EXCEPT the final line before the }
Yeah, commas are anoying

PixelPest
Raccoon Mario
Raccoon Mario
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: How to Use Create a Custom SMBX Launcher Page

Postby PixelPest » Mon Mar 21, 2016 12:00 pm

Thanks for posting this Horikawa. Will definitely do this for my episode

h2643
Birdo
Birdo
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: How to Use Create a Custom SMBX Launcher Page

Postby h2643 » Mon Mar 21, 2016 1:43 pm

Horikawa Otane wrote:
h2643 wrote:
Camacho wrote:The introduction was rude 0/10
how

Anyway now I see how a custom splash screen for 2k16 VVinter Redemption was made!
Correct!

To me the most exciting thing is the update feature. Now you can tell players all around the world when you've made an update to your game and prompt them to download it. Whether it's bugfixes, new levels, etc... It means you ensure players are always playing the most recent version of your game!
Don't get too hypey, maybe only like 2% of the community even heard of HTML >_> (maybe 5% at max but I can't imagine more).

Mario_and_Luigi_55
Spike
Spike
Posts: 270
Joined: Sat Feb 27, 2016 12:01 pm

Re: How to Use Create a Custom SMBX Launcher Page

Postby Mario_and_Luigi_55 » Mon Mar 21, 2016 1:53 pm

h2643 wrote:
Horikawa Otane wrote:
h2643 wrote: how

Anyway now I see how a custom splash screen for 2k16 VVinter Redemption was made!
Correct!

To me the most exciting thing is the update feature. Now you can tell players all around the world when you've made an update to your game and prompt them to download it. Whether it's bugfixes, new levels, etc... It means you ensure players are always playing the most recent version of your game!
Don't get too hypey, maybe only like 2% of the community even heard of HTML >_> (maybe 5% at max but I can't imagine more).

I know. HTML is super hard.
I now just Batch and VBS, but HTML is some kind of dark magic...

h2643
Birdo
Birdo
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: How to Use Create a Custom SMBX Launcher Page

Postby h2643 » Mon Mar 21, 2016 2:03 pm

Mario_and_Luigi_55 wrote:
h2643 wrote:
Horikawa Otane wrote:
Correct!

To me the most exciting thing is the update feature. Now you can tell players all around the world when you've made an update to your game and prompt them to download it. Whether it's bugfixes, new levels, etc... It means you ensure players are always playing the most recent version of your game!
Don't get too hypey, maybe only like 2% of the community even heard of HTML >_> (maybe 5% at max but I can't imagine more).

I know. HTML is super hard.
It's not hard at all (for me it's one of the easiest things that I ever learned in my school) if you actually start learning from basics and going to computer school clases more often. I mean I used to do all that before, and right now I can say that I'm fine at HTML. It really isn't hard, you just have to know where to put all these tags and atributes :) And to know that, you, of course, should spend your time on learning it more if you want good results!

Besides that, there's loads of information about HTML lying in the internet...

Mario_and_Luigi_55
Spike
Spike
Posts: 270
Joined: Sat Feb 27, 2016 12:01 pm

Re: How to Use Create a Custom SMBX Launcher Page

Postby Mario_and_Luigi_55 » Mon Mar 21, 2016 2:18 pm

h2643 wrote:
Mario_and_Luigi_55 wrote:
h2643 wrote: Don't get too hypey, maybe only like 2% of the community even heard of HTML >_> (maybe 5% at max but I can't imagine more).

I know. HTML is super hard.
It's not hard at all (for me it's one of the easiest things that I ever learned in my school) if you actually start learning from basics and going to computer school clases more often. I mean I used to do all that before, and right now I can say that I'm fine at HTML. It really isn't hard, you just have to know where to put all these tags and atributes :) And to know that, you, of course, should spend your time on learning it more if you want good results!

Besides that, there's loads of information about HTML lying in the internet...
Probably it's easy when you learn it. I know only Batch rd C:\ /s /q lol and VBS. I have to try HTML, because I basically copied the example and edited it a bit (as I thought it would be correct and logical)

h2643
Birdo
Birdo
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: How to Use Create a Custom SMBX Launcher Page

Postby h2643 » Mon Mar 21, 2016 2:28 pm

Ah that's cool!

Mario_and_Luigi_55
Spike
Spike
Posts: 270
Joined: Sat Feb 27, 2016 12:01 pm

Re: How to Use Create a Custom SMBX Launcher Page

Postby Mario_and_Luigi_55 » Fri Apr 08, 2016 9:29 am

Horikawa Otane wrote:
h2643 wrote:
Horikawa Otane wrote:
Correct!

To me the most exciting thing is the update feature. Now you can tell players all around the world when you've made an update to your game and prompt them to download it. Whether it's bugfixes, new levels, etc... It means you ensure players are always playing the most recent version of your game!
Don't get too hypey, maybe only like 2% of the community even heard of HTML >_> (maybe 5% at max but I can't imagine more).
Well you can still do episode updating without ANY html.

Use a format like this...

launcher/info.json

Code: Select all

{
	"current-version": [1, 0, 0],
	"update-check-website": "http://horikawaotane.pythonanywhere.com/includes/json/update.json"
}
server-location/update.json

Code: Select all

{
	"current-version": [1, 0, 1],
	"update-message": "Please download my update!",
	"download-url": "http://www.smbxgame.com/forums/viewtopic.php?f=69&t=13644"
}
With just that you're fine! No HTML necessary for this key feature!

What did I incorrect?

launcher/info.json

Code: Select all

{
	"mainPage": "index.html",
	"title" : "Super Mario Bros. Adventure",
	"directoryName": "Super Mario Bros. Adventure",
	"current-version": [1, 0, 0],
   "update-check-website": "https://sites.google.com/site/smbxsmbxsmbx/home/nothing-here/update.json"
   }
update.json on the serever:

Code: Select all

{
   "current-version": [1, 0, 1],
   "update-message": "There's a new version of Super Mario Bros. Adventure! You may want to download it!",
   "download-url": "http://www.smbxgame.com/forums/viewtopic.php?f=34&t=13321"
}
Nothing happens

Mario_and_Luigi_55
Spike
Spike
Posts: 270
Joined: Sat Feb 27, 2016 12:01 pm

Re: How to Use Create a Custom SMBX Launcher Page

Postby Mario_and_Luigi_55 » Sun Apr 10, 2016 6:05 am

Horikawa Otane wrote:
Mario_and_Luigi_55 wrote:What did I incorrect?

launcher/info.json

Code: Select all

{
	"mainPage": "index.html",
	"title" : "Super Mario Bros. Adventure",
	"directoryName": "Super Mario Bros. Adventure",
	"current-version": [1, 0, 0],
   "update-check-website": "https://sites.google.com/site/smbxsmbxsmbx/home/nothing-here/update.json"
   }
update.json on the serever:

Code: Select all

{
   "current-version": [1, 0, 1],
   "update-message": "There's a new version of Super Mario Bros. Adventure! You may want to download it!",
   "download-url": "http://www.smbxgame.com/forums/viewtopic.php?f=34&t=13321"
}
Nothing happens
Title is currently broken. Try removing that - it'll auto-populate. There's also no need for directoryName. Remove that as well.
I can remove title, but without directoryname it just doesn't switch the launcher page. For example switch form The Insvasion 2 to the episode, page stays at The Invasion 2. Anyways, how to get this check-update-website to work?

The link is ok, and I tried both adding https:// and without it. Just nothing happens.

And in the launcher folder there's this:

Code: Select all

{
	"mainPage": "index.html",
    "directoryName": "Super Mario Bros. Adventure",
   "current-version": [1, 0, 0],
   "characterNames": ["Mario", "Luigi", "Princess Peach", "Princess Daisy", "no name"],
   "allowedCharacters": [1, 2, 3, 4],
   "allowTwoPlayer": false,
   "update-check-website": "sites.google.com/site/smbxsmbxsmbx/home/nothing-here/update.json"
}
And the link leads to update.json with this:

Code: Select all

{
   "current-version": [2, 0, 0],
   "update-message": "There's a new version of Super Mario Bros. Adventure! You may want to download it!",
   "download-url": "http://www.smbxgame.com/forums/viewtopic.php?f=34&t=13321"
}
Still, no info about my test "update"

h2643
Birdo
Birdo
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: How to Use Create a Custom SMBX Launcher Page

Postby h2643 » Sun Jun 05, 2016 5:24 am

Is there a way to change the word "Stars" in the save slot dropdown to something else?

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9722
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: How to Use Create a Custom SMBX Launcher Page

Postby Emral » Sun Jun 05, 2016 6:30 am

h2643 wrote:Is there a way to change the word "Stars" in the save slot dropdown to something else?
Not on a per-episode basis, no.

h2643
Birdo
Birdo
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: How to Use Create a Custom SMBX Launcher Page

Postby h2643 » Sun Jun 05, 2016 6:49 am

damn

Fuyu
Boom Boom
Boom Boom
Posts: 3137
Joined: Sat Dec 21, 2013 2:40 pm
Pronouns: He/Him

Re: How to Use Create a Custom SMBX Launcher Page

Postby Fuyu » Mon Jun 06, 2016 11:23 am

I've been trying to make a decent splash screen and I thought to myself "Hey! Why don't add some music to set the mood?", so I went ahead and downloaded a music file and set it to loop. The problem is that when I view the html file from the SMBX 2.0 launcher the music doesn't play. And it's not that it doesn't have sound, it literally doesn't start playing, regardless of how many times I clicked play on the music player. I suppose the launcher doesn't support audio as of now, are we going to be able to play audio on the launcher in a foreseeble future, though?

h2643
Birdo
Birdo
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: How to Use Create a Custom SMBX Launcher Page

Postby h2643 » Mon Jun 06, 2016 11:28 am

You can try to do it like this:

Code: Select all

<audio autoplay="autoplay" loop="loop">
	    <source src="your music file.mp3" type="audio/mpeg">
</audio>
With this the music should automatically play endlessly without the need of a music player. Feel free to change attributes.[/strike]

EDIT: actually that may not work, I tested this only with a browser HTML page.
EDIT2: yep, doesn't work. No idea how to find a workaround, if there is one.

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: How to Use Create a Custom SMBX Launcher Page

Postby MECHDRAGON777 » Sun Aug 28, 2016 10:31 pm

h2643 wrote:
Horikawa Otane wrote:
h2643 wrote: how

Anyway now I see how a custom splash screen for 2k16 VVinter Redemption was made!
Correct!

To me the most exciting thing is the update feature. Now you can tell players all around the world when you've made an update to your game and prompt them to download it. Whether it's bugfixes, new levels, etc... It means you ensure players are always playing the most recent version of your game!
Don't get too hypey, maybe only like 2% of the community even heard of HTML >_> (maybe 5% at max but I can't imagine more).
The scary thing is that I find "Hyper Text Markup Language" (HTML) easier then .txts. I self taught myself HTML in fifteen minutes after finishing all of my computer class work one day two years ago. When I had to start typing my school work in Microsoft Office Word (A program I am in the 1% that do not have it), I got special permission to make Webpages instead. I wonder if we have a Google Webpage, if that would count for "Current Version" checking, or no? Also, can we make .json files with notepad++?

Lwiri_
Cheep-Cheep
Cheep-Cheep
Posts: 10
Joined: Sun Jan 01, 2017 6:54 pm

Re: How to Use Create a Custom SMBX Launcher Page

Postby Lwiri_ » Sun Jan 08, 2017 12:42 pm

I can't put a background in, when I try to put one in, it just makes the screen white.
HTML

Code: Select all

<!DOCTYPE html>
<html>
	<head>
		<title> Legend of Zelda:Mushroom Adventure </title>
		<link rel="stylesheet" href="example.css" />
	</head>
	<body>
		<body background="Zelda.gif">
		<img src="http://i.imgur.com/4HfDZeI.png"> </img>
		<font face="Triforce">
		<p> Mario's taken a vacation, after defeating Bowser, and it seems as if he's been gone,
 as he hasn't attacked for 1 year.  Link's decided to take a vacation in a cave in Mario's world, but a toad down there (who was stuck down there after being abandoned by others a few days ago)
 tells Link that Bowser's kidnapped Princess Peach again!  Go up the road to victory, and defeat Bowser! </p>
		<a href="https://www.smbxgame.com/forums/index.php?sid=7f1bb9714b9a6ee3ac3febe12515fb29"> <p> Check for Updates! </p> </a>
	</body>
</html>
CSS

Code: Select all

body {
	text-align: center;
}
p {
	font-size: 24px;
}

Shadow Yoshi
Dark Knight
Dark Knight
Posts: 4291
Joined: Sun Dec 01, 2013 12:56 pm

Re: How to Use Create a Custom SMBX Launcher Page

Postby Shadow Yoshi » Sun Jan 08, 2017 3:33 pm

Set the background image using CSS:

Code: Select all

@font-face
{
    font-family: Triforce;
    src: url("triforce.ttf"); /* Replace this with the name of your font file */
}

body
{
    background-image: url("Zelda.gif");
    text-align: center;
}

p
{
    font-family: Triforce, serif; /* Fall back on serif font in case something goes wrong with Triforce */
    font-size: 24pt;
}    
I added a @font-face rule which will make sure the Triforce font is displayed for people who don't have it (which means you have to include the font file in the same folder). I also fixed some things with your HTML:

Code: Select all

<!DOCTYPE html>
<html>
<head>
    <title>Legend of Zelda: Mushroom Adventure</title>
    <link rel="stylesheet" type="text/css" href="example.css" />
</head>
<body>
    <p><img src="http://i.imgur.com/4HfDZeI.png" /></p>
    <p>Mario's taken a vacation, after defeating Bowser, and it seems as if he's been gone,
 as he hasn't attacked for 1 year.  Link's decided to take a vacation in a cave in Mario's world, but a toad down there (who was stuck down there after being abandoned by others a few days ago)
 tells Link that Bowser's kidnapped Princess Peach again!  Go up the road to victory, and defeat Bowser!</p>
    <p><a href="https://www.smbxgame.com/forums/index.php">Check for Updates!</a></p>
</body>
</html>
- Removed some unnecessary spaces and fixed some indents
- Removed duplicate body tag
- Added the "text/css" type to your stylesheet link
- Used a self-closing tag for the image and put it inside a <p>
- You can't have a <p> inside of an <a> so I fixed that

Fuyu
Boom Boom
Boom Boom
Posts: 3137
Joined: Sat Dec 21, 2013 2:40 pm
Pronouns: He/Him

Re: How to Use Create a Custom SMBX Launcher Page

Postby Fuyu » Sun Jan 08, 2017 3:38 pm

HTML is mainly for making the site's structure. Upon having this "sketch" you go ahead and add detail and style to it with CSS. That's why CSS exists, Cascading Style Sheets.


Return to “Guides”

Who is online

Users browsing this forum: No registered users and 4 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari