Het forum

Install software in offline

[Feature request]

Auteur Antwoorden
Jump to the page: 1 - 2
demontager Zondag 21 April 2013 om 11:48
demontager

Currently in POL 4.2.1 no way to install software if Internet is off. Regardless you Internet connection up or down POL always trying to fetch application info first and if connection is up you may proceed to installing stuff, but if not it continuously trying to retrieve info and giving no way to install even in "install a not listed program" mode.
 Is any changes could be done to overcome this weird behavior ?

My github: https://github.com/Demontager
petch Zondag 21 April 2013 om 11:50
petch

It has already been requested in the bug tracker:
http://www.playonlinux.com/en/issue-1955.html
demontager Zondag 21 April 2013 om 11:57
demontager

Yes, found it and posted reversed link too. For now hope maybe someone post temporary workaround until fully implemented.

My github: https://github.com/Demontager
Ronin DUSETTE Maandag 22 April 2013 om 17:55
Ronin DUSETTE

Well, you would need not only all of the scripts downloaded to your machine, but also all of the extra components downloaded into the cache as well. Ive tried it before by hand. It doesnt work too well ATM.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Maandag 22 April 2013 om 18:14
booman

Agreed, start by downloading all the standard Windows Packages (components/libraries):
d3dx9 (all of them)
d3dx10
vcrun2006
vcrun2005
vcrun2006
dotnet10
dotnet20
dotnet30
physx
msxml3
msxml4
msxml5
tahoma
corefonts
... there are a few more I can't remember the exact name

Download all major Wine releases:
1.4.1
1.5.17
1.5.25
... search for your games to see which wine versions work best for them

Then when you install a game, just do a manual installation by clicking "install a non-listed program"

The only problem I suspect is when PlayOnLinux searches for updated scripts it will sit there with two arrows in offline mode. Doesn't happen all the time, but I've seen it happen because I play offline periodically too.

Then you can probably install a game with Manual Installation. But if it doesn't work and requires more Windows Packages... you will have to connect online again.

I have had a LOT of success with Manual Installation, but I still have to go online and research WineHQ for help with my games. It almost never fails... gotta do my research.

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Maandag 22 April 2013 om 18:37
Ronin DUSETTE

Yeah. Its really a more pain in the a** without the internet connection. haha

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Maandag 22 April 2013 om 18:37
booman

Agreed, but if you plan ahead and spend many hours downloading everything... it could be possible

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Maandag 22 April 2013 om 18:56
Ronin DUSETTE

Totally..... Many many hours, and hopefully you got everything. Some scripts download stuff that is not even listed in components, too. :( Its really hard to have a full cache.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Maandag 22 April 2013 om 19:13
booman

Oh, didn't know that!
So far my standard components are the main ones that get used.
I try a new game every week and its rare that a new package I don't already have downloads.

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Maandag 22 April 2013 om 19:20
Ronin DUSETTE

Yeah. I have noticed that after installing POL on a new system, after a while, I have most resources already downloaded. FOR SURE makes for a faster install/troubleshooting time.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Maandag 22 April 2013 om 19:40
booman

I just worry that a package will eventually get updated and I'm going to miss it.
Specially if it fixes that one bug that everyone has been waiting for.... aka Crysis

† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Maandag 22 April 2013 om 19:43
Ronin DUSETTE

exactly. :)

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Zondag 13 October 2013 om 5:03
booman

Here are some tips for using PlayOnLinux offline when you don't have an internet connection and still want to install a game

I've used this strategy several times with a laptop or netbook.  There are times when I'm out-of-town and want to install a downloaded game, but am not on the internet.

The best way to prepare is by using the "Install Components Tab" in PlayOnLinux Configure

  1. Launch PlayOnLinux
  2. Click Configure
  3. Select your virtual drive (or create a generic one)
  4. Click the Install Components Tab
  5. Select Packages one-by-one and install

Here is a list of typical necessary packages for most games:
  • corefonts
  • d3dx9
  • d3dx10
  • directx9
  • dxfullsetup
  • gdiplus
  • gecko
  • internet explorer 8
  • msls31
  • msxml3
  • physx
  • quartz
  • registered fonts
  • tahoma
  • vcrun2005
  • vcrun2008
  • vcrun2010
  • wininet
  • wmp9
  • wmp10
  • wmpcodecs
  • xact
  • xinput
  • xna31
  • xna40

There are also the dotnet packages, but mono can usually handle those well.  Its a good idea to download them all anyways, but I've rarely used them.
Internet Explorer 8 is a good one because it installs Service Pack 3 for windows XP.

Also, when offline you can't use the "install" button in PlayOnLinux.
Instead, you will have to click Configure first then click "New" to create a virtual drive, then install your packages and game.  Kinda backwards, but works great when offline.

Here is a few guides on some of these components/packages/libraries:
PlayOnLinux Explained

Aangepast door booman


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
demontager Donderdag 28 Augustus 2014 om 14:04
demontager

Just saw the latest reply. So, I tried as booman said. Yes, i may create new Virtual drive and put any stuff in it, but i don't understand how to create app. shortcuts whithin this newly created Virtual drive.

I know how to do that manually, for example i may create new txt file containing new virtual drive in /home/dem/.PlayOnLinux/shortcuts/MyNewShortcutName

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
export WINEPREFIX="/home/dem/.PlayOnLinux//wineprefix/MyNewVirtualDrive"
export WINEDEBUG="-all"
cd "/home/dem/Games/SomeGame"
POL_Wine 'SomeGame.exe' "$@"

 

Aangepast door demontager


My github: https://github.com/Demontager
Ronin DUSETTE Donderdag 28 Augustus 2014 om 21:28
Ronin DUSETTE

Eh, I still find this solution very ugly. It would be like wanting the whole Ubuntu Main repo on your system. It can be handy, but is quite cumbersome. I just think ahead. :)


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Donderdag 28 Augustus 2014 om 22:00
booman

It works fine if "offline" is temporary.  You eventually need to get updated libraries.

PlayOnLinux should create the shortcut to your desktop for you when you install a game or client.


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Vrijdag 29 Augustus 2014 om 0:03
Ronin DUSETTE

It does, if I am not mistaken. It usually does for me, anyway. I run KDE, and when I install stuff through POL it shows up on the desktop, if the application being installed does that by default (the actual windows installer, not the POL script.).


Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Vrijdag 29 Augustus 2014 om 0:15
booman

Demontager - If you want to add a shortcut later on, just click "Configure", select your virtual drive on the left, and then "Make a new shortcut in this virtual drive" on the General Tab.


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
demontager Vrijdag 29 Augustus 2014 om 18:33
demontager

Thanks, booman it does work i meant "Make a new shortcut from this virtual drive".

Will mark request as solved, anyway solution is not so straightforward, so my IMHO is to add functioanal button to install apps in offline mode to main app list window, or just allow this operation if offline(more likely).


My github: https://github.com/Demontager
booman Vrijdag 29 Augustus 2014 om 18:36
booman

Oh, do you mean adding the game shorcut to your menu or dashboard?

I don't know how to do it in Ubuntu, but in Mint, you can edit the menu and use a command to launch games from terminal.

Honestly, I just use PlayOnLinux to launch all of my games.  Kinda like a games client.


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained