Jump to content











Photo
- - - - -

WinBuilder 2015 HowTo Add DriverPacks


  • Please log in to reply
7 replies to this topic

#1 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 16 May 2015 - 04:07 PM

REMARK: The DriverPacks plugin is only a wrapper which helps to transfer drivers to CustomDrivers.
When it has done ii's work, it inaactivates itself with  CONFIG CORE DRIVERPACKS.

But the user can activate again, in order to add new packs.

 

Sorry, Winbuilder cannot (yet) download the driverpacks archives, wich are currently offerred as torrents.

So you must do some manual work:

  • Create a folder <basedir>lib\driverpacks and copy all the needed driverpacks (downloaded by your torrent client) into it.
    That may look like:
    driverpacksDir.jpg
  • Edit the (factory provided) configuration file <basedir>\lib\corefiles\DriverPacks.extra.xml to provide the single drivers you need.
    Most keys are self-explaining. Maybe "Action" needs some explanation
    • BootInstall: Install during PE boot
    • CopyOnly: Just provide the driver in x:\Drivers\<name>
  • Example:
    driverpacksxml.jpg

During build winbuilder will first move the selected drivers from driverpacks into the "drivers" directory, and then use the custom driver mechanism to add the drivers to the PE

 

Addendum:

In WinBuilder version above 2015.05.20 the pack can be downloaded using torrent protocoll.

 

Just add the torrent url in DriverPacks.extra.xml (with your actual data) like

<entry key="Pack1URL">http://driverpacks.n...torrent</entry>

 

The pack name then is not necessary. It is taken from the torrent, and written into the extra.xml file.
 


Edited by pscEx, 18 June 2015 - 09:15 AM.
Now pack download possible using torrent


#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 16 May 2015 - 04:28 PM

I am clearly missing something :unsure:, but cannot a command line bittorrent client be used from the 2015 Winbuilder?

Like aria2:

http://aria2.sourceforge.net/

or Deluge:

http://deluge-torrent.org/

 

:duff:

Wonko



#3 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 16 May 2015 - 04:33 PM

I am clearly missing something :unsure:, but cannot a command line bittorrent client be used from the 2015 Winbuilder?

 

When you consider that WinBuilder runs not only from M$ OS, but also from ??X and mac, to find a suited command line is not so easy.

 

I would be glad when you offer a solution suited for all the host OSs.

 

Currently I'm testing several java *.jar libraries. But as said WinBuilder cannot (yet) ...

 

Peter

 

@all: Do you know any ?????.jar which I can add to the WinBuilder java libraries and which  performs a torrent client?

There are some solutions offerred, but they all have to be compiled under *X with tools I as Billie's fan dependent do not know.



#4 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 16 May 2015 - 05:01 PM

Well, the Winbuilder might just download the OS platform specific program:

Deluge 1.3.11

Available for Linux, Mac OS X and Windows.

 

The suggestion was for a temporary solution until you have found a suitable client for the stupid Java.

 

What are the issue with (say):

https://github.com/mpetazzoni/ttorrent

https://github.com/bitletorg/bitlet

 

Are they not "pure" Java?  (provided that "pure" can co-exist on the same line as "Java") :dubbio:

 

:duff:

Wonko


  • Brito and pscEx like this

#5 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 16 May 2015 - 05:07 PM

Thanks for the hint. It looks very good.

 

Tomorrow I'm going to try.

 

I still have the problem that GIT , sourceforge etc are aliens for me.

I can download their sources but cannot build my final *.jar.

 

Maybe there is only a personal difficulty in finding a final lib/*.jar or bin/*.jar

 

Thanks!

 

Peter



#6 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 16 May 2015 - 05:34 PM

Maybe there is only a personal difficulty in finding a final lib/*.jar or bin/*.jar

 

Very true. I found a trick to solve that issue. Usually I look around Maven Central to see if someone else has compiled the code into a library: http://search.maven.org

 

On the case for torrent clients, I found ttorrent (Apache license) available there: http://search.maven....h|ga|1|ttorrent

 

Then, around github I found this source code file with a practical example of how to use ttorrent to download some files: https://github.com/s...mpleClient.java

 

Does this help?

 

:cheers:


  • pscEx likes this

#7 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 17 May 2015 - 04:42 PM

Very true. I found a trick to solve that issue. Usually I look around Maven Central to see if someone else has compiled the code into a library: http://search.maven.org

 

On the case for torrent clients, I found ttorrent (Apache license) available there: http://search.maven....h|ga|1|ttorrent

 

Then, around github I found this source code file with a practical example of how to use ttorrent to download some files: https://github.com/s...mpleClient.java

 

Does this help?

 

:cheers:

Primarily it helped a bit. I downloaded the jar and modified the example for my purposes.

But when running it gave a "class not found" in a logging function.

 

Secondary it helped a lot:

I learned to build a jar with maven in  netbeans. And as a result: All is done from the torrent URL :clap:

 

Peter


  • Brito likes this

#8 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 20 May 2015 - 05:19 PM

Post 1 changed due to new functionality.

 

For curious people: Torrent download is performed by a modified copy of jBittorrentAPI

 

Peter






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users