Create new nations?

New Recruits check in here! Vets debate the fine points! Tactics discussion, FAQ and "how-to" help.
If you are new to the SP:WaW community post an introduction please!

Moderator: MOD_SPWaW

Post Reply
Baterja_6
Posts: 6
Joined: Thu Apr 06, 2006 10:25 pm

Create new nations?

Post by Baterja_6 »

Hey all, I would like to create a couple of new nations for some pre WW2 battles. Is this possible at all? If not, is it possible to change an existing nation from one to another? I'm already getting the urge to tinker with things.

Thanks in advance. [:)]
User avatar
Don Doom
Posts: 1984
Joined: Sat Sep 23, 2000 8:00 am
Location: Lost somewhere in the upper backwoods of Michigan!

RE: Create new nations?

Post by Don Doom »

Just copy and exitisting one, then empty it out and fill it with the equipment you want, then swap it in and out as you play.
Doom
Vet of the Russian General Winter
For death is only the begining
User avatar
FlashfyreSP
Posts: 1192
Joined: Sat Jul 06, 2002 9:39 am
Location: Combat Information Center
Contact:

RE: Create new nations?

Post by FlashfyreSP »

In addition to that, you may want to change the flags used in the game. These are in 4 SHP files: Battle.shp, Batbut.shp, Icon16.shp, and Icon61.shp. To change a flag:

1. Load each of the SHP files into the ShpEdit program.
2. Locate the country flag you are going to replace.
3. Save these as BMP files (using the ShpEditor Save function).
4. Using an image program (I use Paint Shop Pro 7), replace the old flag with your new country flag.
5. After you have created the various flag BMPs (6 total, I believe), make copies of all 4 SHP files, then replace the appropriate SHPs according to the instructions in the ShpEdit manual.

These new SHP files can then be included in a Mod, if you want, of copied directly to the SHP folder.

Unfortunately, you cannot add new countries, and some things, like leader names and the country name itself, cannot be changed either. These are hard-coded into the mech.exe file. So, you'll still see the original country name displayed in all text messages and mouse-over boxes.
ImageImage
Baterja_6
Posts: 6
Joined: Thu Apr 06, 2006 10:25 pm

RE: Create new nations?

Post by Baterja_6 »

Thankyou for the information fellows.

As a curiousity question, why is the information hard coded in that file? Is it to keep the versions the same, ie. a modified country on one persons computer would not be compatable with the plain version on another? Thanks again. [:)]
User avatar
Don Doom
Posts: 1984
Joined: Sat Sep 23, 2000 8:00 am
Location: Lost somewhere in the upper backwoods of Michigan!

RE: Create new nations?

Post by Don Doom »

Actually Baterja_6 you can can the nations names and the names used in the game, people have been doing for years. Pm me and I will let you know how as i was shown.
Doom
Vet of the Russian General Winter
For death is only the begining
Robert_S
Posts: 1
Joined: Wed Aug 09, 2006 1:46 pm

RE: Create new nations?

Post by Robert_S »

Unfortunately, you cannot add new countries, and some things, like leader names and the country name itself, cannot be changed either. These are hard-coded into the mech.exe file. So, you'll still see the original country name displayed in all text messages and mouse-over boxes.

Actually I had explained a couple of years ago how to change country Exp, morale and other country ratings on Mr Flash's forum. Apparently, my explanation was a little too complex for him and he dismissed it out of hand. You cannot create an extra country slot, but as Doom states, you can replace a country in the game with new flags and a new name. You want to choose a country that does not have special characteristics assigned to it, however.

As for Mr. Doom, why must he email you? Why can't you be more like our mentor, Wild Bill and simply present the know-how to our members? Surely being explained from such noted experts as yourselves, people will listen.
User avatar
FlashfyreSP
Posts: 1192
Joined: Sat Jul 06, 2002 9:39 am
Location: Combat Information Center
Contact:

RE: Create new nations?

Post by FlashfyreSP »

ORIGINAL: Robert_S
Unfortunately, you cannot add new countries, and some things, like leader names and the country name itself, cannot be changed either. These are hard-coded into the mech.exe file. So, you'll still see the original country name displayed in all text messages and mouse-over boxes.

Actually I had explained a couple of years ago how to change country Exp, morale and other country ratings on Mr Flash's forum. Apparently, my explanation was a little too complex for him and he dismissed it out of hand. You cannot create an extra country slot, but as Doom states, you can replace a country in the game with new flags and a new name. You want to choose a country that does not have special characteristics assigned to it, however.

As for Mr. Doom, why must he email you? Why can't you be more like our mentor, Wild Bill and simply present the know-how to our members? Surely being explained from such noted experts as yourselves, people will listen.

You can only change the Leader Names, Ratings, and Country Names if you "hex edit" the mech.exe file. And that is not done easily by most people, nor is it encouraged by Matrix, as it technically violates the copyrights for the game code. However, with the addition of TheDesertRat's mechEdit program, the Experience and Morale ratings can now be "unloaded" from the mech.exe and replaced with whatever ratings one wishes. The program only works with the current 8.403 mech.exe, though.

I know all about replacing the flags, as I have done so with my South Africa OOB; but without "breaking into" the game code, casual users cannot change the leader or country names as they can the OOB data. Even changing flags is complicated for the casual player, and is not something I would recommend to anyone without cautioning them to practice on backup copies of the SHP files.
ImageImage
Rob_S
Posts: 1
Joined: Wed Aug 09, 2006 7:28 pm

RE: Create new nations?

Post by Rob_S »

I apologize for my comments.  I had no right.  You guys have put a lot into this game. To be quite honest I'm not feeling well.
 
Robert
User avatar
Don Doom
Posts: 1984
Joined: Sat Sep 23, 2000 8:00 am
Location: Lost somewhere in the upper backwoods of Michigan!

RE: Create new nations?

Post by Don Doom »

ORIGINAL: FlashfyreSP
ORIGINAL: Robert_S
Unfortunately, you cannot add new countries, and some things, like leader names and the country name itself, cannot be changed either. These are hard-coded into the mech.exe file. So, you'll still see the original country name displayed in all text messages and mouse-over boxes.

Actually I had explained a couple of years ago how to change country Exp, morale and other country ratings on Mr Flash's forum. Apparently, my explanation was a little too complex for him and he dismissed it out of hand. You cannot create an extra country slot, but as Doom states, you can replace a country in the game with new flags and a new name. You want to choose a country that does not have special characteristics assigned to it, however.

As for Mr. Doom, why must he email you? Why can't you be more like our mentor, Wild Bill and simply present the know-how to our members? Surely being explained from such noted experts as yourselves, people will listen.

You can only change the Leader Names, Ratings, and Country Names if you "hex edit" the mech.exe file. And that is not done easily by most people, nor is it encouraged by Matrix, as it technically violates the copyrights for the game code. However, with the addition of TheDesertRat's mechEdit program, the Experience and Morale ratings can now be "unloaded" from the mech.exe and replaced with whatever ratings one wishes. The program only works with the current 8.403 mech.exe, though.

I know all about replacing the flags, as I have done so with my South Africa OOB; but without "breaking into" the game code, casual users cannot change the leader or country names as they can the OOB data. Even changing flags is complicated for the casual player, and is not something I would recommend to anyone without cautioning them to practice on backup copies of the SHP files.

Actually using a hex editor is not changing any of the code just data fields so it does not violate the copyright. But it is very easy to do and if you back up your file[mech.exe], there is no problem if one does show up. People have been changing the leader names since version one, which makes it hard for anyone to say anything at this late date. I will write a short step by step manual and post it here when I am done with the work on the shp files I am working on.
Doom
Vet of the Russian General Winter
For death is only the begining
azraelck
Posts: 581
Joined: Mon Jan 16, 2006 5:00 am

RE: Create new nations?

Post by azraelck »

The hard part of hex editing is digging through all the values. I used to do it with the Universal Game Editor. You could edit pretty much any save file, and create a static set of variables to let you edit values without digging through the numbers over and over for every time you wanted to edit something.

It's more boring than difficult, but it can cause a good many errors if your editing a exe file and don't know what your doing.
"Wait... Holden was a cat. Suddenly it makes sense."
User avatar
Alby
Posts: 4659
Joined: Sat Apr 29, 2000 8:00 am
Location: Greenwood, Indiana
Contact:

RE: Create new nations?

Post by Alby »

You can change leader names AND country names.
notice the different spelling of "ROMANIA" in Enhanced
[;)]
there are 3 or 4 sets of each I think.
finding the right one can be boring and time consuming to say the least..
[>:]

Post Reply

Return to “SP:WaW Training Center”