You are here > Les forums > Your creations. > modified PlayOnLinux (3.7) sv ru pl es fr

Forums

modified PlayOnLinux (3.7)

New topic  - Reply
Author Replies
jump to the page 1 - 2
NSLW Thursday 24 September 2009 at 19:27 - [Quote]
Membre

Membre
Hi all,

I modified PlayOnLinux a little bit. Following changes has been made:
- PopUp menu in game list
> enable user to change icon
> enable user to open application directory



- LiveInstall
> added possibility to choose Wine version before installing application
> added possibility to use WineTricks script before installing application if WineTricks plug-in available
> made checbox list to avoid configuration when it's not needed



- POL_SetupWindow_download (all warnings cause application to stop)
> display warning message if cannot connect to server
> display warning message if cannot find file on server
> display warning message if WineVersion server isn't available



- winecfg is now started with appropriate Wine version

- Added new way of launching application from command line

Console:

playonlinux --run2 "MyGame"

it disables "WINEDEBUG=-all" and the output is:

Your system : MySystem
System architecture : MyArchitecture
Your video card : MyGraphicCard
Graphic card driver : MyDriversVersion
direct rendering: MyDirectRendering
OpenGL : MyOpenGL
Compiz in background : MyCompiz
Executable file : My.exe (2.382 MB)
Content of app launcher :

Console:

#!/bin/bash
PATH="/home/MyUser/.PlayOnLinux/WineVersions/1.1.28/usr/bin/:$PATH"
export WINEPREFIX="/home/MyUser/.PlayOnLinux/wineprefix/MyPrefix"
export WINEDEBUG="-all"
cd "/home/MyUser/.PlayOnLinux/wineprefix/MyPrefix/drive_c/Program Files/MyGame"
wine "My.exe"  $@


Content of terminal output :

wine: configuration in '/home/MyUser/.PlayOnLinux/wineprefix/MyPrefix' has been updated.

I also made winetricks plug-in.


Please write your thoughts about modifications.

FILES:

modified PlayOnLinux + WineTricks plug-in

Edited by NSLW

Berillions Thursday 24 September 2009 at 19:55 - [Quote]
Membre

Membre
Hello NSLW,

Thanks you for the new version. But, with Winetrick, it's not a problem if i use in my script this command :
cd "$REPERTOIRE/ressources"
export POL_TITLE="$Title"
tricks d3dx9

Quentin PÂRIS Saturday 26 September 2009 at 16:10 - [Quote]
Admin

Admin
Ok that is very interesting.

Can you replace "run2" by "debug"

Did you write all in python or POL bash language ?
NSLW Saturday 26 September 2009 at 16:21 - [Quote]
Membre

Membre

Citation de Tinou:

Can you replace "run2" by "debug"

It's not a problem. I can do that.

Citation de Tinou:

Did you write all in python or POL bash language ?

I wrote some parts in python and some in bash. You can see patches directory in package for what I added.
Quentin PÂRIS Saturday 26 September 2009 at 16:49 - [Quote]
Admin

Admin
Ok that's perfect. I'll test it when i have the time and upload it. Thank's
Quentin PÂRIS Saturday 26 September 2009 at 18:20 - [Quote]
Admin

Admin
I Have made some modification, I will post it there very soon, so you can see them and tell me what you think about it
Quentin PÂRIS Saturday 26 September 2009 at 19:21 - [Quote]
Admin

Admin
Ok ! Here the new file :

http://www.playonlinux.com/divers/playonlinux-3.7-testing.zip

Some news :
- Kill All Application
- Popup menu modified to add new functionality
- Icon should update when PlayOnLinux is not restarted
- --debug instead of --run2
- Translation improved
- ...
NSLW Saturday 26 September 2009 at 20:20 - [Quote]
Membre

Membre
Ok, nice !

What do you think about cleaning language files? I could provide cleaned up .po and .mo files and in right order.

BTW. Could you add my nickname also at other scriptors on credits window?
Quentin PÂRIS Saturday 26 September 2009 at 21:54 - [Quote]
Admin

Admin
Ok I will do that tomorrow for your nickname.

Cleaning the language file could be a good idea for the next version. What do you think about this release ?
NSLW Saturday 26 September 2009 at 22:07 - [Quote]
Membre

Membre

Citation de Tinou:

Cleaning the language file could be a good idea for the next version.

Do you mean 3.7 or 3.8?

Citation de Tinou:

What do you think about this release ?


I think it's good. I think that after some testing (and cleaned language files) it can be a good cause for new release.
Quentin PÂRIS Sunday 27 September 2009 at 10:50 - [Quote]
Admin

Admin
I think it is not a priority to clean up the language file because the translation may be useful in the future. However, you can clean as you like as long as you remove only unused translations.

I think it could be good to rename etc directory to ressources, but it might be a problem for some scripts or plugins
NSLW Monday 28 September 2009 at 17:45 - [Quote]
Membre

Membre

Citation de Tinou:

However, you can clean as you like as long as you remove only unused translations.


Ok, I created scripts which cleaned up every language file. What i did is:

1) I took fr.po (as this was most translated file) and searched whole playonlinux directory (with plugins) for phrases which were there, phrases which were not available went to fr-rejected.po

2) I took phrases from new fr.po and searched for them in e.g. de.po In such way i created new de.po which contained translated and untranslated phrases. Untranslated phrases were also added to de-added.po

3) I translated many untranslated phrases in de.po and pl.po

Here I upload your POL-3.7-testing with language modifications

I hope you add this modifications also to new POL release.

Edited by NSLW

Quentin PÂRIS Saturday 3 October 2009 at 17:46 - [Quote]
Admin

Admin
Some french translations have disappeared
Quentin PÂRIS Saturday 3 October 2009 at 20:01 - [Quote]
Admin

Admin
I'm going to post POL 3.7 with old languages file. Take the time to make the modification for the future release
NSLW Saturday 3 October 2009 at 22:03 - [Quote]
Membre

Membre

Citation de Tinou:

I'm going to post POL 3.7 with old languages file. Take the time to make the modification for the future release

So please include new Polish and German translations. I made there many more translations.
Quentin PÂRIS Saturday 3 October 2009 at 23:18 - [Quote]
Admin

Admin
Sorry, it is too late :S

But I think the problem will be the same, a lot of sentances are not translated
Berillions Sunday 4 October 2009 at 21:27 - [Quote]
Membre

Membre
Hello,

I don't know if it's a bug but i can't choose a new icon for my game.
For exemple, in this screen, i want to change the icon for "Sacred" so i choose "d708_sacred.0.xpm" and I click on "Open". But, the icon is not change, it's always the default's icon (PlayonLinux icon).

Thanks for your help.

The screen :

NSLW Sunday 4 October 2009 at 22:20 - [Quote]
Membre

Membre
1) What version do you use? Downloaded from this forum site or official release?
2) Do you've got ~/.PlayOnLinux/icones/32/Sacred?
3) Run playonlinux in terminal and try to change icon
Berillions Sunday 4 October 2009 at 22:49 - [Quote]
Membre

Membre
1) I use the official release.

2) I uninstalled Sacred and i tried with Steam. Same problem. And there is Steam.xpm in ~/.PlayOnLinux/icones/32/

3)When i launch PoL in terminal and i try to change the icon, i have this message :

Console:

Steam
Set the icon
Running (remotely) configuration of Steam

and nothing after.

4) But it's normal if it's ~/.local/share/icons and not ~/.PlayOnLinux/icones/32/ when i try to change the icon?

NSLW Monday 5 October 2009 at 17:03 - [Quote]
Membre

Membre
I haven't got any problem and I don't know why you do have one.

4) yes
Il n'y a rien à voir ici