There're complaints among some Victoria fans that hardcoded immigration bonus of USA is too strong. If you're too annoyed by it, you can negate it by yourself by replacing USA tag with another one.
This is a DIY-sort of guide how to negate USA-specific bonuses. You can achieve the goal either patching program file or editing/renaming various files.
As it's historical fact that USA attracted many immigrants, it'll be better to increase USA's initial plurarity value to recover some portion of USA's lost bonus.
Method 1.Binary Patch
This is much easier way compared to the other one. But there is a possibility some unexpected trouble might be caused.(I'm not sure)
1) Back up your Victoria.exe in advance.
2) Open Victoria.exe with a binary editor.
3) Exchange USA tag with an unused user defined nation tag in the country tag list which begins at 0x248820h and ends at 0x248B7Fh. If you'd like to give USA bonus to an existing nation, use that nation's tag instead. I'll use U19 in the following example.
3-1) Jump to 0x298948h and overwrite 3 bytes from 55 53 41 (USA) to 55 31 39 (U19)
3-2) Jump to 0x248824h and overwrite 3 bytes from 55 31 39 (U19) to 55 53 41 (USA)
4) Save the changes and quit the binary editor.
WARNING: THE GIVEN ADDRESSES ARE VALID IF THE EXE IS UNRESIZED VER. 1.03c. IF YOU'RE USING THE OTHER VERSION, YOU MUST SEEK RIGHT ONES.
Method 2.Scenario Edit
This classical method is safer but demands fair amount of work. Some tools which enable you to replace texts within every file under a given directory will greatly help the modding.
As you don't have to patch any binary files, it might be easier to be implemented in MODs like VIP.
If you are not familiar with modding, you had better read cool Even More Dumber's Guide to Make Your Own Country by pimparel for details.
1) Rename one of unused user defined countries to USA at .\Victoria\config\worldnames.csv
2) Replace every USA tag with new USA tag in every ai file in .\Victoria\AI\
3) Edit the following line at .\Victoria\db\country.csv
4) Replace USA tag with new USA tag in .\Victoria\db\revolt.txt
5) Rename .\Victoria\db\parties\USA_party.csv to Uxx_party.csv, where Uxx is new USA tag
6) Replace every USA tag with new USA tag in .\Victoria\db\unitnames.csv
7) Rename every bmp file which name begins with USA or usa to refer new USA tag in .\Victoria\gfx\map\flags\, .\Victoria\gfx\map\shields\
8) Rename .\Victoria\db\map\palette\counter_usa.bmp to counter_Uxx.bmp, where Uxx is new USA tag
9) Replace every USA tag with new USA tag in every event file in .\Victoria\db\events
10) Replace every USA tag with new USA tag in every inc file in .\Victoria\scenarios\Scenario Folder\ (eg. usa.inc, uk.inc)
11) Replace every USA tag with new USA tag in every scenario file in .\Victoria\scenarios\ (eg. 1836.eug)
Some notes
IMO, this approach isn't the best because
a)other USA-specific bonuses(eg. very fast assimilation rate) are also negated.
b)one unused nation tag must be wasted.
If we can specify the addresses which define the value of various bonuses, the better.
This is a DIY-sort of guide how to negate USA-specific bonuses. You can achieve the goal either patching program file or editing/renaming various files.
As it's historical fact that USA attracted many immigrants, it'll be better to increase USA's initial plurarity value to recover some portion of USA's lost bonus.
Method 1.Binary Patch
This is much easier way compared to the other one. But there is a possibility some unexpected trouble might be caused.(I'm not sure)
1) Back up your Victoria.exe in advance.
2) Open Victoria.exe with a binary editor.
3) Exchange USA tag with an unused user defined nation tag in the country tag list which begins at 0x248820h and ends at 0x248B7Fh. If you'd like to give USA bonus to an existing nation, use that nation's tag instead. I'll use U19 in the following example.
3-1) Jump to 0x298948h and overwrite 3 bytes from 55 53 41 (USA) to 55 31 39 (U19)
3-2) Jump to 0x248824h and overwrite 3 bytes from 55 31 39 (U19) to 55 53 41 (USA)
4) Save the changes and quit the binary editor.
WARNING: THE GIVEN ADDRESSES ARE VALID IF THE EXE IS UNRESIZED VER. 1.03c. IF YOU'RE USING THE OTHER VERSION, YOU MUST SEEK RIGHT ONES.
Method 2.Scenario Edit
This classical method is safer but demands fair amount of work. Some tools which enable you to replace texts within every file under a given directory will greatly help the modding.
As you don't have to patch any binary files, it might be easier to be implemented in MODs like VIP.
If you are not familiar with modding, you had better read cool Even More Dumber's Guide to Make Your Own Country by pimparel for details.
1) Rename one of unused user defined countries to USA at .\Victoria\config\worldnames.csv
2) Replace every USA tag with new USA tag in every ai file in .\Victoria\AI\
3) Edit the following line at .\Victoria\db\country.csv
toUSA;DarkBlue;USA;MIN;Blue;Light_Blue;6;0;X
where Uxx is new USA tag.Uxx;DarkBlue;USA;MIN;Blue;Light_Blue;6;0;X
4) Replace USA tag with new USA tag in .\Victoria\db\revolt.txt
5) Rename .\Victoria\db\parties\USA_party.csv to Uxx_party.csv, where Uxx is new USA tag
6) Replace every USA tag with new USA tag in .\Victoria\db\unitnames.csv
7) Rename every bmp file which name begins with USA or usa to refer new USA tag in .\Victoria\gfx\map\flags\, .\Victoria\gfx\map\shields\
8) Rename .\Victoria\db\map\palette\counter_usa.bmp to counter_Uxx.bmp, where Uxx is new USA tag
9) Replace every USA tag with new USA tag in every event file in .\Victoria\db\events
10) Replace every USA tag with new USA tag in every inc file in .\Victoria\scenarios\Scenario Folder\ (eg. usa.inc, uk.inc)
11) Replace every USA tag with new USA tag in every scenario file in .\Victoria\scenarios\ (eg. 1836.eug)
Some notes
IMO, this approach isn't the best because
a)other USA-specific bonuses(eg. very fast assimilation rate) are also negated.
b)one unused nation tag must be wasted.
If we can specify the addresses which define the value of various bonuses, the better.
Last edited: