[DiscordArchive] Do what exactly?
[DiscordArchive] Do what exactly?
Archived author: Saty • Posted: 2025-06-09T20:34:07.671000+00:00
Original source
Do what exactly?
Archived author: Titi • Posted: 2025-06-09T20:34:24.242000+00:00
Original source
render wow's UI using the interface files
Archived author: Saty • Posted: 2025-06-09T20:37:16.347000+00:00
Original source
I mean in theory it's quite simple.
You got the toc file that has all the files that need to be loaded, in order.
Each toc and XML file then also has the necessary lua files to be loaded.
Then I just took wows UI definition (Which is in Interfaces/FrameXML/UI.xsd) and parse it all into C# classes.
Then each of those classes has a accomidating "Renderer", handling how to create those classes on the screen.
The lua is just... lua. I just been using MoonSharp and fixed any error the lua code would throw by simple writing dummy (or actual) functions to handle what they are supposed to do
![[Image: 09_22_38_19_devenv.png?ex=690c5e8e&is=69...be6d3e0b5&]](https://cdn.discordapp.com/attachments/408013572430626817/1381734257516613702/09_22_38_19_devenv.png?ex=690c5e8e&is=690b0d0e&hm=d67a5b2be821be2136c5b4e5344b7a05acd36118cd45699ba7fa775be6d3e0b5&)
Archived author: Saty • Posted: 2025-06-09T20:38:38.435000+00:00
Original source
If I go any further with it, gonna have to implement all the lua functions properly
![[Image: 09_22_38_19_devenv.png?ex=690c5e8e&is=69...be6d3e0b5&]](https://cdn.discordapp.com/attachments/408013572430626817/1381734257516613702/09_22_38_19_devenv.png?ex=690c5e8e&is=690b0d0e&hm=d67a5b2be821be2136c5b4e5344b7a05acd36118cd45699ba7fa775be6d3e0b5&)
Archived author: Saty • Posted: 2025-06-09T20:41:43.771000+00:00
Original source
And everything you see that I share is just a recreation based on assumptions.
Nothing is really decompiled, except a few arguments for the lua stuff that I couldn't figure out.
But all the rendering is done as a "best guess".