Skip to content

ORM data accessing lib for Freelancer game configs

License

Notifications You must be signed in to change notification settings

darklab8/fl-configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fl-configs

Description

Reusable library parser of Freelancer Discovery game data.

freelancer (resembling ini) config reader/writer with having mapped 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

  • it offers custom ORM like static typed access to data.
  • With ability to read and write data back without requiring to write code for writing
    • U can be just changing ORM mapped values

This library is used at least in projects:

  • fldarklint (config formatter)
  • fldarkstat (online flstat)

Code examples.

Architecture

flowchart TD
    mapped[mapped\nProvides static typed access to parsedFreelancer configs]
    mapped --> freelancer[freelancer\nFreelancer Data Parsers\npackage reflects\nFreelancer File Structure]
    mapped --> filefind[filefind\nfinds freelancer files]
    freelancer --> inireader[inireader\nUniversal freelancer ini format reader\nLoads to changable structure\nThat can be rendered back]
    freelancer --> semantic[semantic\nORM mapper of inireader values for quick typed acess to values\nfor reading and writing, without need to map all file structure]
    semantic --> inireader
Loading

License

fl-configs was originally created by Andrei Novoselov (aka darkwind, aka dd84ai) The work is released under AGPL license, free to modify, copy and etc. as long as you keep code open source and mentioned original author. See LICENSE file for details.