Data file hierarchy in different versions of Wesnoth
Moderator: Forum Moderators
Data file hierarchy in different versions of Wesnoth
I used OS X, so in my version of Wesnoth, all the files are stored within the wesnoth application. I have a friend who's trying to learn about WML and making scenarios. He uses Windows and he is confused where the scenarios, units, campaigns and all the other data folder are. Looking at the windows version of my mac, I see that it is just a .exe file, there is no extra data files. So are all the files stored within the .exe somehow? How can he access them?
And I'm curious, how are all the wesnoth resources stored in the Linux version?
And I'm curious, how are all the wesnoth resources stored in the Linux version?
In Windows, you run the setup.exe and it will extract and install Wesnoth on your machine. By default it installs Wesnoth in C:\Program Files\Wesnoth
The data files are stored in C:\Program Files\Wesnoth\data
The user-data directoy is at C:\Program Files\Wesnoth\userdata
In Unix-like systems, the data files are stored in data/ under the installation directory. The user-data directory is at $HOME/.wesnoth
David
The data files are stored in C:\Program Files\Wesnoth\data
The user-data directoy is at C:\Program Files\Wesnoth\userdata
In Unix-like systems, the data files are stored in data/ under the installation directory. The user-data directory is at $HOME/.wesnoth
David
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming
Thanks Dave. In OS X this the file hierarchy for these folders:
Wesnoth app/resources/images/ all the images in the game
Wesnoth app/resources/sounds/ all the sounds
Wesnoth app/resources/music/ all the music
Wesnoth app/resources/data/units/ all the unit files
units
Wesnoth app/resources/data/maps/ all the ASCII maps
Wesnoth app/resources/data/scenarios/ official campaigns
Wesnoth app/resources/data/campaigns/ user-made scenarios
So if a windows user wanted to see the unit files, he'd look under
C:\Program Files\Wesnoth\data\units
and the image files are
C:\Program Files\Wesnoth\images
and the user-made campaigns are now under
C:\Program Files\Wesnoth\userdata
instead of
Wesnoth app/resources/data/campaign?
Wesnoth app/resources/images/ all the images in the game
Wesnoth app/resources/sounds/ all the sounds
Wesnoth app/resources/music/ all the music
Wesnoth app/resources/data/units/ all the unit files
units
Wesnoth app/resources/data/maps/ all the ASCII maps
Wesnoth app/resources/data/scenarios/ official campaigns
Wesnoth app/resources/data/campaigns/ user-made scenarios
So if a windows user wanted to see the unit files, he'd look under
C:\Program Files\Wesnoth\data\units
and the image files are
C:\Program Files\Wesnoth\images
and the user-made campaigns are now under
C:\Program Files\Wesnoth\userdata
instead of
Wesnoth app/resources/data/campaign?