Flocke wrote: ↑Wed Sep 21, 2022 1:28 amthe trek.exe MinorRaceBldUpgradeIDs starting at 0x0018EDE8 ( asm_590FE8
MinorRaceBldUpgradeIDs is an epic mislabel. Minor starting buildings (not upgrades) is the least important purpose of this important shared code.
Flocke wrote: ↑Wed Sep 21, 2022 2:20 amthat is exactly the reason why NOT to ignore MinorRaceBldUpgradeIDs. The IDs must be of correct type and be reasonable. UE however writes the EL table like it was tech levels!
Not sure how to fix this. UE might need another menu here to individually select a proper structure for each evolution level.
Miscommunication wrt to:
- MinorRaceBldUpgradeIDs
- EL table (all tech levels for each of the 10 Minor Evolution Levels)
Asm-58FFAC/58FFD4 is just first/last main building IDs depending on number of upgrades (see my format description), but this pseudo code is not conected with any other trek.exe upgrade issues. NOT an EL (evolution level) table, but yes, by default used when reaching a new EL.
The 10 Minor ELs table (all tech levels for each EL in racetech.tec?) is shared for:
- starting tech levels (via random/trek.exe EL)
- pseudo research progress (new techs via EL)
Total number of ELs should remain 10, but the max tech level(s) for/in each EL should be unrestricted.
Flocke wrote: ↑Wed Sep 21, 2022 5:09 amI guess first question is answered
It's a very old comment and I think the issue was solved by Peter1984 (after the last BoP release)?
But I never edited main buildings or patched any of the codes and don't know if UE supports all modding options of the various main building patches.
'a priori' no one can answer some of your above questions, Gowron just used the easiest, working setup at the time. But again two epic mislabels:
Flocke wrote: ↑Wed Sep 21, 2022 5:09 amthe minor race EL table 0x0018EDE8 (asm_590FE8) and the building limits at 0x0018DDAC (asm_58FFAC)?
As told: 0x0018EDE8 (asm_590FE8) -> shared main building code (not minor)
building limits at 0x0018DDAC (asm_58FFAC) -> minor fake upgrade -> main buildings min-max IDs -> yes looks like a BoP bug (not analysed at the time)
Flocke wrote: ↑Wed Sep 21, 2022 5:09 amfor what strange reason is there a combined main industry and food ID range (emp0 type begin: 0x8597B / asm_48657B, end: 0x85B05 / asm_486705)?
Take a wild guess based of the XREF: (intel code)
Code: Select all
sub_486550 main_ind_food_ener_bldg proc near ; CODE XREF: intel_stuff_e_output_types
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.