Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Me Myself and Pi  
#1 Posted : Tuesday, November 27, 2007 7:25:07 PM(UTC)
Me Myself and Pi
Colonel
Joined: 8/22/2007(UTC)
Posts: 867

Was thanked: 12 time(s) in 5 post(s)
I would like to put the map Scorched Earth into Zero Hour. This map is avilable in Generals, but not Zero Hour. I might have to modify it for good skimrish play but my main concern is getting it on the official map list. What INI file(s) do I need to modify? Is it the MapCache.ini in the "MapsZH.big" file? I've tried working with it but nothing.
Sponsor
Offline MicScoTho  
#2 Posted : Wednesday, November 28, 2007 4:45:18 PM(UTC)
MicScoTho
Administrator
C&C Labs Staff: Labs Staff MemberThe Forgotten Staff: The Forgotten StaffRed Alert Staff: Red Alert Staff MemberAll Stars Staff: All Stars Staff
Joined: 3/31/2002(UTC)
Posts: 2,429
United States

Thanks: 13 times
Was thanked: 87 time(s) in 58 post(s)
Why do you need to have it on the official map list?

If you need to know how to edit an official map, try here: http://www.cncgeneralswo...aq.aspx#EditOfficialMaps
MicScoTho - Founder
Offline Me Myself and Pi  
#3 Posted : Thursday, November 29, 2007 9:37:56 AM(UTC)
Me Myself and Pi
Colonel
Joined: 8/22/2007(UTC)
Posts: 867

Was thanked: 12 time(s) in 5 post(s)
Yeah, I know how to edit official maps. But I would just like to add a new one. Since this map was made by EA, I thought it would be nice to be put in the official map section. But if no one know how to do, then I'll go ahead & put in the custom maps list.
Offline fleetatks  
#4 Posted : Thursday, November 29, 2007 1:40:01 PM(UTC)
fleetatks
Colonel
Joined: 6/2/2006(UTC)
Posts: 961
Location: USA

Was thanked: 3 time(s) in 2 post(s)
Go to Edit->Map Settings
For the name give it a name, this is the thing that tells you it's official. This next part I'm not 100% sure of, but I think what you do is create a 'Map' Folder inside the ZH directory, then add the map to there. If you just have it in the my documents location, it will appear as Missing:'mapname' in the custom maps list. You might have to edit an INI file inside Maps.big or INIzh.big to make it official, but I'm not sure.
Email me if you ever need help (edited signature November 6th, 2014)
Offline Me Myself and Pi  
#5 Posted : Thursday, November 29, 2007 3:41:32 PM(UTC)
Me Myself and Pi
Colonel
Joined: 8/22/2007(UTC)
Posts: 867

Was thanked: 12 time(s) in 5 post(s)
Yeah, I have the map folder in the game directory. I was just wondering if anyone knew what INI file(s) to modify to get it on the list. I guess I'll copy the Map Name of a map like Alpine Assault & check to see if that name is in any of the INI files using the Find program in Notepad.
Offline MicScoTho  
#6 Posted : Thursday, November 29, 2007 5:08:32 PM(UTC)
MicScoTho
Administrator
C&C Labs Staff: Labs Staff MemberThe Forgotten Staff: The Forgotten StaffRed Alert Staff: Red Alert Staff MemberAll Stars Staff: All Stars Staff
Joined: 3/31/2002(UTC)
Posts: 2,429
United States

Thanks: 13 times
Was thanked: 87 time(s) in 58 post(s)
After you have the map in the unofficial map list, play it once and then exit Zero Hour. Then go to Documents\Command and Conquer Generals Zero Hour Data\Maps and open MapCache.ini.

Copy the relevant block of text corresponding to the map you want to make "official".

Now open the MapCache.ini file found in the MapsZH.big file (using FinalBIG). (Extract it out of the .big file and into the Maps\ folder, or edit it directly within the BIG -- it should work outside the BIG, but I'm not positive).

Paste in the copied text from the My Documents MapCache.ini file.

Then edit the first line of the block of text you just pasted it (that should start with "MapCache c_3A") to delete everything from and including "c_3A" up to the text "maps_".

For example, instead of:
MapCache c_3A_5Cusers_5Cmike_5Cdocuments_5Ccommand_20and_20conquer_20generals_20zero_20hour_20data_5Cmaps_5Cfree_20for_20all_20stars_5Cfree_20for_20all_20stars_2Emap
it should read:
MapCache maps_5Cfree_20for_20all_20stars_5Cfree_20for_20all_20stars_2Emap

Then change "isOfficial = no" to "isOfficial = yes" for the map.

Save this MapCache.ini file, and delete the My Documents MapCache.ini file to ensure there aren't any conflicts (this ini file will be automatically recreated the next time you run Zero Hour).


This should let you make whatever map you want be "official". However, note that this may qualify as modifying the original game and so may prevent you from playing online against most players because Zero Hour might think you're using a mod.

Hope this helps.
MicScoTho - Founder
thanks 1 user thanked MicScoTho for this useful post.
beng on 11/9/2021(UTC)
Offline Me Myself and Pi  
#7 Posted : Thursday, November 29, 2007 8:40:46 PM(UTC)
Me Myself and Pi
Colonel
Joined: 8/22/2007(UTC)
Posts: 867

Was thanked: 12 time(s) in 5 post(s)
Yeah! I got it working!

I did try that, MicScoTho, before coming to the forums with my problem. It didn't work. After you posted those instructions (I was surprised because I did the same thing!) I went through it again, nothing. Then I tried renaming the Map Name, & the name of the file. Then it worked!!!!!!!!!! CoolSmileBig Smile Now I'll I have to do is get the text sorted out in the Generals.str. That should be easy. Blush

It's weird though, I tried playing it online, (It didn't say I have a different version! Shew!!! I just wanted this for skirmish play & be able to play the other maps online.) & hosted a room with the map. Another player came in & he said he couldn't accept. Question I really didn't think it would work. But I was surprised when the player told me he could except, I thought no one would be able to come in the room or just that I wouldn't be able to start the game or something.

Anyway, thanks for replying guys!
Offline MicScoTho  
#8 Posted : Friday, November 30, 2007 3:13:15 AM(UTC)
MicScoTho
Administrator
C&C Labs Staff: Labs Staff MemberThe Forgotten Staff: The Forgotten StaffRed Alert Staff: Red Alert Staff MemberAll Stars Staff: All Stars Staff
Joined: 3/31/2002(UTC)
Posts: 2,429
United States

Thanks: 13 times
Was thanked: 87 time(s) in 58 post(s)
Glad you got it working! What'd you have to rename the map and file name to?
MicScoTho - Founder
Offline Me Myself and Pi  
#9 Posted : Friday, November 30, 2007 4:44:43 AM(UTC)
Me Myself and Pi
Colonel
Joined: 8/22/2007(UTC)
Posts: 867

Was thanked: 12 time(s) in 5 post(s)
I just added a "2" to the Map Name, "MAP:ScorchedEarth2" & then I changed the file name to "Scorched Earth 2.map". Then ran it through all those steps. Not sure why I had to rename it. The MapChach.ini file in the BIG file already had a paragragh for Scorched Earth. I made sure to pasted the coppied text (from the MapChache.ini in the Command & Conquer Generals Zero Hour Data\Maps" folder.) over that paragragh so that I'd delete the old one in the process.
Users browsing this topic
Guest (6)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.