Junior Spellweaver
- Joined
- Oct 20, 2013
- Messages
- 193
- Reaction score
- 56
Hello, sorry for the long absence:. Unfortunately, I do not have much new information on my part. I started implementing map file support but I miss some data about the format. When it comes to encryption, I'm not dealing with the implementation of algorithms yet, I am trying to bypass encryption in the original client and read unencrypted packets. I will let you know when I can read something. For now I have no more news :.
@Alex Mgh @Ashime @ashlayThanks for the advise.
I have a way to inject everything i want into the WPK, regardless of sizeI can even add new stuff if i want.
Problem is that sometimes the the Client gets error messages if the translated file contains stuff the client cannot handle and crashes.
I am pretty sure i will get a solid full translated client in a week depending how much time i have.
@Alex Mgh @Ashime @ashlay
Hey there, could you be so nice and let me know how you injected translations into the wpk? Im trying to translate JP version of SUN, since me and few other folks still play it these days. KR version had all the .txt files in game folder and it was super easy to translate, but JP is different story. WPKTool doesnt work for me.
Please help.
Edit:
Ok, ive manage to extract one file - system.wpk, but there is no .txt with translations t_t.
And bigger file (7GB+) throw error.
Use those commands to merge your translation with the system.wpk
the files need to be exactly the same size as the extracted files.
wpktool -m Resource.wpk Data\messagetext.txt Inter\messagetext.txt
wpktool -m Resource.wpk Data\Interface\StringTable.txt Inter\Stringtable.txt
wpktool -m Resource.wpk Data\Interface\Stringtableforname.txt Inter\Stringtableforname.txt
wpktool -m Resource.wpk Data\Interface\StringTableForProgram.txt Inter\StringTableForProgram.txt
They way you can inject almost any File in the wpk is by using the memory addresses instead of the filenames.
So the command would be wpktool.exe -m Resource.wpk messagetext.txt [address]
then the size of the file doesnt matter.
you can get the addresses by calling wpktool.exe -l
Its nice to put that into a batch file and echo the output to a txt file so you can search it better.
I am currently still working on the Server. I made some good progress.
What is done so far:
Authentification,
Entering the Game,
Moving to ALL Maps (not tried Missions yet).
I can create Items including(Grade,Enchant,Devine,Sockets,9 Grade Boni)
I can equip those items.
I can Drop those Items into the world and Drop Heim
I can Buy and Sell items with merchants
I can spawn any Monster that i want (achieved this today and had some fun spawning Bishop in Etherain)
those mobs dont attack yet tho.
I am currently working on Auto Attacking.
I made my own Server in C# because i was to dumb to understand the Project Structure and the new kind of Java that CwaniX used.
As its still early and the main focus is figuring out the packets I hope this doesnt upset anybody.
The Server is a Master Type Server and a Windows From, so you can start/stop/restart it with 1 Button.
The only thing you need is an SQL Server.
If there are more people willing to help I will gladly share my Github after I did some Code cleanup
xsaidou if you upload or tell me where you downloaded your Client i would be happy.
Greetings Nightmore
@Alex Mgh
Did you figure out the packet encryption or did you use a bypassed client?
working is kind of an over statement
But yeah i tried to build the server focusing on figuring out packets.
The Server will log all unkown packets to the Console and all known Packets to a file (one logfile for each kind of packet).
This way you can run some tests in the client and inspect all the packets later.
This week i will focus on stability of the Server and readability of the Code, aswell as some basic instructions how to handle things.
Remember that until now there is not alot of server logic yet.
My first goal was to figure out packets so the game can basicly be run as a single player game.
Thats because most of the synchronisation logic needs to have the rest of the logic already implemented.
An example for that would be that spawning monsters and items into the game is hardcoded.
Since this is a windows Form i will try to add some Buttons for specific actions.
Then client i am running is the 1007 chinese client that i translated 80% to english, some missing IDs and a couple of Quests, but most are in english. I will still gladly see if the JP Client is as easy to handle or even better.
Anyway i will try to make the Server as easy to handle as i can, so everyone can start using it.
One thing i saldy cannot make easier is installing an Sql Server but this should be pretty easy with SQl Express etc.
Greetings Nightmore