[Problem] Modding game files

Discussions about modding and share your mods with other players in this forum.
Post Reply
User avatar
elmemolab
Posts: 5
Joined: Sat Dec 26, 2015 10:53 am

[Problem] Modding game files

Post by elmemolab »

Hey all, thank you for keeping this forum up.

Yesterday i tried to modding the persons images in this folder [ https://goo.gl/HnDDFE ], by following the instructions here:
http://www.capitalismlab.com/mod/how-to-make-a-mod/

I simply replaced one of the images by image of mine, keeping the original name "M01.PNG" and also the same dimensions 60x64

but when i opened a new game i didn't find my image?!
Also i did the same for the logo and it's the same result; nothing changed in the game!

Is that because something wrong i did?!
If so, can someone help me?!

Edit: btw i found a lot of modders changed so many images in the game without putting any images in their mod files! how they did that?!
Sorry if it sounds noob.
User avatar
elmemolab
Posts: 5
Joined: Sat Dec 26, 2015 10:53 am

Re: [Problem] Modding game files

Post by elmemolab »

So! it's five days and no answer yet, even not from the famous modders in the forum! :ugeek:

Come on guys at least tell me if it's a bug in game or just a wrong method. :|
Arcnor
Mod Expert
Mod Expert
Posts: 480
Joined: Thu Jan 02, 2014 5:53 pm

Re: [Problem] Modding game files

Post by Arcnor »

elmemolab wrote:Hey all, thank you for keeping this forum up.

Yesterday i tried to modding the persons images in this folder [ https://goo.gl/HnDDFE ], by following the instructions here:
http://www.capitalismlab.com/mod/how-to-make-a-mod/

I simply replaced one of the images by image of mine, keeping the original name "M01.PNG" and also the same dimensions 60x64

but when i opened a new game i didn't find my image?!
Also i did the same for the logo and it's the same result; nothing changed in the game!

Is that because something wrong i did?!
If so, can someone help me?!

Edit: btw i found a lot of modders changed so many images in the game without putting any images in their mod files! how they did that?!
Sorry if it sounds noob.
Was your image in .png format? All images have to be in PNG.
User avatar
elmemolab
Posts: 5
Joined: Sat Dec 26, 2015 10:53 am

Re: [Problem] Modding game files

Post by elmemolab »

Arcnor wrote:
elmemolab wrote:Hey all, thank you for keeping this forum up.

Yesterday i tried to modding the persons images in this folder [ https://goo.gl/HnDDFE ], by following the instructions here:
http://www.capitalismlab.com/mod/how-to-make-a-mod/

I simply replaced one of the images by image of mine, keeping the original name "M01.PNG" and also the same dimensions 60x64

but when i opened a new game i didn't find my image?!
Also i did the same for the logo and it's the same result; nothing changed in the game!

Is that because something wrong i did?!
If so, can someone help me?!

Edit: btw i found a lot of modders changed so many images in the game without putting any images in their mod files! how they did that?!
Sorry if it sounds noob.
Was your image in .png format? All images have to be in PNG.
yes sir, that's why i typed it like that "M01.PNG" in my comment above .
saffgee
Mod Expert
Mod Expert
Posts: 302
Joined: Sat Jan 28, 2017 2:28 pm

Re: [Problem] Modding game files

Post by saffgee »

You need to pack mods - have you done that ? It's the last step in that tutorial you referenced. See here:

Building a MOD resource file
You will find the following files in the “MOD Kit” folder:

PACK.BAT – run this file to pack resource files in each subfolder under the “MOD Kit” folder into a single MOD file.
PACKALL.BAT – run this file to pack ALL individual files in each subfolder under the “MOD Kit” folder into a single MOD file.

CapMod.RES – The resulting MOD file generated by Build.BAT.

The following files are used by Build.BAT only and they are not meant to be used directly by the user:

LibResDir.EXE, LibResXL.EXE, and FileList.TXT

The steps for building a MOD resource file are:

1. Run PACK.BAT or PACKALL.BAT to build the MOD file “CapMod.RES”.

(The difference between PACK.BAT and PACKALL.BAT is that PACK.BAT does not process individual files in subfolders such as IMAGES\LOGOS and you will have to manually run the local PACK.BAT under respective image folders if you have changed any of the image files. On the other hand, PACKALL.BAT will run an extensive list of packing commands that pack every single MOD files but it will take longer time. So if you have only changed DBF files, you should use PACK.BAT instead of PACKALL.BAT to save time.)

2. Copy “CapMod.RES” to <Capitalism Lab folder>\MOD and rename it to a name you prefer.

3. Create a text file to accompany the MOD file. For example, if you have built and renamed MOD resource file from ”CapMod.RES” to “MyMod.RES”, you will have to create the text file “MyMod.TXT” in order for the game to read the MOD file.

The MOD text file should be formatted like this:

[MOD]

Title=<The MOD title>


Version=<The version of the MOD>

Description=<the description text>

Author=<The author of this MOD>

Once that is done, when you start a game you will need to activate your mod to make it playable.
Post Reply