Jump to content
Sparker

FileXT - Extension for file access

Recommended Posts

FileXT - File EXTension

Introduction
With FileXT you can write to files from SQF and read data back from these files. Data is stored in key-value pairs, like in profileNamespace.

Usage
Please refer to wiki page for usage examples.

Limitations
1. Does not work on Linux.
2. String is the only data type available now. However you can work around this by using `str` and `parseSimpleArray` SQF commands.

Motivation
I made this primarily for our Vindicta mission. It has a custom saving system, however with each save taking up to 10 megabytes in profileNamespace, it is far too inconvenient to store everything in one file, and there was needed a solution which would do one simple thing - plain file data storage without limitations on string size or string content.

To-Do
- Learn CMAKE to build it for Linux too.
- Add support for other data types, perhaps store type information in the file directly.

Download...
Steam Workshop

  • Like 1
  • Thanks 2

Share this post


Link to post
Share on other sites

Sharing the tools and code that make Vindicta such a unique experience as a stand alone tool to help your fellow mission makers/coders/moders really  speaks highly of you @Sparker.

 

And not only on the display of your technical prowess that we are all very aware by now but as a community provider and teacher for the current "New Blood" of mission makers wanting to do things better/differently.

 

This generation lacks the KKs and other Gurus that were here 24/7 teaching their magic and amazing us with their tutorials and missions so it is up to the likes of you and very few others to drive this amazing community forward still into 2020 and beyond.

 

PS: Does this work for Dedicated servers only of is it possible to use on hosted missions too?

Share this post


Link to post
Share on other sites

Thanks for your words of appreciation @LSValmont! This means a lot to me!

> PS: Does this work for Dedicated servers only of is it possible to use on hosted missions too?
The addon itself can be used on any Windows machine, both on dedicated server and self-hosted or singleplayer game.
Or if you mean the case for Vindicta specifically, only the one which hosts the mission needs to load it, as only server manages saved games there.

  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×