Results 1 to 2 of 2

Thread: Braid for PC has hidden level editor

  1. #1
    Join Date
    Jan 2006
    Posts
    2,257

    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.

  2. #2
    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.

Similar Threads

  1. Level Editor & Mod Tools in Duke Nukem Forever
    By DanielaA in forum Video Games
    Replies: 9
    Last Post: 20-10-2011, 11:56 AM
  2. Replies: 5
    Last Post: 02-06-2011, 10:51 AM
  3. Replies: 3
    Last Post: 18-01-2011, 12:41 AM
  4. Using Numpty Physics level editor on N900
    By Untrusted in forum Portable Devices
    Replies: 4
    Last Post: 16-01-2011, 08:18 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,554,945.16636 seconds with 17 queries