[Tutorial] Create your FlyFF Patcher with BetaPatchClient.

05/19/2019 17:06 -Valor#1
Hello there,

I saw people asking for this, and it seems that there is no detailed tutorial on e*pvpers.
If I’m missing something, let me know. Also if you have questions, feel free to ask.
I’m not explaining on how to setup a webserver as there are plenty of tutorials on YouTube.

Requirements:
- Visual Studio 2017 (Any other version may work, but I don’t support it)
- Photoshop or any other image editing program. (Paint :D)
- A Webserver.
- Flyff Client with DSETUP.dll & NeuzD.dll
- Common Sense.

Downloads:
- [Only registered and activated users can see links. Click Here To Register...] (I've edited this one to make it easier)
- [Only registered and activated users can see links. Click Here To Register...]


1. Download and Configure BetaPatchClient.
After downloading BetaPatchClient. Open the folder and open file:
\PatcherTutorial\PatchClient\BetaPatchClient71.sln with Visual Studio.

If you’ve opened the .sln file, open Configuration.h. Its in the solution folder.
[Only registered and activated users can see links. Click Here To Register...]

This is where our configuration starts:
[Only registered and activated users can see links. Click Here To Register...]

I think most of it explains itself, if not please ask in the topic.
Make sure that if you change PATCH_VERSION, you also edit the Titanium -> Config.ini

To edit the name of your patcher change the targetname of your BetaPatchClient:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]



2. Titanium - (Download above)
Open up Titanium.exe and place all files that you want to patch in the same directory.
Add the files you want to patch to the right of the window, and click Options -> Save + Compress
[Only registered and activated users can see links. Click Here To Register...]

After you’ve compressed the files, a new folder called NeuroSpace will pop up in your directory.
Copy the files inside the directory RESCLIENT to your Webserver in a folder called RESCLIENT, this has to be 1:1 otherwise your patchclient can’t find the files and an error will popup.



3. Design the Patcher
For designing the patcher, I’m using Photoshop. In the BetaPatchClient we’re using go to \PatcherTutorial\PatchClient\Image and open main_eng_us_15.jpg with your editing program. I’ve placed tutorial.psd in the folder, which you can use to create your own image.

[Only registered and activated users can see links. Click Here To Register...]

The buttons for the patcher, and the option screen can also be edited. Those are in the same folder as main_eng_us_15.jpg.

------------ EDIT ------------

Some customizations. Thanks to @[Only registered and activated users can see links. Click Here To Register...] for this.

[Only registered and activated users can see links. Click Here To Register...]

Smooth loading bar:
If you open the BetapatchClient.rc with notepad++ scroll down to the CONTROL Progress1 and Progress2 you can change the 0x0 to 0x1 for a smooth loading bar instead of loading blocks.

Colorful loading bar:
Inside:
BetaPatchClientDlg.cpp

Above:
m_File_Progress.SetPos(0);

Place:
Code:
m_Total_Progress.SendMessage(PBM_SETBARCOLOR, 0, (LPARAM)RGB(255, 0, 0)); 
m_File_Progress.SendMessage(PBM_SETBARCOLOR, 0, (LPARAM)RGB(36, 0, 255));
To edit the colors, just change the RGB values on the end of the lines.


-------------------------------

Well done! You’ve made your own patcher, ready to launch.
Include it with your client and upload it to your website for your players to download.
05/19/2019 17:25 matonskie23#2
Nice Tutorial :D
Thanks for release :awesome:
05/20/2019 02:24 Timelimits#3
Nice, tutorial to help out those starting out.

I often get asked this so you can add it to your tutorial if you want just in case,
if you open the BetapatchClient.rc with notepad++ scroll down to the CONTROL Progress1 and Progress2 you can change the 0x0 to 0x1 for a smooth loading bar.

I know it doesn't add much in the ways of help but you never know?
05/20/2019 04:45 Series01#4
Thanks for release.

It's really awesome
05/20/2019 08:45 -Valor#5
@[Only registered and activated users can see links. Click Here To Register...] @[Only registered and activated users can see links. Click Here To Register...] @[Only registered and activated users can see links. Click Here To Register...]
Thanks all! I've placed your addition in the tutorial @[Only registered and activated users can see links. Click Here To Register...], thanks!
07/30/2019 21:51 Hurtune#6
Sir I Made it thanks for your files
By the way I have a problem regarding to my flyff.exe and neuz.exe
When the patch done my neuz.exe wont work/cant connect to the network
But when I manually use neuz.exe without patching..its run normally
I changed my neuz.exe ip(pointing to my IP) using Reshack but nothings happen...
Thanks Sir...!!!
12/06/2019 16:00 Naxzy#7
@[Only registered and activated users can see links. Click Here To Register...], are you using windows xp? coz when i try to open the sln i get error XD
12/09/2019 21:40 Kayx1er#8
this post is down?? i have alot of errore when i open ur vbproj..,. :(
12/13/2019 16:26 Kayx1er#9
Hello, I'm finally there I had to add all the extention to my visual studio and put the file in the repertory 1: 1 following my domain name, however, when start the client patch it will update at first boot but if I modify the files in my directory on the serverweb the patch does not modify them a second time Ex: first patch I modify data.res, data2.res it works well, thereafter I bring a second modification a data.res but patching does not make my change, how can I fix this problem please? (:
12/13/2019 19:07 netHoxInc#10
Quote:
Originally Posted by Kayx1er View Post
Hello, I'm finally there I had to add all the extention to my visual studio and put the file in the repertory 1: 1 following my domain name, however, when start the client patch it will update at first boot but if I modify the files in my directory on the serverweb the patch does not modify them a second time Ex: first patch I modify data.res, data2.res it works well, thereafter I bring a second modification a data.res but patching does not make my change, how can I fix this problem please? (:
Sounds a bit like you did not merge your stuff again, therefore having the exact same data as before in ur .res files negating the need of an update by the patcher.

Just a guess tho
05/21/2020 18:22 Naxzy#11
i got an issue tho. after compiling without errors it wont be a .exe only a source browse database. any tips to change this?
05/29/2020 10:34 voldemort3#12
I am confused. do i have to put the files of patcher tutorial in my source folder?
05/29/2020 11:41 QuietSmoke#13
Quote:
Originally Posted by voldemort3 View Post
I am confused. do i have to put the files of patcher tutorial in my source folder?
Yes it needs to be done.
05/29/2020 13:11 voldemort3#14
Quote:
Originally Posted by QuietSmoke View Post
Yes it needs to be done.
just copy and replace all in the source?
05/29/2020 20:35 Steffen Tequila#15
Quote:
Originally Posted by voldemort3 View Post
just copy and replace all in the source?

Just move it to your desktop and edit it with visual studio 17-19.