Re: Community Wad
Now worries, you're perfectly fine. I was just a little confused, specifically because you said "I'm now aware of the correlation between the art and core wads" instead of what I think you meant: "I'm not aware of the correlation between the art and core wads".StoneyTheBear wrote:I meant this particular instance. I had suspected that particular change was dependent on a core update.
As I said. I'm not yet aware how the art and core wads interact with each other. Which data is dependent and which is independent. Partly a learning experience for myself.
I'm fascinated with this modding scene. I don't mean to post too much and be a pest. I just want to contribute.
To answer that, each card is a single file, and that file has a special field which lists a filename for art. The game loads all wad files and directories of files it needs at once. Then, when loading a card, it looks at the code to decide what the card looks like and does, and for the image, it looks for any loaded .tdx files for the filename listed. Doesn't matter where they came from or what file they were in. As long as the .tdx file was in the right relative folder.
So, the core wad and the art wads are completely separate from one another. The core contains the cards, functions, text, everything except image files. The art wads contain image files. Each card will list a certain filename for art, and if the art wads contain an image with that name, then it's loaded. So, I replaced the files in the art wad, but the core wad still contains files with names referring to the old art names (because the core hasn't been repacked yet). The core also still contains files with the wrong rarity. Once the loose core files are packed into a new core wad, this new one will have those corrections.