RSS Feed
  0 users browsing SM64DS hacking. | 1 bot  
Main » SM64DS hacking » SM64DSe v1.01
Pages: 1
Posted on 05-11-11, 06:59 pm
Kuriboss

Posts: 9/138
Since: 05-05-11

Last post: 4315 days
Last view: 2738 days
Here is a screenshot of the currently available version (v1.01):


And here are the downloads:
v1.01 - latest version
v1.0 - a bit older
More

Do not forget to backup your ROM before using the editor on it! The editor is normally stable but we never know.

ROM versions compatible with the editor

* USA (both versions)
* EUR

If you have another version, tell me so that I can add support for it.

How to use the editor

Open sm64ds_editor.exe, and open your ROM. If this is the first time you open this ROM in the editor, the ROM will be patched. You will be asked if you want to make a backup of it first if you didn't already do so- the patching normally should go right, but we never know.

If you get an exception during the patching process, chances are that your ROM is not compatible with the editor.

Then, if everything goes right, you will be shown a list of the levels you can edit.

Select a level and click "Open level" to open it. Alternatively, double-clicking the levels also works.
Note that not all the levels can be opened- namely, the levels that are shared with multi-player cannot be opened yet because their files are stored in NARC archives.

You will be shown a window with a 3D preview of the level (if everything goes right), that shows the level's geometry and the objects as color cubes (dark blue for standard objects, turquoise for simple objects).

The level editor window

Dragging the cursor around while keeping mouse buttons pressed lets you control the camera. Left button moves the 3D model, right button rotates the camera.

The left panel is organized in tabs. In the "3D model" tab, you have a list of all the parts in the level's 3D model. You can play around with the checkboxes in the list to hide/show parts of the model. You can also right-click a model part in the list, and click "Dump texture", to dump the texture it is associated to (if any).

In the "Objects" tab, you have two lists of objects in the level- Standard and Simple. Simple objects are generally stuff like coins and trees, althrough they can be any object, just like Standard objects. Note however that simple objects can't be rotated, and have less parameters possible than standard objects.
The objects are grouped depending on what star(s) they show up for.

Selecting an object shows a panel that lets you edit the object's properties. Be careful when changing the object ID, not all the objects can be used like that- the game has an object banks system similar to NSMB's. Trying to use an object that isn't available under the current bank settings will crash the game. The object bank settings can be changed in the "Level settings" window. Note also that some objects are specific to the level they are in, and cannot be used in any other level no matter the object bank settings.

You can also select and move objects directly inside the 3D preview- drag them around to move them in parallel to the screen, and use your mouse wheel to move them perpendicular to the screen. You can also use the W/A/S/D or numpad 8/4/6/2 keys to move objects. You can rotate standard objects by holding the right mouse button and dragging the cursor horizontally.
Objects' position/rotation can also be fine-tuned in the object properties panel.

Last, don't forget to save your level before you go test it in your favourite DS emulator (or your DS)

Well, I think that's all that needs to be documented, the rest should be obvious

Changelog
v1.01:
* Fallback rendering mode for old graphics cards/drivers. This mode may be less performant than normal mode.

v1.0:
* 3D preview 'n' all
* Support for simple objects (trees and coins)
* Support for changing object banks
* NO$GBA should now load edited ROMs fine

v0.5: (actually numberless)
* first release; unattractive and even repelling

Credits
Treeki for the NitroROM overlay decompression code, the object names list and other things.
Nikolaj, jceggbert5, Treeki, Hammy, Luigi987 for betatesting

I hope you will enjoy using the editor
Posted on 05-12-11, 07:50 pm (revision 2)


Posts: 3/9
Since: 05-11-11

Last post: 4692 days
Last view: 4686 days
Can you by any chance release the source to 1.01(not the c# one) please? I dont Like decompiling because it messes up code structure( or rather, doesnt un-mess it up)
Posted on 05-12-11, 10:10 pm
Kuriboss

Posts: 12/138
Since: 05-05-11

Last post: 4315 days
Last view: 2738 days
Oh well, v1.01 is coded in C++/CLI, that is, Reflector may give you code that is clean enough.

However, here is the source of v1.0. It's close enough to v1.01.
Posted on 05-12-11, 10:34 pm


Posts: 4/9
Since: 05-11-11

Last post: 4692 days
Last view: 4686 days
I get a 505 error. Either way, its an awesome editor, thats why i wana get the source :-D
Posted on 05-12-11, 10:39 pm
Kuriboss

Posts: 14/138
Since: 05-05-11

Last post: 4315 days
Last view: 2738 days
Re-uploaded the file, try again.
Posted on 05-13-11, 12:42 am


Posts: 5/9
Since: 05-11-11

Last post: 4692 days
Last view: 4686 days
still no luck, but thanks anyway.
Posted on 05-13-11, 03:22 pm
Kuriboss

Posts: 15/138
Since: 05-05-11

Last post: 4315 days
Last view: 2738 days
Try again, now. Turns out this server is rather dumb with .htaccess files

And did you unpack all the files found in the zip? The OpenTK DLLs are required too...
Posted on 05-13-11, 07:21 pm


Posts: 6/9
Since: 05-11-11

Last post: 4692 days
Last view: 4686 days
i unpacked all of 'em.
Posted on 05-15-11, 07:33 pm
Kuriboss

Posts: 16/138
Since: 05-05-11

Last post: 4315 days
Last view: 2738 days
Well, that's weird. I'd advise that you reinstall your .NET framework. If anything fails, you should post a screenshot of the error message and all...
Pages: 1
Main » SM64DS hacking » SM64DSe v1.01