Solved Interface problem

Status
Not open for further replies.

Caves

The Annoying Newbie
Premium
Joined
Sep 13, 2024
Messages
67
Solutions
2
Reaction score
30
Points
18
So I've been customizing my interface and starting with the login window.

The window done in the GUI Editor doesn't match with what's being displayed in the Neuz.
I've tried merging already and even looking with all the ResData files and they all match.
I can't even edit colors of the static text.
Can someone explain what might be wrong for it not showing as what's in GUI editor?

Files used is the Florist V2 Files
image_2024-10-04_210340283.pngimage_2024-10-04_210436163.png
 
Last edited:
Solution
Okay so this is what I'm understanding.

The whole Picture Window is covering all the other images on the APP_. is that correct? so I have to fix the code that makes the Window Image transparent?
I took a look at the source, and from what I understand:

All the APP's 'child' images, such as the WTYPE_EDITCTRL backgrounds used in any APP, are pre-processed, together with the APP's background, thus generating a single background image.
However, this only occurs when the app's background is tiled.
Hey There!
Please login and(or) register to see this awesome content today.
When we have no idea what files your using we can't help you.

Read the section rules and update your post, thanks.
 
  • Like
Reactions: Jarne
I may be wrong, but I suppose that only from v19 onwards, there is color information in the resdat.inc file.
Maybe something like this could be used to change the text colors:
Hey There!
Please login and(or) register to see this awesome content today.
 
Last edited:
  • Like
Reactions: Jarne
Text color is grabbed from resdata in v16+ resdata format but the color being used is 19+.

Mark the control as visible maybe.
 
Text color is grabbed from resdata in v16+ resdata format but the color being used is 19+.

Mark the control as visible maybe.
I tried and still wouldn't make me able to edit it. I also tried to revert it back to the original extraction and even with that I still wasn't able to edit the Static Text Color.
So I think it might have to do with the version that this set of files is based on. So I'll just go back to the V19 base that I started with.

Thank you for your inputs guys. Appreciate it! 😙
 
I tried and still wouldn't make me able to edit it. I also tried to revert it back to the original extraction and even with that I still wasn't able to edit the Static Text Color.
So I think it might have to do with the version that this set of files is based on. So I'll just go back to the V19 base that I started with.

Thank you for your inputs guys. Appreciate it! 😙

Yeah, the implementation for the text for statics was never implemented. You can check to see some implementation of like BUTTONS_V19 or the code that's somewhere that relies on looking for ButtEmtpy and the usage of Itehem -- the difference is use scalings of the original inputted color from the resdata rather than hardcoded colors. You can also double-check CWndStatic::OnDraw or something to see the p2dRender->DrawText call or something of the sorts.

You also might need to verify resdata format.

I'm assuming the other issue is the EditBox isn't properly showing -- you can try to verify the random hex number that's used to represent the control states to see if its properly set by setting it to one that works. (within the resdata.inc).

Or the WndEdittile is different within the client that's being used.
 
If im not wrong, color codes comes from the source somewhere, never edit it myself doh. I have seen a friend of mine that worked with this within a L18 files and got that to work.
 
Florist doesn't read the resData for coloring, he uses the v15 format. < this is why we have this rule about telling us what files lol.

To add it back you'll need to upgrade your res to 16 "all apps!", add the colors to the end and then add the source code part. You can easily pull this from L19 or any other 19 ui source.

ResManager.cpp/h , WndNeuz.cpp/.h if i recall.
 
Florist doesn't read the resData for coloring, he uses the v15 format. < this is why we have this rule about telling us what files lol.

To add it back you'll need to upgrade your res to 16 "all apps!", add the colors to the end and then add the source code part. You can easily pull this from L19 or any other 19 ui source.

ResManager.cpp/h , WndNeuz.cpp/.h if i recall.
I'll try this out. Thanks !
 
So, apparently with the V19.4 files, it gives the same problem.


In GUI v19 Editor
Hey There!
Please login and(or) register to see this awesome content today.
In Neuz
Hey There!
Please login and(or) register to see this awesome content today.
 
I see all text is visible and fine, coloring for static works fine. Button color is not controlled there. It's source based.
 
The codes for the "text inputs" seem to be correct to me.
The only differences I see, compared to the original, is that you enabled visible, probably because they weren't showing up.

I saw that the APP is not using a tiled texture, I believe that it could cause the bug of the tiled "text input" textures not appearing correctly.
 
The codes for the "text inputs" seem to be correct to me.
The only differences I see, compared to the original, is that you enabled visible, probably because they weren't showing up.

I saw that the APP is not using a tiled texture, I believe that it could cause the bug of the tiled "text input" textures not appearing correctly.
Yes, I did checked the visible option that time to try if that was the reason. but it wasn't
And yes that section of the app is using Tiled texture.
 
Can you do a simple test for me? Just try using the default (or any other) tiled texture in the app session. Don't change anything else, and tell me what happens with the 'text fields'

Hey There!
Please login and(or) register to see this awesome content today.
 
Can you do a simple test for me? Just try using the default (or any other) tiled texture in the app session. Don't change anything else, and tell me what happens with the 'text fields'

Hey There!
Please login and(or) register to see this awesome content today.
1728173993691.png
 
I tried if it was only with the login window, but it seams like its also for other windows that I try to customize.

image_2024-10-05_172738924.png
 
It seems you're using a whole image instead of tile for Login app and Awake Window.
You need to manually add the textbox for LoginUI.tga and other custom window

Hey There!
Please login and(or) register to see this awesome content today.


Hey There!
Please login and(or) register to see this awesome content today.
 
  • Like
Reactions: zOmbie
Status
Not open for further replies.