Het forum

[script] Jade Dynasty and other Perfect World games

Auteur Antwoorden
hyperfang8 Zondag 18 November 2012 om 16:12
hyperfang8

Jade Dynasty: http://pastebin.com/esG7nCxb8 
The same script could be applied to other Perfect World Games!!

Edit (26-04-2014):
I have rewritten 90% of the script.
The game now works on vanilla wine (1.7.17) both x64 x86.
Only override that is used is gdiplus for launcher(not the game itself).
The script now installs game using zip file from official download server.
I use grep to extract download url from xml file which i dynamically obtain from official download server.
The game works AWESOME for me even thought i'm using opensource gpu drivers.

Aangepast door hyperfang8


Avoid the Gates of Hell. Use
Linux.
hyperfang8 Woensdag 21 November 2012 om 15:49
hyperfang8

bump
Will my script get signed/added??

Avoid the Gates of Hell. Use
Linux.
petch Zaterdag 24 November 2012 om 8:22
petch
Developer

Hi,
It may not be exhaustive, but I can at least see those problems:

- To handle internationalization you should use eval_gettext now http://www.playonlinux.com/en/dev-documentation-10.html
- Video memory setting has its own builtin: POL_SetupWindow_VMS
- Installation method has its own builtin: POL_SetupWindow_InstallMethod
- POL_SetupWindow_auto_shortcut is deprecated, use POL_Shortcut
- Set_WineVersion_Assign is deprecated in POL4, Wine version is set by virtual drive, not shortcut
- "start /unix" is useless 95% of the time, and has bad side effects, just remove it
hyperfang8 Zondag 25 November 2012 om 10:42
hyperfang8

Ty for your help, here are some answers:
-I tried POL_SetupWindow_VMS, but i doesn't work for me
It shouldn't realy mater anyway.
-I will not use POL_SetupWindow_InstallMethod because it doesn't work what i want.
-POL_Shortcut
I have figured that myself just today!
- Set_WineVersion_Assign i have figured that too.

For everything other, ty.

Avoid the Gates of Hell. Use
Linux.
petch Zondag 25 November 2012 om 11:06
petch
Developer

POL_SetupWindow_VMS does the same thing, plus remembers the value you entered the first time so you don't have to answer again, could be what confuses you.
Or you entered a wrong value the first time, and now it breaks everything you try to install :p

hyperfang8 Zondag 25 November 2012 om 11:10
hyperfang8

POL_SetupWindow_VMS does the same thing, plus remembers the value you entered the first time so you don't have to answer again, could be what confuses you.

Quote from petch

This...

Avoid the Gates of Hell. Use
Linux.
hyperfang8 Zondag 25 November 2012 om 12:21
hyperfang8

I have updated my scripts.
The links are same.

Avoid the Gates of Hell. Use
Linux.
petch Zondag 25 November 2012 om 14:10
petch
Developer

- typo "Manulad Download"
- lines 81-85 should probably be included before line 80 (inside previous if), even if it's unlikely to break anything
- "start /unix" is useless 95% of the time, just drop it

More importantly for its inclusion into official repository:
- I suspect your "preinstalled" mechanism may not fit well into PlayOnLinux. Final word goes to Tinou, though
hyperfang8 Zondag 25 November 2012 om 14:48
hyperfang8

@ typo "Manulad Download"
->fixed

@lines 81-85 should probably be included before line 80 (inside previous if), even if it's unlikely to break anything
->its fine like this, it can't break anything

@ "start /unix" is useless 95% of the time, just drop it
->5% it is, test, POL crashes if i don't use it

@ I suspect your "preinstalled" mechanism may not fit well into PlayOnLinux. Final word goes to Tinou, though
->well i use it because i'm sick of it installing over and over while i test script
->i'm going to switch to POL_SetupWindow_InstallMethod if "preinstalled" is not allowed

Avoid the Gates of Hell. Use
Linux.
hyperfang8 Zondag 25 November 2012 om 15:12
hyperfang8

Jade Dynasty uploaded to POL site??

I was reading their TOS:

And this are interesting parts: http://www.perfectworld.com/about/terms

"In the event that you make any modifications, adaptations or derivative works of any kind to the Proprietary Materials (the "Modifications"), whether authorized or unauthorized, you understand and agree that you shall retain no rights of any kind in and to such Modifications and that all rights therein shall belong solely to PWE."
-does it tells us that we can redistribute launcher but they are still owners ???

"d you agree not to engage in, any: (a) resale, sublicense, lending or commercial use of the Services or the Proprietary Materials therein; (b) distribution, public performance or public display of any Proprietary Materials except in connection with game play in the ordinary course;"
-i think i tells that only stealing game as yours is not allow


But most important thing:
http://jd.perfectworld.com/download/torrent on http://jd.perfectworld.com/download
There is official torrent on the site and there are already thousand of people redistributing game literaly (p2p).
So i think its fine to redistribute game as long as we don't change anything from that package (from torrent).


Avoid the Gates of Hell. Use
Linux.
hyperfang8 Zaterdag 26 April 2014 om 14:13
hyperfang8

rewriten the script for new wine version

Avoid the Gates of Hell. Use
Linux.
luyz25 Zondag 4 Mei 2014 om 17:38
luyz25

The download always error.
hyperfang8 Zaterdag 14 Juni\ 2014 om 14:17
hyperfang8

The download always error.


Avoid the Gates of Hell. Use
Linux.