Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 1 of 2 1 2
#3590609 - 06/12/12 04:44 PM Comanche Gold - map exchange  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
I want to share my way for map exchange

This is the list of all Comanchew Gold missions
[Linked Image]


Let place the map of the mission 55 Home Free on the mission 03 Air Combat

You will need the program FwO Raven's PFF Utility
http://www.dfreload.com/forum/files.php?action=file&id=135

Open with FwO Raven's PFF Utility the file Resource.pff which is in installed Comanche Gold folder
[Linked Image]

Each single mission consists of 5 files
For 03 Air Combat C1M3 mission they are:
C1M3.JIM, C1M3.MIS, C1M3.ORD ,C1M3.POS, C1M3.INF
For 55 Home Free C8M1 mission they are:
C8M1.JIM, C8M1.MIS, C8M1.ORD ,C8M1.POS, C8M1.INF

Extract them in 2 folders
[Linked Image]

The result is
[Linked Image]


Open C1M3.MIS and C8M1.MIS files with notepad and copy and replace this part of the text from C8M1.MIS wit the similar text in C1M3.MIS
[Linked Image]

rename all files in C1M3 folder to USER name
USER.JIM, USER.MIS, USER.ORD ,USER.POS, USER.INF
[Linked Image]

just to be perfect open USER.MIS and USER.ORD

Copy and replace c8m1_c.pcx from USER.MIS over c1m3_c.pcx in USER.ORD
[Linked Image]

with FwO Raven's PFF Utility create a new pff file with name exchage
[Linked Image]
[Linked Image]

with FwO Raven's PFF Utility add to echange.pff file all new USER files
[Linked Image]
[Linked Image]

moderate echange.pff to echange.mrf and put it in Comanche Gold directory and
[Linked Image]

Now you can open it like an user created mission
and the map is changed


you can download and play the above created file
https://www.box.com/s/b1aaa21b1c2e7e4efe9e

video presentation


ufo:-)








Last edited by ufolev; 04/01/18 07:23 AM.
Inline advert (2nd and 3rd post)

#3590785 - 06/12/12 09:34 PM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Mar 2011
Posts: 55
GamingPrince83 Offline
Junior Member
GamingPrince83  Offline
Junior Member

Joined: Mar 2011
Posts: 55
Germany
Originally Posted By: ufolev
I want to share my way for map exchange

This is a list of all Comanchew Gold missions



Let place the map of the mission 55 Home Free on the mission 03 Air Combat

You will need the program FwO Raven's PFF Utility
http://www.dfreload.com/forum/files.php?action=file&id=135

Open with FwO Raven's PFF Utility the file Resource.pff which is in installed Comanche Gold folder


Each single mission consists of 5 files
For 03 Air Combat C1M3 mission they are:
C1M3.JIM, C1M3.MIS, C1M3.ORD ,C1M3.POS, C1M3.INF
For 55 Home Free C8M1 mission they are:
C8M1.JIM, C8M1.MIS, C8M1.ORD ,C8M1.POS, C8M1.INF

Extract them in 2 folders


The result is



Open C1M3.MIS and C8M1.MIS files with notepad and copy and replace this part of the text from C8M1.MIS wit the similar text in C1M3.MIS


rename all files in C1M3 folder to USER name
USER.JIM, USER.MIS, USER.ORD ,USER.POS, USER.INF


just to be perfect open USER.MIS and USER.ORD

Copy and replace c8m1_c.pcx from USER.MIS over c1m3_c.pcx in USER.ORD


with FwO Raven's PFF Utility create a new pff file with named exchage



with FwO Raven's PFF Utility add to echange.pff file all new USER files



moderate echange.pff to echange.mrf and put it in Comanche Gold directory and


Now yo can open it like an user created mission
and the map is changed


you can download and play the above created file
https://www.box.com/s/b1aaa21b1c2e7e4efe9e

video presentation


ufo:-)









Hey i don't know if you've discovered this yet but it's also possible to reverse you method
and rename a .mrf file into .pff and extract the content, edit them and joint them back as a mrf
that way you can make a custom mission that is just as complex, with trigger and sounds like the campaign missions.

#3590937 - 06/13/12 03:21 AM Re: Comanche Gold - map exchange [Re: GamingPrince83]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
Yes it is a true - there is a DavidC99's explanation here

http://simhq.com/forum/ubbthreads.php/topics/3161595/all/Comanche_Gold_Modding_Breakthr.html

and interesting question is whether we can use the above map swapping way to import the maps from armored fist and delta force in comanche ?


ufo

Last edited by ufolev; 06/16/12 09:15 PM.
#3598342 - 06/27/12 07:54 PM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
DF1 maps - TEST THEM ALL :-)

These are the new terrains imported from Delta force1 in Comanche Gold

Get the comressed files from the links below , decompress the files , put them in comanche install directory and start with .mrf file like user created mission

01 DFB1
https://www.box.com/s/7819c21131e14df52a37
DFB1


short video presentation



02 DFB2
https://www.box.com/s/113d41fba2140234ec82
DFB2


short video presentation



03 DFB3
https://www.box.com/s/3bbad94ec1f30ff76fc7
DFB3


short video presentation



04 DFB4
https://www.box.com/s/fa060145d4cc74cecbf5
DFB4


short video presentation




05 DFD1
https://www.box.com/s/d8e9587f04ae4250c6d9
DFD1


short video presentation



06 DFD2
https://www.box.com/s/d8294e7cf22569e4129f
DFD2


short video presentation



ufo :-)

Last edited by ufolev; 08/18/12 03:29 PM.
#3661553 - 10/12/12 08:28 AM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
Now we have the freedom to use 142 maps for custom mission creation.
Comanche gold - 93 maps,
Armored Fist 2 - 14 maps,
Delta Force 1 - 35 maps.

But in the beginning we had only 10 mission loaded in CG mission editor at all

The first step was DavidC99 idea to exchange the maps in the mission file subsequently,

then flogger83 shared his great idea to insert maps directly in the mission editor

and the last challenge was how to put objects in map which can not
be inserted in the mission editor for example maps from Delta Force 1


There is an indirect way which is suitable for every map.
You will need Gimp - a freeware image viewer/editor.
http://www.gimp.org/downloads/
Why Gimp ? - because Gimp also like CG mission editor
gives the coordinates of every one pixel from the map.



1. get the desired color map and open it with Gimp 1024x1024 pixels





2. create with Gimp a new big white map 8192x8192 pixels and put a
grid over it from 64 squares - 1024x1024 pixels each





3. full all 64 squares with the first color map



now when you move the mouse pointer over the big grid - Gimp shows
the coordinates of the pointer in the lower left corner.



4. open a new mission in CG mission editor and now
when you move the mouse pointer over the map - the editor shows
the coordinates of the pointer in the lower side in the middle.



notice that when you open a new map in CG mission editor
the initial sguare is always 4rth square by X and 4th square by Y in the big grid.



so find the same square in the big grid of the Gimp map and then
both maps will use the same coordinates.



5. choose the place of the object in the first map in Gimp grid and get it's coordinates,
then place the same object with the same coordinates in the second map in the mission editor.


object coordinates in Gimp opened desired map are : 3316 X ; 3423 Y


object coordinates in mission editor are the same : 3317 X ; 3423 Y



After you place all objects and waypoints you have to save the user mission file
and then you have to open it and replace the mission editor map with the desired map.

with few words you choose objects positions in project map then transfer them in mission editor map then create a mission file and at last
you replace the mission editor map in the mission file with the project map
.



ufo :-)

Last edited by ufolev; 11/24/15 06:24 PM.
#4196801 - 11/20/15 05:45 PM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Nov 2015
Posts: 8
moderasura Offline
Junior Member
moderasura  Offline
Junior Member

Joined: Nov 2015
Posts: 8
These maps will move to a less complicated Editor
for some time to write a program which you will move the map to the editor.

#4197439 - 11/22/15 09:42 AM Re: Comanche Gold - map exchange [Re: moderasura]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
Hello moderasura

It will be very good if you can write some Comanche Gold Mission Editor for easy map exchange

the map moderators and custom mission creators are very few and one of them - DavidC99 wrote

and gave me a TOOL for more complex mission creation.This Tool is a simple program for object edition

With this Tool you can create and change a team of objects and you can command these teams in IF/THEN situations

I have already checked the Tool in my Comanche Gold custom missioms :

N13 "VIOLATOR"
N14 "SAR"
N15 "MEDEVAC"
N16 "PEACEMAKER"

and the Tool works perfect for me.

I know that David will be happy if I share it with everyone who can create new missions for Comanche Gold



Next is a Davids info about his tool:



Download link
https://app.box.com/shared/5sg6kvxxmh

UFO :-)




Last edited by ufolev; 11/22/15 03:59 PM.
#4197602 - 11/22/15 07:30 PM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Nov 2015
Posts: 8
moderasura Offline
Junior Member
moderasura  Offline
Junior Member

Joined: Nov 2015
Posts: 8
I am in the process of writing a program where you can edit the map of Delta Force 1 and armored fist 2 + all maps of Comanche gold in the editor biggrin






Last edited by moderasura; 11/22/15 11:37 PM.
#4197814 - 11/23/15 08:05 AM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
I have no words !

Map Exporter Comanche Gold Editor

will open the door for more custom mission creation :-)

ufo

#4198631 - 11/24/15 07:14 PM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Nov 2015
Posts: 8
moderasura Offline
Junior Member
moderasura  Offline
Junior Member

Joined: Nov 2015
Posts: 8
The whole design of the program is limited to loading maps to the editor of all the missions in Comanche Gold it is so far the only solution ...
The Comanche Gold PCX files are compressed header (LZP1) and there is no mozliowsci load them to the Editor
What is needed is Compresor decompressor PCX file rolleyes

Last edited by moderasura; 11/24/15 07:15 PM.
#4198693 - 11/24/15 09:21 PM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
Map exchange method from flogger83 - allows to overcome the "10 maps" limitation of the Mission Editor

He replaces the maps in Comanche Gold Mission Editor with Hexeditor

[Linked Image]
[Linked Image]

look here too
[Linked Image]
[Linked Image]
[Linked Image]





Last edited by ufolev; 08/01/20 08:43 PM.
#4204541 - 12/10/15 01:12 AM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Nov 2006
Posts: 3,453
Flyboy Offline
Senior Member
Flyboy  Offline
Senior Member

Joined: Nov 2006
Posts: 3,453
England, UK
Wow. People are still doing stuff with this!

#4394273 - 12/11/17 12:56 PM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Nov 2015
Posts: 8
moderasura Offline
Junior Member
moderasura  Offline
Junior Member

Joined: Nov 2015
Posts: 8
A simple editor for changing maps in the Comanche 3 Gold Editor ...
Program Copy to the main game directory ...
I do not know if everything works well smile

EXE
https://drive.google.com/file/d/1gUD7Wbsu6TZ702F5NKHhgEwYoetoMv3V/view?usp=sharing

MisFiles
https://drive.google.com/file/d/1KecAEETRX53vW2S0Wf5KfQsXdqQqz4ss/view?usp=sharing

Last edited by moderasura; 10/09/21 06:49 AM.
#4394381 - 12/11/17 11:18 PM Re: Comanche Gold - map exchange [Re: moderasura]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353

hello moderasura

thank you for your work

in my test your mission editor starts but it does not saves the results of the map exchange or it is not connected with comanche gold mission editor, please check these things

[img]https://app.box.com/s/7xlvmed2knc310i0k439u0flloooa80a[/img]

ufo

Last edited by ufolev; 12/13/17 03:59 AM.
#4394407 - 12/12/17 03:57 AM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Nov 2015
Posts: 8
moderasura Offline
Junior Member
moderasura  Offline
Junior Member

Joined: Nov 2015
Posts: 8
It is important that the program is in the main folder with the game.

The name of the map can be any, just enter your name of the map and select the map type in the combobox and it should work

Do not tweak the main editor before making changes to my program

You start my editor, make the appropriate changes and save

Then you run the editor and it should work

Remember that the comanche gold editor may not be running, my program modifies the exe file, and if Editor.exe is running, my program will not have rights to modify it.


Last edited by moderasura; 12/12/17 04:14 AM.
#4394421 - 12/12/17 07:02 AM Re: Comanche Gold - map exchange [Re: moderasura]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
hi moderasura
i put your unrared editor and the folder with the missions in comanche gold folder, then I start your editor and I modify the name in the left box and the mission in the right box and press the button save on the bottom , then I open comanche gold editor and there in the options for missions there is no new option with modified value as you can see on the picture on the my previous post
where I make a mistake?

ufo

#4394422 - 12/12/17 07:27 AM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Nov 2015
Posts: 8
moderasura Offline
Junior Member
moderasura  Offline
Junior Member

Joined: Nov 2015
Posts: 8
Originally Posted by ufolev
hi moderasura
i put your unrared editor and the folder with the missions in comanche gold folder, then I start your editor and I modify the name in the left box and the mission in the right box and press the button save on the bottom , then I open comanche gold editor and there in the options for missions there is no new option with modified value as you can see on the picture on the my previous post
where I make a mistake?

ufo


What is your win7 system? try with admin rights to run the program

everything works for me

Do not run the editor before making changes in my editor

Last edited by moderasura; 12/12/17 07:29 AM.
#4394424 - 12/12/17 08:07 AM Re: Comanche Gold - map exchange [Re: moderasura]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
hello moderasura

I use Windows 10 64bits

You were right.It works well with admin rights Thank you very much!!!

Please, is it possible to include and the other options like a sky , sun, clouds and terrain pcx in your editor?

ufo

Last edited by ufolev; 12/14/17 05:45 PM.
#4394513 - 12/12/17 08:40 PM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Nov 2015
Posts: 8
moderasura Offline
Junior Member
moderasura  Offline
Junior Member

Joined: Nov 2015
Posts: 8
I think I can, from what I remember, do it in other c ++ projections..
I have not buried it for a long time but there was something connected with the clouds

Last edited by moderasura; 12/12/17 08:42 PM.
#4404006 - 02/07/18 03:04 PM Re: Comanche Gold - map exchange [Re: ufolev]  
Joined: Jan 2017
Posts: 24
FatCatProject Offline
Junior Member
FatCatProject  Offline
Junior Member

Joined: Jan 2017
Posts: 24
Hi there !
I know I won't move for a while, but it's been a year since and I still plan on finding a way to accurately overcome the basic editor's limitations.
The idea is to be able to change the units behavior, to extend the IA capability (the range of units available), and especially, to be able to keep that in the editor or at least to save changes to be able to still work on the mission with the editor before this filter. This would require to recognize patterns even if some units get removed from the editor to apply the same changes.

If someone also work on this, maybe we should make a git or something with all our sources ?
Additionally, do we have a full documentation about CGold Modding somewhere, like wiki-style, in which we could trackback the "reverse enginering" some already did here ?

Page 1 of 2 1 2

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0