• 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  
Offline Major.
12-07-2022, 10:21 AM,
#2
Imperial Veteran
Posts: 903
Threads: 65
Joined: Jun 2015

While my knowledge is limited about Freelancer stuff, projects like this always give me a smile.

Keep up the good work and thanks alot for that tool!

[Image: R5zSdBa.png]
Reply  
Offline Backo
12-08-2022, 01:34 PM,
#3
Basilica Combat Patrol
Posts: 3,594
Threads: 123
Joined: Feb 2009

Cool idea. I had something similar (but much more simple and limited) while in the Story Dev team for processing the DATA/MISSIONS/news.ini and appending similar comments about base names and IFF to news entries.

Republic of the Sword and Sun
  Reply  
Offline darkwind
02-12-2024, 12:56 AM, (This post was last modified: 02-12-2024, 02:16 AM by darkwind.)
#4
Frontier Sheriff
Posts: 1,153
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

Surprise. Released v1.3.2

This tool to format game configs continued its life.
Code is cleaned up greatly.
Logic to parse data was moved into separate library fl-configs for its reusage in building online flstat
Remaining code logic for fl-darklint specifically became very simplified
Added support to utilize not only infocards.txt/xml, but having fallback to reading infocards values directly from dlls.
Added into readme more permament installing instruction


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  
Offline darkwind
07-20-2024, 08:48 PM, (This post was last modified: 07-20-2024, 08:49 PM by darkwind.)
#5
Frontier Sheriff
Posts: 1,153
Threads: 138
Joined: Oct 2019
Staff roles:
Coding Developer

Release v1.6.1

The tool once requested by Groshyr... continues its life just because the common library dependency is used in development of a darkstat.
(No idea why i still develop it, but... whatever)

Changelog:
Different bug fixes + super new feature
When u apply this tool to vanilla bini formatted configs, the tool automatically converts them to txt files now, across entire Freelancer folder Wink


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


  • 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