A while back I was trying to figure out how the game could tell what file was what and I guess I never posted the results. Its the string table. The game knows the PlMsRe file from PlMsNr by the string table which comtains the name of the file.
Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!
You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!
I havent really been consistent with how Im referring to them since no one has even seen them in the game, but the color struct Im referring to with the kalos league is similar to that of the shine's color except it has a different structure instead of being directly referenced in the display list. It different from the color node referenced by the material structure. Do you think the material structure's flag is responsible for this as well?Zankyou, so I think you stated this when you posted the kalos league stage, but I think the color structs aren't working with your model imports. If the material struct flag contains (00000004), then that means to use the color struct overlay. I'm guessing this is why the flickering happens.
When I was looking at the regular hyrule stage, it seemed like the material struct flag containing (00000002) = cast shading on the object due to light source.
But idk for sure...just trying to look into some stuff.
Oh I don't know anything about the Kalos League problem then.I havent really been consistent with how Im referring to them since no one has even seen them in the game, but the color struct Im referring to with the kalos league is similar to that of the shine's color except it has a different structure instead of being directly referenced in the display list. It different from the color node referenced by the material structure. Do you think the material structure's flag is responsible for this as well?
I doubt I forgot to make a pointer for it. Any Idea why its skipping it?Oh I don't know anything about the Kalos League problem then.
The color struct offset, and therefore color struct data, is not being copied to the new RAM bone data. (I'm using the main stage of Return to Dream Land for this testing.)
You did not forget the color struct pointer for the main ground. I'm trying to figure out why the game is ignoring it...but...it's complicated.I doubt I forgot to make a pointer for it. Any Idea why its skipping it?
So is the entire new Dream Land one single bone structure? Do you have the offset for the bone structure?The only difference is that I should have done dreamland before I realized you could add bones.
Its weird. I didnt change or add any bones. I just extended the object groups for that bone. I dont remember how many bones I used but it should be part of the main stage bone with the default platforms and stuff. This is before I started taking general notes down of offsets but Im pretty sure I jotted down what each bone set does somewhere. I could probably find it if you wanted.So is the entire new Dream Land one single bone structure? Do you have the offset for the bone structure?
I found it like 5 mins ago.Its weird. I didnt change or add any bones. I just extended the object groups for that bone. I dont remember how many bones I used but it should be part of the main stage bone with the default platforms and stuff. This is before I started taking general notes down of offsets but Im pretty sure I jotted down what each bone set does somewhere. I could probably find it if you wanted.
Welcome to my world. Where everything is arbitrary.Applying the (00000002) material flag to BF hack just makes the platform invisible. I'm so confused.
View attachment 79525
Intentional or not, that looks absolutely savage. Someone should try to incorporate this into a good looking stage.Applying the (00000002) material flag to BF hack just makes the platform invisible. I'm so confused.
View attachment 79525
Terry, don't talk to me about savage pictures.Intentional or not, that looks absolutely savage. Someone should try to incorporate this into a good looking stage.
Ive added each color struct that the pac file had in hopes that even if it didnt load Id figure it out one day and correct it. Im not exactly sure how to go about it though. Ive only seen a color struct referenced by the displaylist once and that was captain falcon. It seemed to point to the vert data though so I didnt know what to make of it.
No, 00000002 does not flicker.Ive added each color struct that the pac file had in hopes that even if it didnt load Id figure it out one day and correct it. Im not exactly sure how to go about it though. Ive only seen a color struct referenced by the displaylist once and that was captain falcon. It seemed to point to the vert data though so I didnt know what to make of it.
As far as the newer stages, Ive imported them the exact same way as battlefield using a new bone and going from there. Does the 0x00000002 have the same flickering effect. The flags seem so inconsistent that Im not sure why battlefield's platform becomes invisible. But Ive seen other weird effects, try changing the part of the platform that turn invisible to 0x40000002. Its how I fixed the water.
Where is the pointer to this color structure that you are referring to?So I get whats going on now. The reason its not working for dreamland is because there isnt a color struct for that stage. Only color nodes referenced by the material struct. So the 0x00000002 flag is loading the color structs. This wont create the shading effect but this is a huge discovery on something I wasnt even sure if the game supported. If you look at the second image in the OP, the material flag for it should be 0x40000012 which is why its translucent and its loading the color struct.
Mesh attribute structure. Its dealing with the displaylist and stuff.Where is the pointer to this color structure that you are referring to?
Okay, good. That's what I wanted to hear...unfortunately, this is where I become less helpful...Mesh attribute structure. Its dealing with the displaylist and stuff.
No its fine, the fact that its even loading the color struct is amazing. I just need to figure out how to get them to import properly and possible add transparency to them.Okay, good. That's what I wanted to hear...unfortunately, this is where I become less helpful...
Could you tell me which pointer it is loading exactly for the color structs. Just 1 is fine. I need to know if its reading the right data.Okay, good. That's what I wanted to hear...unfortunately, this is where I become less helpful...
But why can't you use it to create a shading effect? That's what vanilla Hyrule temple was doing, right?
Are you talking about the color struct that is read when 00000002 is enabled?Could you tell me which pointer it is loading exactly for the color structs. Just 1 is fine. I need to know if its reading the right data.
Yeah although Im pretty sure I found the problem.Are you talking about the color struct that is read when 00000002 is enabled?
This is how it looks in brawlbox as well so I dont really know what gives the stage its blue color and blue highlights. But Im satisfied with this.Yeah although Im pretty sure I found the problem.
Edit: Got it
zankyou....I loveyou. Everything looks gorgeous now. I'm stoked.Yeah although Im pretty sure I found the problem.
Edit: Got it
It looks as though the transparency value in the color struct (pointed from material struct) for the front grass is not using a value of 1.0, but instead something smaller. Once you turn on 40000000, it starts using that transparency value. But I've also never been able to do 40000002, with your current imports, without making the entire structure disappear. So idk if things are different now.I knew there was a reason I was still using the 0x4000 flag for materials. If I dont alpha isnt supported it seems. Achilles do you want to look into this or at least point me in the right direction for figuring out what this flag does.
This is what happens when I use 0x04000002
View attachment 79687
But if I use 0x44000002 I get this.
View attachment 79689
This is most beautiful thing i have seen everYeah although Im pretty sure I found the problem.
Edit: Got it
Hah I couldnt sleep because I was getting so close. But I didnt have anything to do until noon so I got a decent amount.zankyou....I loveyou. Everything looks gorgeous now. I'm stoked.
It looks as though the transparency value in the color struct (pointed from material struct) for the front grass is not using a value of 1.0, but instead something smaller. Once you turn on 40000000, it starts using that transparency value. But I've also never been able to do 40000002, with your current imports, without making the entire structure disappear. So idk if things are different now.
Also, I'm concerned that you didn't sleep last night.
Yeah, idk. I would need to play around with the file, then. I feel your desire for a universal flag, but I don't think it would be good practice. For example, not everything needs the 04000000 for character shadows. Things start getting weird when it is always included.Hah I couldnt sleep because I was getting so close. But I didnt have anything to do until noon so I got a decent amount.
Do you know where its getting the transparency value. The 0x0002 half word seems to ignore the color structure (material referenced) for me. Not that I mind because Id take these colors over it any day. Also its really weird. I cant tell if its a shading effect or not. There are near 1000 colors in the color struct I imported so I cant just go through each one and see if its pseudo shading or not but it seems that theres a shading effect created by the sun clock? which isnt there in brawl box.
Worse case scenario is just that I have to use the 0x0400 flag for the stage but 0x4400 for the stuff that needs alpha. But Id rather have some type of universal flag instead of guessing and checking which ones I need.