• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community The Community Real Life Discussion Software & Hardware
1 2 3 4 5 … 91 Next »
fl-Darklint - config formatter

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

fl-Darklint - config formatter
Offline darkwind
12-07-2022, 10:06 AM, (This post was last modified: 07-15-2024, 02:22 PM by darkwind.)
#1
Frontier Sheriff
Posts: 1,153
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer


DARKLINT




DESCRIPTION

  • Set of dev tools for Freelancer Discovery community, in order to help them in their configurational effort;
  • Main goal is to create classic linter for game files, which can autofix config files.
  • For tool usage was developed freelancer ini reader/writer with easily mapping variables to access in ORM - object relational mapping fashion. This alone allows quickly accessing any config data with least amont of code effort for additional features.
FEATURES

  • Processes:
    • market_commodities.ini
    • market_misc.ini
    • market_ships.ini
    • universe_ini
    • all system files like universe/systems/**/**.ini

  • For processed files brings to lower case allowed set of keys, like base = GA06_03_base to base = ga06_03_base

  • to market_*.ini files it adds to bases human readable name extracted from infocard.txt

  • to market_*.ini reports if base is recycle_candidate, by checking mismatch in its set system and presence in files + if system is fp7_system or ga13, example:
    • ;%is_recycle_candidate = DARK_ERR_0001 base_good.base=ga06_03_base not in universe.ini->Base.system->System.file->systems\ga13\ga13.ini | universe.ini->Base.system=ga13 in [[ga13 fp7]]

  • rounding float numbers for set keys to more preferable precision. 45.7465645656 to 45.7

FUTURE DEVELOPMENT

The tool is intended to add additional features in linting configurational files. It is possible adding any other additional rules for checking foreign key data integrity between objects Or adding additional commented strings to objects with helpful information

Request new features here

DOWNLOADS

download here

built for all OSes and CPU architetures.
HOW TO USE
  • Usage with installation
  • simplified usage

See other documentation here

Contributors:

  • @darkwind (@dd84ai) // coding
    @Groshyr (@Groshyr) // spark of inspiration for project birth + beta tester + feature requester + domain expert


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  


Messages In This Thread
fl-Darklint - config formatter - by darkwind - 12-07-2022, 10:06 AM
RE: Darktool - config linter - by Major. - 12-07-2022, 10:21 AM
RE: Darktool - config linter - by Backo - 12-08-2022, 01:34 PM
RE: Darklint - config linter - by darkwind - 02-12-2024, 12:56 AM
RE: fl-Darklint - config formatter - by darkwind - 07-20-2024, 08:48 PM

  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2025 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode