IASER Configuration Guide
Comprehensive guide to configuring IASER for optimal strategic warfare performance
Configuration Overview
IASER provides extensive configuration options to customize strategic warfare behavior, performance characteristics, and integration settings. Configuration can be managed through multiple methods:
Configuration Files
Create custom configuration files for persistent settings
iaser_config.lua, strategic_config.json
GUI Interface
Use Qt6 interface for real-time configuration changes
IASER_Unified_GUI.exe
Command Line
Override settings using command-line parameters
--config, --port, --debug
Runtime API
Modify settings during operation via API calls
POST /api/v1/config
Core System Configuration
Basic Settings
Network
Performance
Logging
Basic System Configuration
Copy
-- iaser_config.lua - Basic Configuration
IASER_CONFIG = {
system = {
name = "IASER Strategic Warfare System",
version = "1.0.0",
theater = "CAUCASUS", -- CAUCASUS, PERSIAN_GULF, NEVADA, etc.
operation_mode = "STRATEGIC", -- STRATEGIC, TACTICAL, TRAINING
auto_start = true,
startup_delay = 5.0 -- seconds
},
strategic_ai = {
enabled = true,
decision_frequency = 30.0, -- seconds between decisions
analysis_depth = "DEEP", -- SHALLOW, MEDIUM, DEEP
coalition_balance = true, -- balance opposing forces
adaptive_difficulty = true -- adjust based on player performance
},
economic_warfare = {
enabled = true,
resource_simulation = true,
supply_chain_modeling = true,
economic_victory_conditions = true,
resource_depletion_rate = 0.1, -- 0.0 to 1.0
recovery_rate = 0.05 -- 0.0 to 1.0
},
frontline_management = {
enabled = true,
dynamic_evolution = true,
frontline_fluidity = 0.7, -- 0.0 (static) to 1.0 (highly fluid)
strategic_points_enabled = true,
territorial_control = true,
influence_radius = 10000 -- meters
}
}
Changing theater setting requires mission restart for full effect
Network Communication Settings
Copy
-- Network Configuration
IASER_CONFIG.network = {
tcp_server = {
enabled = true,
host = "127.0.0.1", -- localhost
port = 8080, -- default IASER port
max_connections = 10, -- concurrent DCS connections
connection_timeout = 30, -- seconds
keepalive = true,
buffer_size = 4096 -- bytes
},
websocket = {
enabled = false, -- for web-based monitoring
port = 8081,
cors_enabled = true,
ssl_enabled = false
},
api_server = {
enabled = true,
port = 8082,
authentication = false, -- enable for production
rate_limiting = true,
max_requests_per_minute = 100
},
dcs_interface = {
auto_reconnect = true,
reconnect_interval = 5, -- seconds
heartbeat_interval = 10, -- seconds
command_queue_size = 1000,
response_timeout = 5 -- seconds
}
}
Use different ports if 8080 is occupied by other applications
Performance Optimization Settings
Copy
-- Performance Configuration
IASER_CONFIG.performance = {
processing = {
update_frequency = 30, -- Hz (updates per second)
max_processing_time = 50, -- milliseconds per update
thread_pool_size = 4, -- CPU cores to use
memory_limit = 512, -- MB
garbage_collection = true
},
strategic_ai = {
max_units_tracked = 1000, -- simultaneous unit tracking
decision_cache_size = 100, -- cached strategic decisions
analysis_timeout = 1000, -- milliseconds
parallel_processing = true,
optimization_level = "HIGH" -- LOW, MEDIUM, HIGH
},
rendering = {
gui_update_rate = 60, -- FPS for GUI updates
chart_resolution = "HIGH", -- LOW, MEDIUM, HIGH
animation_enabled = true,
hardware_acceleration = true
},
data_management = {
auto_cleanup = true,
history_retention = 3600, -- seconds (1 hour)
compression_enabled = true,
batch_size = 100 -- operations per batch
}
}
Higher settings may impact performance on lower-end systems
Logging and Debug Configuration
Copy
-- Logging Configuration
IASER_CONFIG.logging = {
general = {
enabled = true,
level = "INFO", -- DEBUG, INFO, WARN, ERROR
output_file = "iaser.log",
max_file_size = 50, -- MB
backup_count = 5, -- number of backup files
rotation = "daily" -- daily, weekly, size-based
},
strategic_decisions = {
log_decisions = true,
log_analysis = false, -- detailed AI analysis
decision_file = "strategic_decisions.log",
include_reasoning = true,
performance_metrics = true
},
economic_warfare = {
log_transactions = false, -- resource transactions
log_supply_chain = true, -- supply chain events
economic_file = "economic_warfare.log",
include_calculations = false
},
network_activity = {
log_connections = true,
log_commands = false, -- all DCS commands
log_responses = false, -- all responses
network_file = "network.log",
include_timestamps = true
},
debug = {
debug_mode = false, -- enable for troubleshooting
verbose_output = false,
profiling = false, -- performance profiling
memory_tracking = false,
execution_timing = false
}
}
Enable debug mode only when troubleshooting to avoid performance impact
Strategic AI Configuration
Fine-tune strategic AI behavior and decision-making parameters:
Copy
-- Strategic AI Advanced Configuration
IASER_CONFIG.strategic_ai_advanced = {
decision_weights = {
air_superiority = 0.3, -- importance of air control
ground_control = 0.4, -- importance of territory
naval_operations = 0.1, -- importance of naval assets
economic_targets = 0.2 -- importance of economic warfare
},
threat_assessment = {
threat_horizon = 3600, -- seconds to look ahead
threat_escalation_factor = 1.5,
defensive_bias = 0.2, -- 0.0 aggressive, 1.0 defensive
risk_tolerance = 0.6 -- 0.0 risk-averse, 1.0 risk-taking
},
coalition_behavior = {
blue_strategy = "DEFENSIVE", -- AGGRESSIVE, BALANCED, DEFENSIVE
red_strategy = "AGGRESSIVE",
adaptation_rate = 0.1, -- how quickly AI adapts
learning_enabled = true,
memory_length = 1800 -- seconds of tactical memory
},
objectives = {
primary_weight = 1.0,
secondary_weight = 0.6,
opportunity_weight = 0.3,
dynamic_objectives = true, -- generate new objectives
objective_timeout = 1200 -- seconds before re-evaluation
}
}
Economic Warfare Configuration
Configure economic modeling and resource simulation parameters:
Copy
-- Economic Warfare Configuration
IASER_CONFIG.economic_warfare_advanced = {
resources = {
oil = {
initial_reserves = 1000000, -- barrels
production_rate = 1000, -- barrels per hour
strategic_importance = 0.8,
vulnerability_factor = 0.6
},
steel = {
initial_reserves = 500000, -- tons
production_rate = 100, -- tons per hour
strategic_importance = 0.7,
vulnerability_factor = 0.4
},
electronics = {
initial_reserves = 10000, -- units
production_rate = 50, -- units per hour
strategic_importance = 0.9,
vulnerability_factor = 0.8
}
},
supply_chains = {
disruption_propagation = 0.3, -- how disruptions spread
recovery_time_base = 600, -- base recovery time (seconds)
redundancy_factor = 0.4, -- supply chain redundancy
critical_threshold = 0.2 -- critical supply level
},
economic_targets = {
refineries = {
strategic_value = 0.9,
destruction_impact = 0.8,
recovery_time = 7200 -- 2 hours
},
factories = {
strategic_value = 0.7,
destruction_impact = 0.6,
recovery_time = 3600 -- 1 hour
},
ports = {
strategic_value = 0.8,
destruction_impact = 0.7,
recovery_time = 5400 -- 1.5 hours
}
},
victory_conditions = {
economic_collapse_threshold = 0.3, -- economy health for victory
resource_depletion_victory = true,
supply_chain_victory = true,
time_limit = 14400 -- 4 hours
}
}
Frontline Management Configuration
Configure dynamic frontline tracking and territorial control:
Copy
-- Frontline Management Configuration
IASER_CONFIG.frontline_management_advanced = {
frontline_calculation = {
update_interval = 20, -- seconds
smoothing_factor = 0.3, -- frontline smoothing
momentum_decay = 0.1, -- how quickly momentum decays
influence_calculation = "WEIGHTED_DISTANCE" -- calculation method
},
strategic_points = {
auto_detection = true, -- automatically find strategic points
importance_weights = {
airbase = 1.0,
city = 0.8,
port = 0.9,
bridge = 0.6,
mountain_pass = 0.7
},
capture_radius = 2000, -- meters
contest_radius = 5000 -- meters for contested zones
},
territorial_control = {
unit_influence_base = 1000, -- base influence radius (meters)
unit_type_modifiers = {
tank = 1.2,
infantry = 0.8,
artillery = 1.5,
air_defense = 1.1
},
decay_rate = 0.05, -- influence decay over time
overlap_resolution = "STRONGEST" -- how to handle overlaps
},
visualization = {
frontline_smoothing = true,
control_zone_alpha = 0.3, -- transparency
update_animation = true,
historical_tracking = true,
snapshot_interval = 300 -- seconds between snapshots
}
}
Command Line Options
Override configuration settings using command-line parameters:
Copy
# Basic usage
IASER_Complete_Embedded.exe
# Specify custom configuration file
IASER_Complete_Embedded.exe --config "custom_config.lua"
# Override network settings
IASER_Complete_Embedded.exe --port 8090 --host 0.0.0.0
# Enable debug mode
IASER_Complete_Embedded.exe --debug --verbose
# Set theater and operation mode
IASER_Complete_Embedded.exe --theater PERSIAN_GULF --mode TACTICAL
# Performance tuning
IASER_Complete_Embedded.exe --threads 8 --memory-limit 1024
# Logging options
IASER_Complete_Embedded.exe --log-level DEBUG --log-file "debug.log"
# Complete example
IASER_Complete_Embedded.exe \
--config "strategic_config.lua" \
--port 8080 \
--theater CAUCASUS \
--mode STRATEGIC \
--threads 4 \
--log-level INFO \
--debug
Configuration Validation
IASER automatically validates configuration settings on startup:
Copy
-- Configuration validation results
=== IASER Configuration Validation ===
✓ Core system configuration valid
✓ Network settings validated
✓ Strategic AI parameters within acceptable ranges
✓ Economic warfare model configured correctly
✓ Frontline management settings validated
✓ Performance settings optimized for current system
⚠ Warning: Debug mode enabled - may impact performance
✓ All configuration checks passed
Strategic Warfare System ready for deployment
Configuration validation errors will prevent IASER from starting. Check the log file for detailed error messages.