You don't need to test ini defaults for ECM, just add in ECM ini:thunderchero wrote: ↑Fri Jun 17, 2022 11:35 pmI got ECM patches added tonight (not tested ini changes) but with my mind I am lost on what great new patches to add to MUM or other of my mods since I have not had any time to test effects.
Code: Select all
BORG=ON -> default i.e. redundant?
AUTOSAVE=OFF -> sometimes sporatic issues with the feature
TOOLTIPS=OFF
RANDOMEVENTS=OFF
SHAPE=0
SIZE=2
RACENUM=2
DIFFICULTY=4
CIVLEVEL1=0
CIVLEVEL2=0
CIVLEVEL3=0
CIVLEVEL4=0
CIVLEVEL5=0
ECONFILTER=159
EVENTFILTER=433
MILITARYFILTER=83
Code: Select all
NAME: Must/should have for your mods:
# 'Required Food' fix for "Automatic" Build function and AI - ECM deviation
>> 0x41258 90 90 90 90 90 90 90 90 90 90 90 90 90 66 8B 79 1C
<< 0x41258 0F B7 79 1A 85 ED 74 09 8B 06 E8 09 1C 00 00 8B F8
# TT ground combat popup fix with empire-wide ground combat bonus
>> 0xEA735 31 C0 89 84 24 24 05 00 00 89 E8 89 AC 24 20 05 00 00 31 E8 DF AC 24 20 05 00 00 66 8B 41 28 DD 9C 24 20 05 00 00 E8 90 B0 F7 FF DC 8C 24 20 05 00 00
<< 0xEA735 8D 94 24 20 05 00 00 0F B6 41 28 DB 41 70 69 C8 BC 01 00 00 0F B7 89 A6 1B 5B 00 83 C1 64 89 0A DB 02 DC 0D 7C 87 57 00 DE C9 E8 8C B0 F7 FF DE C9 90
# system attack ground combat calculation fix with empire-wide bonus factor of attacking TTs now squared
>> 0x6672E DC 8C 24 20
<< 0x6672E 8B 84 24 F8
>> 0x66751 8B 84 24 F8 03 00 00 DC 0D 6C AC 57 00
<< 0x66751 DC 0D 6C AC 57 00 D8 C8 90 90 90 90 90
# ground combat bonus for attackers when freeing systems
>> 0x66761 DD 9C 24 20 03 00 00 E8 83 F5 FD FF 89 84 24 10 04 00 00 DB 84 24 10 04 00 00 DC C8 DC 84 24 20 03 00 00 DC BC 24 20 03 00 00
<< 0x66761 8D 94 24 98 03 00 00 DD 5A 88 E8 80 F5 FD FF 83 7A 48 01 74 09 8B C8 C1 E9 02 90 90 2B C1 89 02 DB 02 D8 C8 DC 42 88 DC 7A 88
# AI ShipUnits Crew Experience Bonuses Bug FIX 2 (@ 1 see combat.bin AI ship sorting fix)
>> 0x00007ce9 94
>> 0x00007cfc 89 94 24 2c 01 00 00 e8 cc 4d 11 00 db 9c
>> 0x0002a3ef 94
>> 0x0002a400 89 94 24 48 01 00
>> 0x0002a407 89 e8 de c1 89 ca e8 c2 26 0f 00 db 9c 24 48 01 00 00
<< 0x00007ce9 84
<< 0x00007cfc e8 d3 4d 11 00 db 1c 24 8b 14 24 90 01 94
<< 0x0002a3ef 84
<< 0x0002a400 de c1 e8 cd 26 0f
<< 0x0002a407 db 1c 24 8b 14 24 01 94 24 48 01 00 00 90 8b c5 8b d1
# AI Check of Industry Capacities for Ship Construction - Dilithium Allocation Fix
>> 0x00060477 e8 54 22 fe ff 01 fb
>> 0x000604ac 8b 14
>> 0x000604af 8d 34 95 00 00 00 00 29 d6 c1 e6 02 29 d6 c1 e6 03 0f bf 18 69 db 28 03 00 00 8b 15 c8 36 5a 00 01 da 81 c2 40 02 00 00 01 f2 85 c9 76 1a
>> 0x000604ed d2
<< 0x00060477 03 df 8b 43 3c 90 90
<< 0x000604ac 6b 34
<< 0x000604af 58 0f bf 18 69 db 28 03 00 00 03 1d c8 36 5a 00 8d 94 33 40 02 00 00 85 c9 76 2d 83 7a 3c 01 75 27 90 90 90 90 90 90 90 90 90 90 90 90 90
<< 0x000604ed c2
# AI Offensive Military Power Check - Ratio & Source Data Optimisation
>> 0x0002cad6 8d 04 d5 00
>> 0x0002cadc 00 01 d0 c1 e0 02 01 d0 c1 e0 02 89 c2 c1 e0 02 29 d0
>> 0x0002cb4e 8d 04 d5 00
>> 0x0002cb54 00 01 d0 c1 e0 02
>> 0x0002cb5e 01 d0
>> 0x0002cb65 e0 02
>> 0x0002cb6a c2 c1 e0 02
>> 0x0002cb72 29 d0
<< 0x0002cad6 69 c2 bc 01
<< 0x0002cadc 8b 90 4c 1c 5b 00 c1 ea 03 89 54 24 24 90 90 90 90 90
<< 0x0002cb4e 69 c2 bc 01
<< 0x0002cb54 8b 90 4c 1c 5b 00
<< 0x0002cb5e 90 90
<< 0x0002cb65 ea 03
<< 0x0002cb6a 54 24 20 90
<< 0x0002cb72 90 90
# Intercept Fix for Ally Ships
>> 0x695FA 31 C0 31 D2 66 8B 46 34 66 8B 53 34 39 D0 0F 84 73 01 00 00
<< 0x695FA 8B 46 34 8B 53 34 3B C2 74 45 E8 77 20 FD FF 85 C0 75 3C 90
# Dynamic Danger Check for AI Colonize, Tform & BldBase Tasks
>> 0x7A9F 30 DB BF 01 00 00 00 88 D9 89 F8 8B 14 24 D3 E0 21 D0 75 4E FE C3
<< 0x7A9F 6A 00 8B 44 24 40 50 8B 44 24 40 50 8B C5 E8 AE 34 02 00 EB 3B 90
# Auto-Upgrade Fix for AI Ships Under Construction
>> 0x00049860 0f 84 bb 00 00 00
>> 0x0004c437 c0
>> 0x0004c43c 8b
>> 0x0004c442 8b bc 07 a8 00 00 00 89 f8 83 c7 60
>> 0x0004c477 00 00 00 00 00 00 00 00
<< 0x00049860 90 90 90 90 90 90
<< 0x0004c437 f8
<< 0x0004c43c 03
<< 0x0004c442 80 7f 04 02 75 2b 33 c0 b0 a8 eb 29
<< 0x0004c477 8b 04 38 8d 78 60 eb cf
-> code deviation for mods with disabled dilithium requirements for finishing ships (e.g. UDM3) viewtopic.php?p=56634#p56634
Code: Select all
NAME: Deviation patch after main patch:
>> 0x604C8 76 2D
<< 0x604C8 90 90
Optional:
Create patch to remove command ship requirement for group vs solo target option: viewtopic.php?p=56596#p56596 (2x nop jump)
Rebalancing the AI Income Cheat -> Only needed if AIs with better credit-income are too strong vs other AIs in low tech/ epic games in that mod (like in vanilla)
Code: Select all
# AI OB attack check for Invade and Harass tasks - Fleet Shields + Hull vs OB Firepower -> Ratio 2:1
>> 0x78D3F 8A 40 52 89 E2 25 FF 00 00 00 E8 72 60 FF FF 8B 54 24 68 66 83 FA 04 0F 85 FF 00 00 00 31 C0 66 8B 84 24 1C 01 00 00 47 01 C6
<< 0x78D3F 8B 68 3C 89 E2 0F B6 40 52 90 E8 72 60 FF FF 8A 44 24 68 3C 04 7F 13 8B 94 24 94 00 00 00 3C 03 75 03 D1 E2 90 03 EA 47 03 F5
>> 0x78DA1 E8 DA 9C FD FF 89 C3 0F AF D9 31 C0 BA 02 00 00 00 8A 45 4C E8 C6 9C FD FF 0F AF C1 8B 94 24 30 01 00 00 01 D8 0F AF D0 8D 04 95 00 00 00 00 29 D0
<< 0x78DA1 3C 23 75 03 8A 45 44 E8 D3 9C FD FF 8B 9C 24 30 01 00 00 3B FB 7D 02 33 FF 0F AF C1 0F AF C3 90 90 3B C6 7C 02 33 FF 8B D0 D1 E0 90 90 90 90 90 90
# AI Invade task ground combat check - Source Data Corrected & output changed from Ratio to Success Chance
>> 0x78F6C E8 0F 9B FD FF
<< 0x78F6C 90 90 90 90 90
>> 0x78F91 31 C0 8D 94 24 20 01 00 00
<< 0x78F91 03 7B 70 EB 55 90 90 90 90
>> 0x79006 89 84 24 4C 01 00 00 8B 84 24 5C 01 00 00 8B 94 24 5C 01 00 00 8B 40 40 66 8B 52 44 89 84 24 48 01 00 00 31 C0 DF AC 24 48 01 00 00 66 89 D0 DD 9C 24 48 01 00 00 E8 AF C7 FE FF DC 8C 24 48 01 00 00 D9 84 24 60 01 00 00
<< 0x79006 8B D4 8B C5 89 3A DB 02 69 C8 BC 01 00 00 0F B7 89 A6 1B 5B 00 83 C1 64 89 0A DB 02 DC 0D 7C 87 57 00 DE C9 E8 C1 C7 FE FF DE C9 D8 C8 8B 84 24 5C 01 00 00 0F BF 00 E8 AE CC FC FF 89 02 DB 02 D8 C8 D8 C1 DE F9 EB 75 90
# AI Income Cheat based on Total Population and Average Tech Level
>> 0x00039820 86 A5 43 00 F5 A5 43 00 09 A6 43 00 2E A6 43 00 48 A6 43 00
>> 0x000399e4 3d 04
>> 0x000399e7 77
>> 0x000399e9 25 ff ff 00 00 ff 24 85 20 a4 43 00 8b 46 04 8b 2e d1 e8 01 c5 89 2e 83 c4 04 5d 5f 5e 59 5b c3 8b 5e 04 83 fb 64 76 0d 89 d8 01 06
<< 0x00039820 00 00 00 00 00 00 00 00 64 00 00 00 7D 00 00 00 AF 00 00 00
<< 0x000399e4 83 f8
<< 0x000399e7 74
<< 0x000399e9 3e 0f b7 1c 4d 60 36 5a 00 c1 eb 03 83 c3 08 0f af 5e 18 c1 eb 03 b1 04 2a c8 d3 eb 8b 04 85 20 a4 43 00 3b d8 7d 02 8b d8 01 1e 90
Code: Select all
NAME: Rebalancing the AI Income Cheat + 25% * (average tech level - 1) -> Deviation patch after main patch:
>> 0x399F7 08
<< 0x399F7 03
>> 0x399FE 03
<< 0x399FE 02
AI cheat option: Increasing the AI's offensive ground combat strength
AI battle modifiers is a tough call depending on the mod each.
Hope this helps.
EDIT: Older patches you should check:
Unwanted AI Ship Scrapping Fix -> viewtopic.php?p=54681#p54681
Capping TTs in AI Fleet Buildup -> viewtopic.php?p=54715#p54715
EDIT2:
Wrong Ship displayed after Successful Ramming (Fix): viewtopic.php?p=54579#p54579
AI multiple One-per-Empire buildings fix & unpowered OBs fix: viewtopic.php?p=54784#p54784 (I feel this helps the AI in epic games)
EDIT3: Also make sure you always have the five major shipyards in aibldreq.bin (very needed for larger maps): viewtopic.php?p=34190#p34190