Sprites not changing

It's not easy creating an entire faction or era. Post your work and collaborate in this forum.

Moderator: Forum Moderators

Post Reply
User avatar
Major
Art Contributor
Posts: 393
Joined: November 19th, 2009, 12:52 am
Location: New Zealand

Sprites not changing

Post by Major »

I have replaced some sprites in an addon, but they do not change ingame.
I assume the game has backed the sprites up internally or something, but how do I get the game to get with the program? The sprites the game uses do not exist anywhere on my computer.
Nothing is foolproof to a talented fool.
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Sprites not changing

Post by zookeeper »

Major wrote:I assume the game has backed the sprites up internally or something
Nope, it doesn't.
User avatar
Major
Art Contributor
Posts: 393
Joined: November 19th, 2009, 12:52 am
Location: New Zealand

Re: Sprites not changing

Post by Major »

Well I don't see where the game is getting the sprites then. I deleted the ones it's currently using.
Nothing is foolproof to a talented fool.
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Sprites not changing

Post by Dugi »

Have you made sure it does not persist in RAM? You should try to turn off the game and then turn it back on (or get to main menu and press F5, that should do the same basically), to force it to reload all stuff?
User avatar
Major
Art Contributor
Posts: 393
Joined: November 19th, 2009, 12:52 am
Location: New Zealand

Re: Sprites not changing

Post by Major »

I tried all of that, then installed another addon on a hunch. Apparently the game has changed the addon install location and now I can't find it.

C:\Program Files (x86)\Battle for Wesnoth 1.10.7\userdata\data\add-ons

Is where the modified copy is located and there is no Wesnoth related file in the old location in:
C:\Users\Aidan\Documents\My Games\Battle for Wesnoth 1.10.7\userdata\data\add-ons

The only two locations I can locate a specific image from the addon file with the search function are on my desktop, and in the:
C:\Program Files (x86)\Battle for Wesnoth 1.10.7\userdata\data\add-ons
Folder.

Does anyone know where I might find the addon folder
Nothing is foolproof to a talented fool.
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Sprites not changing

Post by Dugi »

The correct folder is the one where newly installed add-ons appear. If you have difficulties to find that one, just check which folders are newly modified right after installing it.
User avatar
Major
Art Contributor
Posts: 393
Joined: November 19th, 2009, 12:52 am
Location: New Zealand

Re: Sprites not changing

Post by Major »

I can't find the newly installed addon and the computer search function can't find it.
I have 500Gbs of files and folders on the drive on which Wesnoth is resides, isn't there a default location for addons?
Nothing is foolproof to a talented fool.
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Sprites not changing

Post by Dugi »

This should provide some basic information where it is. But it appears that something strange is happening on your PC, so I suppose that you might want to track it by installing an add-on, looking into the most recently modified folder on C:/ (except the windows folder, where it certainly isn't and is modified frequently), looking into the most recently modified folder in that folder, and so on.
User avatar
Major
Art Contributor
Posts: 393
Joined: November 19th, 2009, 12:52 am
Location: New Zealand

Re: Sprites not changing

Post by Major »

Thanks, it was in the VirtualStore.
That is bloody weird.
Nothing is foolproof to a talented fool.
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Sprites not changing

Post by Dugi »

It appears that you set the location of userdata to Program Files, and Windows didn't let the game edit stuff in Program Files, and redirected it to a different folder.
User avatar
HaChol
Posts: 50
Joined: September 27th, 2013, 12:48 am

Re: Sprites not changing

Post by HaChol »

Dear Major,

the game does parse through all it's text based file in the starting process and has an internal cache. So you have to quit game and restart it all new.

If everything else is neat and ready, your new sprites should be displayed in stead of the old ones.

P.s.: do a try with just o pic, let's say u backup & replace the peasant.png (-peasant.bachup.png) against a sprite of your own named peasant.png in the root folder:

/usr/share/games/wesnoth/1.11

or the local ad on folder

/home/verwalter/.local/share/wesnoth/1.11

.. in case you use linux/unix of cause :)
The fruit of a righteous man is the tree of life, and the wise man acquires souls.
And I said, I will perish with my nest, and I will multiply days as the chol.
Post Reply