IntelInfo

editing Savegames files; support/discussion/questions

Moderator: thunderchero

Post Reply
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 3258
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

IntelInfo

Post by Flocke »

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
Last edited by Flocke on Tue Mar 28, 2023 1:32 pm, edited 1 time in total.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7966
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: IntelInfo

Post by thunderchero »

interesting info,

might be cool if we added new text box to display number of turns since last updated?
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 3258
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

Re: IntelInfo

Post by Flocke »

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?
great idea! would improve the value of the intel empire stats alot when you know the turn! :up:
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7966
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: IntelInfo

Post by thunderchero »

Flocke wrote: Sun Mar 06, 2022 8:02 am great idea! would improve the value of the intel empire stats alot when you know the turn! :up:
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?
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 3258
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

Re: IntelInfo

Post by Flocke »

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?
Sounds like a plan! Given there is enough space, it should be possible to combine both into a single string. Like "50% -20T".
But speaking on the build queue project, please don't mess with the sav file structure again! :lol:

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. :up:
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7966
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: IntelInfo

Post by thunderchero »

Flocke wrote: Mon Mar 07, 2022 4:09 am please don't mess with the sav file structure again! :lol:
Don't worry I can't even look at code anymore, I feel like my mind is just in a fog these days.
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 3258
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

Re: IntelInfo

Post by Flocke »

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.
Post Reply

Return to “editing Savegames files”