FR EN ES PT
Browse forums 
Ankama Trackers

Devblog: Custom Interface Themes

By [Ankama]WAKFU - ADMINISTRATOR - November 04, 2021, 15:00:00
DevTracker AnkaTracker

With WAKFU Update 1.74, we're adding the option to create and modify custom interface themes.

The results of recent surveys reconfirmed to us that you would like an improved appearance for interfaces in the game, including the ability to customize them however you like. To allow for this, we're providing tools for you to change their textures and coloration without altering their size or functionality.

How do interfaces work?

Let's start with some information about interfaces: These are all the menus, toolbars, and windows that offer useful information and let you interact with the game. There are over 250 of them, representing over 85,000 lines of code spread out across 400 files. There are also over 1,500 styles and a hundred or so colors that describe the appearance of each of the elements making up these interfaces. The most complex interface is the character inventory: 2,000 lines, 12 templates, and 83 functions.

The interface engine that manages all of that is called Xulor. It was created long before the game came out, in the first beta versions, for WAKFU and DOFUS Arena. Although it met the game's needs at its inception, now it now longer offers the features required to produce interfaces that are modern, reactive, and suited to larger resolutions. We strive to make improvements to it, but this system has certain limitations. Nevertheless, we'll continue to modernize the game interfaces when the opportunity arises.

The various graphical elements that comprise the interfaces are arranged on large images. Those images are read when the game launches and stored in the system. When an interface is opened, the various graphical elements that make up the particular interface are searched for within the large images to assemble them and display the interface.

How do you change the theme?

If you're into modding:

In the development forum, we'll be providing the main images for the theme. Thus, you'll have the chance to modify, transform, and recolor anything you want within the limits of available images. A JSON file detailing the styles of interface elements will let you see how the various images are used in the game menus (which part of the image goes with which menu in the game). This format will allow tool developers to simplify the process for modders.

The WAKFU game client has been modified to allow for the use of alternate textures at launch without needing to modify the game files. A new theme folder will be created in the same folder as the one with preferences and logs. This folder will be accessible from the launcher using the Open the log folder button. By placing the custom textures in this folder, they will be directly applied when the game launches.

We've put color definition in a central location so you can easily reset colors. As with customized textures, it will be possible to choose most of the game's colors via a configuration file.

We'll go into more detail on the steps to follow with a tutorial in the development forum.

For the uninitiated:

If you aren't an expert in graphic design or an elite hacker, not to worry! You'll be able to collect user-submitted themes and simply install them in the game's configuration files.


 

Why isn't there a dark theme?

We have explored that possibility. It would be rather easy to make a basic, incomplete dark theme that could be improved over time. But we very much don't want to provide an imperfect or unfinished theme. Creating a full dark theme would be a major time commitment for the developers and graphic artists on the team, and this is not a current priority. However, we discovered that players had created and were distributing a dark theme for WAKFU (as a reminder, this kind of modification violates the terms of use). We have therefore reconsidered the idea of fulfilling a wish shared by the community for years: interface modding. It makes more sense to let you create your own interface themes than to force one on you.
 

What now?

We are aware this won't be perfect right off the bat, but feel free to report any elements that prevent you from fully expressing your creativity: colors used in different backgrounds, non-replaceable textures, etc.

We hope to see these tools blossom as they will make theme modification accessible to all (enough to keep developer fans busy for a few months!), and while waiting for that first group, the artist fans will have a field day! We can't wait to see your creations, and perhaps make them official!

Head on over to the development section of the forums.

A (very) quick test preview*:

* Made by a developer using Photoshop… Be nice…
 

FAQ:

Is this just an interface revamp?

It isn't an interface revamp; it's another project we also wanted to see in the game. We won't rule out the possibility of revamping the interface down the line.
 

Will it be possible to change the layout of interface elements?

No, only the coloration and appearance can be changed, not the functionality, layout, or size.
 

Will it be possible to replace that darn pointer that spins when the game is loading?

No, not that either.
 

Can all images be replaced?

Not at this point. We're considering that possibility.
 

Feel free to ask questions in the comments section of this article; we'll add to the FAQ in the coming weeks.

First Ankama intervention

Replying to R0M13

Hi guys!

A dedicated folder will be provided so you can add or delete themes without worrying about modifying game files.

[Flatops]

See message in context
Reactions 17
Score : 297

It's pretty neat! I would suggest, if it's possible, to you create a simple way of taking back an item, pet, or mount from every build page. e.g. I have a boowolf which I want to give to another character, then I wish some tool to retrieve it from all pages.

1 0
Score : 12266

That's so coooool!!! I love when you add QoL improvements and these neat features that lets you have more control over how you play the game.

I love how customizable Wakfu is: Politics, Ecology, Capturable Summons, housing, teams, dungeon difficulties and now interfaces!

Can't wait to see whats next and to try playing Wakfu in Black&Golden, well done huh

2 0
Score : 9200

Finally at last! I have been looking forward to something of this sort since a long time. 

1 0
Score : 3827

Finally I won't go blind when playing at night

3 0
Score : 787

Question: Will it be possible to change the chat colors?

As many of us plays in Tactical Mode, the outside of the battle goes all black, and:

Reading purple over black is terrible graphic design.
It causes optical fatigue, group chat is the utmost important chat in a fight and it is the worst to be read.
3 0
Score : 137

"If you aren't an expert in graphic design or an elite hacker, not to worry! You'll be able to collect user-submitted themes and simply install them in the game's configuration files."


Is it not dangerous for our safety? pensive

0 0
Score : 787

wasn't changing the game files some violation of the game rules also?

0 0
Score : 129

Just as with the 2.0 update in dofus, the interfaces were completely changed. I think the same should happen in Wakfu (except the map, and monsters). Just changing the colors will not be enough in my opinion. Especially the bag part on us should be a completely new interface. The same image for a long time is now boring.

0 0
Score : 9200

Adding to that note, can we include an option to load custom fonts as well? That will help some communities, and also I believe it will help out players with larger screens with improved readability with different fonts, than the default ones used in game for the time being.

0 0
Score : 137

 

[Ankama]WAKFU|2021-11-05 03:26:06
Hi guys!

A dedicated folder will be provided so you can add or delete themes without worrying about modifying game files.

[Flatops]

My question is about downloading files from other players, isn't it dangerous for the security of our computers and ankama account?
0 0
Score : 9200

Not really when the said files are supported officially.
Also, the modifications are only just visual as well.
Unless you get some files from someplace weird, It should be fine.

2 0
Score : 839

 

R0M13#8450|2021-11-05 11:26:32
 
[Ankama]WAKFU|2021-11-05 03:26:06
Hi guys!

A dedicated folder will be provided so you can add or delete themes without worrying about modifying game files.

[Flatops]









My question is about downloading files from other players, isn't it dangerous for the security of our computers and ankama account?



They surely thought of it as well as possible JSON Injection, hence the JSON file, even less obtrusive than modifying say .ini ones.
Would have to be executable, installer .exe of sort to pose any danger the way you mentioned, as well as having in mind where you DL it from as iNTiMiD4T0R said for JSON is a variant of XML. With JSON, it just takes priority on the load list over some original packaged ones when transmitting data between app and server if legit. 

Also, noice, looking forward to it, been long time coming
0 0
Score : 2988

red item? O_O

1 0
Score : 297

Exciting news, maybe? 

0 0

 

R0M13#8450|2021-11-05 10:26:32
 
[Ankama]WAKFU|2021-11-05 03:26:06
Hi guys!

A dedicated folder will be provided so you can add or delete themes without worrying about modifying game files.

[Flatops]





My question is about downloading files from other players, isn't it dangerous for the security of our computers and ankama account?


Hi ROM13#8450,

The only file formats allowed are *.TGA and *.PNG. If you downloaded a theme pack from another player with a *.EXE file, do not launch it. High likely it is malware.

For more information please see our guide.

We would like to remind everyont to download themes only from reliable sources!

[Flatops]
Respond to this thread