Go Back   TechArena Community > Technology > Video Games
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Braid for PC has hidden level editor

Video Games


Reply
 
Thread Tools Search this Thread
  #1  
Old 16-04-2009
Member
 
Join Date: Jan 2006
Posts: 2,259
Braid for PC has hidden level editor
  

Jonathan Blow has confirmed that the recently released PC edition of his time-bending platformer Braid contains a level editor, thus opening the door for user-created maps, and easing the suffering of those bummed about Blow's refusal to do a sequel.

Documentation for the editor will be posted "after I get a new version [of the game] out in a few days that fixes the problems some people are having, and when more people have played/finished the game," Blow wrote in a forum post noticed by Destructoid.

Along with the documentation, he plans to release a tool "that lets you take Photoshop files and import them into the game, if you want to put new graphics in your levels."

The editor is accessible by launching the game with the "-editor" parameter, and then pressing F11. The "-universe universe_name" command line then dictates the location where the custom level will be saved.

To get started, download this file:

Download

And unpack it into your Braid folder. So in the same folder where braid.exe lives, you should now have a folder called “universes”. Inside that there should be one subfolder, “sample”.

Now you can run Braid with the following command-line option:

-universe sample

When the game starts up, everything should look normal, because this sample universe doesn’t replace the starting world, and anything you don’t replace will get pulled from the regular game assets. You’ll start at the beginning of the game, though, because universes have their own save files.

If you walk into the world 2 story screen, instead of what you would normally, you ought to see a very minimal place with one monster in it. This is because world0-2.entities has been overridden by the version in this sample universe. You may also notice that when Tim jumps, he can leap forward very quickly. This is because his jump speed has been changed in the file Mod.variables.

There are only two doors in this new world0-2.entities, because the doors in these story-worlds just off the main hub are generated in order to match the levels present in the game, and the file level_config now says that there are only 2 levels in world 2.If you collect world 2 puzzle pieces, you’ll notice that they actually look like the world 4 puzzle… this is because I overloaded puzzle2.pi_set with the world 4 version. You could put any image in the puzzles, but you need Photoshop and an extra tool to generate the puzzle pieces; I will talk later about how to do this.

The people inside the new 0-2.entities are from rpgobj.pi_set (also drawn by David Hellman). You can see everything in rpgobj if you go into the editor (by pressing F11), go to a New Universe, press Add Piece Config, and type “rpgobj” into the box. From there you can copy and paste these objects into a level.

Now, if you try to change any levels and save out the results, you’ll notice that next time you play the game, the changes don’t take effect. This is because Braid is not actually reading from the loose files during gameplay. As an efficiency measure, for normal play, Braid files are bundled up into non-compressed .zip files (the same way package.zip and package0.zip are, if you look in your standard Braid file tree). To package up your levels for end-users, you similarly put them into an uncompressed zip file. This is what universes/sample/package.zip is.

Reply With Quote
  #2  
Old 03-06-2011
Member
 
Join Date: Mar 2010
Posts: 456
Re: Braid for PC has hidden level editor

In order to play what you save out, you need to be able to run Braid with the no_package

option on the command-line. However, in order to do this, you need to have all the loose files available not just the ones for your modifications, but all the standard Braid files as well. So to do this, go into the Braid data folder (not the one for your universe, but the standard one that is in the same folder as braid.exe). Copy package.zip and package0.zip one level up (into the same folder where braid.exe is). Then unzip both of these files into that directory. It should add a whole bunch of new, loose files into your Braid data directory that already existed.

Once you do this, you ought to be able to run with -no_package and make your own modifications, then package them up and other people can run them with -universe.
Reply With Quote
Reply

  TechArena Community > Technology > Video Games
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Braid for PC has hidden level editor"
Thread Thread Starter Forum Replies Last Post
Level Editor & Mod Tools in Duke Nukem Forever DanielaA Video Games 9 20-10-2011 11:56 AM
The Crucible and Level Editor in Hunted: The Demon's Forge Man-Than Video Games 5 02-06-2011 10:51 AM
Angry Birds Level Editor perfectly works on Maemo 5 Caila Video Games 3 17-01-2011 11:41 PM
Using Numpty Physics level editor on N900 Untrusted Portable Devices 4 16-01-2011 07:18 AM


All times are GMT +5.5. The time now is 12:14 PM.