Parsec: A shaiya file format parsing library

03/23/2022 20:36 doteroargentino#1
Introduction
For the past months I've been working on a parsing library for Shaiya file formats which I called Parsec. The library is open source and it's available on [Only registered and activated users can see links. Click Here To Register...].
Although many of the supported format structures were already known and are published in this forum, some of them were incomplete and/or had inaccurate field names.

Features
  • data extraction, patching and creation
  • SData encryption/decryption
  • Export and import most supported formats as json (you can modify files as json and convert them back to their
    original format)

Supported Formats
  • data.sah/saf
  • NpcQuest.SData
  • KillStatus.SData
  • Cash.SData
  • SetItem.SData
  • DualLayerClothes.SData
  • GuildHouse.SData
  • Monster.SData
  • Item.SData
  • svmap
  • ANI
  • 3DC
  • 3DO
  • 3DE
  • MLT
  • ITM
  • SMOD
  • EFT
  • seff
  • zon
  • ALT
  • VAni
  • MAni
  • MLX
  • MON
  • CTL
  • dat (Cloth/Emblem)
  • DBItemData.SData
  • DBItemText.SData
  • DBMonsterData.SData
  • DBMonsterText.SData
  • DBSkillData.SData
  • DBSkillText.SData
  • DBItemSellData.SData
  • DBItemSellText.SData
  • DBNpcSkillData.SData
  • DBNpcSkillText.SData
  • DBDualLayerClothesData.SData
  • DBSetItemData.SData
  • DBSetItemText.SData
  • DBTransformModelData.SData
  • DBTransformWeaponModelData.SData

Usage
Code:
// Read file
var svmap = Reader.ReadFromFile<Svmap>("0.svmap");

// Save modified file
svmap.Write("0.modified.svmap");


// Export as json
svmap.ExportJson("map0.json");

// Import from json
var svmap = Reader.ReadFromJson<Svmap>("map0.json");
More samples on the [Only registered and activated users can see links. Click Here To Register...].

For non-developers, this is basically a bare-bones shStudio without a user interface. It can be used to make file editors, updaters, 3d viewers, etc.
03/24/2022 07:49 joins.dj#2
excellent work friend
I hope the community appreciates it.
03/28/2022 17:58 Thunder-Forge#3
A lot of work that has gone into a new and amazing tool :feelsgoodman:.
Couple examples of messing with effects:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
03/29/2022 08:19 castello911#4
Excellent work!
10/30/2022 18:56 Gtopz#5
Quote:
Originally Posted by doteroargentino View Post
Introduction
For non-developers, this is basically a bare-bones shStudio without a user interface. It can be used to make file editors, updaters, 3d viewers, etc.
Hey, very noob guy/non-developer here. I understand that this is a barebones/command line method to exctract saf/sah files.....but how do I use those commands. Sorry for being very dumb. Is there a certain place in the code where I need to add those commands? Do I need to call the code somehow from PowerShell or some other type of command-line environment? Can I do this from Visual Studio?

Thank you
10/30/2022 19:57 doteroargentino#6
Quote:
Originally Posted by Gtopz View Post
Hey, very noob guy/non-developer here. I understand that this is a barebones/command line method to exctract saf/sah files.....but how do I use those commands. Sorry for being very dumb. Is there a certain place in the code where I need to add those commands? Do I need to call the code somehow from PowerShell or some other type of command-line environment? Can I do this from Visual Studio?

Thank you
It isn't a command line tool, it's a library which can't be executed on its own, it's meant for people to build their own tools on top of it. You can find some small sample applications where I make use of the library in the samples folder (which are loaded by default when you open the solution - .sln file).
To open the project, you'll need visual studio with the C#/.NET tooling available (you must manually opt in to these in the visual studio installer, if you didn't check those options when installing it, you can run the installer again and select those options - no need to reinstall VS altogether)
Feel free to add me on discord for further questions.
11/02/2022 18:53 GraphicQueen#7
Thank you much! <3
09/25/2023 16:35 vovan681#8
hi everyone, please teach me how to use it.
12/29/2024 15:26 ep8yes13#9
Quote:
Originally Posted by Thunder-Forge View Post
A lot of work that has gone into a new and amazing tool :feelsgoodman:.
Couple examples of messing with effects:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
Where are the tools?
05/27/2025 17:43 agussahre#10
Viva Argentina