Skip to content

A parser that aims to visualize the structure of a seria file for the game HighFleet

License

Notifications You must be signed in to change notification settings

DKAMX/HighFleet-SeriaView

Repository files navigation

HighFleet-SeriaView

中文

A parser that aims to visualize the structure of a seria file for the game HighFleet. It also aims to provide a desktop program that allows easy edit of seria attributes and add nodes into the file.

Project composition

The project consists of three parts: Seria Python module, Command-line tool and Desktop program (SeriaView).

README of Desktop program

Seria Python module

The seria module is the core of this project. It contains a custom data structure that can be used to represent the tree-like structure of a seria file. It also maintains the order of the attribute and provides APIs to read/update attributes and nodes in a file. Once the modification is done. User can easily dump the file back into seria format.
Below is an example use of the seria module:

import seria
profile = seria.load('profile.seria')
profile.set_attribute('m_scores', '100000') # set player's initial money
profile.set_attribute('m_cash', '100000')   # set player's in-game money
seria.dump(profile, 'profile.seria')        # save changes to the original file

Command-line tool

The command-line tool designed to help analyse the compisition of a seria file by quickly listing attribute names, values and print out tree structure.
Example usage: python seria_cli.py -attributes profile.seria

Documentation table of content

Seria file tutorial:

Seria module tutorial:

About

A parser that aims to visualize the structure of a seria file for the game HighFleet

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages