[Tutorial] Shaiya Updater

01/23/2011 02:26 SrShaden#16
So you use Shaiya Make v-1.0 and then it creates data.saf and data.sah.
Then you rename those two files to update.saf & update.sah.
Then you add them to archive and save them as ps0###.Zip ( save as Zip file, add and replace files)
Then it creates ps0###.zip, and you rename ps0###.patch...
If yes then ok, the problem is your web folders.
In the Shaiya (With a capital "S") you create a "patch" folder, In the patch folder you put your ps0###.patch....

The updater looks for the patch file like this,
Code:
http://yourwebsite.com/Shaiya/patch/ps0###.patch
so if its not exactly like that you fail download.

PS: when you add to archive, don't save as ps0###.patch, save it as ps0###.zip
Then rename it to .patch after it has been created

PS #2: I went to your website and Shaiya folder not found. So your website is wrong, in the Tutorial I use
Code:
http://srshaden.webs.com
If you go to
Code:
http://srshaden.webs.com/Shaiya/UpdateVersion.ini
It opens my UpdateVersion file, yours doesn't
01/23/2011 02:57 ac1dtab#17
my update and stuff are located in [Only registered and activated users can see links. Click Here To Register...] not dashingshaiya.webs.com i created a sec web site for updater uploading due ta didnt wana cunjest my main site from players uploading stuff due ta updater stuff.. the patch is ps0102.patch i go to site directly and it downloads my patch but updater wont read it. yes i saved as zip then renamed to .patch and even used lipros tool to creat a patch directly and neather 1 work
01/25/2011 20:27 Sinful858#18
Ok I added both the saf and sah to archives, kept it a .zip file with deflate, add & replace but the file still looks like a .rar file.

After changing the name to .patch it didn't make it unusable (aka patch file) just stayed the same, and would not appear on the website after uploading it. So i am not sure what is wrong here. Gonna keep messing with it.


*EDIT* ok got it to a patch file using LPH's tool but now I am getting a download failed readprofilec08 & cant read the file c25
01/25/2011 23:59 SrShaden#19
Two things, For me LPH's patch creator didn't work for me, so I don't use it for patching... I only use it extract/import and encrypt/decrypt. I used 7zip and Shaiya Make V1-0 to make them, Shaiya Make creates 2 data files, rename them to update.sah and update.saf, then you select both, right-click, Add To Archive. Then its written "Files.zip" Right?

IF yes: then change to ps###.zip and click "OK" the file will appear like you named it "ps###.zip" just rename ".zip" to ".patch"... thats the file you upload... The second thing is when you get error 25 means it can't reach the file... assuming its a good .patch file.... make sure when you type your website that you can actually access you UpdateVersion.ini
Example:
Quote:
[Only registered and activated users can see links. Click Here To Register...]
If this doesn't open your UpdateVersion.ini then your file isn't there or at the right place.

Too all users... KEEP in MIND ! Everything you write needs to be exactly the same. If you forget a letter or put one to many it will mess up... UpdateVersion.ini isn't the same as UpdaterVersion.ini nor UpdateVersions.ini...
01/26/2011 00:09 Sinful858#20
I got it to work, I guess making the patch on my own PC wasnt good enough so I had to make the patch on the vps. All good now and thanks for the help :)
01/26/2011 00:17 [GM]Recover#21
heres the shaiya make
i found it here some where just cant remember where so ENJOY:D
01/26/2011 13:17 Sinful858#22
When it comes to editing the lets say bgm_title.wav would it need to be the same exact length which I believe is just about 47 seconds, or can it be longer? Because I took the BGM2_WAV file and just renamed it to bgm_title.wav, used SHAIYA_MAKE, made the patch etc. and the updater updated the file but it didn't seem to play at the correct title screen. So I assume something I did was wrong or maybe the file is too big? Hence being the same size (length) as the bgm_title?
01/26/2011 15:04 SrShaden#23
Its because they are randomly played, if there is more then one. So for the one you said has BMG1 to BMG4, so it plays 4 random .wav there's a chance it played any of those 3 others. And not it doesn't matter the file lengths as long as they have the same names.
01/26/2011 19:56 Sinful858#24
Yea I understand they can be random but I went and listened to all the .wav files and I only wanted to modify /change /replace the bgm_title.wav with BGM2.WAV since for example BGM2.WAV only plays once you have entered Kanos Ilium so it is like a "set" song only for that instance, same with the title music it only plays at the title screen (as far as I remember) but it didn't work so I just saw the release for the editing sound files tutorial so I will mess with that, just wondered it it actually replaced it or added a 2nd one (2 bgm_title.wav) Or Importing it back into the data.sah as well as patching would fix this? -shrugs shoulders- I think I will figure it out enough when I keep trying different things.
01/29/2011 03:27 shinru2004#25
i have my updater working but when i patch its like the updater corrupts the files and i get character load error... but if i import it to the data.sah with lph's tool it works fine and i can log in game any ideas?
01/29/2011 04:14 SrShaden#26
What are you using to create your patches? LPH data tool or 7zip?

or...

maybe you forgot to encrypt it before you create the patch...
01/29/2011 04:25 shinru2004#27
i make sure i encrypt it if i didnt encrypt it i would get sgraphic error lol, and i have tried making the patches with lph's tool and with shaiya make and 7zip. do you think it could have something to do with xampp?
01/29/2011 04:33 SrShaden#28
I'm sry, it's kind hard to tell... I mean it could start anywhere from the zipping the file all the way to your website link.

All I can really say is to make sure when you zip it you leave it to ps###.zip, that its a .zip format and that its "add and replace" and also that the option Deflate is selected...

but i'm pretty sure you already knew that... sorry, I never had that experience....
01/29/2011 04:37 shinru2004#29
dang i was hoping someone would know. some people can update just fine and then some have the character load error. i know i get it when i update. and our patches are hosted from our dedicated server. thanks for your help though
01/30/2011 02:04 patoringa#30
Doubt: only data.saf files can be updated by the updater?
And files like game.exe, setup.exe or ntice.txt?