Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

27115 Posts in 1548 Topics- by 1486 Members - Latest Member: sunmig

May 18, 2013, 09:43:19 PM
Team Meat ForumsSuper Meat BoyLevel EditingHow to play User Made Levels outside of Devmode.
Pages: [1] 2 3
Print
Author Topic: How to play User Made Levels outside of Devmode.  (Read 6262 times)
GhostSonic
Level 0

Posts: 27


Second Forum Member


View Profile
« on: March 25, 2011, 11:09:12 PM »

This is basically going to be a tutorial on how to load many of the levels downlodable from this section like you can with the official levels. It's not necessarily easier to do, but not that hard either. It's neat, makes playing the levels feel more authentic, allows for ingame music, and you can save replays of them!

- First, you are going to need to download the Super Meat Boy Data Unpacker from Here. Then extract to basically anywhere accessible.

- Second, you need to make a backup of your Super Meat Boy folder (your save file especially, since this tends to screw with your save file). If you don't know where it is, it's under commons in your steam/steamapps folder (assuming you got it from Steam).

- Third, copy gamedata.dat and gameaudio.dat files from the meat boy folder into the same folder as the data unpacker.

- Fourth, you'll need to unpack these data files. To do this, open a command window to this folder by holding down Shift and Pressing Right click without selecting a file, and then press "Open command window here" from the drop down box.
 
 -To extract the data files, use the command in the command window "smb_unpck unpackDat gamedata.dat" (without the quotes). The files will be extracted into a folder called "data". To extract the audio files, do the command "smb_unpck unpackSnd gameaudio.dat". The files will be extracted into a folder called "audio". These will mainly be used to easily find the file names of the music you want to use with your level. You also have the entire soundtrack here, but I still recommend buying it from Bandcamp. You get nice shiny CD's and even an autograph from Danny, the composer, if you pay a little extra.

- Fifth, copy the contents of the data folder that was created earlier from extracting the data files into the main Super Meat Boy folder. Then, download this blank gamedata.dat file and save it to the meat boy folder. You can rename or replace the original gamedata.dat, but it shouldn't matter as long as you created a backup smb folder earlier. This will basically force Super Meat Boy to load the it's data files from the SMB folder instead of the gamedata.dat file, since it can't find any files in there, allowing us to easily edit the files without having to repack them.

- Now you can put any custom levels/chapters you want into the levels folder inside the super meat boy folder. I'll use Code92's chapter Remnants as an example.

- Now for the last part, putting them into a chapter file. In the levels folder, there are several files such as forest.chapter (Which is chapter 1, obviously) and Hospital.chapter (Chapter 2). These are just text files which tell the game things such as what spaces on the chapter go to what level, the names of the level, and what music to load. You can open the up in notepad by simply opening notepad and dragging the file in.

The way the chapter files work is like this, using Hospital as an example:
The first part looks like this:
Quote
   name = "Hospital";
   music = "ch2track.wav";
   altmusic = "ch2trackalt.wav";
   warpmusic = "ch2retro.wav";
   menunormalmusic = "hmenuloop.wav";
   menuretromusic = "hevilmenuloop.wav";
   warptrans = "warp.am";
   intro = "ch2intro.am";
   bossintro = "boss2intro.am";
   bossoutro = "boss2outro.am";
   bossmusic = "boss2.wav";

It's pretty self explanatory what these values control. Music values control music, intro, warptrans etc. control what video is loaded. You can edit the intro value to internetsintro.am to make it play the "Teh Internets" intro you'd normally only see on the Xbox version. Music controls the normal music, altmusic controls dark world music. Menunormalmusic controls the music used the menu. menuretromusic controls the dark world menu music. To find filename of the tracks, just look in the audio folder in the unpacker's folder that should've been made when you extracted the audio files earlier. I decided to change the level music into Chapter 5's original dark world music and make the menu music the teh internets menu music and the intro the teh internets intro. After making these small changes looked like this:
Quote
   name = "Remnants";
   music = "ch5alt.wav";
   altmusic = "ch2trackalt.wav";
   warpmusic = "ch2retro.wav";
   menunormalmusic = "internetsmenu.wav";
   menuretromusic = "hevilmenuloop.wav";
   warptrans = "warp.am";
   intro = "ch2intro.am";
   bossintro = "boss2intro.am";
   bossoutro = "boss2outro.am";
   bossmusic = "boss2.wav";
.

An additional value you can add below this is "overridechar = ID;", without the quotes, replacing ID with a character number from this list. This will force you to play as the specified character on this chapter. IE, if you have overridechar = 23; it will force you to play as the kid on this chapter.

The next part looks like this:
Quote
normlevel
{
   file = "2-1";
   name = "Biohazard";
   par = 11.0;
   id = 52;
}

normlevel
{
   file = "2-2";
   name = "One Down";
   par = 10.5;
   id = 53;
}
File controls what level file to load, name is, well, the name, I believe par is the time in seconds required to get an A+ on the level, and I believe ID is a number used to identify what level it is, every level in the game seems to have a unique number. You don't need to change the ID, but you're welcome to mess with it. Name can be changed, but does not need to be changed, to what the name of the level is meant to be if the author has given it one. File should be the name of the file. For example, with remnants I made it look like this.
Quote
normlevel
{
   file = "rem1";
   name = "Route 1";
   par = 11.0;
   id = 52;
}

normlevel
{
   file = "rem2";
   name = "Ground Switch";
   par = 10.5;
   id = 53;
}
Just make these changes for every one after. There are other fields such as altlevel, which is dark worlds, and warp1/2/3level. The syntax is the same for these, so no explanation is really needed.

- Now all you have to do is save it, and go to the appropriate chapter and play like normal.

That's about it. It probably looks lengthy and complicated, but it's really not. I don't really like to make tutorials like this, but I really wanted to share this, so if you need help or if something I said didn't make sense, feel free to ask.

I'll try to add helpful screen-shots and perhaps make a video tutorial later. For now, have a video of a replay I made by using this from RockLeeSmile's chapter "The Lime Key"
« Last Edit: March 26, 2011, 01:55:42 AM by GhostSonic » Logged

Insani99999
Guest
« Reply #1 on: March 25, 2011, 11:12:32 PM »

Sounds interesting. I guess it'd be helpful for people who want their devmode levels to seem more official...

Also this would make iron boy runs easy.
Logged
Maruhai
Level 5
*****
Posts: 1287


Super Bulldozer Adventure Supporter


View Profile
« Reply #2 on: March 26, 2011, 02:17:55 AM »

Also this would make iron boy runs easy.
And stupid.
Logged


Insani99999
Guest
« Reply #3 on: March 26, 2011, 02:19:00 AM »

Also this would make iron boy runs easy.
And stupid.

Edit each level to be 1-1, SUCCESS!
Logged
GhostSonic
Level 0

Posts: 27


Second Forum Member


View Profile
« Reply #4 on: March 26, 2011, 02:49:03 AM »

Also this would make iron boy runs easy.
And stupid.

Edit each level to be 1-1, SUCCESS!
You just gave me the stupidest idea for a video.
Logged

GhostSonic
Level 0

Posts: 27


Second Forum Member


View Profile
« Reply #5 on: March 26, 2011, 04:06:10 AM »

Also this would make iron boy runs easy.
And stupid.

Edit each level to be 1-1, SUCCESS!
You just gave me the stupidest idea for a video.
Done. I later took away the illegitimate achievement, so don't worry.

Edit: Oh crap, I totally forgot this would put me on the front of the leaderboard, along with all the other dorks with millisecond times.
« Last Edit: March 26, 2011, 04:10:19 AM by GhostSonic » Logged

Karoo
Level 1
*
Posts: 167


lol, "Girl Boy" achivement


View Profile
« Reply #6 on: March 26, 2011, 04:09:53 AM »

^that was too slow and risky. you should spawn on meat boy to make the levels screw up proof.
also, how do you take away achivements?

« Last Edit: March 26, 2011, 04:14:46 AM by Karoo » Logged

my random super meat boy level colection:
http://www.mediafire.com/?njqdjcj194t59
GhostSonic
Level 0

Posts: 27


Second Forum Member


View Profile
« Reply #7 on: March 26, 2011, 04:16:47 AM »

^that was too slow and risky. you should spawn on meat boy to make the levels screw up proof.
also, how do you take away achivements?


Kinky.
Also, Achievement Manager. Useful if you wana do certain achievements again, reset stats, or just make yourself look like a god to your friends.
« Last Edit: March 26, 2011, 06:15:17 AM by Zarkith » Logged

Insani99999
Guest
« Reply #8 on: March 26, 2011, 05:08:24 AM »

Also this would make iron boy runs easy.
And stupid.

Edit each level to be 1-1, SUCCESS!
You just gave me the stupidest idea for a video.

I think I'll make a custom level where you spawn right above bandage girl and replace every single level with that.
Logged
Shincks
Fresh Meat

Posts: 2


View Profile
« Reply #9 on: March 26, 2011, 05:39:39 AM »

Couldn't get this to work, it crashes as it enters the world (during the intro). I had to actually repack the levels to even get past the intro. I bet I tweaked a setting wrong in my forest.chapter or something. I could pastebin it if anyone cares.
« Last Edit: March 26, 2011, 06:19:21 AM by Shincks » Logged
taviow
Level 0

Posts: 59


Pizza and margarita shooters.


View Profile
« Reply #10 on: March 26, 2011, 07:25:26 AM »

Also this would make iron boy runs easy.
And stupid.

Edit each level to be 1-1, SUCCESS!
You just gave me the stupidest idea for a video.
Done. I later took away the illegitimate achievement, so don't worry.

Edit: Oh crap, I totally forgot this would put me on the front of the leaderboard, along with all the other dorks with millisecond times.

I hate that this is possible.

Seriously it just makes me angry.
Logged
Blatch
Guest
« Reply #11 on: March 26, 2011, 08:19:43 AM »

^that was too slow and risky. you should spawn on meat boy to make the levels screw up proof.
also, how do you take away achivements?


Kinky.
Also, [DATA EXPUNGED]. Useful if you wana do certain achievements again, reset stats, or just make yourself look like a god to your friends.



The fact that a program like that actually exists scares me a little bit. I'll probably report it to Steam in the future.

And this is actually a cool tip! I'll be waiting until the level portal comes out to publish my levels. It just irritates me that you could get free Iron Boy runs with it.
« Last Edit: March 26, 2011, 01:42:24 PM by Blatch™ » Logged
Norfair
Level 2
**
Posts: 279



View Profile
« Reply #12 on: March 26, 2011, 08:35:42 AM »

I got used to devmode so much that before i got my golden god i tried to press F1 and edit the spawn in cotton alley levels 
now my dreams come ture yet too late because i did get it without cheating D:
Logged

I Gots Powers 

Used to be Pwn Doctor, if anyone remembers me..
Chilblain
Level 1
*
Posts: 131


Surface-to-Air Meat Missile. Target: Sawblade.


View Profile
« Reply #13 on: March 26, 2011, 11:04:57 AM »

Also this would make iron boy runs easy.
And stupid.

Edit each level to be 1-1, SUCCESS!
You just gave me the stupidest idea for a video.
Done. I later took away the illegitimate achievement, so don't worry.

Edit: Oh crap, I totally forgot this would put me on the front of the leaderboard, along with all the other dorks with millisecond times.

Dear god, that is... actually rather hilarious. 
Logged
NovaSilisko
Level 2
**
Posts: 269


That guy who finally beat the game


View Profile
« Reply #14 on: March 26, 2011, 02:48:41 PM »

Logged

Pages: [1] 2 3
Print
Jump to:  

Theme orange-lt created by padexx