- Joined
- Oct 27, 2012
- Messages
- 112
- Reaction score
- 12
1. Download
2. Extract the CPW on your Desktop
3. open your phpmyadmin. create new database named cpw
4. import install.sql on database cpw
3. Go in your Server via WinSCP
4. Copy the CPW to var/www
5. Login in your server (via Putty) and navigate it to your www folder (cd /var/www)
6. type ./cpw install
and input your mysql server (eg, localhost), mysql login (eg, pwu), mysql password (eg, superpuperpassword), Input mysql database name (eg, pwu).
7. back to your WinSCP and open folder CPW/files/CPW/info and open file pid change value 131 to 101.
8. move to your client, copy Launcher.exe and patcher.exe to folder CPW.
9. run ./cpw x Launcher.exe patcher.exe (java will automatically edit and change RSA key inside Launcher and patcher.)
10. next, run ./cpw initial (this command to create a empty version 1 patch)
server side is done
now client side
11. open folder patcher/server/ and edit file updateserver.txt to your server (eg, "World" "http:/YOURSERVER.com/CPW/files/CPW/")
-at config/element/version.sw edit it and change all values to 1 0 (only that 1 and 0)
-at config/patcher/version.sw edit it and put 1 (only 1)
12. that is all, now your client is version 1, and realy to make patches
13. to make new patch simply put files you want update inside CPW/files/new (server side) and then type ./cpw new (this command create next version patch)
14. you can also edit skin your launcher and link from folder patcher/skin/image for laucher skin and patcher/skin/mainuni.xml for edit link inside your launcher.
finally
if you have some error just readme
source : many thanks Caosfox for tutorial on perfect world forum
You must be registered to see links
2. Extract the CPW on your Desktop
3. open your phpmyadmin. create new database named cpw
4. import install.sql on database cpw
4. Copy the CPW to var/www
5. Login in your server (via Putty) and navigate it to your www folder (cd /var/www)
6. type ./cpw install
and input your mysql server (eg, localhost), mysql login (eg, pwu), mysql password (eg, superpuperpassword), Input mysql database name (eg, pwu).
8. move to your client, copy Launcher.exe and patcher.exe to folder CPW.
9. run ./cpw x Launcher.exe patcher.exe (java will automatically edit and change RSA key inside Launcher and patcher.)
10. next, run ./cpw initial (this command to create a empty version 1 patch)
server side is done
now client side
11. open folder patcher/server/ and edit file updateserver.txt to your server (eg, "World" "http:/YOURSERVER.com/CPW/files/CPW/")
-at config/element/version.sw edit it and change all values to 1 0 (only that 1 and 0)
-at config/patcher/version.sw edit it and put 1 (only 1)
12. that is all, now your client is version 1, and realy to make patches
13. to make new patch simply put files you want update inside CPW/files/new (server side) and then type ./cpw new (this command create next version patch)
14. you can also edit skin your launcher and link from folder patcher/skin/image for laucher skin and patcher/skin/mainuni.xml for edit link inside your launcher.
finally
if you have some error just readme
Usage:
1) install
2) initial
3) create some patch
Usage:
./cpw show this message
./cpw install install updater: mysql database setup, rsa keys generation, paths.
./cpw rsagen regenerate rsa keys
./cpw x [executable] patches executable with public rsa key
./cpw initial creates initial (base) revision, doesn't creates lists
./cpw new [revision number] creates next or given revision, creates lists
./cpw revision [revision number] creates next or given revision, creates lists
./cpw listgen update lists only
./cpw listupdate update lists only
1) install
2) initial
3) create some patch
Usage:
./cpw show this message
./cpw install install updater: mysql database setup, rsa keys generation, paths.
./cpw rsagen regenerate rsa keys
./cpw x [executable] patches executable with public rsa key
./cpw initial creates initial (base) revision, doesn't creates lists
./cpw new [revision number] creates next or given revision, creates lists
./cpw revision [revision number] creates next or given revision, creates lists
./cpw listgen update lists only
./cpw listupdate update lists only
Last edited: