[Problem] Modding game files

Discussions about modding and share your mods with other players in this forum.
Post Reply
Message
Author
User avatar
elmemolab
Posts: 5
Joined: Sat Dec 26, 2015 10:53 am
Location: The City of Lost Heaven

[Problem] Modding game files

#1 Post by elmemolab » Tue Aug 22, 2017 11:31 am

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
Location: The City of Lost Heaven

Re: [Problem] Modding game files

#2 Post by elmemolab » Sat Aug 26, 2017 4:32 pm

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: 398
Joined: Thu Jan 02, 2014 5:53 pm

Re: [Problem] Modding game files

#3 Post by Arcnor » Thu Aug 31, 2017 2:38 am

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
Location: The City of Lost Heaven

Re: [Problem] Modding game files

#4 Post by elmemolab » Mon Sep 04, 2017 2:06 am

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 Contributor
Mod Contributor
Posts: 94
Joined: Sat Jan 28, 2017 2:28 pm

Re: [Problem] Modding game files

#5 Post by saffgee » Wed Sep 13, 2017 10:12 pm

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