Auto Folder Creation

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
X3D
Posts: 3
Joined: March 28th, 2025, 8:16 am

Auto Folder Creation

Post by X3D »

After starting the game a folder named 'a' is created ?
The game is installed on an external drive, game version 1.18.4
Contents of 'a'
a\msys64\var\cache\fontconfig\ 2 files inside: CACHEDIR.TAG & f775274427cced4e8d364ae3bb4a4b1f-x86_64.cache-8

I placed wesnoth inside another folder thinking that the 'a' folder would be hidden within it but it still appears in the root of the external drive.

Any help to solve this annoyance would be appreciated.
gnombat
Posts: 999
Joined: June 10th, 2010, 8:49 pm

Re: Auto Folder Creation

Post by gnombat »

This seems like a bug with the fontconfig library (I'm not sure if there's anything Wesnoth can do about it).

https://gitlab.gnome.org/GNOME/gimp/-/issues/2574
https://gitlab.gnome.org/GNOME/gimp/-/issues/5940
X3D
Posts: 3
Joined: March 28th, 2025, 8:16 am

Re: Auto Folder Creation

Post by X3D »

Thanks gnombat for the info, I uninstalled Gimp, reset the PC, but everytime I run Wesnoth the 'a' fontconfig folder appears.
Doesn't seem to be a clear solution online or even a reason why this is being triggered.
I guess a clean format would no doubt fix it.

I took a basic look at 'c49735e9f004c4dcd56431ba1bd3cd58-x86_64.cache-8' with Notepad++
It has many lines refering to game fonts:
Example: D:/Battle for Wesnoth/fonts\Andagii.ttf D:/Battle for Wesnoth/fonts\DejaVuSans-Bold.ttf
I don't have a correct viewer for the 'cache-8' file format
gnombat
Posts: 999
Joined: June 10th, 2010, 8:49 pm

Re: Auto Folder Creation

Post by gnombat »

X3D wrote: March 28th, 2025, 1:54 pm Thanks gnombat for the info, I uninstalled Gimp, reset the PC, but everytime I run Wesnoth the 'a' fontconfig folder appears.
Well, the problem is not really GIMP specifically, the problem is likely with the fontconfig library, which is used by GIMP - and also by Wesnoth. So it may be that both GIMP and Wesnoth have this issue.
X3D
Posts: 3
Joined: March 28th, 2025, 8:16 am

Re: Auto Folder Creation

Post by X3D »

Gimp doesn't create the fontconfig folder when run neither do any other programs or games I have installed, only Wesnoth triggers this issue for me.
I tried Wesnoth dev 1.19.10 without success, I have accepted defeat on this one :)
User avatar
Wedge009
Developer
Posts: 37
Joined: June 24th, 2009, 11:17 am
Location: Sydney, Australia

Re: Auto Folder Creation

Post by Wedge009 »

This sounds like https://github.com/wesnoth/wesnoth/issues/7089, which is an upstream issue.
Soli Deo Gloria
Genealogy-Grinch
Posts: 19
Joined: March 31st, 2026, 7:35 am

Re: Auto Folder Creation

Post by Genealogy-Grinch »

interesting, I hope they figure it out and fix it what the matter is, some app do create folders and they are needed, others are created and not needed, so I am unsure which it is.
Post Reply