Editing Soldier Colours

CC Mod and Map Makers Forum

Moderators: KG_Werfer, Sulla

Re: Editing Soldier Colours

Postby normski- » Sat Nov 18, 2006 1:56 am

@Senior Drill & Schrecken:
thanks
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby normski- » Sat Nov 18, 2006 2:07 am

XP won't open reshack 3.4

Any thoughts?

>:/
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby Senior Drill » Sat Nov 18, 2006 3:14 am

Download the XVI32 hex editor from here: http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm . It is freeware and fairly good. Runs under XP w/no problems. I can't remember if it automatically creates a backup, so definately make a back up of the exe you want to work on.

Note also that the offset listed above for the series are only the first half, the "woodland" or normal uni colors. The "snow" or winter are below that, but is not 1044 bytes. I still haven't got a complete handle on it, but in CC5 the next set of color tables starts after the end posted and runs untill just before the next bunch of text starts.

Not that it matters for CC5, because the snow codes seem to be turned off in that.
C'est magnifique, mais ce n'est pas la guerre. - Pierre Bosquet, 1854
User avatar
Senior Drill
 
Posts: 1533
Joined: Sun Aug 18, 2002 12:00 pm
Location: 22134
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby schrecken » Sat Nov 18, 2006 4:11 am

reshacker 3.4 works for me under XP
schrecken
 
Posts: 1823
Joined: Thu Mar 27, 2003 1:00 pm
Location: Sydney
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby normski- » Sat Nov 18, 2006 8:14 am

Thanks. I'll try that.

If you trip over the winter colours for CC3 I'd clearly be interested in that offset.

How do you discover such a thing in the first place without the game designer supplying the information?
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby schrecken » Sat Nov 18, 2006 10:01 am

research research research.

mafi's guides, sldcolor readme, a lot of trial and error.

obviously though the creator of sldcolor new what to look for.. but didn't tell anyone.

mafi knew the offsets for cc2 etc etc
schrecken
 
Posts: 1823
Joined: Thu Mar 27, 2003 1:00 pm
Location: Sydney
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby normski- » Tue Nov 28, 2006 7:07 am

I've tried using your advice on cutting & pasting soldier colours. The cutting & pasting didn't work. So I then tried editing using sldcolor. It works on the GCE mod exe file last edited in 2002, but not on the original CC3 exe file. :confused:

The GCE mod exe is 1.46 megs & the original exe is 1.43 megs. So that might screw up the offsets. But having said all that, I used an earlier version of sldcolor to edit soldier colors on the original GCE exe.

I've been trying to remake the mod exe file afresh from the CC3 exe firstly because I don't understand how it got to be .03 megs bigger than the original, and secondly because it sometimes produces strange text effects.
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby normski- » Wed Nov 29, 2006 2:21 am

It looks as though CplFilth used a 1.46 meg exe file to create sldcolor in 2001, for some obscure reason.
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby schrecken » Wed Nov 29, 2006 2:35 am

Are you using the 3.0b exe 1,531,959

it is bigger than stock CC3.exe 1,507,376
schrecken
 
Posts: 1823
Joined: Thu Mar 27, 2003 1:00 pm
Location: Sydney
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby normski- » Wed Nov 29, 2006 1:23 pm

Oh. That probably explains it.

Does the 3.0 patch just upgrade the exe file or does it do anything else?
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby normski- » Tue Mar 18, 2008 8:43 am

I'm going to start converting GCE mod for CC3 to COI shortly and uniform colours are necessarily a big part of both mods.

Can anyone advise me on transferring the soldier colours from CC3 to COI? This needs to be done for winter as well as summer uniforms.

Thanks in anticipation
"We, who are as good as you, swear to you, who are no better than us, to accept you as our king and sovereign lord, provided you observe all our liberties and laws - but if not, not."
Medieval Catalan oath of fealty to the kings of Aragon

Docker from Le Havre, before you stands
A docker from Bremen,
Kill him, kill and kill, kill each other
Worker, set to work.
Marcel Martinet, July 1914
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby schrecken » Tue Mar 18, 2008 10:22 am

Ok

It's a hex edit cut and paste job from CC3.exe to CoI.ex (cc3.exe)

I'll post a walk through in the next couple of days.
schrecken
 
Posts: 1823
Joined: Thu Mar 27, 2003 1:00 pm
Location: Sydney
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby Senior Drill » Tue Mar 18, 2008 4:00 pm

Schrecken:

CC3 w/3.0b patch - 1453436 to 1454479, or 162d7cH to 16318fH.

CC3 CoI - 1532412 to 1533455, or 1761fcH to 17660fH.
C'est magnifique, mais ce n'est pas la guerre. - Pierre Bosquet, 1854
User avatar
Senior Drill
 
Posts: 1533
Joined: Sun Aug 18, 2002 12:00 pm
Location: 22134
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby schrecken » Tue Mar 18, 2008 8:53 pm

You have to familiarize yourself with a hex editor.


If you have any problems , just send me the cc3.exe and I'll transfer the uniforms.
schrecken
 
Posts: 1823
Joined: Thu Mar 27, 2003 1:00 pm
Location: Sydney
Like / Share CSO - Post

Re: Editing Soldier Colours

Postby normski- » Wed Mar 19, 2008 12:51 am

Thanks
"We, who are as good as you, swear to you, who are no better than us, to accept you as our king and sovereign lord, provided you observe all our liberties and laws - but if not, not."
Medieval Catalan oath of fealty to the kings of Aragon

Docker from Le Havre, before you stands
A docker from Bremen,
Kill him, kill and kill, kill each other
Worker, set to work.
Marcel Martinet, July 1914
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

PreviousNext

Return to Mod And Map Making Forum

cron
This site is not affiliated to or has anything relating to the philosophies of any radical, political, racist or fascistic organizations. fight fascism! This site is dedicated and serves as an information-pool to all close combat gamers.

Copyright 2015 -- CloseCombat.Org All Rights are Reserved.