I had a look at the IntelInfo file. Beside what's already in the wiki, I found the following:
0x0058 to 0x02D7 (5 empires * 0x80) = empire enemy stats report
+0x00-0x1F = economy report
+0x20-0x3F = research report
+0x40-0x5F = military report
+0x60-0x7F = morale report
economy / research / military / morale report
+ 0x00-0x13 (4 bytes * 5 empires) = turn number of last update
+ 0x14-0x1D (2 bytes * 5 empires) = last known empire stats
+ 0x1E-0x1F = empty data alignment
edit: updated with latest research
IntelInfo
Moderator: thunderchero
-
- Site Administrator aka Fleet Admiral
- Posts: 7972
- Joined: Fri Apr 25, 2008 2:00 am
- Location: On a three month training mission, in command of the USS Valiant.
Re: IntelInfo
interesting info,
might be cool if we added new text box to display number of turns since last updated?
might be cool if we added new text box to display number of turns since last updated?
-
- BORG Trouble Maker
- Posts: 3259
- Joined: Sun Apr 27, 2008 2:00 am
- Location: Hamburg, Germany
Re: IntelInfo
great idea! would improve the value of the intel empire stats alot when you know the turn!thunderchero wrote: ↑Sat Mar 05, 2022 4:33 pm might be cool if we added new text box to display number of turns since last updated?
-
- Site Administrator aka Fleet Admiral
- Posts: 7972
- Joined: Fri Apr 25, 2008 2:00 am
- Location: On a three month training mission, in command of the USS Valiant.
Re: IntelInfo
It would not be easy, it would be similar to the build queue project.
Each *intele.wdf would need 12-15 new entries?
The intele.wdf table would need to be increased.
and new code added.
I just don't know how easy it would be to get the new code to read and display correct info since it would depend on the current player race.
Although if I know the AI it already knows this info, so I doubt it would effect how AI plays.
Edit; one other possibility would be to rewrite code for progress % to display "turns since last update" since it would still have progress bars?
-
- BORG Trouble Maker
- Posts: 3259
- Joined: Sun Apr 27, 2008 2:00 am
- Location: Hamburg, Germany
Re: IntelInfo
Sounds like a plan! Given there is enough space, it should be possible to combine both into a single string. Like "50% -20T".thunderchero wrote: ↑Sun Mar 06, 2022 9:33 am Edit; one other possibility would be to rewrite code for progress % to display "turns since last update" since it would still have progress bars?
But speaking on the build queue project, please don't mess with the sav file structure again!
Honestly playing-wise I never cared much on the intel status, but indeed I always felt like it was an optical miss in those reports.
-
- Site Administrator aka Fleet Admiral
- Posts: 7972
- Joined: Fri Apr 25, 2008 2:00 am
- Location: On a three month training mission, in command of the USS Valiant.
Re: IntelInfo
Don't worry I can't even look at code anymore, I feel like my mind is just in a fog these days.
-
- BORG Trouble Maker
- Posts: 3259
- Joined: Sun Apr 27, 2008 2:00 am
- Location: Hamburg, Germany
Re: IntelInfo
Updated the intelInfo analysis. By further testing I found that I misaligned the entries and there actually also is an entry for the morale, which defaults to 0 = content. Furthermore, by own spionage I validated that the first entry is economics.