GUI fnt trek.exe locations

Increasing Game Resolution + patchtool; support/discussion/questions

Moderator: thunderchero

Post Reply
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7849
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

GUI fnt trek.exe locations

Post by thunderchero »

I have always been asked why wdf did not change fnt file used many times, some fnt selection are controlled by trek.exe.

here are all the locations I could find.

note if line starts with "proc" i could not see any change, this could have been for many reasons like not a multi player game, required action did not happen that turn, ect. I will update when effect object is confirmed.

This is call I used to locate locations
43AF30 0x3a330 proc Game_Empire_GetFontFilename near sub system

ingame tool tip boxes text
0x000011a7 0F

Main screens tool tips text (note: once game has been entered location above is used)
0x00001553 0F

proc Archive_LoadSave_438740 near (no change observed)
0x00037b4d 0F

proc Archive_LoadSave_438740 near (no change observed)
0x00037b74 14

proc Game_Empire_43BAF4 (no change observed)
0x0003b246 0F

proc Game_Empire_43BAF4 (no change observed)
0x0003b26e 14

proc Game_Empire_43BAF4 (no change observed)
0x0003b29b 1C

*dialog.wdf text for "Processing Turn"
0x000573fd 14

*txtdlg.wdf text for "A human player is in a tactical combat"
0x00074aed 14

*tactscn.wdf text for "frames per second" in combat with "t" keyboard short cut
0x00094736 09

proc UI_Tactical_TactScn_4A2BC8 (no change observed)
0x000a2084 0F

*btxtinf.wdf in *tactscn.wdf text for ship info right side of listbox
0x000a20b6 0F

*btxtinf.wdf in *tactscn.wdf text for ship info ship name at top
0x000a20ed 14

*btxtinf.wdf in *tactscn.wdf text for ship info left side of listbox
0x000a215e 0F

proc UI_Tactical_TactScn_4A3750 (no change observed)
0x000a2c01 0F

proc UI_Tactical_TactScn_4A3750 (no change observed)
0x000a2c4e 0F

proc UI_Tactical_TactScn_4A3750 (no change observed)
0x000a2c69 14

proc UI_Tactical_TactScn_4A3750 (no change observed)
0x000a2d1b 0F

*tactscn.wdf text for "playback" upper right and text in combat area
0x000a6c56 09

*tactscn.wdf text in combat area "beam %"
0x000ac427 09

*intel.wdf textbo for Intel Strength left side
0x000ba8a1 14

*intel.wdf textbox for Intel Strength right side
0x000ba8d0 14

opening.wdf text for version lower right
0x000cf8f4 0F

*techosh.wdf and *techost.wdf textbox "status" left side "status"
0x000d2625 14

*techosh.wdf and *techost.wdf textbox "status" right side "available"
0x000d2649 14

*techosh.wdf ship stats left side
0x000d3fef 0F

*techosh.wdf ship stats right side
0x000d4020 0F

*techost.wdf structures stats left side
0x000d4629 0F

*techost.wdf structures stats right side
0x000d464d 0F

*techf.wdf textbox "status" left side
0x000d54ac 14

*techf.wdf textbox "status" right side "available"
0x000d54cd 14

*techl.wdf textbox "req.rp" left side
0x000d697d 14

*techl.wdf textbox "req.rp" right side
0x000d69a1 14

proc UI_MainGal_4D8060 (no change observed)
0x000d7476 0F

; void __fastcall UI_MainGal_InitScreen(const char *wdfname) (no change observed)
proc UI_MainGal_InitScreen
0x000d942b 14

*maingal.wdf textbox sector location/info left side
0x000dbb7e 14

*maingal.wdf textbox Scan Strength right side
0x000dbbb8 14

*maingal.wdf system names on main map for majors
0x000e00ef 09

proc UI_MainGal_MapsName_4E0F10 (no change observed)
0x000e04c8 09

proc UI_MainGal_MapAI_4E3170 (no change observed)
0x000e268a 09

proc UI_MainGal_MapAI_4E33E0 (no change observed)
0x000e290f 09

proc UI_MainGal_MapAI_4E3E80 (no change observed)
0x000e33b5 09

proc UI_MainGal_MapAI_4E4218 (no change observed)
0x000e3774 09

proc UI_MainGal_MapAI_4E4510 (no change observed)
0x000e39c5 09

proc UI_MainGal_MapAI_4E46A0 (no change observed)
0x000e3c53 09

proc UI_MainGal_MapAI_4E46A0 (no change observed)
0x000e3de6 09

proc UI_MainGal_MapAI_4E46A0 (no change observed)
0x000e4012 09

proc UI_MainGal_MapAI_4E46A0 (no change observed)
0x000e4116 09

proc UI_MainGal_MapAI_4E4DB0 (no change observed)
0x000e428c 09

proc UI_MainGal_MapAI_4E4F00 (no change observed)
0x000e440f 09

proc UI_MainGal_MapAI_4E50E8 (no change observed)
0x000e459f 09

proc UI_MainGal_MapAI_4E50E8 (no change observed)
0x000e465f 09

proc UI_MainGal_MapAI_4E50E8 (no change observed)
0x000e4772 09

proc UI_MainGal_MapAI_4E59A0 (no change observed)
0x000e4eec 09

proc UI_MainGal_MapAI_4E6A70 (no change observed)
0x000e5f13 09

proc UI_MainGal_InfoBox_4E8A80 (no change observed)
0x000e7eff 0F

proc UI_MainGal_InfoBox_4E8A80 (no change observed)
0x000e7f94 0F

*maingal.wdf empire info credits and credit per turn
0x000e963b 0F

*maingal.wdf empire info "+* dilth" left
0x000e9784 0F

*maingal.wdf empire info "* events" right
0x000e9831 0F

c_tfship.wdf ship stats text on right
0x000ea7e5 0F

proc UI_MainGal_TFShip_4ED0D0 (no change observed)
0x000ec5ae 0F

*labor.wdf text above each type
0x000f1650 0F

*solars.wdf text for "generated credits" (only displays with nothing in build queue)
0x000f1fc8 0F

*solbld.wdf text top line of listbox
0x000f436d 0F

*solars.wdf text for "morale" in system info
0x000f51b5 0F

*solars.wdf text for "food, industry, energy, research, intel" in system info
0x000f5297 0F

*solbld.wdf text when hover on upgrade only chages left side only of description
0x000f554d 0F

*solbld.wdf text when hover on upgrade only chages right side only of description
0x000f5586 0F

*solars.wdf text for system name
00x00f676f 1C

*solbld.wdf text "build list"
0x000f8165 14

*labor.wdf text for "production"
0x000f8364 14

*senergy.wdf text for "energy management"
0x000f8469 14

*solars.wdf text for build type "Automatic/manual"
0x000f880f 0F

*solars.wdf text for "build queue"
0x000f884f 1C

*solcur.wdf text (side text scrap, morale)
0x000f95e3 0F

proc UI_SolarSys_SListBox_4FA0B0 (no change observed)
0x000f98ea 14

proc UI_SolarSys_SListBox_4FA0B0 (no change observed)
0x000f9a05 0F

*solcur.wdf text text for "current structures"
0x000fa585 1C

*_sysmap.wdf text for system info pop, max pop, groth rate, orbitals
0x000fb5fb 0F

*_shpdpy.wdf text for galaxy speed, galaxy range, scan range
0x000fe538 0F

*_shpdpy.wdf text in listbox below large ship image when ship selected or hovered
0x000fe8ac 0F

*summary.wdf text for systems "food and morale" columns
0x0010233a 0F

*summary.wdf text for relationships all inside columns
0x0102929 0F

*mrwin.wdf text for "race name"
0x00104778 14

power.wdf empire names
0x00106516 14

proc UI_MultPlay_ChatWind_PrintMsg (no change observed)
0x00108c6a 0F
User avatar
EnPhreg
Lieutenant-Commander
Lieutenant-Commander
Posts: 130
Joined: Thu Jul 10, 2008 2:00 am

Re: GUI fnt trek.exe locations

Post by EnPhreg »

nice findings.
there must be also some values who set that only capital letters are used. but didn't find anything near your mentioned values in trek.exe.
thunderchero wrote: Wed Mar 16, 2016 3:00 pm *tactscn.wdf text in combat area "beam %"
0x000ac427 09
and what is 'beam %' in tactical combat?
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7849
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: GUI fnt trek.exe locations

Post by thunderchero »

EnPhreg wrote: Sun Jan 13, 2019 1:03 pm and what is 'beam %' in tactical combat?
IIRC this changes text when status is selected you get text and % bars below each ship.
beam.jpg
beam.jpg (144.9 KiB) Viewed 5647 times
EnPhreg wrote: Sun Jan 13, 2019 1:03 pm there must be also some values who set that only capital letters are used. but didn't find anything near your mentioned values in trek.exe.
code reads lexicon or some other kind of list, file or code. and it determines how it is displayed.
User avatar
EnPhreg
Lieutenant-Commander
Lieutenant-Commander
Posts: 130
Joined: Thu Jul 10, 2008 2:00 am

Re: GUI fnt trek.exe locations

Post by EnPhreg »

*tactscn.wdf text in combat area "beam %" changes only the font, not the bars.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7849
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: GUI fnt trek.exe locations

Post by thunderchero »

EnPhreg wrote: Sun Jan 13, 2019 5:13 pm *tactscn.wdf text in combat area "beam %" changes only the font, not the bars.
correct, but you can edit image or resize them. :grin:
Post Reply

Return to “Increasing Game Resolution + patchtool”