PDA

View Full Version : CnC Generals: INI.big editing



ltk
17th June 2004, 15:36
Hi all,

Since there are no (public) money-hacks available, i tried something different:

The ini.big file in the main generals folder contains info about the buildingcost, buildingtime, armor, etc...

With a HEX-editor, you can change all those values and thus reducing the buildingcost of vehicles/buildings. Now, this works great in offline games but when i want to join a MP game, all games are grey, telling me that i got a different version.

Then, I used PropertiesPlus to make the "created" and "last edited" timestamps of the edited ini.big match the original file. The filesize is exactly the same too.
To no avail, still a different version. Maybe one of you Pro's can help me out a bit on this one?

Thx,

LTK

Ironlink
17th June 2004, 21:05
I aint got a clue on how these things work but my guess would be that the game checks the hashes of the files...

ltk
17th June 2004, 22:53
Hmm, i haven't thought about that... Might be something to look into.
Is there a program out there that can read/edit the hash of a certain file?

I'm really sorry, but i'm just a humble noob trying to learn. Meanwhile, i'll google a bit to see if i can find something more on this.

Ironlink
17th June 2004, 23:18
A hash is a checksum, you get it by computing some lethally-advanced (spelling?) mathematical algorithms on the contents of a file. It is made to be unique for each file, but I've heard you can make/edit a file with the purpose of giving it a specific hash. This was some time ago tho, I dunno if you can still do so.

Supremespeed
18th June 2004, 07:54
Your avatar is too nasty too look at so i cant read this thread lol but anyway
Cant hack .ini files NO way not possible never thank you :)

ltk
18th June 2004, 12:41
Cant hack .ini files NO way not possible never thank you :)
It's a .big file...

kiLLer_001
18th June 2004, 14:10
i made ten thousands of generals and zero hour mods the files are checked voor the same numbers and names if those are difrent you get a version difrence this aint possible

no im saiying this wrong cause it is possible but on a total other way


every map can have a map.ini file thats in the same directory as the map itself

just open the ZHMAP.big or Map.big once and extract a map.ini file then try placing it with a orriginal map

and gues what it work

what can be in those ini files are things like oil derrick gives 87673586835673 dollars

and tank are very cheap and more of that good luck and i hope you wil find out how it works

ltk
18th June 2004, 16:35
Ow, now i see all those ini-files...

i used BigPOP before to extract the big's, but it didnt even show half of the files that were in there. Got another extract-prog and now i can see all those ini's.

I'll try to mess a bit with those...

Thx

kiLLer_001
18th June 2004, 16:36
i use finalbig work very good

ltk
18th June 2004, 16:50
Hmm, i think you'll have to give some more hints, cos you lost me. All i can see in the map.ini's (of the MP maps) is the WaterTransparency.
And the MapCache.ini contains startlocations of buildings.

EDIT:
Unless you have to ADD the info to the ini-files instead of changing it...

kiLLer_001
18th June 2004, 16:56
Object GLAScudStorm
Buildable = No
END

Object AmericaParticleCannonUplink
Buildable = No
END

Object ChinaNuclearMissileLauncher
Buildable = No
END

WaterTransparency
TransparentWaterMinOpacity = 0.8 ;opacity of water at maximum depth - 1.0 is opaque, 0 transparent.
TransparentWaterDepth = 2.0 ;depth below water surface at which it becomes opaque (unless clipped by TransparentWaterMinOpacity)
StandingWaterTexture = TSWater03.tga
;StandingWaterColor = R:0 G:50 B:0
;StandingWaterColor = R:100 G:150 B:100
StandingWaterColor = R:50 G:75 B:50
;AdditiveBlending = Yes
RadarWaterColor = R:100 G:196 B:100
End

Object AmericaTankCrusader
BuildCost = 900
BuildTime = 10.0 ;in seconds
VisionRange = 150
ShroudClearingRange = 300
End


its like this because i hate sws