El Foro

Autocratically download all components to a local "cache"

Autor Respuestas
Ryukenden Wednesday 10 April 2013 at 22:40
RyukendenAnonymous

Hi.
I would like to make a virtual drive with as much components as possible. Sometimes a program doesn't work because is missing something. I would like to use this drive to make temporary installations. It would make it easier to check if the program can work, debug, etc in a drive with as much components as possible. I could then make a final drive with only the essential components and configurations.

Even if i don't install in it all components, it is a problem to download them. My Internet connection isn't very fast and have to wait until one download is finished and go to the next. Also, by then, i usualy forgot which ones i've downloaded.

Can the downloads be done, for example, by a bash script to a local directory and then i install them myself? I would do this, but i don't know where the component links are.

Thanks in advance,
Gabriel
petch Wednesday 10 April 2013 at 23:03
petch
Developer

Hi,
Your plan is flawed, because adding a component doesn't always help a program to run, all the contrary.

And second, PlayOnLinux already caches the resources it downloads (in ~/.PlayOnLinux/ressources/).
There are resources that it doesn't cache, sometimes it's an oversight, sometimes it's on purpose, because some ressources change too often to be validated by a hash, so it's not cached either (otherwise the risk is that you're left with a broken file in your cache and all installation attempts using this resource will fail until you manually remove the broken file).
If you have some examples in mind, we could check if it's an oversight or on purpuse.

(You could also install some web proxy cache, but I'm unsure of the efficiency of this approach).

Editado por: petch

booman Monday 15 April 2013 at 20:57
booman

I thought about trying this at one point too.
Download all the Packages/Libraries/DLL's in the default Virtual Drive so I wouldn't have to install them later.

But I agree with petch, you really don't want to use programs in a virtual drive that has ALL of the packages installed.

Feel free to download them in a new Virtual Drive and all the d3dx9's, dotnet's, vcrun's, etc will reside in your: /home/username/.PlayOnLinux/resources folder

Note: username is where you put your login

All of these packages will amount to 3+ Gigs of data.
I back them all up on my server so I never have to download them again...
The downside is that if a package is updated, I won't get the new version.

† Booman †
Mint 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Monday 15 April 2013 at 21:20
Ronin DUSETTE
Admin

More often than not, just installing things willy-nilly will cause more headache then happiness. The less components, the better. It just means that Wine is doing its job. ;)

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 Monday 15 April 2013 at 21:41
booman

Yeah, I forgot to add that!
The newer versions of Wine have been amazing and require less and less intervention.
I tested Mass Effect this weekend and only needed d3dx9 & vcrun2005.
Ran perfectly

† Booman †
Mint 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Monday 15 April 2013 at 21:47
Ronin DUSETTE
Admin

Really? Niccccceeee... Thats excellent. ME is probably my fav series ever. Ill have to bust out my old PC copy and try it. 1.5.28, right?

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 Monday 15 April 2013 at 21:47
booman

I used 1.5.25

† Booman †
Mint 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
Ronin DUSETTE Monday 15 April 2013 at 21:48
Ronin DUSETTE
Admin

Ok. Ill try both. :D

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