|
You last visited: Today at 14:25
Advertisement
Parsec: A shaiya file format parsing library
Discussion on Parsec: A shaiya file format parsing library within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.
03/23/2022, 20:36
|
#1
|
elite*gold: 0
Join Date: Dec 2012
Posts: 30
Received Thanks: 133
|
Parsec: A shaiya file format parsing library
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 .
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 .
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
|
#2
|
elite*gold: 0
Join Date: Sep 2010
Posts: 164
Received Thanks: 84
|
excellent work friend
I hope the community appreciates it.
|
|
|
03/28/2022, 17:58
|
#3
|
elite*gold: 0
Join Date: Nov 2009
Posts: 79
Received Thanks: 72
|
10/10
A lot of work that has gone into a new and amazing tool .
Couple examples of messing with effects:
|
|
|
03/29/2022, 08:19
|
#4
|
elite*gold: 0
Join Date: Oct 2017
Posts: 1
Received Thanks: 0
|
Excellent work!
|
|
|
10/30/2022, 18:56
|
#5
|
elite*gold: 0
Join Date: Apr 2015
Posts: 2
Received Thanks: 0
|
Quote:
Originally Posted by doteroargentino
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
|
#6
|
elite*gold: 0
Join Date: Dec 2012
Posts: 30
Received Thanks: 133
|
Quote:
Originally Posted by Gtopz
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
|
#7
|
elite*gold: 0
Join Date: Jan 2013
Posts: 75
Received Thanks: 168
|
Thank you much! <3
|
|
|
09/25/2023, 16:35
|
#8
|
elite*gold: 0
Join Date: May 2012
Posts: 105
Received Thanks: 11
|
hi everyone, please teach me how to use it.
|
|
|
|
Similar Threads
|
Amc-Datei-Format in Conf-Datei-Format konvertieren
01/01/2014 - Technical Support - 5 Replies
Hallo allerseits,
ich benötige Hilfe mit meiner Sharkoon Drakonia Gaming Maus.
Wenn man bei dieser Maus die Makros bzw. Profile speichert,
muss man diese als Einzeldatei (Configure = .conf) irgendwo abspeichern.
Es gibt nicht wie bei anderen Gaming Mäusen einen Makro-Ordner.
Ich kann nur die Profile einzelnd laden, welche .conf-Dateien- und .amc-Dateien, wie bei den meisten anderen Mäusen, sind.
Daher frage ich mich, ob mir hier irgendwer, ohne irrelevante Beiträge, irgendwie...
|
Parsec Productions präsentiert: Slender
10/25/2012 - User Submitted News - 1 Replies
Game Review: Slender (Shortcut)
Habt ihr euch eigentlich schon mal gefragt aus welchem Grund wir uns das immer wieder antuen? Diese düstere, grauenerregende Atmosphäre in Spiel und Film, welche uns immer wieder das Fürchten lehrt. Neuzeit Klassiker wie Dead Space, Amnesia: The Dark Descent oder Resident Evil rauben uns den Atem und sind wahrlich gelungen, wenn es darum geht den Spieler in Angst und Schrecken zu versetzten. Doch hat vor nicht allzu langer Zeit ein neues Game die Studios von...
|
DMap File Parsing
03/02/2008 - Conquer Online 2 - 12 Replies
I finished the app, it correctly parses the DMap files and renders them to the screen (from what i could tell on the ones i tried, its slow because its using PSet plus its in vb, but at this point, i dont care about efficiency, i'll worry about that later, the fact is it works.
Refer to: http://www.elitepvpers.com/forum/co2-main-discussio ns-questions/112647-new-bot-development.html for the COBot Project which this is part of.
I took this from my reply i made on my new bot i'm developing,...
|
All times are GMT +2. The time now is 14:25.
|
|