.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT > TO&Es
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old August 1st, 2005, 10:56 AM

Chapman2424 Chapman2424 is offline
Private
 
Join Date: Jul 2005
Location: Cambridge Ontario CANADA
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Chapman2424 is on a distinguished road
Default Re-naming existing nations

Anyway to rename existing nations in the MOBhack menu ?

I am trying to build 4 new forces under the last 4 nations (Tanzania/Uganda/Paraguay/Uruguay)

I don't need the flags changed but the names would help.

Thanks,


Stephen
Reply With Quote
  #2  
Old August 1st, 2005, 03:52 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,956
Thanks: 465
Thanked 1,899 Times in 1,237 Posts
Mobhack is on a distinguished road
Default Re: Re-naming existing nations

Quote:
Chapman2424 said:
Anyway to rename existing nations in the MOBhack menu ?

I am trying to build 4 new forces under the last 4 nations (Tanzania/Uganda/Paraguay/Uruguay)

I don't need the flags changed but the names would help.

Thanks,


Stephen
No

The names for nations are hard coded inthe game code, together with thier leader ratings, battle locations and so on.

Cheers
Andy
Reply With Quote
  #3  
Old August 1st, 2005, 05:05 PM

Chapman2424 Chapman2424 is offline
Private
 
Join Date: Jul 2005
Location: Cambridge Ontario CANADA
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Chapman2424 is on a distinguished road
Default Re: Re-naming existing nations

Thanks,

Stephen
Reply With Quote
  #4  
Old August 1st, 2005, 06:39 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is offline
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,378
Thanks: 101
Thanked 619 Times in 410 Posts
MarkSheppard is on a distinguished road
Default Re: Re-naming existing nations

You CAN change the nation's names if you're willing to hex edit the game executable.
The Nation Names are right there in plain ASCII text in the executable.

I've found that you can change the names with no ill effects
as long as you:

Keep the string size similar; no changing BLUE into GRENADA,
because that will crash the game; but BLUE can be changed to
IRAQ for example for effect. (I Know Iraq's already in the
game, but I was just using it as an example of a 4-letter
nation name.
Reply With Quote
  #5  
Old August 2nd, 2005, 05:16 AM

jvankessel jvankessel is offline
Private
 
Join Date: Jun 2005
Posts: 36
Thanks: 0
Thanked 2 Times in 1 Post
jvankessel is on a distinguished road
Default Re: Re-naming existing nations

Quote:
Mobhack said:
The names for nations are hard coded inthe game code, together with thier leader ratings, battle locations and so on.

Ouch. You guys have done a great job on the Windows conversions, but I'm slightly disappointed by the adherence to an IMHO outdated game design; compiled resources instead of xml, lbm/shp instead of paletted pngs. Oh well, can't have it all. ;-)

With regards to MarkSheppard's remarks: As the strings are zero terminated, lengths can be varied AS LONG AS some other strings are adjusted in length to compensate. [EDIT: Nevermind that; it doesn't work].

And a follow up: How would I go about changing the USMC flags (or any other flags for that matter) by my own spiffy Numenorean flag?
Reply With Quote
  #6  
Old August 2nd, 2005, 08:01 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,956
Thanks: 465
Thanked 1,899 Times in 1,237 Posts
Mobhack is on a distinguished road
Default Re: Re-naming existing nations

Quote:
jvankessel said:
Quote:
Mobhack said:
The names for nations are hard coded inthe game code, together with thier leader ratings, battle locations and so on.

Ouch. You guys have done a great job on the Windows conversions, but I'm slightly disappointed by the adherence to an IMHO outdated game design; compiled resources instead of xml, lbm/shp instead of paletted pngs. Oh well, can't have it all. ;-)

With regards to MarkSheppard's remarks: As the strings are zero terminated, lengths can be varied AS LONG AS some other strings are adjusted in length to compensate. [EDIT: Nevermind that; it doesn't work].

And a follow up: How would I go about changing the USMC flags (or any other flags for that matter) by my own spiffy Numenorean flag?
Strings are in the data segment as constants, so you will neeed to overwrite with something exactly the same length for the full national name and any associated short name (e.g. Great Britain and GB).

To change flags - learn how to use SHPED, and then find the several spots in the game's SHP files where the various sized flags live, and overwrite those with your new ones, I would suppose. (They will not be in the ter or icon shp file sets is about all I know !


Cheers
Andy
Reply With Quote
  #7  
Old August 2nd, 2005, 09:59 AM

jvankessel jvankessel is offline
Private
 
Join Date: Jun 2005
Posts: 36
Thanks: 0
Thanked 2 Times in 1 Post
jvankessel is on a distinguished road
Default Re: Re-naming existing nations

I'm used to ShpEd; I just need to hunt for the right icon. Thanks for narrowing it down a bit, Andy.

EDIT: Attached are the results thusfar. The flagbuttons are in the Battle.shp file. What I haven't been able to find yet are the the files that contain the regular flag, as displayed on units and in certain screens. Still, I'm pleased. (If anybody knows in what shp file the other flags are, please let me know. Once I'm done, I'll write and post a country name/flag modding manual).

2nd EDIT: Gotcha! Little flags are in Icon97/98.shp. Big flags are in Icon95/96.shp.
Attached Images
File Type: jpg 371088-numenor_test.jpg (31.9 KB, 168 views)
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:29 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.