Views: 20,054,763 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-26-24 03:18 AM |
Guest: |
0 users reading Editor development | 2 bots |
Main - General SM64DS hacking - Editor development | Hide post layouts | New reply |
skawo |
| ||
Normal user Level: 32 Posts: 3/216 EXP: 194769 Next: 11673 Since: 01-04-14 Last post: 2481 days ago Last view: 1170 days ago |
Should probably also add to the above that it seems some models just refuse to open in the editor. One example are the VRboxes (i.e backgrounds) which just crash it, making it impossible to retex them as well.
There's also some other bugs I've been running into, like - The additional patches menu just crashes every time for some reason - Import a model and close the importer.If you then try to open it back up and import a second model, it will fail to show the import preview - The editor has problems importing textures that are not 32x32. They render fine in the editor, but then are screwed up in-game. - Either the views are too complex for their own good, the editor creates malformed ones, or they actually have more data editable. Making a view crashes the game every. single. time, even if you copy all of the settings exactly. The editor's certainly improved a lot, though, to the point where level creation is rather enjoyable. So, props. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 240/1065 EXP: 2238778 Next: 96850 Since: 12-15-12 From: Ireland Last post: 2160 days ago Last view: 110 days ago |
Posted by Skelux I believe there is still a bug somewhere in the NARC file re-insertion code. R51 fixed some of the problems (previously importing a model into an archive level didn't work) but obviously there're still more. I'll definitely try and get this sorted. Here's the temporary workaround: - Make a copy of you ROM. - Use NSMBe to extract the model you want to edit from the NARC file and then reinsert it over a non-archived model. - Edit this non-archived one in SM64DSe and then extract it using NSMBe. - Use NSMBe to reinsert it into the NARC file in your original ROM over the original model. NSMBe seems to be very stable but make a backup just in case. Posted by skawo Any file or ROM version in particular? I just tried 3D Model>Import Other Model>/data/vrbox/vr*.bmd and they all worked fine in a EUR ROM, I didn't try all the vrboxes in the other versions but the ones I tried worked. Posted by skawo "The additional patches menu just crashes every time for some reason" - The structure of the AdditionalPatches.xml XML has changed recently, make sure you're using the latest version - the editor is not backwards-compatible with the older versions, though I'll add an error message. "When you import a model and close the importer, if you then try to open it back up and import a second model, it will fail to show the import preview" - I think it's always done that, this is probably a bug in how the form is closed, or may be related to the general ModelCache bug that doesn't update imported models correctly until you re-open the ROM, or it may be. I'll try and fix it. "The editor has problems importing textures that are not 32x32" - It's non-powers-of-2 resolutions and ones lower than 8 that it can't handle. Textures need to be 8x, 16x, 32x, 64x ... Nintendo's models stick to these resolutions as well so I don't think it's a problem with the editor. If they still don't appear correctly then they're probably not indexed. "Making a view crashes the game every. single. time, even if you copy all of the settings exactly." - Thanks for pointing out. I think I know exactly what the problem is; when working on the Texture Animation editor recently I discovered that if addresses aren't multiples of 4 the level will crash; View objects are 14 bytes each which is causing the addresses of following object tables and other data to be at addresses not divisible by 4 when adding or removing them. This should be easy enough to fix - just pad with 2 extra bytes at the end of the table when needed. EDIT: This is also most likely there are problems when adding and removing Path and Path Node objects - they're 6 bytes each. Posted by Hiccup Yes, that'll be in the next revision. |
skawo |
| ||
Normal user Level: 32 Posts: 4/216 EXP: 194769 Next: 11673 Since: 01-04-14 Last post: 2481 days ago Last view: 1170 days ago |
Posted by Fiachra US V 1.0 ROM, any VRbox. Here's, uh, the error produced, not sure if it's any good or not: Posted by Fiachra I'm using the latest version, directly taken from your download. Again, possibly useless error: Posted by Fiachra Actually, it behaved bugged out before as well, but differently; before, it didn't clear out the preview and you could just see it again. Posted by Fiachra Thing is, this was with 64x64 textures, taken from NSMBDS (some paths). Changing them to 32x32 fixed them. So...yeah. This doesn't appear to be wrong until you try to specifically map them (like the paths). And, again, they appear correctly in the editor itself, just that the game renders them completely differently. BTW, did you find out why that Bob-omb Buddy bug's been happening? I ran into this when making a different level, except this time the Bomb Buddies were getting replaced with PLAYER actors :/ |
Fiachra |
| ||
Local moderator Level: 65 Posts: 241/1065 EXP: 2238778 Next: 96850 Since: 12-15-12 From: Ireland Last post: 2160 days ago Last view: 110 days ago |
Posted by skawo You're right, I just tried running the .exe file directly instead of running through VS and I got the same error. "The editor has problems importing textures that are not 32x32" - Are you talking about importing a model or replacing textures? "The additional patches menu just crashes every time for some reason" - Was able to reproduce using a US ROM, I know what the problem is, will be fixed soon. "BTW, did you find out why that Bob-omb Buddy bug's been happening?" - Not yet, sorry. Seems very strange that it would change the object ID and not corrupt the level at all. |
skawo |
| ||
Normal user Level: 32 Posts: 5/216 EXP: 194769 Next: 11673 Since: 01-04-14 Last post: 2481 days ago Last view: 1170 days ago |
Importing a new model. If you'd like, I can rig up something to showcase this. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 242/1065 EXP: 2238778 Next: 96850 Since: 12-15-12 From: Ireland Last post: 2160 days ago Last view: 110 days ago |
If you send me a model I'll have a look at it. No one else, including me have had any problems with non 32x32 textures when importing models (both OBJ and DAE) though.
Are you sure your textures are indexed? The colours can be messed up if not. Edit: It could also be that you have too many textures, if you've too many / too big textures they'll start to glitch. |
skawo |
| ||
Normal user Level: 32 Posts: 6/216 EXP: 194769 Next: 11673 Since: 01-04-14 Last post: 2481 days ago Last view: 1170 days ago |
...Well. I tried it right now, and, of course, it worked correctly this time. Can't make it do what it was doing before...
Not sure what to say to that. Either way, though; if this is indeed something that mucks up because of the issues you listed, could you make the editor warn the user about this? Or render it like the DS would, but...probably undoable. Also, heh, running about in the editor reminded me of two things more: - Maybe this isn't a bug with the editor and is actually wrong in-game data but...the animation data for Goomboss Battle Map seems to be output wrong? Shows only one frame on the list, but then also says there's supposed to be 181. The one in the Goomboss Battle Fight is right, so...uh. Sorry to report so many things at once, by the way. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 243/1065 EXP: 2238778 Next: 96850 Since: 12-15-12 From: Ireland Last post: 2160 days ago Last view: 110 days ago |
Posted by skawo It already does warn if the textures are above a certain size but it just wouldn't be possible to predict when it'll glitch or not load for each specific model, also the complexity of the KCL file can also affect when it freezes.
It's either a bug in the code that creates the new overlays or there're inconsistencies in the original overlays; for some levels (other example is LLL) the texture animation data doesn't get copied and so it doesn't work in those levels.
That would be the reason, I must have forgotten to specify the locale when parsing some of the values.
It's fine, if they don't get reported they'll never get fixed! |
Hiccup |
| ||
Normal user Level: 58 Posts: 63/815 EXP: 1516744 Next: 60802 Since: 09-06-12 Last post: 1691 days ago Last view: 47 days ago |
Some helpful tips for skawo:
* You may want to use the E rom, because I think Fiachra uses it mostly, to base hacks on. * The new version linked by Fiachra, has the new files in the bin folder, not the main one (I think). Try this one anyway. |
skawo |
| ||
Normal user Level: 32 Posts: 7/216 EXP: 194769 Next: 11673 Since: 01-04-14 Last post: 2481 days ago Last view: 1170 days ago |
I'm not gonna scrap what I did so far just to switch ROMs. |
Hiccup |
| ||
Normal user Level: 58 Posts: 64/815 EXP: 1516744 Next: 60802 Since: 09-06-12 Last post: 1691 days ago Last view: 47 days ago |
It's not sensible for me to think that you would, no. |
skawo |
| ||
Normal user Level: 32 Posts: 8/216 EXP: 194769 Next: 11673 Since: 01-04-14 Last post: 2481 days ago Last view: 1170 days ago |
Oh boy, 'ts me again:
Um, the messages corrupted on me for some reason. Here's the bin... https://drive.google.com/file/d/0B-HeBvPjqJ74WHdsSlBtVmI4cTg/edit?usp=sharing Not sure how many corrupted, but the "COMPLETE" message is (for instance, try clearing the Goomboss Battle) |
Hiccup |
| ||
Normal user Level: 58 Posts: 65/815 EXP: 1516744 Next: 60802 Since: 09-06-12 Last post: 1691 days ago Last view: 47 days ago |
Feature Request:
* Could you add rudimentary support for Japanese text? |
Fiachra |
| ||
Local moderator Level: 65 Posts: 244/1065 EXP: 2238778 Next: 96850 Since: 12-15-12 From: Ireland Last post: 2160 days ago Last view: 110 days ago |
skawo:
Import this XML to fix your strings: http://www.sendspace.com/file/abg4s3 If they become corrupt but you can still load them in the text editor, you can export and use a clean copy of the texts compare and fix the corrupt one. Maybe you tried to enter a character not supported by US ROMs?
Maybe. Depends on how difficult it would be. If it's very difficult then I'd be unlikely to as there aren't many that want to edit the Japanese text. Posted by Skelux The problem seems to be yet again, a problem with offsets not being 4-byte aligned. Hopefully it won't be too hard to fix. |
Hiccup |
| ||
Normal user Level: 58 Posts: 66/815 EXP: 1516744 Next: 60802 Since: 09-06-12 Last post: 1691 days ago Last view: 47 days ago |
I think a few people on The Cutting Room Floor would like to compare the texts with the English versions. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 246/1065 EXP: 2238778 Next: 96850 Since: 12-15-12 From: Ireland Last post: 2160 days ago Last view: 110 days ago |
If someone can give a list of the Unicode characters for the Japanese characters used here:
I'll add support for it, but I'm not going to go through that and try and find each one. Edit: Here it is split up into individual characters. |
skawo |
| ||
Normal user Level: 32 Posts: 9/216 EXP: 194769 Next: 11673 Since: 01-04-14 Last post: 2481 days ago Last view: 1170 days ago |
Well, as far as feature requests go, I also have a "few":
- Ability to duplicate item across select stars (or, at least, across all stars) - Ability to search for message in the text editor (or, at least, make it output the IDs in the xml as well, so you can search for them in the xml) - Ability to move the entire level around (map polygons, collision and all objects, views, maps, exits, etc) - In the KCL editor, ability to click on faces to select them And, uh, some more...advanced ones - Copy paste (yeah, seen this coming, probably) - Ability to save entire level into some file and import it back (between versions, as well) - Better integration of the Object DB. Should replace "PARAM 1" etc with stuff from DB (and, say, hover over the field to get a futher comment about what this setting does). See: Reggie Level editor, NSMBe, etc. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 247/1065 EXP: 2238778 Next: 96850 Since: 12-15-12 From: Ireland Last post: 2160 days ago Last view: 110 days ago |
Posted by skawo If you set the Star to 'All' it will appear in all stars with the same parameters. "Ability to search for message in the text editor (or, at least, make it output the IDs in the xml as well, so you can search for them in the xml)" - I was already planning on doing both of those. "Ability to move the entire level around (map polygons, collision and all objects, views, maps, exits, etc)" - Already can for all of the objects (Objects>Offset All Co-ords). Moving the model and collision map around would be way too much effort for so little gain - you'll just to re-import them. "In the KCL editor, ability to click on faces to select them" - Possibly in future, my OpenGL knowledge is fairly limited. "Copy paste (yeah, seen this coming, probably)" - Shouldn't actually be that hard to do, will probably do that after the bugs listed recently are fixed. "Ability to save entire level and import it back (between versions, as well)" - Will do it sometime. By 'between versions' I assume you mean EUR, US etc., I wouldn't do for between versions of the editor as the format may change. "Should replace "PARAM 1" etc with stuff from DB..." - The ObjectDB already has the ability to store this (it's not really used though) but that'll be done sometime as well. |
skawo |
| ||
Normal user Level: 32 Posts: 10/216 EXP: 194769 Next: 11673 Since: 01-04-14 Last post: 2481 days ago Last view: 1170 days ago |
Yes, but, see, the problem arises if you want the object to appear in all stars but one or something. Then you have to add 6 objects, copy the values to each one, and it takes quite a while.
If you could duplicate the object 7 times and just have the star number different on each one, then you could just erase the ones from the star(s) you don't want them to appear on. |
Fiachra |
| ||
Local moderator Level: 65 Posts: 248/1065 EXP: 2238778 Next: 96850 Since: 12-15-12 From: Ireland Last post: 2160 days ago Last view: 110 days ago |
That'd be taken care of by copy-and-paste. I've edited my above post. |
Main - General SM64DS hacking - Editor development | Hide post layouts | New reply |
Page rendered in 0.041 seconds. (2048KB of memory used) MySQL - queries: 27, rows: 141/141, time: 0.011 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |