Prime World Editor is an editor for the Metroid Prime series and Donkey Kong Country Returns! I've been developing it for nearly two years now and it's finally feature-complete enough to release!

Here's some quick bullet points on the current featureset and its limitations:

The editor is able to open, view, and edit any level from Metroid Prime, Metroid Prime 2: Echoes, Metroid Prime 3: Corruption, Donkey Kong Country Returns, and all known/publicly available demos and prototypes of those games.

Editing is currently limited to room script layers. This means you can spawn new objects, edit object properties, set up links to other properties, and save/repack the level so that the game can reload it. There's no support for viewing or editing most asset types. Most other area components, such as room geometry, collision, dynamic lights, etc. can be viewed but not edited.

The editor does not handle moving assets around between paks. You'll need to either stick with assets that are already in them, or add them yourself by putting them in the folder and adding them to PakTool's .txt list file.

There is some functionality for importing/editing models and textures, but it's VERY limited and I don't really recommend actually using it. Models import with no materials, while textures are required to be a DXT1 DDS with no mipmaps. There's an editing interface for model materials, but there's no way to add/delete pass types, so you're stuck modifying the ones that are already there.

This build doesn't touch the MLVL and SAVW formats, which means there are a lot of limitations on what you can do:

If you try to move assets between rooms, you will probably experience hitching ingame when the room loads.

Objects that rely on data being saved to the save file, such as Memory Relay, won't work correctly ingame.

Objects in MP2/3/DKCR that use .rel and .rso files won't be able to be moved into rooms that they aren't normally in.

A few interface components (such as the starting window, the model editor, etc) are kinda clunky and will be redone eventually.

Check the readme for a more complete list of features, limitations and issues.

From this point on I'll be using this thread to post any updates on editor development and future releases. I'm hoping to be able to gradually add new features and do more frequent, smaller releases as new things get implemented. Feel free to post if you have any feedback or questions about using the editor or modding any of the supported games!

pretty sure Gunert posted in the wrong thread so I'll post my reply in the right one

Quote from Gunert:

So I'm having a bit of a problem. every time I try to extract from one of the paks the program crashes. It'll extract fine until it finishes, then it'll stop responding and I have to force quit the program. However I am also using files that were dumped by the randomizer program, would that be causing the problem?

Someone on Met Const reported this issue as well and I think I've fixed it. Try downloading PWE again from the same link in the first post and try it again.

edit: sounds like it may not be fixed. It doesn't crash on my PC and it sounds like even for people who do have the issue it doesn't happen every time, so it's pretty hard for me to figure out what's going wrong with it :/

Did I actually post in the wrong forum? Ha, that's what I get for doing that at 5 in the morning I guess. Don't suppose there's a way to delete posts is there?Anyways, I'll try redownloading later today and let you know how that turns out parax, thanks for checking it out if nothing else.

I cleaned up that post now I know it was definitely in the wrong place.

Regarding the crash, it might be an idea to have it write a log file as it goes, or you could have it bring up a console and print to that. There's a win32 API call that will start a console from a GUI app but I don't remember the name offhand.

i also get the crash. since the pak dump actually works, i just moved along but the crash makes things a bit clunky. must be something that is in parax's computer but not in the others (or the opposite)

i'm using Windows 7 64 bit. maybe that could help narrowing down things.

edit: lol, it works without crashing now. i didn't do anything and now the program doesn't crash. this is mp2-tier shenanigans.

Regarding the crash, it might be an idea to have it write a log file as it goes, or you could have it bring up a console and print to that. There's a win32 API call that will start a console from a GUI app but I don't remember the name offhand.

yeah I had a similar crash earlier yesterday that happened after repacking, and that's basically how I fixed it. Nobody reported this extraction issue before I released, though. In any case, it sounds like Miles is getting the extraction crash now so I'll work it out with him and hopefully figure it out.

no clue, it depends on how you extracted the game + how you rebuilt your ISO + what edits you made. I would recommend testing in Dolphin straight from the extracted files because it's way faster, plus it would eliminate ISO rebuilding as a possible source of problems. Copy pasting a post I made on Met Const:

Quote:

First you'll want to have the game files extracted by Dolphin itself... right click the game, go to Properties, then go to the Filesystem tab, right click Disc, and click Extract All Files. You'll also want to extract the dol and the apploader which are separate menu buttons. After that go to Options -> Configure -> Paths. Set DVD Root to point to the folder you extracted the files to, and set Apploader to point to the apploader you just extracted. Then go to Open and open the .dol file directly, and it should start the game with your extracted files.