The forum

modified PlayOnLinux (3.7)

Author Replies
Jump to the page: 1 - 2
NSLW Thursday 24 September 2009 at 19:27
NSLW

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

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 :

#!/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
Berillions

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
Quentin PÂRISAnonymous

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
NSLW

Can you replace "run2" by "debug"

Quote from Tinou

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

Did you write all in python or POL bash language ?

Quote from Tinou

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
Quentin PÂRISAnonymous

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
Quentin PÂRISAnonymous

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
Quentin PÂRISAnonymous

Ok ! Here the new file :

http://www.playonmac.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
NSLW

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
Quentin PÂRISAnonymous

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
NSLW

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

Quote from Tinou

Do you mean 3.7 or 3.8?

What do you think about this release ?

Quote from Tinou


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
Quentin PÂRISAnonymous

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
NSLW

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

Quote from Tinou


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
Quentin PÂRISAnonymous

Some french translations have disappeared
Quentin PÂRIS Saturday 3 October 2009 at 20:01
Quentin PÂRISAnonymous

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
NSLW

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

Quote from Tinou

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

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
Berillions

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
NSLW

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
Berillions

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 :
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
NSLW

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

4) yes

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com