Posted by: MicScoTho - Monday, April 30, 2007 8:03:43 PM
Hey guys,
Over the past week I put together a map manager program for C&C 3. The program allows you to install, delete, and well, manage, your custom C&C 3 maps.
Check it out: http://www.cncgeneralsworld.com/cnc3/mapmanager/
[quote].: Features
[list]
[*]Details View: displays a detailed list containing information about each map you have installed
[list]
[*]Number of Players
[*]Size (width and height dimensions)
[*]Whether or not it is an official map released by EA
[/list][*]Mini-map View: displays full-sized mini-maps for each map you have installed, so that you can quickly identify them visually
[*]Import maps from .zip files (compressed folders)
[*]Import a map from a folder
[*]Delete unwanted maps
[*]View detailed information about the custom maps you have installed
[*]Open maps for editing in Worldbuilder
[*]Ability to show a map's physical location in Windows Explorer
[*]Windows Vista-compatible
[/list] [/quote]
Let me know what you guys think, and if you have any suggestions for future versions - I'll compile a wish-list.
Posted by: xDeliverancex - Monday, April 30, 2007 9:20:55 PM
*Sighs* yet Another Awesone thing that Compells me to Buying a Better Computer for CnC3...It all looks pretty good.
Posted by: renaissance - Tuesday, May 1, 2007 5:48:10 AM
Mint job Mic![+1]
Posted by: Chunga - Thursday, May 3, 2007 3:47:42 PM
I'm really excited by your program, but I can't get it to work. I already have .net 3.0 installed so I just installed your program. It launches, but when I try to import a .zip, nothing happens. What am I doing wrong?
Thank you!
Posted by: MicScoTho - Thursday, May 3, 2007 4:03:05 PM
I actually haven't tested it on a setup with just .NET 3.0 installed. Are you using Windows XP or Vista? Could you post either a link to the .zip file containing the map you're trying to import, or upload the file with your post? (To upload the file with your post, click on the Insert a File icon when replying -- not quick reply.)
When you import the map, it should appear within the map manager.
Posted by: randomperson - Friday, May 4, 2007 1:05:36 AM
this will make my life a lot easyer thank you
Posted by: david200110 - Friday, May 4, 2007 4:33:36 AM
I think it is an excellent program. My only suggestion is that it could include .rar files as many map makers seem to use that.
Also, it might be useful if the Multiplayer says whether it is Multiplayer only or skirmish as well.
david
Posted by: MicScoTho - Friday, May 4, 2007 6:20:06 AM
.rar file support will hopefully come in a later version. There may be technical limitations that prevent me from determining whether a map is multiplayer only or skirmish as well, but I will look into that also.
Thanks for your comments guys.
Posted by: david200110 - Friday, May 4, 2007 7:12:29 AM
It would also be useful if, with the delete a map function, it also got rid of the photo in the Map Preview.
david
Posted by: MicScoTho - Friday, May 4, 2007 8:08:52 AM
[quote=david200110]
It would also be useful if, with the delete a map function, it also got rid of the photo in the Map Preview.
david [/quote]Good idea, david. I'll definitely include that in the next version.
Posted by: chickendippers - Saturday, May 5, 2007 3:32:55 AM
This is a nifty app, will save me lots of time - thank you [smile]
Posted by: randomperson - Saturday, May 5, 2007 8:57:51 AM
could you post up a list of things to come in future versions? just so we can be all excited and then disapointed when they don't make it :D
Posted by: MicScoTho - Sunday, May 6, 2007 11:12:20 AM
[quote=chickendippers]
This is a nifty app, will save me lots of time - thank you [smile] [/quote]Thanks chickendippers!
[quote=randomperson]
could you post up a list of things to come in future versions? just so we can be all excited and then disapointed when they don't make it :D [/quote][b]Map Manager Wishlist[/b] (partial listing)
- Remove .tga files from Map Previews folder when deleting a map
- Toolbar with Icons: Import, Delete, View, Edit, Refresh
- Support for importing from RAR files
- Allow dragging and dropping of files/folders to import
- Ability to check for updates
- Localization (German, for starters)
Not everything included in the above list will necessarily make it into the next version.
Posted by: Semetar - Sunday, May 6, 2007 6:35:47 PM
hey man i get this and i dont know what to do.....
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Not a supported tga file.
at MThomas.Utilities.Images.TgaConverter.LoadTGA(Stream source)
at MThomas.Utilities.Images.TgaFile.AsBitmap()
at CCMapManager.MainForm.RefreshMaps(Predicate`1 match)
at CCMapManager.MainForm.MainForm_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
...
I TRIED TO UNINSTALL THE MAP MANAGER AND NET 2.0 AND REINSTALL BUT NOTHING HAPPENS...MAN I DONT KNOW WHAT THE DEAL IS.
Posted by: MicScoTho - Sunday, May 6, 2007 7:56:25 PM
Ah, so it's not quite bug free. [wink]
I'm sending you a private message so that we can work to resolve this issue.
Posted by: c3po - Monday, May 7, 2007 1:19:12 AM
I have the same problem. A bug when i tried to import one map. Now i cant use the map manager to uninstall maps, or install new maps. Totally bugged.
Posted by: MicScoTho - Monday, May 7, 2007 7:10:14 AM
Can you please send me the map that is causing the problem? You can post the link to it here or email it to me at MicScoTho@cncgeneralsworld.com
Posted by: c3po - Tuesday, May 8, 2007 12:18:42 AM
Map is Redzone_Haze_By_JBV3737Pic1.zip By:JBV3737. Anyway, the solution is deleting every file related with that map, that solves the problem and map manager runs again.
Posted by: vogels - Tuesday, May 8, 2007 5:40:28 AM
where do i find these files
Posted by: MicScoTho - Tuesday, May 8, 2007 6:07:19 AM
[quote=c3po]
Map is Redzone_Haze_By_JBV3737Pic1.zip By:JBV3737. Anyway, the solution is deleting every file related with that map, that solves the problem and map manager runs again. [/quote]Interestingly, I downloaded that map and had no problem importing it. Are you sure that was the one causing the problem?
---
I investigated a bit further and it seems that Battle Complex Tournament By:thomasalan causes the problem. I'll look into it.
---
[quote=vogels]
where do i find these files [/quote]See post in [url=http://www.cncgeneralsworld.com/forums/topic.asp?TOPIC_ID=7696]this thread[/url]
Posted by: bloodycrozz - Tuesday, May 8, 2007 4:59:36 PM
atcualy what does the thig do?
Posted by: MicScoTho - Thursday, May 10, 2007 1:12:44 PM
I've released an updated version of the Map Manager (download [url=http://www.cncgeneralsworld.com/downloads/downloader.aspx?file=~/cnc3/mapmanager/CNC3MapManager_v1.0.1.zip]here[/url])!
New in [b]Version 1.0.1[/b]
[code] - FEATURE: Added shortcut key for refresh (F5)
- FEATURE: Removes associated TGA file from MapPreviews folder when deleting a map
- BUG FIX: Malformed TGA files resulted in an error message. Added functionality for removing maps with malformed mini-maps.
- BUG FIX: Added support for an additional TGA file format[/code]
This should fix all of the bugs reported to me thus far. The manager now also removes each map's associated image in the MapPreviews folder when deleting the map, as requested.
For those of you with a problem with the Battle Complex Tournament map, Thomas Alan has updated it. A new version is available via cncmaps.com.
Posted by: randomperson - Friday, May 11, 2007 11:00:36 AM
it was working fine an till I patched it... it now just gives me an error and must close box when I try to load it
Posted by: MicScoTho - Friday, May 11, 2007 1:07:16 PM
Could you please post, PM, or email me the error message?
Posted by: SumpinWong - Friday, May 11, 2007 7:24:19 PM
Someone posted this earlier, and I didn't see a reply... but I'm experiencing the exact same sceanrio.
[b]Chunga wrote:[/b]
[color=maroon]I'm really excited by your program, but I can't get it to work. I already have .net 3.0 installed so I just installed your program. It launches, but when I try to import a .zip, nothing happens. What am I doing wrong?[/color]
I too have NetFrameworks 3.0, but I also have versions 1.1 (with hotfix) and version 2.0
I have also tried to manually add the custom maps, and have run into an issue there aswell.
The info I found said I should add my custom maps to the following folder:
C:\Documents and Settings\Sumpin\My Documents\Command & Conquer 3 Tiberium Wars\Maps ... so that's where I put them.
The maps appear in the maps list in game, and they allow me to load the maps. Upon loading there are no textures.
Do these maps only work in multiplayer, or is something wrong with my shizz?
My computer is new and contains:
Intel Core2 Duo 6600e
Asus P5N-e SLi
xFx 8800 GTS 320mb
Western Digital 320g Sata 3.0
Thermaltake 750W PSU
SoundBlaster X-Fi ExtremeGamer
(Video settings are set to Ultra-High, and I also tried High)
[b]This is what I see when I load it up (in Skirmish)[/b]
http://i42.photobucket.com/albums/e315/SumpinWong/CNC3-.jpg
Posted by: MicScoTho - Friday, May 11, 2007 7:55:36 PM
Wow, that's very interesting. The map might be missing it's mini-map file... not sure what else. Can you tell me where I can find the map that's causing this problem?
Posted by: SumpinWong - Friday, May 11, 2007 8:06:51 PM
I'm pretty sure this is the site I got them from:
http://www.cncmaps.com/cnc3maps.html
Posted by: randomperson - Saturday, May 12, 2007 12:19:35 AM
Posted by: MicScoTho - Saturday, May 12, 2007 6:54:37 AM
[quote=SumpinWong]
I'm pretty sure this is the site I got them from:
http://www.cncmaps.com/cnc3maps.html [/quote]Is there a specific map that is causing the problem that I can look at? Such as the one you provided the screenshot for?
[quote=randomperson]
dose this help?
EventType : clr20r3 P1 : ccmapmanager.exe P2 : 1.0.1.0 P3 : 4643839d
P4 : mscorlib P5 : 2.0.0.0 P6 : 4333ab80 P7 : 334b P8 : d
P9 : system.argumentnullexception [/quote]Unfortunately that doesn't really help me except to show me that you do have the .NET Framework 2.0 installed and that you are running Map Manager v1.0.1 and that an "ArgumentNullException" occurred. Is there an error message that appears in a dialog box when you start the program?
Posted by: SumpinWong - Saturday, May 12, 2007 11:05:32 AM
Sorry, I should have listed a specific map for ya.
One of them that gave me issues was [ii]Tournament Park
Posted by: MicScoTho - Saturday, May 12, 2007 2:28:59 PM
[quote=SumpinWong]
Sorry, I should have listed a specific map for ya.
One of them that gave me issues was [ii]Tournament Park [/quote]Alright, well, that map works fine for me, it imports into the manager fine and it plays fine in-game. I'll try to look into why importing doesn't do anything for you, but it's hard to without knowing more.
Actually, here are a few more questions you (and Chunga) can answer to help me narrow down the problem:
1. Do you have the English version of C&C 3 installed?
2. Are you running Windows XP or Windows Vista?
3. Is your Windows user account a "standard" user or an Administrator?
4. Does the C&C 3 Maps folder exist at the correct location? ([url=http://www.cncgeneralsworld.com/cnc3/faq.aspx#InstallingCustomMaps]See here[/url])
@ randomperson: please answer these questions as well if you don't mind - along with telling me the full error message that appears when you start the program, if any.
Posted by: SumpinWong - Sunday, May 13, 2007 10:27:40 AM
[quote]Alright, well, that map works fine for me, it imports into the manager fine and it plays fine in-game. I'll try to look into why importing doesn't do anything for you, but it's hard to without knowing more.
Actually, here are a few more questions you (and Chunga) can answer to help me narrow down the problem:
1. Do you have the English version of C&C 3 installed?
2. Are you running Windows XP or Windows Vista?
3. Is your Windows user account a "standard" user or an Administrator?
4. Does the C&C 3 Maps folder exist at the correct location? (See here)
@ randomperson: please answer these questions as well if you don't mind - along with telling me the full error message that appears when you start the program, if any. [/quote]
1. Yes, English version with current updates
2. Windows XP Professionsl w SP2 (ie7)
3. Admin account (no other accounts on my PC)
4. Yes. The "Maps" folder was placed there at install ( I didn't need to do it manually)
I don't get any error messages whatsoever. I get nothing.
When I click Import and select a map, I get absolutely nothing. No error messages, no progress bars.. not a thing.
Posted by: Phe0n1x - Sunday, May 13, 2007 11:06:11 AM
NOTE: any file compressed with WinRAR WILL NOT be added to the maps folder, it uses a slightly different .zip compression format :/
Posted by: MicScoTho - Sunday, May 13, 2007 5:39:09 PM
[quote=Phe0n1x]
NOTE: any file compressed with WinRAR WILL NOT be added to the maps folder, it uses a slightly different .zip compression format :/ [/quote]Actually, I think I fixed that error prior to the v1.0 release. If you'd like to verify that though, that'd be good.
There doesn't seem to be anything wrong with your step, SumpinWong. I'm at a bit of a loss as to what's causing this, but I'll continue to investigate.
Another question for you though. When you install maps manually and they appear in-game, do they appear within the Map manager? In turn, when you install a map through the Map Manager (and it "does nothing"), does it appear in-game anyway? Perhaps the program correctly installs the maps but doesn't recognize and display maps that are installed as it should.
Posted by: SumpinWong - Sunday, May 13, 2007 6:04:28 PM
Maps that I have installed manually into the Map folder do not appear in the Map Manager either.
When I tried to install a map via the Map Manager, they don't install to the Maps folder.
Pheonix:
I converted all the .Rar files to .zip (uncompressed with WinRar, and re-Zipped) .. it didn't help either, but I appreciate the help [smile]
Posted by: MicScoTho - Sunday, May 13, 2007 6:12:26 PM
Just noticed this... [quote]I have also tried to manually add the custom maps, and have run into an issue there aswell.
The info I found said I should add my custom maps to the following folder:
C:\Documents and Settings\Sumpin\My Documents\Command & Conquer 3 Tiberium Wars\Maps ... so that's where I put them. [/quote]The Tiberium Wars maps folder isn't actually in My Documents. It's in the Application Data Folder -- please [url=http://www.cncgeneralsworld.com/cnc3/faq.aspx#InstallingCustomMaps]see here[/url]. My guess is maybe this will help solve your problem with maps not loading correctly in-game.
I've got one more thing for you to try. Please go to Start, Run, and in the dialog that appears type "%AppData%" and hit OK. What is the full path of the folder that this opens in Windows Explorer?
Posted by: SumpinWong - Sunday, May 13, 2007 6:18:28 PM
[quote=MicScoTho]
Just noticed this... [quote]I have also tried to manually add the custom maps, and have run into an issue there aswell.
The info I found said I should add my custom maps to the following folder:
C:\Documents and Settings\Sumpin\My Documents\Command & Conquer 3 Tiberium Wars\Maps ... so that's where I put them. [/quote]The Tiberium Wars maps folder isn't actually in My Documents. [/quote]
Sorry MicScoTho, I copy/pasted the wrong folder name.
They are, and have always been in the following folder.
C:\Documents and Settings\Sumpin\Application Data\Command & Conquer 3 Tiberium Wars\Maps
I'm going to try uninstalling Net Frameworks 3.0 (or all of them), and see if that helps.
Thanks a bunch for your time and efforts!
Posted by: MicScoTho - Sunday, May 13, 2007 6:56:59 PM
Alright, but you can still verify that Start, Run, "%AppData%" resolves to "C:\Documents and Settings\Sumpin\Application Data\"? Thanks.
Reason being is that after scouring my code, I have identified one potential cause for the problem you're getting. In the current version of the program, if the C&C 3 Maps folder does not exist (or doesn't exist at the location it expects), importing maps will fail silently, without error.
Posted by: SumpinWong - Monday, May 14, 2007 10:45:17 AM
When I enter %AppData% in the Run.. I get the following
[img]http://i42.photobucket.com/albums/e315/SumpinWong/error-message.jpg[/img]
Posted by: MicScoTho - Monday, May 14, 2007 11:55:27 AM
Ok, I bet that's why it isn't working for you. Your AppData environment variable seems to be invalid for some reason (it has a quotation mark " at the start of the path). You should be able to resolve that by following these steps:
DISCLAIMER: These steps involve modifying the Windows Registry. If done improperly, this can cause programs or even Windows to not function. Microsoft recommends backing up the Windows Registry before making any changes to it. If you follow these steps exactly, you should be fine, but I don't make any warranties.
1) Click Run in the Start menu. Type in "regedit" and hit enter. and go to Properties.
2) In the Registry Editor, beneath My Computer, expand to the following key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
3) Find the Value named AppData. Right click on AppData and hit Modify.
4) Correct the location of the path. It seems the value data currently has a quotation mark before the path - remove it. The value data should read simply: C:\Documents and Settings\Sumpin\Application Data\
5) Hit OK and close the Registry editor.
Then try entering in %AppData% in Run as before. If you receive the same error message, restart your computer and try again. Once you no longer receive the error message, try the Map Manager program.
Let me know if this works!
Posted by: SumpinWong - Monday, May 14, 2007 2:42:20 PM
This have solved the problem! [grinning]
It no longer gives me the error message (posted previously).. and it allows me to Import maps with the Map Manager.
MicScoTho, I greatly appreciate the time and effort you've spent helping me sort out the problems.
Now.. can ya teach me how to play? lol
Many thanks!
[+1]
Posted by: Phe0n1x - Monday, May 14, 2007 3:09:17 PM
[quote=MicScoTho]
[quote=Phe0n1x]
NOTE: any file compressed with WinRAR WILL NOT be added to the maps folder, it uses a slightly different .zip compression format :/ [/quote]Actually, I think I fixed that error prior to the v1.0 release. If you'd like to verify that though, that'd be good. [/quote]
I did, there's no error message, but the file isn't added.
Posted by: MicScoTho - Monday, May 14, 2007 5:02:02 PM
[quote=SumpinWong]
This have solved the problem! [grinning]
It no longer gives me the error message (posted previously).. and it allows me to Import maps with the Map Manager.
MicScoTho, I greatly appreciate the time and effort you've spent helping me sort out the problems. [/quote]No problem! Glad it works
[quote]Now.. can ya teach me how to play? lol [/quote]Haha I'm sure there are many others on the forums here who can do that better than I can. [smile]
[quote=Phe0n1x]I did, there's no error message, but the file isn't added. [/quote]Can you email me that map .zip (the one that doesn't work) so I can use it as a test case?
Posted by: Phe0n1x - Monday, May 14, 2007 5:48:44 PM
huh...that's funny, it works now. I am very confused. Nevermind then.
Posted by: MicScoTho - Friday, May 25, 2007 11:05:36 AM
I've got a quick update for everyone.
First, thanks to all for your help troubleshooting errors in the program. You can look forward to a new version of it, very likely with support for extracting from .RAR files, in a couple of weeks. The new version will also be fully translated into German for the German C&C Community, thanks to the guys over at http://www.cnchq.de/ .
To date, the first version of the C&C 3 Map Manager has been downloaded 5540 times, and version 1.0.1 has been downloaded [b]7404 times[/b]!