Kuribo64
Views: 19,851,946 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
03-28-24 07:17 PM
Guest:

0 users reading SM64DS Editor Help Thread - Post your questions here | 2 bots

Main - General SM64DS hacking - SM64DS Editor Help Thread - Post your questions here Hide post layouts | New reply

Pages: 1 2 3 4 5 ... 22 23 24 25 26 27 28 29 30 ... 62 63 64 65 66
Russmarrs2
Posted on 10-02-14 09:09 PM (rev. 4 of 10-02-14 11:52 PM) Link | #48978
Yeah, the model I used in the video was just for an example but here's the model though: https://www.mediafire.com/?1e6ys0zkho0yyt2
Also, here's the model I'm trying to import (with textures) http://www.mediafire.com/download/s8ug3x5z529kcym/waluigihead.rar If you could figure out how to fix that model and how to make it able to be imported into the game, I would greatly appreciate it. Also thanks for helping me with this :D

EDIT: I figured out how to fix the error, I just had to soften the model in 3ds max (although the error still appears with some other models), but when I import it into the game I still got the frozen white screen, have you found out why it's not working yet?

Fiachra
Posted on 10-06-14 02:10 PM Link | #49324
Posted by Russmarrs2
Yeah, the model I used in the video was just for an example but here's the model though: https://www.mediafire.com/?1e6ys0zkho0yyt2
Also, here's the model I'm trying to import (with textures) http://www.mediafire.com/download/s8ug3x5z529kcym/waluigihead.rar If you could figure out how to fix that model and how to make it able to be imported into the game, I would greatly appreciate it. Also thanks for helping me with this :D

EDIT: I figured out how to fix the error, I just had to soften the model in 3ds max (although the error still appears with some other models), but when I import it into the game I still got the frozen white screen, have you found out why it's not working yet?


Please see my latest post in the 'Editor Development' thread.

MPG
Posted on 10-06-14 02:43 PM Link | #49328
Hey, I'm a complete newbie to SM64DS hacking. How do I use SM64DSe to make levels, from scratch?

____________________
My unfinished forum:
http://mpgforums.freeforums.net/

Russmarrs2
Posted on 10-06-14 11:50 PM (rev. 3 of 10-06-14 11:51 PM) Link | #49370
Please see my latest post in the 'Editor Development' thread.

I used the new importer and although the error message disappeared for some of the models I tried I still got the frozen white screen when I tried to play it, I tried importing my blender one and the 3ds max one but they both got the same result. I also hope this isn't too much to ask, but do you think you could edit this model: https://www.mediafire.com/?3dw4qi208tw9ta4 (it's the model exported from Blender) so that it could be successfully imported into SM64ds? You don't have to if you don't want to since requests can be time consuming, and since you've already helped me alot with this. Thank you for helping me with this so far :D

Fiachra
Posted on 10-07-14 08:08 AM Link | #49377
Posted by Russmarrs2
I used the new importer and although the error message disappeared for some of the models I tried I still got the frozen white screen when I tried to play it, ...

See the section "Tips on texture sequence animations (BTP)" in this wiki page - the texture animations are referencing textures, palettes and materials that no longer exist in the head model.

Posted by MPG
Hey, I'm a complete newbie to SM64DS hacking. How do I use SM64DSe to make levels, from scratch?

There's too much to cover in one go. The first you'll need to do is to create a level model in a 3D modelling program such as Blender or Google Sketchup. Once you've your model created you can import it into game, creating a new level model and collision map. You can then remove, add and edit objects (coins, Goombas, Stars etc.) within the level.

It'll be easier to help if you have a specific part that you're stuck on. You'll find a lot of your questions already answered in this thread.

Start with making your model. If you haven't used a 3D modelling tool before, Google Sketchup would probably be best. Your model shouldn't be more than ~5000 triangles and you shouldn't use high resolution or too high a number of textures. You can use the game's original models as a reference for texture sizes and amounts. Once done, open the level you're replacing in the editor, select "3D Model" > "Import Level Model" and import your model. You should then remove any texture animations that reference materials that no longer exist (Texture Animations button within level editor).

MPG
Posted on 10-07-14 02:10 PM Link | #49389
Okay, thanks. I'll try that this weekend.

____________________
My unfinished forum:
http://mpgforums.freeforums.net/

Russmarrs2
Posted on 10-07-14 02:52 PM Link | #49395
Does what it says on the wiki page mean I'm supposed to give the texture and the model the same names? I think I understand some of it, but some other parts are a bit confusing, do you think you could explain what some of it means please?

Fiachra
Posted on 10-07-14 04:30 PM (rev. 2 of 10-07-14 04:32 PM) Link | #49399
BTP files animate textures by swapping them in a sequence, like a .gif image. To do this it uses a list of textures and palettes and the combination and sequence to use and lists the material which will be animated. For example the tx_wait.btp file swaps between 3 textures to make Mario blink. When you import a custom model, the material, texture and palette names are no longer valid and the game crashes when it can't find them. You can either (1) edit every BTP animation and edit the names to match those in your model (2) edit every BTP animation so it does nothing (3) rename the names within your model before importing it so that it matches those in the BTP animation.

I would recommend option 3. You can export my Deku Link model and look at it in the BTP editor for an example of how to import over Mario's head and preserve blinking.

Russmarrs2
Posted on 10-07-14 05:57 PM (rev. 2 of 10-07-14 10:38 PM) Link | #49404
Ok thanks, I'll give it a try. :)

BTW How do I edit the textures so they have no animation?

Fiachra
Posted on 10-08-14 07:47 AM (rev. 3 of 10-08-14 01:37 PM) Link | #49429
Posted by Russmarrs2
Ok thanks, I'll give it a try. :)

BTW How do I edit the textures so they have no animation?

Load the BTP file you want to edit and then remove each frame, each material, each texture and each palette. Save changes.

Edit:
Posted by Russmarrs2
...but do you think you could edit this model: https://www.mediafire.com/?3dw4qi208tw9ta4 (it's the model exported from Blender) so that it could be successfully imported into SM64ds? ...

Delete the bone object and then merge the various mesh objects into one mesh. I think you also have to name the mesh object "mario_head".

Russmarrs2
Posted on 10-08-14 06:26 PM Link | #49441
I made it one mesh with the "mario_head" name and I managed to delete all the frames and material from Mario's BTP files, but it still didn't work for some reason. I used this model: https://www.mediafire.com/?b3n3o5i35mmowzd

Fiachra
Posted on 10-09-14 07:39 AM Link | #49464
Posted by Russmarrs2
I made it one mesh with the "mario_head" name and I managed to delete all the frames and material from Mario's BTP files, but it still didn't work for some reason. I used this model: https://www.mediafire.com/?b3n3o5i35mmowzd

There's a duplicate mesh and when exported there are two nodes with the ID's "node-node_mario_head" and "node-node_mario_head_1". Delete the duplicate mesh and if necessary, manually rename the node within the "visual_scene" to "mario_head" after exporting to DAE.

Russmarrs2
Posted on 10-10-14 12:42 AM (rev. 2 of 10-10-14 12:43 AM) Link | #49490
Do I remove the mesh and rename the node with 3ds max/Blender, SM64dse or Notepad? Sorry, I'm a bit confused for what program I'm supposed to use to do that since it makes the duplicate after I export it.

Fiachra
Posted on 10-10-14 07:55 AM (rev. 2 of 10-10-14 01:22 PM) Link | #49500
Posted by Russmarrs2
Do I remove the mesh and rename the node with 3ds max/Blender, SM64dse or Notepad? Sorry, I'm a bit confused for what program I'm supposed to use to do that since it makes the duplicate after I export it.

I used Blender to delete the mesh and I deleted the bone (separate object) before exporting to DAE. When open the exported model in a text editor you should see a <node> element containing and <instance_geometry> element. Ensure that the 'id', 'sid' and 'name' attributes are set to "mario_head".

Note that Blender doesn't apply textures when importing DAE models (think it's a bug) so you'll need to select all faces, go to UV editor and select the image from the list. When exporting make sure you check the option 'Include material textures'.

Edit:
Posted by GalaxyFan225
...
1. How Do I Model And Texture Custom Levels? (I Know How Import The Levels)
2. How Do I Change Level And Mission Names? (Is It In The Text Tab?)
3. How Do I Set Up Stars, Signs, Toads, Ect.?
4. Can I Create New Courses Or Do I Have To Edit The Pre-Existing Courses?

1: Most users here use either Blender or Sketchup. Both are free. Blender is much more advanced but is also more difficult to learn. As you haven't done any 3D modelling before, Sketchup would probably be better for you. I can't give you tutorials on that but there are plenty available. Perhaps someone else can provide a link to a good tutorial.

2: They're in the same file as the rest of the text, menaing you can edit them in the 'Text editor', "Edit text" from the main form. You can search for the names using the search option. They're stored sequentially anyway so they're easy to find.

3: Select a level and select "Edit level". The object tab is selected by default, "Add object" presents a list of objects to add, select one and then click to place it. You can edit its postion, rotation and parameters in the properties box on the left. Select an object and then select "Remove object" to get rid of them. The objects available in a level are set through the "Object Bank" settings within the "Level Settings".

4: You have to edit the existing ones. 52 should be enough though.

Russmarrs2
Posted on 10-10-14 10:54 PM Link | #49515
I edited and exported it straight from Blender so that it had no second mesh/node to delete (which also showed up as 1 material in the editor) and when I looked at the file in Notepad it seemed to have the ids and name pointed to mario_head. But when I exported it, it still crashed for some reason. As a test I also exported a model straight from the model's resource without editing it or positioning it (the model's resource test model I used was over the body though) and even though the rigging and some things were messed up, the model from there imported into the game. I think it might have something to do with the exporter but I'm still not sure. Is there anything you did differently with Deku Link than the regular DAE importing that might work? (Thanks for helping me with this BTW :D)

Fiachra
Posted on 10-12-14 06:36 PM Link | #49578
I used OBJ as it was easier to modify:
  • Rename the mesh to "mario_head",
  • Rename the matieral to "mat_head",
  • I created 4 separate textures for the eyes so that they would appear animated, re-texture the eyes with the first of the new textures and name the material "mat_eye",
  • Export the model as OBJ,
  • Open the OBJ in a text editor and make sure there is one line that begins with "o " and that "mario_head" follows "o ",
  • Check that there are two instances of "usemtl " which should be followed by "mat_head" and "mat_eye",
  • Vertically flip your "Waluigi.png" texture and export as an indexed PNG, rename the file to "mario_head" - note the lack of extension,
  • Vertically flip your 4 eye textures and name them "mario_eye_1", "mario_eye_2", "mario_eye_3" and "mario_eye_4", again with no extension,
  • Replace your *.mtl file with the following:

    newmtl mat_eye
    Ns 96.078431
    Ka 0.000000 0.000000 0.000000
    Kd 0.800000 0.800000 0.800000
    Ks 0.000000 0.000000 0.000000
    Ni 1.000000
    d 1.000000
    illum 2
    map_Kd mario_eye_1
    map_d mario_eye_1

    newmtl mat_eye_2
    Ns 96.078431
    Ka 0.000000 0.000000 0.000000
    Kd 0.800000 0.800000 0.800000
    Ks 0.000000 0.000000 0.000000
    Ni 1.000000
    d 1.000000
    illum 2
    map_Kd mario_eye_2
    map_d mario_eye_2

    newmtl mat_eye_3
    Ns 96.078431
    Ka 0.000000 0.000000 0.000000
    Kd 0.800000 0.800000 0.800000
    Ks 0.000000 0.000000 0.000000
    Ni 1.000000
    d 1.000000
    illum 2
    map_Kd mario_eye_3
    map_d mario_eye_3

    newmtl mat_eye_4
    Ns 96.078431
    Ka 0.000000 0.000000 0.000000
    Kd 0.800000 0.800000 0.800000
    Ks 0.000000 0.000000 0.000000
    Ni 1.000000
    d 1.000000
    illum 2
    map_Kd mario_eye_4
    map_d mario_eye_4

    newmtl mat_head
    Ns 0.000000
    Ka 0.000000 0.000000 0.000000
    Kd 0.800000 0.800000 0.800000
    Ks 0.000000 0.000000 0.000000
    Ni 1.000000
    d 1.000000
    illum 2
    map_Kd mario_head
    map_d mario_head
  • Save changes and try importing.

Russmarrs2
Posted on 10-12-14 07:53 PM Link | #49582
I sorta tried that but it didn't work because I think I did it wrong. When I opened up the obj in the text editor the only usemtl was followed by "Material #6", so I changed it to say "mat_head" and I only used the mario_head texture and didn't get around to using eye textures, so I only imported the mat_head part of the mtl over the mtl. I think I might've done something wrong in Blender with the materials.

Fiachra
Posted on 10-13-14 05:59 AM Link | #49606
It failed because you didn't change use the mat_eye which the BTP files are still referencing. It would look a lot better if you spent the time getting the animated eye textures working.

Russmarrs2
Posted on 10-13-14 04:33 PM Link | #49622
If I animate the eye textures, do I use the UV editor in Blender to add the eye textures and rename them? (I'm using the rom where I deleted the texture animations and materials so I'm not sure what to do)

Fiachra
Posted on 10-14-14 12:22 PM Link | #49637
You should add a new "mat_eye" material and texture as in the following screenshot:


[image]
Pages: 1 2 3 4 5 ... 22 23 24 25 26 27 28 29 30 ... 62 63 64 65 66

Main - General SM64DS hacking - SM64DS Editor Help Thread - Post your questions here Hide post layouts | New reply

Page rendered in 0.033 seconds. (2048KB of memory used)
MySQL - queries: 26, rows: 146/146, time: 0.012 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.