Disclaimer: This info is intended for modders who understand the code. This info can break your install if you don't know how to use it. I did not use any standard color coding.
In my quest to create a standalone textbox (in game notepad) for entering information, i came across some interesting info (yes I know section is labeled tooltips).
After some investigation i found the number of widgets per screen may potentially be doubled as long as widgetID does not exceed FF FF (65535). This can (possibly) be done by adjusting the values at loc_4B8A6F 08 -> 04 and loc_4B8A73 04 -> 02 and loc_4B8A77 ?? -> ?? (and other associated values, these are just the first I found). I believe these values dictate starting location of each *ID section, since third location has no associated value.
Upon further investigation, there are a few ADD 4 and ADD 12 which might be length of each *ID entry, and total size of all entries, in bytes (ADD 2, ADD 6)
This (should) change the structure of wdfObjectDesc_t offsetID, instanceID, and typeID to read 2 byte ID values rather than current 4 byte values, thus reducing space (similar to energy screen project). Downside is that ALL wdf offset tables must be adjusted.. or you know what happens . This would be a step towards adding some new functional buttons to screens throughout the game. Even perhaps intermingling of screens with clever buttonplay and subscreen (picture placeholder) placement (cover entire screen) with whole new wdfs, which I won't even get into.. but I do think that is all possible with the use of patch files and removal of redundant code. At the very least this could free up some space for more projects.
Unloading and *Loading wdfs
loc_53DF2F
*loc_53E595
Now due to the significant changes involved and the very insignificant textbox I am trying to add, this has yet to be tested (Its late, and I'm tired...) So it is still mostly speculative and more for informational purposes for my (and now your) future projects.
Widget Count Increase (Info)
General Modding Information/Questions; support/discussion/questions
Moderator: thunderchero
Forum rules
Please search before starting new topic.
There is a good chance it has already been asked.
Please search before starting new topic.
There is a good chance it has already been asked.
1 post
• Page 1 of 1
-
- Past Administrator
- Posts: 2404
- Joined: Fri Jul 18, 2008 2:00 am
- Location: Your mom's bed ;)
Widget Count Increase (Info)
Post by Tethys »
1 post
• Page 1 of 1
Return to “General Modding Information/Questions”
Jump to
- General Content, Birth of the Federation
- ↳ Game Installation, Technical Support, & Tutorials
- ↳ Submit a support ticket for Windows (all versions)
- ↳ Site Information
- ↳ General Chat
- ↳ Multiplayer Games
- ↳ BOTF Strategy Guide
- Modding Content, Birth of the Federation
- ↳ Structured Modding Index
- ↳ Structured Modding Index
- ↳ Game Installation
- ↳ How to Install & Download Main Multi-Installer and mods (Alternate links)
- ↳ Multi-Game/Mod Installer Project Info
- ↳ How to Download and Mount botf.iso on a Virtual Drive
- ↳ HOW TO: ADD MODS - (manually)
- ↳ Multiple installations in only one directory
- ↳ Tutorial: Install BotF on Mac OS X (Illustrated!)
- ↳ Game Recoding and botf Redevelopment section
- ↳ MPR++
- ↳ Yet Another BotF Clone
- ↳ Supremacy
- ↳ BOTF2
- ↳ Rise of the Federtion
- ↳ Other Projects
- ↳ Keys & Parameters
- ↳ Hotkeys & Keyboard shortcuts
- ↳ Startup Codes (Command-line arguments)
- ↳ Ingame Notepad (Single Player Chatbox)
- ↳ Sending Chat Messages with Return Key
- ↳ Editing Tools
- ↳ Ultimate Editor
- ↳ BotF Patcher
- ↳ Getting into Modding (Recommended Tools)
- ↳ ShipView & BuildView
- ↳ Jokers Single-click installer & J-shipedit
- ↳ Increasing Game Resolution + patchtool
- ↳ WDF files + wdfedit & wdftool & basic wdf file info
- ↳ Energy Screen with 15+ Building Buttons + patchtool
- ↳ Tool for editing and importing the ship list to stbof.res
- ↳ Coding Guides
- ↳ A Nuts and Bolts Guide
- ↳ Assembler Offsets + Tools & Hints !
- ↳ Dynamic Key Variables
- ↳ Dynamic Key Variables
- ↳ editing Savegames files
- ↳ editing Savegames files
- ↳ Ship Removal Subroutine
- ↳ Ship Removal Subroutine
- ↳ Standard Trek.exe IDA Database
- ↳ 3D sfx
- ↳ HOW TO: add ship models with UE (ship packs)
- ↳ HOW TO: make new Botf 3d Designs, the Video Tutorial
- ↳ Creating New 3D Ship Designs
- ↳ Ship install tutorial with 96 available ships with photos
- ↳ HOW TO: Phasers
- ↳ HOW TO: Reduce the number of Palettes
- ↳ model phaser standards and ship scale
- ↳ Common/shared texures project
- ↳ Finishing a new ship pack
- ↳ Trek.exe Ship Slots
- ↳ Color of *phaser.hob files
- ↳ Ship Specific Weapon Animations
- ↳ Tactical Combat Space Background (Starfield)
- ↳ Increasing vertex limit in trek.exe
- ↳ Videos, Sounds & Credits
- ↳ Race Intros (videos)
- ↳ How to edit alt.res sounds
- ↳ Sound & Voice list Editing (converse.bin)
- ↳ Preventing Videos & Credits
- ↳ How to edit English/German.snd
- ↳ how to edit sfx.snd
- ↳ GUI (interface)
- ↳ How to edit GUI when changing main race
- ↳ Race Fonts (*.fnt files)
- ↳ Colors of Race Fonts and Map-Grids
- ↳ "new" wait cursors
- ↳ Creating Planet Animations
- ↳ extended view/zoom-in map view (option)
- ↳ Map & Starting Settings
- ↳ Galaxy Map Size
- ↳ Galaxy Shape Variables
- ↳ Galaxy Control Values
- ↳ Star Frequency
- ↳ Minor Race Frequency
- ↳ pop & planets limits for free- minor- & starting-systems
- ↳ Order of Planets
- ↳ Additional Starting Systems on any Starting Level
- ↳ Corner check (major home systems)
- ↳ Terraforming Fix for Additional Starting Systems and Minors
- ↳ Tech 1-5 starting pop & credits
- ↳ Mandatory Starting Buildings (yard & refinery)
- ↳ Disabling Dilithium for Spacefaring Races
- ↳ Starting Ships
- ↳ Territorial Claims
- ↳ Unlocking Empire Borders for all Treaties
- ↳ Economic/Military System-, Planet- & Anomaly-Properties
- ↳ trek.exe multipliers for growth, ground def., credits..
- ↳ Pop Support, Ground Combat, Orbital Batteries, Credit Output
- ↳ Ground Combat Calculation (success chance of invasion)
- ↳ Allow Intel Buildings to remain after conquest
- ↳ Pop Growth, Terraforming Costs, Trade Goods, Pulsar Patterns
- ↳ Adjusting trade good output
- ↳ Terraforming Costs (advanced)
- ↳ Colonies : population, farms, factories
- ↳ Planet GrowthValues ; habit.bin
- ↳ Adding a New Planet-Type (workaround)
- ↳ Planet Bonus Types
- ↳ Trade Routes, Ship Regeneration, Neutron Stars, Black Holes
- ↳ Trade Route Outputs
- ↳ Ferengi (free) trade routes
- ↳ The Minimum Industry Value
- ↳ Output of partially manned building groups
- ↳ the Cardassian bonus for manned intel
- ↳ Scrapping Buildings (for money)
- ↳ Remove "Buy" confirmation
- ↳ Morale
- ↳ how Morale works
- ↳ Base Morale on "Impossible"
- ↳ Battle size calculation of the Morale Chart
- ↳ Eliminate Empire morale issues + unremoved stations fix
- ↳ System bonuses for high morale & add wrong main buildings fix
- ↳ Unrest Orders (turn delay & limitations)
- ↳ Research & Tech
- ↳ Research Progress and Decay
- ↳ Tech Level Bonus Factors (+2%)
- ↳ The Ground Combat Tech Level Multiplier
- ↳ The research cost & effects of Future Technology
- ↳ Adding a Science and Technologies
- ↳ Minor Races
- ↳ Minor Race Advancement
- ↳ Initial Number of Orbitals for Minor Races
- ↳ Gifts to Minor Races: Amounts and Effects + major race gifts, offers & demands !
- ↳ Building minors ships after membership (option)
- ↳ Ships
- ↳ Map Range
- ↳ Of (Transwarp) Carriers and Fighters
- ↳ Extending the shiplist
- ↳ Special ships
- ↳ Auto-Upgrading Ships (options)
- ↳ Crew Experience
- ↳ Damage Control
- ↳ Raiding Percentages
- ↳ Intercept percentage
- ↳ Stealth and Cloak
- ↳ Starbase Combat Distance and ship to ship initial distance
- ↳ ship to ship distance
- ↳ Hit Probability / tevent.txt
- ↳ shield level & penetration
- ↳ the command ship ability + plasma stats
- ↳ Weapon Labels of Ships (Beams & Torpedoes)
- ↳ Unarmed Ship (Designation)
- ↳ Commands in tactical combat
- ↳ Adding assault command to colony and troop transport
- ↳ Ramming possiblities -> (ramming ship always destroyed)
- ↳ Shipname Appendix Fix & Adding new name groups
- ↳ maximum speed for ships
- ↳ AI (artifical inteligence)
- ↳ AI & Difficulty Level
- ↳ AI Fleet Buildup (basics)
- ↳ How the AI decides what ship type to build
- ↳ AI building behaviour (aibldreq.bin)
- ↳ AI battle calculation?
- ↳ AI Task Modifiers
- ↳ the AI minimum terraform threshold
- ↳ changing AI controling race of a savegame
- ↳ Intel, Empire scores & Victory conditions
- ↳ Intel (mechanisms and bugfixes)
- ↳ Economic and Military Score Overflow Fix
- ↳ Domination victory conditions & Borg invasion
- ↳ Random Events & Monster
- ↳ Random Events
- ↳ Monster planet attacks & Borg spawning
- ↳ Monster Editing Info
- ↳ Bugs & Exploits
- ↳ Lower CPU Patch
- ↳ Upgrading buildings bug (fix) above 65535 credits
- ↳ Disabling the ship scrapping exploit
- ↳ Unknown ship stats pop-up bug (fix)
- ↳ Phantom Dilithium Bug (fix) -> OPTION
- ↳ Outpost/Starbase for free bug-fix
- ↳ Terraforming Capacity of Task Forces (Instant-Terraforming fix)
- ↳ terraforming / planet image bug (fix)
- ↳ minor race hidden (from diplomacy) bug (fix)
- ↳ Rebellions & the message withdrawn bug (fix)
- ↳ The Bandi Advancement Bug (fix)
- ↳ Minor declares war morale error (fix)
- ↳ liberating foreign home systems (fix)
- ↳ Liberating Native Systems (morale error fix)
- ↳ Morale overflow over 32767 bug (fix)
- ↳ Weapons "Jamming" Fix for Space Stations
- ↳ Misc GUI Fixes
- ↳ custom planet names for any system (fix)
- ↳ Star-names display (fix)
- ↳ Intel Empire screen - dilth/total systems (fix)
- ↳ Cardassian Intel/Research display (fix)
- ↳ rejected friendship message bug (fix)
- ↳ Two Bugs of the "Trade Routes" Bonus Type
- ↳ Fixes Compilation (GalaxyII 640points beam, enraged antedeans, german taskforce/inhabitant descriptions)
- ↳ stbof.res file info/trek.exe mechanics
- ↳ stbof.res file limit
- ↳ Structure of edifice.bst -> edifice.bst (old)
- ↳ Adding Buildings to edifice.bst
- ↳ Main buildings and AI
- ↳ Structure Upgrades (Trek.exe info)
- ↳ edifbnft.bst (building bonus types)
- ↳ Adding Planets to planet.pst
- ↳ Intel.bin
- ↳ Race.rst
- ↳ tfdesign.tfd & combat.bin (broken/unused)
- ↳ Race Descriptions (lexicon.dic)
- ↳ shipname.bin
- ↳ Unfinished Projects
- ↳ Plasma (i.e.Pulse) weapons
- ↳ using damage textures with new ship models -> trek.exe basics
- ↳ extending the task force size / marking multiple groups
- ↳ Tech Level Bonuses for Ships
- ↳ New Resources & Star System Features
- ↳ DirectPlay Emulation Project
- ↳ Complete Conversions Mods
- ↳ Ultimate Dominion Mod
- ↳ Mirror Universe mod
- ↳ Galaxies MOD
- ↳ Balance of Power Mod
- ↳ All The Ages Mod
- ↳ Ultimate Mod
- ↳ Error Correction Mod
- ↳ Uncivil wars
- ↳ Flagship Mod
- ↳ Building mod
- ↳ Ferengi-Dominion Alliance mod
- ↳ Fluid's Multi Player Mod
- ↳ Prime Directive Mod
- ↳ No Building Upgrades Mod
- ↳ Imperial Mod
- ↳ Babylon 5 Mod
- ↳ Borg Incursion Mod
- ↳ Colonies Mod
- ↳ Delta Quadrant Mod
- ↳ Mirror Mirror Mod
- ↳ Planet Mod
- ↳ Resistance Is Futile Mod
- ↳ Stargate Universe Mod
- ↳ Thunderchero's Multi-player mod
- ↳ AFC Mod
- ↳ Game Recoding and botf Redevelopment section
- ↳ MPR++
- ↳ Yet Another BotF Clone
- ↳ BOTF2
- ↳ Rise of the Federtion
- ↳ Other Projects
- ↳ Editing Tools
- ↳ Ultimate Editor
- ↳ BotF Patcher
- ↳ Larger Taskforces Patch
- ↳ HOW TO: Create multi "mod" installer
- ↳ Increasing Game Resolution + patchtool
- ↳ WDF files + wdfedit & wdftool & basic wdf file info
- ↳ Energy Screen with 15+ Building Buttons + patchtool
- ↳ Tool for editing and importing the ship list to stbof.res
- ↳ Ultimate Unwrap 3D hob Importer
- ↳ Showcase Ships/Stations/3D-FX
- ↳ HOW TO: Ship models, creation and 3d-sfx
- ↳ HOW TO: add ship models with UE (ship packs)
- ↳ HOW TO: add ship models with UE (ship packs)
- ↳ HOW TO: make new Botf 3d Designs, the Video Tutorial
- ↳ Creating New 3D Ship Designs
- ↳ HOW TO: Reduce the number of Palettes
- ↳ Ship install tutorial with 96 available ships with photos
- ↳ HOW TO: Phasers
- ↳ model phaser standards and ship scale
- ↳ Common/shared texures project
- ↳ Finishing a new ship pack
- ↳ Trek.exe Ship Slots
- ↳ Color of *phaser.hob files
- ↳ Ship Specific Weapon Animations
- ↳ General Modding Information/Questions
- General Content, Supremacy
- ↳ Supremacy
- Archives
- ↳ General Chat Archive
- ↳ Modding Information Archive
- ↳ Support Archive