Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya
You last visited: Today at 06:47

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[REQUEST] Tool to create *.SAF files

Discussion on [REQUEST] Tool to create *.SAF files within the Shaiya forum part of the MMORPGs category.

Reply
 
Old   #1
 
ProfNerwosol's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 449
Received Thanks: 647
[REQUEST] Tool to create *.SAF files

Hi,

I need a tool to create SAF files. I have some information as to what needs to be done, but I don't know enough to do it myself.

Here's some info you might find useful.



SAH - it seems to be a type of ... header? ... with information about contents of SAF.

There's file in Shaiya directory called zlib.dll. I suspect that this compression algorithm is in use. Below is a link to Delphi implementation of Zlib. Originally it's written in C.




UPDATE:

I found something interesting. I found FLD header in *.wld files which is associated to AVS software. I couldn't test it myself so maybe one of you can check and see how it works.

ProfNerwosol is offline  
Old 02/24/2010, 08:44   #2
 
Possum09's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 131
Received Thanks: 73
Possum09 is offline  
Old 02/24/2010, 09:46   #3
 
ProfNerwosol's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 449
Received Thanks: 647
Thank you Possum.

However, I am having difficulties running it. It says:

"Cannot run the application because its configuration is wrong ..."

Are there any files missing in ZeroSignals package?
ProfNerwosol is offline  
Old 02/24/2010, 14:23   #4
 
Possum09's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 131
Received Thanks: 73
Quote:
Originally Posted by ProfNerwosol View Post
Thank you Possum.

However, I am having difficulties running it. It says:

"Cannot run the application because its configuration is wrong ..."

Are there any files missing in ZeroSignals package?
Hello,

It works ok for me.

Install the and see if that fixes it.
Possum09 is offline  
Thanks
1 User
Old 02/24/2010, 17:52   #5
 
ProfNerwosol's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 449
Received Thanks: 647
Yup, that solved it. Thanks.


UPDATE:


INFO:

For those having C++ Runtime Error when trying to update.

You need to compress update.saf and update.saf using zip-deflate compression method. Otherwise you won't be able to update.
ProfNerwosol is offline  
Old 02/25/2010, 07:58   #6
 
elite*gold: 0
Join Date: Nov 2009
Posts: 11
Received Thanks: 2
If I remember correctly , some of the wld files have DUN instead of FLD , I took this to mean dungeon and not dungeon , the map.ini file has parameters of D and F for the wld files too. I found that if I set all the D's to F in map.ini teleport stones could be used in dungeon and mounts could be ridden into dungeon but not gotten off or on in dungeon. Of course getting hit by mobs in dungeon did get me off of the mount.
Sylvanus1970 is offline  
Old 02/26/2010, 07:02   #7
 
G0dLesZ's Avatar
 
elite*gold: 0
Join Date: Feb 2006
Posts: 38
Received Thanks: 23
I've got my own Data Editor and the SAH/SAF Format is pretty simple..
First, we need 2 Method's, 1 for reading Files & 1 for reading Directories


ReadFiles
Code:
4 Byte - Filecount
for( i = 0; i < Filecount, i++ ) {
    N Byte - Filename (until \0)
    8 Byte - Offset (the absolute Offset for SAF, to find the File Data)
    4 Byte - Filedata Length
    4 Byte - Unknown Data (just read it & put it back on writing ;p)
}

ReadDirs
Code:
4 Byte - Filecount
for( i = 0; i < Filecount, i++ ) {
    4 Byte - Namelength (includes \0)
    N Byte - Filename (Namelength  Bytes)

    // thats all for this Dir
    // but here comes the "Tree-like" thing
    ReadFiles(); // we read all Files in this Dir
    ReadDirs(); // and we read all sub-Dirs in this Dir, which again reads all Files & sub-Dirs in it..
}

Thats for the Struct itself..
After opening the SAH File, start at Offset 56 for reading the File-"Tree"-Struct.
The first 56 Bytes are the Header, which includs some Keydata. This key will be checked by the GameGuard on startup!
So you need an GG bypass to use your own packed SAH File =|

On Offset 56, start ReadFiles() and then ReadDirs().
So you got all Files in the head-dir, call it "data", and then all sub-dirs in it... and so on.

Pseudo:
Code:
handle = OpenFile( "path/to/data.sah" );
SetOffset( handle, 56 );

ReadFiles();
ReadDirs();

CloseFile( handle );

Thats for SAH... SAF is pretty more simpe.. just read at the Offset you got on the ReadFiles() Method.
Read <Filelength> Bytes & save it to the <Filename>.. no Compression oder Encryption are used here ;p

Thats all i got in 1-2 Days of Hex analys, never checked the 4 unknow bytes or Algo for head-key.. its simple enough to bypass the GG, so noone need that shit. =)



PS: Yes, this Conent may be used for free, CENSORED.. its a shame to request money for that shit... f*ck it up..
G0dLesZ is offline  
Thanks
3 Users
Old 02/26/2010, 10:05   #8
 
ProfNerwosol's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 449
Received Thanks: 647
If I got it right, the SAH file is the most important ... so I can 'tar' SAF and just say in SAH at which offset the file starts and its length and that's all?
ProfNerwosol is offline  
Old 02/26/2010, 14:14   #9
 
lilprohacker's Avatar
 
elite*gold: 20
Join Date: Jun 2009
Posts: 790
Received Thanks: 2,729
Quote:
Originally Posted by G0dLesZ View Post
PS: Yes, this Conent may be used for free, no CENSORED.. its a shame to request money for that ****... f*ck it up..
First off buddy, our vip section doesn't have special info for only paying customers, it has tools and programs that we worked hard and spent alot of time on. Secondly, I've done alot more for this community than you have, which all is free. I even have a bot that took alot of time to develop which is free.
lilprohacker is offline  
Reply


Similar Threads Similar Threads
[HACKERSTELLER] Create your own hack tool [GER]
09/19/2010 - 4Story Hacks, Bots, Cheats & Exploits - 67 Replies
"Joaaaar"(;O), naja ich rede garnicht viel drum rum. Hier präsentiere ich euch ein kleines Tool,was aus euren Angaben(Offis,Base,Value,...) einen Hack erzeugt. Ihr müsst nur darauf achten beim Variablennamen trotzdem immer das Variablenzeichen von AutoIt $ zu lassen. Vor der Erzeugung müsst ihr die Offis wählen. Unter Optionen könnt ihr eine GUI erstellen(noch nicht ganz fertig) oder einen Adminstart einstellen. Nach ein paar Handgriffen von Matt ist auch die "float" Funktion dabei,falls...
WEB E-MAIL CREATE TOOL
09/03/2010 - WarRock - 11 Replies
Ist die falsche Sektion, aber kp wo sowas hingehört Bitte nicht gleich closen, kann man ja verschieben oder?! Naja egal jetzt zum wesentlichen: Bin im Internet auf ein ganz nützliches Tool gestoßen um schnell E-mail Adressen zu generieren: VT Viel Spaß damit:D bitte ein thx dalassen
Useful tool to create russian name
05/09/2010 - Silkroad Online - 15 Replies
Russian Editor A Russian Keyboard On Screen for Windows Do you want to send Russian emails to your Russian friends? Do you want to work with Russian word processors and editors? Do you need to do searches for Russian web sites on Search Engines? Do you want an Easy way to work with Russian Text Files? Do you need translation of Russian into the Latin alphabet? But, You are Frustrated because your keyboard have no Russian Characters! No problem anymore! You can now do all...
HOW TO CREATE NRG FILES IN NERO PLEASE HELP THANKZ
02/23/2010 - Soldier Front Philippines - 8 Replies
PROBLEM SOLVED
Looking for files to create private server.
12/02/2008 - Cabal Online - 0 Replies
Need files to create private server. Any kind soul willing to share those files? I've been browsing through webs but most download links are dead.



All times are GMT +1. The time now is 06:49.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.