You are not logged in.
First install hib-dlagent from AUR, with yaourt :
yaourt -S hib-dlagent
Then add this in your /etc/makepkg.conf in DLAGENT section
'hib::/usr/bin/hib-dlagent -p your_password -u your_username -o %o $(echo %u | cut -c 7-)'
Last edited by GloW_on_dub (2013-09-23 07:48:32)
Offline
Yaourt gives me: Could not find hib://limbo-1.3.tar.gz. Manually download it to "/tmp/yaourt-tmp-gulshan/aur-limbo", or set up a hib:// DLAGENT in /etc/makepkg.conf.
How do I set up a DLAGENT?
You basically have three options:
Option 1) No dlagent
If you manually copy or symlink the game archive to the directory that contains the PKGBUILD (it's stated in error message you quoted), and then run yaourt again, then makepkg will detect the file directly and not care about the hib:// protocol.
Option 2) A Bash one-liner dlagent
Add a line like the following to the DLAGENTS array in makepkg.conf:
DLAGENTS=(...
'hib::/usr/bin/find $HOME/downloads -name $(echo %u | cut -c 7-) -exec ln -s \{\} %o \; -quit'
...)
This makes sure that whenever an AUR package requests a file via a hib:// URL, makepkg will automatically look for it in ~/downloads (or subdirectories) on the local computer, and create the symlink for you.
Option 3) hib-dlagent
Install the hib-dlagent AUR package, and add the following line to the DLAGENTS array in makepkg.conf:
DLAGENTS=(...
'hib::/usr/bin/hib-dlagent -u <user> -p <pass> -o %o $(echo %u | cut -c 7-)'
...)
Replace <user> and <pass> with you Humble Bundle account data. This will enable auto-downloading of Humble Bundle games via http.
Last edited by sas (2013-09-23 07:03:56)
my AUR packages ~~ my community contributions
Offline
@sas : thanks for the full length explanation. can you explain the line for hib-dlagent ?
Offline
It simply calls the /usr/bin/hib-dlagent program with the right parameters.
Before executing the line, makepkg will replace %o with the path where the file should be downloaded to, and %u with the URL that was given for the file in the PKGBUILD (e.g. hib://limbo-1.3.tar.gz). The $(echo %u | cut -c 7-) takes care of cutting off the first 6 characters of the URL (i.e. the hib:// prefix), so that only the filename remains (e.g. limbo-1.3.tar.gz)
Last edited by sas (2013-09-23 07:30:23)
my AUR packages ~~ my community contributions
Offline
Thanks, I got yaourt working with Humble Bundle games.
Limbo itself isn't working though. Running /opt/limbo/launch-limbo.sh gives me:
libGL error: failed to load driver: i965
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
wine: Unhandled page fault on read access to 0x00000000 at address 0x4f2b75 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x004f2b75).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:004f2b75 ESP:0032f844 EBP:00000000 EFLAGS:00210206( R- -- I - -P- )
EAX:003dcde8 EBX:00000000 ECX:00000000 EDX:00000020
ESI:00000000 EDI:0000000f
Stack dump:
0x0032f844: 003dcde8 004f6261 00000000 0000000f
0x0032f854: 003dcde8 00000041 00000000 00000000
0x0032f864: 00bfbbef 0048c06d 00000000 003dcdc0
0x0032f874: 00000010 00000000 003d7690 0000000f
0x0032f884: 01ffffff 00a880a0 0032f964 3a4b4f0a
0x0032f894: 00320020 00000000 0032f964 00000005
000c: sel=0067 base=00000000 limit=00000000 32-bit --x
Backtrace:
=>0 0x004f2b75 in limbo (+0xf2b75) (0x00000000)
0x004f2b75: cmpb $0x0,0x0(%esi)
Modules:
Module Address Debug info Name (97 modules)
PE 400000- 926000 Export limbo
ELF 7111c000-71256000 Deferred oleaut32<elf>
\-PE 71130000-71256000 \ oleaut32
ELF 75cc2000-75d82000 Deferred windowscodecs<elf>
\-PE 75cd0000-75d82000 \ windowscodecs
ELF 7a109000-7b800000 Deferred libllvm-3.3.so
ELF 7b800000-7ba5d000 Deferred kernel32<elf>
\-PE 7b810000-7ba5d000 \ kernel32
ELF 7bc00000-7bce2000 Deferred ntdll<elf>
\-PE 7bc10000-7bce2000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
ELF 7c8c9000-7c8cf000 Deferred libtxc_dxtn.so
ELF 7d0d0000-7d0ea000 Deferred libgcc_s.so.1
ELF 7d1d3000-7d1db000 Deferred libffi.so.6
ELF 7d1db000-7d953000 Deferred swrast_dri.so
ELF 7d953000-7d960000 Deferred libdrm.so.2
ELF 7d960000-7d979000 Deferred libxcb-glx.so.0
ELF 7d979000-7d990000 Deferred libglapi.so.0
ELF 7d990000-7d9e9000 Deferred libgl.so.1
ELF 7da0f000-7da34000 Deferred imm32<elf>
\-PE 7da20000-7da34000 \ imm32
ELF 7da34000-7da6b000 Deferred uxtheme<elf>
\-PE 7da40000-7da6b000 \ uxtheme
ELF 7da6b000-7da80000 Deferred xinput1_3<elf>
\-PE 7da70000-7da80000 \ xinput1_3
ELF 7da80000-7dae9000 Deferred dbghelp<elf>
\-PE 7da90000-7dae9000 \ dbghelp
ELF 7dae9000-7daf4000 Deferred libxcursor.so.1
ELF 7daf4000-7db05000 Deferred libxi.so.6
ELF 7db05000-7db10000 Deferred libxrandr.so.2
ELF 7db10000-7db1b000 Deferred libxrender.so.1
ELF 7db1b000-7db3d000 Deferred libxcb.so.1
ELF 7db3d000-7dc74000 Deferred libx11.so.6
ELF 7dc77000-7dc7d000 Deferred libxcb-dri2.so.0
ELF 7dc7d000-7dc80000 Deferred libx11-xcb.so.1
ELF 7dc80000-7dc84000 Deferred libxdamage.so.1
ELF 7dc84000-7dc98000 Deferred psapi<elf>
\-PE 7dc90000-7dc98000 \ psapi
ELF 7dc9a000-7dd2f000 Deferred winex11<elf>
\-PE 7dca0000-7dd2f000 \ winex11
ELF 7de2f000-7de58000 Deferred libexpat.so.1
ELF 7de58000-7de93000 Deferred libfontconfig.so.1
ELF 7de93000-7dea3000 Deferred libbz2.so.1.0
ELF 7dea3000-7df42000 Deferred libfreetype.so.6
ELF 7df42000-7df9a000 Deferred libncursesw.so.5
ELF 7df9a000-7dfad000 Deferred libxext.so.6
ELF 7dfc0000-7dfe8000 Deferred d3dxof<elf>
\-PE 7dfd0000-7dfe8000 \ d3dxof
ELF 7dfe8000-7e05e000 Deferred d3dcompiler_43<elf>
\-PE 7dff0000-7e05e000 \ d3dcompiler_43
ELF 7e05e000-7e0ec000 Deferred d3dx9_36<elf>
\-PE 7e070000-7e0ec000 \ d3dx9_36
ELF 7e0ec000-7e1ea000 Deferred opengl32<elf>
\-PE 7e110000-7e1ea000 \ opengl32
ELF 7e20c000-7e212000 Deferred libxfixes.so.3
ELF 7e212000-7e218000 Deferred libxxf86vm.so.1
ELF 7e218000-7e22f000 Deferred libz.so.1
ELF 7e22f000-7e249000 Deferred d3dx9_43<elf>
\-PE 7e230000-7e249000 \ d3dx9_43
ELF 7e249000-7e38e000 Deferred wined3d<elf>
\-PE 7e260000-7e38e000 \ wined3d
ELF 7e38e000-7e3cb000 Deferred d3d9<elf>
\-PE 7e390000-7e3cb000 \ d3d9
ELF 7e3cb000-7e451000 Deferred rpcrt4<elf>
\-PE 7e3e0000-7e451000 \ rpcrt4
ELF 7e451000-7e594000 Deferred ole32<elf>
\-PE 7e470000-7e594000 \ ole32
ELF 7e594000-7e5b0000 Deferred dinput8<elf>
\-PE 7e5a0000-7e5b0000 \ dinput8
ELF 7e5b0000-7e5f0000 Deferred winspool<elf>
\-PE 7e5c0000-7e5f0000 \ winspool
ELF 7e5f0000-7e6fd000 Deferred comctl32<elf>
\-PE 7e600000-7e6fd000 \ comctl32
ELF 7e6fd000-7e777000 Deferred shlwapi<elf>
\-PE 7e710000-7e777000 \ shlwapi
ELF 7e777000-7e9ae000 Deferred shell32<elf>
\-PE 7e780000-7e9ae000 \ shell32
ELF 7e9ae000-7ea9b000 Deferred comdlg32<elf>
\-PE 7e9b0000-7ea9b000 \ comdlg32
ELF 7ea9b000-7eb0f000 Deferred advapi32<elf>
\-PE 7eab0000-7eb0f000 \ advapi32
ELF 7eb0f000-7ec33000 Deferred gdi32<elf>
\-PE 7eb20000-7ec33000 \ gdi32
ELF 7ec33000-7ed94000 Deferred user32<elf>
\-PE 7ec50000-7ed94000 \ user32
ELF 7ef94000-7efda000 Deferred libm.so.6
ELF 7efdb000-7efe2000 Deferred libxdmcp.so.6
ELF 7efe2000-7efe6000 Deferred libxau.so.6
ELF 7efe6000-7f000000 Deferred version<elf>
\-PE 7eff0000-7f000000 \ version
ELF f7390000-f739d000 Deferred libnss_files.so.2
ELF f739f000-f73a4000 Deferred libdl.so.2
ELF f73ca000-f7579000 Deferred libc.so.6
ELF f7579000-f7595000 Deferred libpthread.so.0
ELF f7595000-f774b000 Dwarf libwine.so.1
ELF f774c000-f776e000 Deferred ld-linux.so.2
ELF f776e000-f776f000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\limbo\limbo.exe
00000009 0 <==
0000000e services.exe
0000001f 0
0000001e 0
00000019 0
00000018 0
00000016 0
00000014 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001d 0
0000001a 0
00000017 0
00000013 0
0000001b plugplay.exe
00000021 0
00000020 0
0000001c 0
00000022 explorer.exe
00000024 0
00000023 0
Is there a certain package I'm missing?
Offline
@gsingh93
Assuming you're on a 64bit system, you need to install lib32-intel-dri from the multilib repository to get 32bit OpenGL support with the Intel driver.
For general info on how to set up OpenGL rendering for your graphics card, see https://wiki.archlinux.org/index.php/Intel_Graphics
Last edited by sas (2013-09-25 05:11:53)
my AUR packages ~~ my community contributions
Offline
Thanks, I installed that package and the libGL errors went away. Unfortunately, the wine page fault is still there. Have you tried this game on your machine and are you getting any errors?
Offline
Yes, works like a charm. You can try installing it without the AUR makepkg though.
Offline
@gsingh93
Yes, the the game installs and runs perfectly via the AUR package, but I'm using a different graphics card & driver than you (ATI card with Catalyst driver).
Not sure if your Intel graphics card & driver ist properly supported - the system requirements page says the game needs "Shader Model 3.0 support", which older cards don't support.
To confirm that hardware-accelerated 32bit OpenGL rendering is configured properly, and at the same time check what shader model support you have, install the package lib32-mesa-demos and then run:
glxinfo32 | grep -P '.*(direct|string).*:'
The output should include the line "direct rendering: Yes" (if it says "No", see the wiki page for your graphics driver for more info on configuring it correctly), as well as a line like "OpenGL shading language version string: 4.30" (if the number is less than 3, then that's the cause of your problem).
If you believe that your graphics hardware supports a higher Shader Model version than what is listed there, try installing an experimental beta/git version of Mesa.
my AUR packages ~~ my community contributions
Offline
Hi,
I am trying to download Trine2 with dlagent but I fail to use it:
trine2-hib 0_20130911-1 (Thu Sep 12 06:10:30 CEST 2013)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> trine2-hib dependencies:
- lib32-glu (already installed)
- lib32-nvidia-cg-toolkit (already installed)
- lib32-gtk2 (already installed)
- lib32-libpng12 (already installed)
- lib32-openal (already installed)
- lib32-alsa-lib (already installed)
- lib32-libogg (already installed)
- lib32-libvorbis (already installed)
- xorg-xwininfo (already installed)
==> Continue building trine2-hib ? [Y/n]
==> ------------------------------------
==>
==> Building and installing package
==> Making package: trine2-hib 0_20130911-1 (Fri Jan 3 11:14:18 CET 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading trine2_linux.tar.gz...
Could not find URL for file: trine2_linux.tar.gz
==> ERROR: Failure while downloading trine2_linux.tar.gz
Aborting...
==> ERROR: Makepkg was unable to build trine2-hib.
==> Restart building trine2-hib ? [y/N]
==> -----------------------------------
==>
I think I set makepkg.conf correctly:
DLAGENTS=('hib::/usr/bin/hib-dlagent -p mypassword -u myemail -o %o $(echo %u | cut -c 7-)'
....)
replacing mypassword and myemail...
I don't know why it doesn't work
Could someone help me?
Edit: I copy paste email and password from makepkg.conf to my hib home and I can to login, so email and password are good on makepkg.conf
Last edited by eyome (2014-01-03 12:17:44)
Offline
What is the output of
hib-dlagent -p yourpassword -u yourm@il trine2_linux.tar.gz
Offline
Thanks to respond GloW_on_dub,
I have this:
Could not find URL for file: trine2_linux.tar.gz
This is like my email and password are wrong whereas they are right.
Offline
Well did you check that you've really bought trine2? is it available in your hib library ?
Offline
Yeah, of course I bought it, and it happened with others AUR bundle games with hib-dlagent...I have surely done something wrong, but what?
Offline
What is the output of :
curl --cookie-jar ./cookie.txt --data "username=yourmail@gmail.com" --data "password=yourpass" "https://www.humblebundle.com/login"
cat ./cookie.txt
curl -s --cookie ./cookie.txt "https://www.humblebundle.com/home" | grep "/trine2_linux.tar.gz?"
Last edited by GloW_on_dub (2014-01-05 18:27:43)
Offline
Sorry for the delay GloW_on_dub
It seems there is a mistake, cookie.txt isn't created with the first command line:
[eyome@Archlinux ~]$ LC_ALL=C cat ./cookie.txt
cat: ./cookie.txt: No such file or directory
Offline
does your mail or password contain unusual character ? like "'%$\/ ?
Last edited by GloW_on_dub (2014-01-05 23:37:56)
Offline
Oh yes, you are right!
In my password: %
I'll try today changing it, I'll take you aware
Offline
that's probably it, should have think about that first.
Offline
Hi GloW_on_dub
Sorry for the delay, yes it works now without unusual characters .
Thanks a lot .
Offline
There have been an update, wich should take care of that, (and other minor problem )
https://aur.archlinux.org/packages/hib-dlagent/
Offline