:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Mon May 17, 2021 10:39 am
All times are UTC + 0
 Forum index » Featured Tools » Community Tools
C&C hidden options
Moderators: Community Tools Developpers
Post new topic   Reply to topic Page 1 of 2 [60 Posts] View previous topic :: View next topic
Goto page: 1, 2 Next
Author Message
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Sun Dec 02, 2007 1:29 pm    Post subject:  C&C hidden options
Subject description: True civ Names, 6-Player LAN, MCV undeploy, separate Helipad...
Reply with quote

This tool has been discontinued in favour of the C&C95 v1.06 patch, which has all of these options (and a ton more) as handy ini keys in the rules.ini file
(Note that the tool is still usable for DOS C&C)


These options were first found by Rambo on the CNCNZ forum, here.

I made a nice little tool to enable & disable them at will Smile
Note that some options aren't identified (except for the string they're associated with in the exe file)

The program is written in C#, and requires the .net framework 2.0 to run.



Features:
-Has 13 options to enable, much like the stuff in the [General] section in RA1's rules.ini
-Shows a longer description tooltip when holding the mouse over each option
-Loads & saves the path of the file to edit in an INI file
-Scans registry for both TFD and normal C&C95 installs when no INI-file is found
-Supports English, German and French versions of the game.

Layout & usage:
-Left column shows the current status in the exe file.
-Right column shows the user selection.
-Press [Change...] to change the exe file to edit.
-Press [Apply] to apply the user's changes to the EXE file.
-Press [Refresh] to reset the user selection checkboxes to the EXE's values.
-Press [Reset] to remove all changes from the EXE file.
-Press [Close] to close the program... duh Wink

[download]
_________________

Last edited by Nyerguds on Wed Oct 26, 2016 4:40 pm; edited 12 times in total

Back to top
View user's profile Send private message Visit poster's website Skype Account
CCHyper
Defense Minister


Joined: 07 Apr 2005

PostPosted: Sun Dec 02, 2007 1:34 pm    Post subject: Reply with quote

Yay for Nyer! So your little C&C project is going along nice then ^_^

Back to top
View user's profile Send private message
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Sun Dec 02, 2007 1:46 pm    Post subject: Reply with quote

This is...holy shit...awesome....Ztyping Great work Nyerguds!

Btw, does "combat" enable the soldiers do martial arts?
_________________


OmegaBolt wrote:
TS is abysmal to play, unless you're just casually city building in it.

Back to top
View user's profile Send private message Visit poster's website
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Sun Dec 02, 2007 1:48 pm    Post subject: Re: C&C95 hidden options Reply with quote

Yuri o07 wrote:
Btw, does "combat" enable the soldiers do martial arts?


Nyerguds wrote:
Note that some options aren't identified (except for the string they're associated with in the exe file)

^ That means those with a not-so-clear description :p

The unknown options (that seem to have no noticeable effects ingame) are "Combat", "Overrun" and "Scrolling".

Last edited by Nyerguds on Sun Dec 02, 2007 1:49 pm; edited 1 time in total

Back to top
View user's profile Send private message Visit poster's website Skype Account
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Sun Dec 02, 2007 1:49 pm    Post subject: Reply with quote

I still hope the best...
_________________


OmegaBolt wrote:
TS is abysmal to play, unless you're just casually city building in it.

Back to top
View user's profile Send private message Visit poster's website
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Sun Dec 02, 2007 1:50 pm    Post subject: Reply with quote

I doubt it. I already found the internal weapon data, and there was nothing to indicate unused hand-to-hand weapons.
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Sun Dec 02, 2007 2:28 pm    Post subject: Reply with quote

It seems like the combat has no effect, and the beta sounds are just the original sounds without all weapon effect/explosion sounds. The wheeled vehicle rotation works fine, but I'm not sure if it's such a great feature...
_________________


OmegaBolt wrote:
TS is abysmal to play, unless you're just casually city building in it.

Back to top
View user's profile Send private message Visit poster's website
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Sun Dec 02, 2007 2:51 pm    Post subject: Reply with quote

beta sounds don't work unless you got ZOUNDS.MIX from the original DOS C&C CD.

You need to rename it to something like sczounds.mix before it can be read though.


sczounds.rar
 Description:
add this file and you can enable the beta sounds in C&C95 ;)

Download
 Filename:  sczounds.rar
 Filesize:  817.02 KB
 Downloaded:  697 Time(s)


Last edited by Nyerguds on Mon Dec 03, 2007 2:37 pm; edited 2 times in total

Back to top
View user's profile Send private message Visit poster's website Skype Account
Oshog
General


Joined: 02 Sep 2005
Location: Sofia, Bulgaria

PostPosted: Sun Dec 02, 2007 6:46 pm    Post subject: Reply with quote

What does the 'seperate helipad purchase' do anyways?

Very usefull. You think you could also make TD properly display enemy units as well?

Back to top
View user's profile Send private message Send e-mail
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Sun Dec 02, 2007 7:22 pm    Post subject: Reply with quote

If you download and run it, you get extensive descriptions when holding your mouse over each of the options.

"Separate helipad purchase" means that you buy a helipad without a helicopter on it, for only $300, instead of the default way where you get a helicopter with each helipad you buy, but pay $1500 for the whole thing together.
This is correct, since the 2 types of attack helicopters (orca & apache) cost $1200.
(there's a bug in the game related to this, namely that the helipad ALWAYS builds as fast as a $300 building)

What do you mean with 'properly display enemy units'? Show the names of enemy units? That can be enabled with data editors like UGE or TibEd, but there's no global option for it.

There seems to be a misunderstanding here. These options aren't something I created, they simply ARE in the exe, made by the WW programmers. I just made a program to easily enable and disable them. That's all.

Last edited by Nyerguds on Mon Dec 03, 2007 12:08 pm; edited 2 times in total

Back to top
View user's profile Send private message Visit poster's website Skype Account
Mr. Pokey
Energy Commando


Joined: 29 May 2005
Location: England

PostPosted: Sun Dec 02, 2007 7:23 pm    Post subject: Reply with quote

I would assume it means you have to buy the orca and helipad separate instead of them coming together when you buy the pad.

beaten Sad
_________________


Organised Rules.ini by Judeau

Back to top
View user's profile Send private message Send e-mail
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Sun Dec 02, 2007 7:27 pm    Post subject: Reply with quote

Oddly enough, the cost of a helipad in the internal C&C data is indeed $1500, and not $300 :-\
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Sun Dec 02, 2007 10:02 pm    Post subject: Reply with quote

version 1.05 released... this one has a more intensive search method to find the C&C95.exe file on startup.

It will try these things until it finds a valid C&C95.exe file:

1. Reading settings in INI file
2. Looking for C&C95.exe in the current directory
3. Reading the path from the First Decade registry key
4. Reading the path from the Westwood registry key
5. Reading the default install path "c:\westwood\C&C95\C&C95.exe"

Only after all that has passed, the program will give up and just start without opening a file.
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Mon Dec 03, 2007 2:39 pm    Post subject: Reply with quote

Oh, small note... like with zounds.mix, the 'hidden music' is only in the Covert Operations / DOS C&C scores.mix file.

They also aren't really new tracks, so the label 'hidden music' is somewhat incorrect. They are in fact remixes of "Act On Instinct", "Looks Like Trouble" and the score theme "Great Shot!".

I should change that option to "Alternate music"...
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
MrFlibble
Cyborg Firebomber


Joined: 28 Feb 2005
Location: 3,000,000 years away from Earth

PostPosted: Mon Dec 03, 2007 2:50 pm    Post subject: Reply with quote

Do you mean that this option doesn't add music like Heartbreak, Reaching Out, Enemies to Be Feared or C&C 80's Mix (CovertOps) to the playlist? Most of them are missing in the C&C95 scores.mix though...
_________________
I am MrFlibble. Just MrFlibble. From the Potato King to Uncle Arnie to MrFlibble. I am his right hand.
FED2k Forums - Westwood Studios' Dune games and more

Back to top
View user's profile Send private message
Team Black
Defense Minister


Joined: 25 Sep 2006
Location: Teamblackistan Posts: Over 9000

PostPosted: Mon Dec 03, 2007 3:38 pm    Post subject: Reply with quote

Hooah, I'm up for some 6 player C&C95 LAN

Nice work, Nyerguds, as always Smile
_________________
The Fall of Hammerfest - Epic Tiberian chain story

Tiberian Odyssey mapping department. Discord
The Team Black Index

Back to top
View user's profile Send private message
ORCACommander
Commander


Joined: 14 Feb 2006
Location: Flying into hostile territory

PostPosted: Mon Dec 03, 2007 4:08 pm    Post subject: Reply with quote

well donehow effective is the smarter defense logic?
_________________

Back to top
View user's profile Send private message
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Mon Dec 03, 2007 5:46 pm    Post subject: Reply with quote

MrFlibble wrote:
Do you mean that this option doesn't add music like Heartbreak, Reaching Out, Enemies to Be Feared or C&C 80's Mix (CovertOps) to the playlist? Most of them are missing in the C&C95 scores.mix though...

Yes and no... this option does NOT control what is in the playlist and what isn't, it just makes sure the game reads music files with the extension .VAR and prefers them over the normal .AUD versions.
Many of these extra themes are indeed .VARs, but the internal music settings in C&C determine that they're not in the playlist.

It comes down to this: I got the data to enable these themes in the playlist, BUT for the .VAR files, even if I do that, I still need to enable this special Alternate Music option to actually get them ingame.

I'm going to release that info on the playlist soon, don't worry. Koen might even put it in his next TibEd, if he has time and after I'm finished listing all overlay & tileset settings.

At the moment, this is the data I got on the playlist:

(music edit list in C&C95 UGE v3.0 beta)

things I identified:
-Name Offset: location in exe file to find the actual filename string
-Name ID: index in strings file (conquer.eng) where this track's name can be found
-Track Length (in seconds)
-Appears in playlist: what needs to be enabled for the true hidden themes
-Has alternate: also needs to be enabled for the themes that are only available in .var flavour, though these seem to be set correctly already.


ORCACommander wrote:
how effective is the smarter defense logic?

Try it out? #Tongue

All right, I'll describe it, sheesh. Actually it's kinda annoying. All units start moving around when attacked. For infantry it's handy, because they scatter when threatened to get crushed. But all your tanks start moving around too, and you can't keep them on the spot.

Also, with this option it becomes totally impossible to destroy tanks with a few single minigunners or chem warriors (see mission The Tiberium Strain). Tanks only try to crush infantry when they're attacked from a distance of 1 cell or less, which made infantry safely able to kill AI tanks by attacking them diagonally (pythagoras - distance is more than 1 cell). However, with them moving around this has become totally impossible, because either the infantry will follow the tank, or the tank will come closer, which usually makes the distance less than 1 cell, and then makes the minigunner very flat.
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Ickus
General


Joined: 25 Nov 2002
Location: @__@

PostPosted: Tue Dec 04, 2007 1:11 pm    Post subject: Reply with quote

Nyerguds wrote:
.... which usually makes the distance less than 1 cell, and then makes the minigunner very<i> flat.</i>

Laughing thats is just an awesome mental picture.

Reading that I imagined tanks dancing all over the place.

Oh any word on why was the "karate" cut from the game?
_________________
Delirium..

Back to top
View user's profile Send private message
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Tue Dec 04, 2007 4:20 pm    Post subject: Reply with quote

Seriously, try it. Dancing tanks isn't too far from the truth Confused

Ickus wrote:

Oh any word on why was the "karate" cut from the game?

Don't bring a knife to a machinegun fight?
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Team Black
Defense Minister


Joined: 25 Sep 2006
Location: Teamblackistan Posts: Over 9000

PostPosted: Tue Dec 04, 2007 5:58 pm    Post subject: Reply with quote

Quote:
Dancing tanks


Yeah couldn't resist #Tongue

_________________
The Fall of Hammerfest - Epic Tiberian chain story

Tiberian Odyssey mapping department. Discord
The Team Black Index

Back to top
View user's profile Send private message
Aro
Alcohol Fueled


Joined: 10 Sep 2006

PostPosted: Tue Dec 04, 2007 6:09 pm    Post subject: Reply with quote

God Damn missing scenario, bug. >_>

Back to top
View user's profile Send private message Visit poster's website Facebook Profile URL Twitter Channel URL
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Wed Dec 05, 2007 12:07 am    Post subject: Reply with quote

...whut?
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Team Black
Defense Minister


Joined: 25 Sep 2006
Location: Teamblackistan Posts: Over 9000

PostPosted: Wed Dec 05, 2007 12:14 am    Post subject: Reply with quote

If you don't correctly set the "next scenario" then all the voxels on the map will start flipping around when the mission is over

Anyways, this is some cool stuff you got here Nyerguds, I'm looking forward to trying it out Smile
_________________
The Fall of Hammerfest - Epic Tiberian chain story

Tiberian Odyssey mapping department. Discord
The Team Black Index

Back to top
View user's profile Send private message
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Wed Dec 05, 2007 12:22 am    Post subject: Reply with quote

oh, lol. I'm hardly an expert at TS bugs. I know all about the TD ones though. There are pretty funny ones there too.
(Did you know there's a way to make infantry walk over walls in TD? Very Happy)
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Thu Dec 06, 2007 1:49 pm    Post subject: Reply with quote

Hey, if you people are interested, I could make a small C&C Quick Hacks program to do stuff like enabling the hidden themes, and showing enemy unit names.

I'll need some more suggestions on what to implement then, though :p

Might make it into a complete bug fix patch... then I can do more, like fix the civilian building decay bug (caused by the fact C&C thinks the zero-zero power balance for house Neutral is still Low Power) and remove bibs on the buildings where they're totally not needed, like the silo and repair pad..

I want some more useful suggestions of stuff to implement then, though.

Or I could first make this program compatible with DOS C&C (which shouldn't be too hard) #Tongue
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
darknessvolt
Rocket Cyborg


Joined: 24 Oct 2007
Location: Yuri's Island!

PostPosted: Thu Dec 06, 2007 1:52 pm    Post subject: Reply with quote

I'm interested.
_________________

Back to top
View user's profile Send private message Yahoo Messenger Account
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Sat Dec 08, 2007 3:04 pm    Post subject: Reply with quote

Unfortunately, your opinion is worthless to me. Do you even own C&C95? -_-
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
whiteshoes-n-gloves
Cyborg Engineer


Joined: 09 Dec 2007

PostPosted: Wed Dec 12, 2007 4:22 am    Post subject: Reply with quote

yes, yes you most certainly should. any smarter AI would be apretiated, playing against a tougher comp is like playing ALL over again. Havister bugs: when there refinerys on two sides of a river and they try to get to the one that they cant, if they CANT get to it, they should switch refinery (or work out IF they can get to it before they go there) make sure they still just stit outside refinerys in use though. maybe one so the harvisters DON just try to run everything over that shoots at them (INCLUDING RECON BIKES!) have you ever noticed how they try to run recon bikes over... one time it actually did, weird, lol.
missing nod units: Make one so nod can build ssm, helipad and chem warriors in the missions. I know theres other hacks to get this, but i feel they were missing.
Visseriods in missions when troopers die in the tiberium too.
Multiple nukes like the multi-play?
perhaps make sam sites better at hitting at least the A-10's so they actually help stop airstricks, AND make air stikes pick a valid targit instead of northern most unit/building.
computer REbuilds helicopters after they die. (lol, the old recon bike lure back to the sam sites at base trick, lol)
Thats all i can think of for now, Id like to think you know the bugs better than me, lol.

I now this isnt what your talking about, but the one thing TD was missing was skirmish, im sure you've thought about it, even if the ai was only as good as the RA1 skirmish, wouldnt be so bad. Itd be a project in itself, i know, and a big one... but we both know, the game missed it... lol.



oh and er... "The program is written in C#, and requires the .net framework 2.0 to run."
how can i get this? im a bit confused.
-Liam

Back to top
View user's profile Send private message
gufu
Defense Minister


Joined: 22 Dec 2004
Location: Tiberium Research Center N27

PostPosted: Wed Dec 12, 2007 4:41 am    Post subject: Reply with quote

What are hidden tracks? I only know the CNC 80's... but the rest?
_________________
DUNK!

Back to top
View user's profile Send private message Skype Account
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Thu Dec 20, 2007 2:38 am    Post subject: Reply with quote

@Liam (whiteshoes-n-gloves):
You seem to be VERY confused. I'm not talking about improving C&C's AI by hacking; I can't do that. All I'm doing here is enabling hidden options made by the WW programmers. The suggestions I was asking for were stuff within the normal editing possibilities of the game.

My current edting possibilities include stats of units, buildings, aicraft, infantry, weapons, trees, terrain tiles, overlay & music. I can also edit remap colours for each side, give one side the Nod buildings colour exception, and edit the foundations and passability of trees, structures and terrain tiles.

But that's it. I can't do magic. I can't make dead infantry spawn visceroids, I can't improve AI logics, I can't make the AI rebuild helicopters, I can't make harvesters smarter, and I DEFINITELY can't (or even want to) make a Skirmish mode.

See, you'd only find out that the C&C1 AI is NOTHING like the RA1 one. RA1 had a very good, independent AI. The C&C AI s about as smart as a pallet full of bricks. It can't even deploy its MCV unless you specifically program it to do so. Let alone build a base or make units to attack you.
The ONLY things the C&C1 AI can do independently is repair damaged structures and replace destroyed harvesters (IF it has a vehicle factory). That's ALL. Really. For the rest it acts exactly like a player that doesn't touch its game controls.

Also, I'm NOT enabling these so-called "hidden" units. They are not hidden, they're simply multiplayer-only. Not to mention, even through editing there is no way of enabling the helipad for Nod other than capturing a GDI construction yard.

One thing I MIGHT pull off, after a LOT of research, is making the nuke repeat. But don't hold your breath...



@Gufu:
-Airstrike
-I Am (Destructible Times)
-Heartbreak
-DIE!!
-Enemies To Be Feared

and then the remixes of "Looks Like Trouble", "Act on Instinct" and "Great Shot!"
_________________

Last edited by Nyerguds on Fri Dec 21, 2007 9:54 pm; edited 1 time in total

Back to top
View user's profile Send private message Visit poster's website Skype Account
guest
Guest




PostPosted: Fri Dec 21, 2007 5:54 pm    Post subject: Reply with quote

Thanks for the tool. It is really helpful. Is there anyway to change the color of the units using the editor? (e.g. changing colour of nod units to blue/green/whatever instead of red)...

Back to top
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Fri Dec 21, 2007 9:33 pm    Post subject: Reply with quote

Heh, that requires some serious hex editing... not to mention you can't set the actual colours, but just the palette locations it has to use. After all, C&C is always limited to the 256 colours that are loaded on the palette at that moment.

Something that's far easier to do is giving it a completely different colour set like for example the multiplayer orange colour. I've done some tests with that:

http://nyerguds.arsaneus-design.com/junk/stuff/mod/Dutch_noddies.png

I also changed the Nod colour exception (that makes its structures red, while the real Nod colour is grey) to be applied to GDI once. That was pretty funny too.

http://nyerguds.arsaneus-design.com/junk/stuff/mod/gdi_sees_red.png
Yes that's all GDI. Check the radar, and the green label over the guard tower Very Happy

I can change these radar colours too though, lol.
_________________

Last edited by Nyerguds on Wed Oct 28, 2009 12:58 am; edited 2 times in total

Back to top
View user's profile Send private message Visit poster's website Skype Account
gufu
Defense Minister


Joined: 22 Dec 2004
Location: Tiberium Research Center N27

PostPosted: Fri Dec 21, 2007 9:50 pm    Post subject: Reply with quote

Can't find "Heartbreak" and "Die!" on his site... different name?
_________________
DUNK!

Back to top
View user's profile Send private message Skype Account
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Fri Dec 21, 2007 10:01 pm    Post subject: Reply with quote

tried the Songs of the Month?
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Clazzy
Karma Police


Joined: 26 Nov 2002
Location: Algae Colony On Mars

PostPosted: Fri Dec 21, 2007 10:06 pm    Post subject: Reply with quote

Dunno about Heartbreak but Die you can find under the "Songs of the Month" section.
_________________
Quote:
This is sexier than what this forum was supposed to tolerate. - Banshee

Back to top
View user's profile Send private message
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Fri Dec 21, 2007 10:14 pm    Post subject: Reply with quote

well if you got TFD it's in the Covert Ops scores.mix file :-\
(if you installed patch 1.02 the CovOps scores.mix file is called SC-003.MIX)
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
guest
Guest




PostPosted: Sat Dec 22, 2007 10:03 am    Post subject: Reply with quote

Nyerguds wrote:
Heh, that requires some serious hex editing... not to mention you can't set the actual colours, but just the palette locations it has to use. After all, C&C is always limited to the 256 colours that are loaded on the palette at that moment.

Something that's far easier to do is giving it a completely different colour set like for example the multiplayer orange colour. I've done some tests with that:

http://cnc2sw.planetcnc.gamespy.com/stuff/mod/Dutch_noddies.png

I also changed the Nod colour exception (that makes its structures red, while the real Nod colour is grey) to be applied to GDI once. That was pretty funny too.

http://cnc2sw.planetcnc.gamespy.com/stuff/mod/gdi_sees_red.png
Yes that's all GDI. Check the radar, and the green label over the guard tower Very Happy

I can change these radar colours too though, lol.


Thanks and that is exactly what I want. How could I change the colour set of GDI/NOD in single player campaigns to one of the multilayer ones?

Back to top
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Sat Dec 22, 2007 4:10 pm    Post subject: Reply with quote

Hm... well this is so much easier to see in a disassembler... but okay, I'll look up the offsets for you #Tongue

One note though... you ARE talking about the English version of C&C95 right? In the german version these offsets are different.

Data types:

Radar colours: one byte, needs a palette index from 00-FF. Check the original C&C palettes for colours, but beware the differences between desert and temperate. Remember, you do NOT need to put a colour value there; just the palette index indicating where the colour is located on the palette.
One thing that's much easier to do is just check the values the other sides use, and copy both the palette reference and the radar colours Smile

remap colours: this needs a reference to a complete 256-byte palette re-order. These palettes can be found at offset 0xEB7E4(+n*0x100) in C&C95.exe. Normally, only the range B0 to BF is different on these palettes, since that's where the remap is.

Anyway, for just switching them none of that matters since all you need to do is edit the references to the palettes. These references are of the form "E4 39 50" (=GDI yellow), but only the middle byte of these actually changes. So here are these middle bytes:

39 - GDI yellow (is just the standard palette)
3A - Nod red
3B - MP Blue
3C - MP Orange
3D - MP Green
3E - Nod Grey
3F - Neutral yellow (is the same as GDI)


Side colour data:
These are the offsets where you need to edit data to change references. All offsets are hexadecimal.
As mentioned above, radar colours need a 1-byte palette location, and remap palettes need 1 byte to adjust the reference to the 256-colour palettes.

00 GDI:
remap palette: 37577
radar units: 3757D
radar buildings: 37582

01 Nod: (Note that Nod colour is GREY. The red is the exception below)
remap palette: 375A7
radar units: 375AD
radar buildings: 375AF

* Nod building colour exception:
* side that uses exception: 3C346 (00=GDI, 01=Nod, 02=neutral, etc...)
* remap palette: 3C34B

02 Neutral:
remap palette: 375D4
radar units: 375DA
radar buildings: 375DF

03 Special:
remap palette: 37607
radar units: 3760D
radar buildings: 37612

04 Multi1:
remap palette: 3763A
radar units: 37640
radar buildings: 37645

05 Multi2:
remap palette: 3766D
radar units: 37673
radar buildings: 37678

06 Multi3:
remap palette: 376A0
radar units: 376A6
radar buildings: 376AB

07 Multi4:
remap palette: 376D3
radar units: 376D9
radar buildings: 376DE

08 Multi5:
remap palette: 37706
radar units: 3770C
radar buildings: 37711

09 Multi6:
remap palette: 37739
radar units: 3773F
radar buildings: 37744
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Mon Dec 24, 2007 1:55 am    Post subject: Reply with quote

For anyone who wants to see Wheeled Vehicle Rotation in action...

http://www.youtube.com/watch?v=mNLeD_M6blU

#Tongue
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
MrFlibble
Cyborg Firebomber


Joined: 28 Feb 2005
Location: 3,000,000 years away from Earth

PostPosted: Mon Dec 24, 2007 3:31 pm    Post subject: Reply with quote

Sorry if this is a bit off-topic (hopefully not), but why do the players Multi1 - Multi6 have grey as their minimap colour in the singleplayer missions? I've never participated in multiplayer games, but I guess they have normal minimap colours in multiplayer..?
_________________
I am MrFlibble. Just MrFlibble. From the Potato King to Uncle Arnie to MrFlibble. I am his right hand.
FED2k Forums - Westwood Studios' Dune games and more

Back to top
View user's profile Send private message
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Tue Dec 25, 2007 12:43 am    Post subject: Reply with quote

Yeah, I don't really get that either. But they're indeed shown as grey in single player and as their correct colour in multiplayer. I should check out which palette indexes actually get picked for that.

It's probably something simple, like the indexes GDI uses, but applied to the re-ordered colour palette of the MP team.
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Sun May 04, 2008 3:42 pm    Post subject: Reply with quote

OK... Carno just found out that the Overrun option disables tiberium...

after some researh, it seems that it disables the SPAWNING of tiberium. So tiberium patches still grow to maximum density, but will not spread more tiberium, and neither will blossom trees.

It also seems to disable the initial spawning of the existing tiberium when starting a new mission. Loaded savegames will still contain tiberium though.


It's pretty bizarre... I can't find the link with the word "overrun" which is connected to that option in the exe file...

---

On a side note, I uploaded v1.07, which supports DOS C&C. Oddly enough, the alternate music option is missing in DOS C&C 1.22.
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
MrFlibble
Cyborg Firebomber


Joined: 28 Feb 2005
Location: 3,000,000 years away from Earth

PostPosted: Wed May 07, 2008 4:08 pm    Post subject: Reply with quote

Nyerguds, is there a way to have the special Nod map and score screen music play for Nod while retaining the "normal" music for GDI? Or does extra tracks option do that already?
_________________
I am MrFlibble. Just MrFlibble. From the Potato King to Uncle Arnie to MrFlibble. I am his right hand.
FED2k Forums - Westwood Studios' Dune games and more

Back to top
View user's profile Send private message
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Sun May 18, 2008 6:36 pm    Post subject: Reply with quote

nope, these 2 are totally unused... their name strings aren't even in the exe file.

I probably can't even enable them through hacking since it would mean having to add 2 entirely new sections in the songs list. This is pretty much equivalent to what I'd need to do to add a new unit to the game... and I really don't know how to do that #morning
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
CCHyper
Defense Minister


Joined: 07 Apr 2005

PostPosted: Sun May 18, 2008 7:50 pm    Post subject: Reply with quote

Nyer, i explained to you how to add new units Wink

Back to top
View user's profile Send private message
raminator
Commander


Joined: 04 Oct 2005
Location: Bierkasten

PostPosted: Mon May 19, 2008 5:07 am    Post subject: Reply with quote

how does this work? i want to know too #Tongue
_________________

just a simple logo by bricks @ raminator, on Flickr

Back to top
View user's profile Send private message
MrFlibble
Cyborg Firebomber


Joined: 28 Feb 2005
Location: 3,000,000 years away from Earth

PostPosted: Wed May 21, 2008 2:06 pm    Post subject: Reply with quote

I also noticed that there are infantry "corpse decay" animations in conquer.mix, called e1rot.shp etc., but their names aren't listed in the exe either. I wonder if there's a way to enable them somehow, too.
_________________
I am MrFlibble. Just MrFlibble. From the Potato King to Uncle Arnie to MrFlibble. I am his right hand.
FED2k Forums - Westwood Studios' Dune games and more

Back to top
View user's profile Send private message
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Thu May 22, 2008 7:32 am    Post subject: Reply with quote

Yeah, don't know about that either. There are no references whatsoever to these files in the exe. In fact these filenames have never been identified until XCC Mixer came along (and I don't know where Olaf got the names from). All I know is they did implement them in RA1...

Hyper wrote:
Nyer, i explained to you how to add new units Wink

Well yea, now I got your upgraded exe I can do it, but before that I had size problems with the mem section to store them in.

I'd still need to change a shitload of references to that memory...
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Fri Jun 06, 2008 10:34 pm    Post subject: Reply with quote

OK, from Hyper's disassembling work it seems like these are simply conquer.ini settings... but with a twist. The value to add behind them is encoded to a 4-byte ID, kinda like a CRC (or more specifically, kinda like filename IDs in mixfiles), so they can't be decoded. One other example of this (dirty) trick is the "funpark" string, which is encoded in the same way.

Thanks to pd I got a program to generate those IDs though, and I've already generated all strings up to 5 characters. So far, I only found one of these options in it though:

Scores=remix

Put that under [Options] in your conquer.ini, and it plays the remixes, without needing any hacking Smile

Note that you need either DOS C&C (<v1.22), TFD or the Covert Operations to make that work. The normal C&C95 CDs don't contain these remixes, and in DOS C&C 1.22 the Scores option is removed for some bizarre reason.

I got a few more valid strings but one ID can give multiple strings, and I'm quite sure these aren't the correct ones. Nevertheless, they work:

show true civilian names:
TrueNames=bcttb

separate helipad purchase:
Helipad=wpfqq

Undeploy MCV when selling it (has a pretty bad bug with power usage)
MCV=DPGJO
MCV=FPGJN
MCV=NPGJJ
MCV=PPGJI
MCV=RXORZ
(yes, all of those work. Now, since I'm fairly sure C&C1 was made before the whole l33t r0xx0rz zkillz0rz, I think this last one is also just a coincidence)

and of course the one mentioned above, to enable the remix music.
Scores=remix
Scores=temiw
(should be clear which one is the original string there... but temiw works too Razz )

Note that my options enabler tool actually inverts the given option, meaning that both adding the ini option and using the tool on the same option at the same time will disable it again Laughing
_________________

Last edited by Nyerguds on Thu Aug 07, 2008 2:39 pm; edited 1 time in total

Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 2 [60 Posts] Goto page: 1, 2 Next
View previous topic :: View next topic
 Forum index » Featured Tools » Community Tools
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2675s ][ Queries: 12 (0.0126s) ][ Debug on ]