Views: 23,103,605 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
12-05-24 06:33 AM |
Guest: |
0 users reading Editor development | 1 bot |
Main - General SM64DS hacking - Editor development | Hide post layouts | New reply |
Stomatol |
| ||
Normal user Level: 30 Posts: 177/178 EXP: 150225 Next: 15644 Since: 12-21-13 From: Sweden Last post: 2712 days ago Last view: 1603 days ago |
The new model importer is really great, amazing job. It can do pretty much anything, except one thing I'm missing, and that's billboards. (Like the 1-up mushrooms or the rolling balls in bob-omb battlefield - planes that always face the camera) I'm not sure how they work exactly, but if they could be implemented somehow it would be great. Would be very useful for optimizing some models. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 1036/1065 EXP: 2298187 Next: 37441 Since: 12-15-12 From: Ireland Last post: 2383 days ago Last view: 333 days ago |
Should certainly be possible, I know there's a flag in the bone header but I'm sure whether anything else is required as well. I'll try to add it. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 1038/1065 EXP: 2298187 Next: 37441 Since: 12-15-12 From: Ireland Last post: 2383 days ago Last view: 333 days ago |
SM64DSe R103 v2.3.4 2017/06/21
Changes: - Add support in model and collision map editor to set whether bones are rendered always facing the camera ("billboard") - Fix issue in model and collision map editor whereby the bone/transforms map wasn't being updated when adding or renaming bones - Fix issue in OBJ exporter whereby models with multiple parent bones (areas) were being incorrectly split up - Update BMD writer to automatically duplicate and assign materials shared across parent bones - Allow specifiying the minimum number of areas in a level within the level settings form Download in SM64DSe Git repo and last download thread. |
Sonikku A |
| ||
Member Normal user Level: 8 Posts: 5/12 EXP: 2185 Next: 2 Since: 05-13-17 Last post: 2492 days ago Last view: 2268 days ago |
I have a problem.I got the new version,but right after I open the rom,the editor shows me an error message.No 3D models are shown in the display,and more errors are displayed every time I go to a different part of the editor.When I tried importing a model,it said that the texture couldn't be read.When I run the game,the map screen becomes a garbled mess,and the top screen displays only black with the power meter |
Fiachra |
| ||
Local moderator Level: 65 Posts: 1039/1065 EXP: 2298187 Next: 37441 Since: 12-15-12 From: Ireland Last post: 2383 days ago Last view: 333 days ago |
Well what do the errors say, most importantly the first one? |
Sonikku A |
| ||
Member Normal user Level: 8 Posts: 6/12 EXP: 2185 Next: 2 Since: 05-13-17 Last post: 2492 days ago Last view: 2268 days ago |
It says
Object reference not set to an instance of an object |
Fiachra |
| ||
Local moderator Level: 65 Posts: 1040/1065 EXP: 2298187 Next: 37441 Since: 12-15-12 From: Ireland Last post: 2383 days ago Last view: 333 days ago |
You need to provide the stacktrace otherwise I can't possibly tell what caused that. |
Gota7 |
| ||
Paragoomba Star Wolf Level: 18 Posts: 12/66 EXP: 28354 Next: 1543 Since: 04-09-17 From: Same as above. ^ Last post: 2254 days ago Last view: 1499 days ago |
That happens to me when I somehow managed to corrupt a level, especially with a broken xml. I would try redownloading a US rom, or dumping your own.
Join the SM64DS Hacking Discord: https://discord.gg/PhpA9Wt |
mibts |
| ||
Panser =Josh65536 (Programmer) Level: 39 Posts: 259/331 EXP: 386221 Next: 18550 Since: 08-31-13 Last post: 2171 days ago Last view: 148 days ago |
The way the colors for the collision map are initialized, if an collision type index is skipped (for example, no planes have collision type 4 but there's a plane with collision type 5), an index-out-of-bounds exception will occur. Instead of getting the number of used collision type indices, it should get the maximum collision type index and add 1.
Also, the "default scale value?" in the documentation for texture animations is actually the scale X value. I confirmed this with a test in my hack. ____________________ Current hack: Excerpt from Super Mario 256 |
Fiachra |
| ||
Local moderator Level: 65 Posts: 1042/1065 EXP: 2298187 Next: 37441 Since: 12-15-12 From: Ireland Last post: 2383 days ago Last view: 333 days ago |
Posted by mibts That's what it should be doing: uniqueCollisionTypes.Sort();
Do you have a collision map that causes the error? I tried skipping a collision type but I didn't get an error.if (uniqueCollisionTypes.Count > m_CollisionMapColours.Count) { m_CollisionMapColours = KCLLoader.GetColours(uniqueCollisionTypes[uniqueCollisionTypes.Count - 1] + 1); } |
mibts |
| ||
Panser =Josh65536 (Programmer) Level: 39 Posts: 260/331 EXP: 386221 Next: 18550 Since: 08-31-13 Last post: 2171 days ago Last view: 148 days ago |
Try skipping a collision type and adding a new one. ____________________ Current hack: Excerpt from Super Mario 256 |
Fiachra |
| ||
Local moderator Level: 65 Posts: 1043/1065 EXP: 2298187 Next: 37441 Since: 12-15-12 From: Ireland Last post: 2383 days ago Last view: 333 days ago |
OK, see the issue now, will fix it. |
N64 Arctus |
| ||
Goomba Friend of N64s and DSes Level: 11 Posts: 2/21 EXP: 5010 Next: 975 Since: 07-04-17 Last post: 2274 days ago Last view: 497 days ago |
For some reason, I get an error when trying to edit a level in the latest version of the editor.
It says, "Index was outside the bounds of the array." As for the details, here is what it says(although I'm not sure if this will help or not): As far as I'm aware, the editor will only let me open the collision map editor. And upon loading the main game in Desmume, everything seems to be black, and the minimap is a garbled mess... ____________________ My Youtube Channel Never use a flash drive unless you are transferring files... |
Sonikku A |
| ||
Member Normal user Level: 8 Posts: 8/12 EXP: 2185 Next: 2 Since: 05-13-17 Last post: 2492 days ago Last view: 2268 days ago |
Say,same to me
Someone said it could be due to a faulty rom |
Fiachra |
| ||
Local moderator Level: 65 Posts: 1045/1065 EXP: 2298187 Next: 37441 Since: 12-15-12 From: Ireland Last post: 2383 days ago Last view: 333 days ago |
N64 Arctus: Was it a level you had modified? If so can you send me the level overlay otherwise which level and in which ROM version?
Edit: Also, if it was a level you'd modified, what modifications had you made before it became corrupt? |
N64 Arctus |
| ||
Goomba Friend of N64s and DSes Level: 11 Posts: 3/21 EXP: 5010 Next: 975 Since: 07-04-17 Last post: 2274 days ago Last view: 497 days ago |
I hadn't modified any levels at all yet, so I'm not really sure what could be going on...
And as far as I know, the rom is US, but I'm not sure which revision... ____________________ My Youtube Channel Never use a flash drive unless you are transferring files... |
Fiachra |
| ||
Local moderator Level: 65 Posts: 1046/1065 EXP: 2298187 Next: 37441 Since: 12-15-12 From: Ireland Last post: 2383 days ago Last view: 333 days ago |
Which level?
The ROM version is displayed within the text editor along the top. |
N64 Arctus |
| ||
Goomba Friend of N64s and DSes Level: 11 Posts: 4/21 EXP: 5010 Next: 975 Since: 07-04-17 Last post: 2274 days ago Last view: 497 days ago |
Okay thanks, I know the version now, it's US version 1.
But the thing is, I hadn't modified any of the levels yet, and attempting to open any of them just results in the error that I stated above. ____________________ My Youtube Channel Never use a flash drive unless you are transferring files... |
Fiachra |
| ||
Local moderator Level: 65 Posts: 1047/1065 EXP: 2298187 Next: 37441 Since: 12-15-12 From: Ireland Last post: 2383 days ago Last view: 333 days ago |
It appears to have been broken in R101, I'll look into it. Until it's fixed you can use the European ROM. |
N64 Arctus |
| ||
Goomba Friend of N64s and DSes Level: 11 Posts: 5/21 EXP: 5010 Next: 975 Since: 07-04-17 Last post: 2274 days ago Last view: 497 days ago |
Okay, thanks for the help. ____________________ My Youtube Channel Never use a flash drive unless you are transferring files... |
Main - General SM64DS hacking - Editor development | Hide post layouts | New reply |
Page rendered in 0.031 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 236/236, time: 0.011 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |