View Full Version : Using 70 resources in a mod


Dubmetender
Nov 28, 2006, 05:45 PM
i change the TGA file : gamefonts_75.tga, so he can accept more than 50 resources, i added to 70 resources, maybe it's possible increase the number...
GameFont_75.tga (http://perso.numericable.fr/~gchiquard/GameFont_75.tga)
just remove the GeneticEra fonts, and add yours

don't sure someone use it, but if ...

asioasioasio
Dec 04, 2006, 03:07 AM
the link is broken :(

Dubmetender
Dec 05, 2006, 06:09 AM
F*** ftp !!!

i will add a new correct link in few hours

EDIT : OK, that work fine, now ^^
the link is correct

asioasioasio
Dec 05, 2006, 02:18 PM
ok thank you :)

Dubmetender
Dec 07, 2006, 10:49 AM
:blush:
that don't work fine, i have a problem...
i use GameFont.tga and GameFont_75.tga exactly with the same modifications, and each time i write more than 50 resources in xml files, 3 icons desappear in the game, the power, unhealthy and unhappyness icons just on the city name... and ONLY here, in the city screen, all work fine :crazyeye: i don't understand ... :crazyeye:

Maybe someone know why :rolleyes: ??? before i will be crazy :crazyeye: :D

primem0ver
Dec 16, 2006, 01:52 PM
Hi all.

I work on the same mod team as dubmetender and I have successfully modified the gamefont.tga file so that it works with adding up to (I believe) 84 resources. There are no problems with adding more resources to the gamefont_75.tga but for reasons explained below, this does not work as expected with gamefont.tga

REMOVED... SEE BELOW

EXPLANATION (as far as I can tell)

There is a bug that led to the gamefont_75.tga and gamefont.tga to be loaded with different methods by the civ4 executable. It appears as though the method was done by two different programmers, one for the smaller, one for the larger font... who knows, but they don't work the same

As a result, the layout must be done differently for more than 49 resources. This new layout has worked for the addition of 6 more. I have successfully added 6 resources (for a total of 55) with no further trouble. I believe that we can add to the end of the current row in gamefont.tga without trouble. If anyone goes beyond that, I expect we may have a problem again (but who knows... who needs more than 84 resources without a supercomputer ;)).

KEEP IN MIND that the layout is different for EACH FILE Laying out the gamefont_75.tga file the same as gamefont.tga will probably not work.

IMPORTANT NOTE: The current version only has 54 resources and is missing the blue seperators between the last two. I will update these files next week.

primem0ver
Dec 16, 2006, 01:59 PM
BTW Dub... I think this forum should be transferred to the "HOW TO" forum or maybe to a general modding/troubleshooting forum. This is more of a fix than a utility... I know its probably the english-french thing again ;)...

I (or better you) can ask the the moderators with a private message to move the thread.

primem0ver
Dec 18, 2006, 02:49 PM
IMPORTANT UPDATE

I discovered something even more incredible this weekend when I was playing the game:

Not only does the bug affect how the gamefont.tga file is used, but it affects when it is used properly. The civics screen and popup boxes use the large font correctly (hence... why if you use the above file, they don't work... there is a "bug" in my file).

I removed the repeated icons which were messing up the civics screen and popups and now they work properly.

The file now has 55-56 resource (I think). I will supply it here as soon as I figure out how to remove the old version and put the new one in its place (in the file database).

HERE IS THE NEW FILE LINK (http://forums.civfanatics.com/./downloads.php?do=file&id=3794)

primem0ver
Dec 18, 2006, 03:10 PM
I am just going to add a new thread to the the most appropriate forum describing this fix