News:

Welcome to World of Banished!

Main Menu

errors in BuildResources.bat as images are not found

Started by littbarski, May 07, 2025, 02:17:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

littbarski

Hello,

I wanted to see if I actuall can do a bit (little) modding.
I tested with an existing source (grouses) and it worked, but now I wanted to build all resources from the game, as explained in the toolkit introduction.

But I can many many errors in the batch execution, always similar like it did not find any PNG.
As I really just downloaded the latest official toolkit and included the original 4 files from WinData, I wonder what I could have done wrong, or if this is normal that the PNGs are not found?

kid1293

As much as I want, I can not help you.
I must see your directories and code.
Try to figure it out on your own.
Check if links exist.
Have you tried BuildExamples.bat or BuildResources.bat?
Did they work? They can mess up a lot but when you know
they work, it is easy to make a clean install of the modkit.
Good Luck!
(I am on the move and do not have the time now)

littbarski

Hello, I have done nothing at all in any file or directory.
Perhaps this is normal, but I wanted to know.

I downloaded the original toolkit, installed a fresh Banished, and just made what is written in banishedinfo:
Extract it to your preferred location (e.g. C:\BanishedKit) where you want to work from
Copy your game data files to the modkit folder. E.g.:
From C:\Program Files (x86)\Steam\SteamApps\common\Banished\WinData to C:\BanishedKit\bin\WinData
Run the batch file from the command line. E.g. C:\BanishedKit\BuildResource.bat (will take a few minutes)


But when I start the buildresource.bat, there are many errors, as no image is found - is this normal?
Should there be png (or even fbx) at the end in the extracted resource folder, or is this perhaps not included at all?


kid1293

Okay. You have successfully compiled the Grouse. Then the Modkit is working.
It must be something in BuildResource.bat that points to the wrong place.
Check the links in that file and compare to your installed folders, not some example.

If it gets messy and you are on the way to give up - reinstall and start over.

littbarski

thanks, but well, this is a totally fresh install of both Banished and the mod toolkit.
So should I get after buildresource.bat then all the png, wav files etc. created normally?
 
Error is for example (first two lines work):
C:\GOG Games\Mod Tool>bin\x64\Tools-x64.exe /build Dialog\Loading.rsc:gameLoad10
SRS Toolset version 1.0.7 Build 170910

C:\GOG Games\Mod Tool>bin\x64\Tools-x64.exe /build Dialog\Loading.rsc:gameLoad11
SRS Toolset version 1.0.7 Build 170910

C:\GOG Games\Mod Tool>bin\x64\Tools-x64.exe /build Game\GlobalResources.rsc
SRS Toolset version 1.0.7 Build 170910
Compiling 'Audio\UI\Alert.rsc:resource'
Couldn't find source wave file 'C:\GOG Games\Mod Tool\resource\Audio\UI\Alert.wav'
Resource 'C:\GOG Games\Mod Tool\resource\Audio\UI\Alert.rsc' can't be built because its source resources are missing, trying to load from pack...


The link and path are correct, there is this folder UI, but no wav. files at all. I thought they would be created?

kid1293

Sorry, I sit with my laptop in a new place. I can not check the links for you.

littbarski

I don't need this very soon :).
But only the question: is the sense of the toolkit indeed, that I use it with the WinData original game files to extract all the resources, and this including also images (PNG) and sounds (WAV), for example?

I only ask as it could be that the developer did not include those files for the toolkit to extract.

littbarski

I tried a bit more and of course I know that I will not become a good modder :).
It would only be interesting to know if for example the fbx files are included when you normally use the toolkit buildresources.bat.

If I really make any mod, then it would be an aging mod, and my case at the moment is to change a bit the animation of the cows. (actually not the animations but only this fast change of direction looking of the cows...)

catty-cb

Next time I'm on my computer (on phone at the moment), I'll take a look at my banished setup, and see if I can answer your questions or at the very least take a couple of screenshots of my setup so you will have something to compare against your setup

RedKetchup

yeah it is normal not all the .png are there. almost none in fact. take care on how you build your resource requests in your rsc file
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

littbarski

thanks, so if somebody wanted to change an existing building or animal, he can't take the existing fbx or png as it is not available with the buildresources.bat, correct?

(not important for me, because I don't want to change any textures, but just to understand)

kid1293

Correct! The vanilla resources are packed in the two files you copy to Your WinData folder.
They are called upon when compiling.

littbarski

sure, well I thought they would be extracted with the buildresources...