Package Details: shatter-hib 1.0+h20130609-1

Git Clone URL: https://aur.archlinux.org/shatter-hib.git (read-only)
Package Base: shatter-hib
Description: A retro-inspired brick-breaking game with unique twists (Humble Bundle version)
Upstream URL: http://www.shattergame.com/
Keywords: 2D arcade game humble
Licenses: custom:commercial
Submitter: smls
Maintainer: smls
Last Packager: smls
Votes: 15
Popularity: 0.000001
First Submitted: 2012-09-18 23:27
Last Updated: 2015-07-10 16:20

Dependencies (20)

Required by (0)

Sources (2)

Latest Comments

smls commented on 2013-07-14 18:48

@richerVE
Updated, thanks.

Regarding PKGEXT: For packages that are very large and consist mostly of data that is already compressed in some way (which is the case for many commercial games), it makes sense to disable makepkg's package compression.
Users who install the package shouldn't have to wait an extra 1 or 2 minutes for the installation to finish, just for a small size improvement of the package archive.

richerVE commented on 2013-07-14 17:45

Hi, The package is updated in humble bundle. The installer has changed name, so i only need to change this settings in PKGBUILD:
pkgver=1.0.20130609
_hibver=2013-06-09
_installer="Shatter-Release-${_hibver}.sh"

BTW why did you choose PKGEXT='.pkg.tar' instead of the default

smls commented on 2013-01-06 01:08

@minder: swrast means software rasterizer, if it is called that means your 32bit OpenGL configuration is not working properly (no direct rendering).
On a 64bit system, this is easy to miss because most other apps as well as glxinfo use the 64bit OpenGL libraries. Make sure you have installed the lib32- counterparts for any OpenGL / graphics-driver related package.
If you run the game with the LIBGL_DEBUG='verbose' environment variable set, like it suggests, it should give you more info on what is missing.

minder commented on 2013-01-05 10:59

on my system it complains about the lack of swrast:

$ shatter
: ======================= LOG INITIALISED =======================
: Name : Shatter ( SH )
: Build: 12091801 ( pc )
: MabCore v1.0 Initialised. ( $Id: MabCoreLib.h 108864 2011-12-01 01:07:59Z rgreen $ )
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
X Error of failed request: GLXUnsupportedPrivateRequest
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 16 (X_GLXVendorPrivate)
Serial number of failed request: 34
Current serial number in output stream: 35

smls commented on 2012-12-12 13:14

@CPUnltd: The self-extracting archive verifies its own checksum. Maybe it got corrupted during download? Try re-downloading it through torrent, afaik that will ensure the download's integrity.

CPUnltd commented on 2012-12-12 09:51

This thing refuses to build and I am not seeing where the error I'm adding below even makes sense:

Verifying archive integrity...Error in MD5 checksums: acce51c39b816f061039b95b878acfbc is different from 1e8cf5554f40d65023b85d7d90a5712f


The only MD5 I corrected above with makepkg -g and if I change that to acce51c39b816f061039b95b878acfbc it will fail the initial MD5 check. I have no idea where this thing is getting the acce[...] MD5 from and it's beginning to annoy me.

smls commented on 2012-10-24 13:52

@Bloodfest: Hm, after more testing it seems that the environment variable is not enough after all... some textures are still not rendered. Installing lib32-libtxc_dxtn seems to be the only way to get all textures to render with the open-source drivers, so I now added it as dependency.

smls commented on 2012-10-24 13:03

@Bloodfest: I investigated this, and it turns out installing that package is not necessary, it's enough to set the force_s3tc_enable environment variable to true. I just updated the PKGBUILD so it takes care of this in the launch script.

Bloodfest commented on 2012-10-23 16:58

I got black textures fixed by installing lib32-libtxc_dxtn from AUR.

smls commented on 2012-09-28 10:37

@akemrir: That doesn't sound right - VirtalGL is for remote display software. But maybe installing it also caused some other change in your system, like a font or dependency library being installed?

tsester commented on 2012-09-28 10:03

if you get black screen and nvidia sth mismatch ( driver ? module ) the game will play fine if you reinstall "nvidia"

tsester commented on 2012-09-28 10:03

if you get black screen and nvidia sth mismatch 9 ( driver ? module ) the game will play fine if you reinstall "nvidia"

Anonymous comment on 2012-09-20 06:00

hello, on my side when I install aur/virtualgl32-bin, game looks like on windows. Transparencies are normal.
By the way, I have 64bit machine.

hwkiller commented on 2012-09-19 23:56

I think libdrm might still be a dependency, but libdrm is a dependency of xorg-server, which you have to have in order to run this anyway, as far as I know.
lib32-libdrm isn't necessary though.

smls commented on 2012-09-19 22:36

Regarding nvidia-cg-toolkit, if you used an older version of the PKGBUILD you will have it bundled with the game:
/opt/Shatter/lib/Cg.so
/opt/Shatter/lib/CgGL.so

Regarding lib32-libdrm, the installer internally lists libdrm.so.2 as dependency, but yeah I guess it's not used.

hwkiller commented on 2012-09-19 21:16

I got shatter working (it was my fault; I forgot to install one thing).


I don't think you need to include lib32-libdrm (I don't have it installed and it works fine). I don't see why you need nvidia-cg-toolkit either (I don't have it installed and it works fine).

I'm guessing the pulse issue was only if you're running pulse, so whatever. It works with lib32-libpulse and such, so leave those in the optdepends.

smls commented on 2012-09-19 20:38

@hwkiller: Regarding the game not working with the nvidia driver, if that is still the case with this newest revision of the PKGBUILD, did you try running 'shatter-settings' in a terminal and experimenting with the fullscreen/vsync/antialiasing options?

smls commented on 2012-09-19 19:49

Ok, I've re-done the dependencies. This time I explicitly specified all packages needed to get all libraries which are listed as dependencies inside the installer's internal configuration. (Plus lib32-alsa-plugins and lib32-libpulse, which are not needed when using plain alsa, put are required if you use PulseAudio so I added them as optdepends.)

I also removed the bundled libraries (except for the commercial FMOD sound library), and replaced them with dependencies to system-wide packages. Most notably this includes SDL - which has been known to cause graphics problems in the past in other Humble Bundle games if not using the system-wide one, so in case you have experienced graphics problems with this package before I changed that maybe give it another try.

@hwkiller: The remaining dependencies from your list which I could not attribute to being required by any binary or library in question are lib32-openal and lib32-libogg. Neither the installer's internal dependency list nor the ldd command mentions them, and sound works fine without them for me. Maybe they are also related to PulseAudio, or some other particularity of your system setup? Can you investigate this?

smls commented on 2012-09-19 19:44

Ok, I've re-done the dependencies. This time I explicitly specified all packages needed to get all libraries listed as dependencies inside the installer's internal configuration. (Plus lib32-alsa-plugins and lib32-libpulse, which are not needed when using plain alsa, put are required if you use PulseAudio so I added them as optdepends.)

I also removed the bundled libraries (except for the commercial FMOD sound library), and replaced them with dependencies to system-wide packages. Most notably this includes SDL - which has been known to cause graphics problems in the past in other Humble Bundle games if not using the system-wide one, so in case you have experienced graphics problems with this package before I changed that maybe give it another try.

@hwkiller: The remaining dependencies from your list which I could not attribute to being required by any binary or library in question are lib32-openal and lib32-libogg. Sound works without them for me. Maybe they are also related to PulseAudio, or some other particularity of your system setup?

smls commented on 2012-09-19 19:43

Ok, I've re-done the dependencies. This time I explicitly specified all packages needed to get all libraries specified as dependencies inside the installer's internal configuration. (Plus lib32-alsa-plugins and lib32-libpulse, which are not needed when using plain alsa, put are required if you use PulseAudio so I added them as optdepends.)

I also removed the bundled libraries (except for the commercial FMOD sound library), and replaced them with dependencies to system-wide packages. Most notably this includes SDL - which has been known to cause graphics problems in the past in other Humble Bundle games if not using the system-wide one, so in case you have experienced graphics problems with this package before I changed that maybe give it another try.

@hwkiller: The remaining dependencies from your list which I could not attribute to being required by any binary or library in question are lib32-openal and lib32-libogg. Sound works without them for me. Maybe they are also related to PulseAudio, or some other particularity of your system setup?

hwkiller commented on 2012-09-19 05:19

This package seems to work fine for nouveau, but *not* the nvidia driver. How weird is that? Torchlight works though, so I doubt it's my own configuration.

hwkiller commented on 2012-09-19 04:58

smls,
Yes, I needed all of them for it to work completely. Pulse and such were needed for sound to work, but I'm using pulseaudio; add it to the optdepends if you're using alsa only and getting sound without anything else.
libgl is still a dependency. You will notice that {,lib32}-{nvidia,catalyst}-utils provide and conflict with libgl. So yes, some form of libgl is required, and that can be in libgl itself, nvidia-utils, etc. For 64bit systems, you need lib32-libgl, which is supplied by lib32-libgl, lib32-nvidia-utils, lib32-catalyst-utils, etc.

If I didn't use the deps I provided to you, it failed to create a package due to incomplete deps.

gtmanfred commented on 2012-09-19 03:41

it is against arch's packageing guidelines to define extra functions in the PKGBUILD

smls commented on 2012-09-19 03:05

I corrected the dependencies (I think). I uninstalled everything lib32-* from my 64 bit system, and then re-installed packages one by one as required by the game.

I did not specify the lib32-libgl dependency in the PKGBUILD, because catalyst users will need lib32-catalyst-utils instead. Is there any way to specify that *either one* of them is required?

@hwkiller: I did not need lib32-curl lib32-openal lib32-libogg lib32-bzip2 lib32-alsa-plugins lib32-libpulse... Are you sure you needed them all? What does not work without them?

@gtmanfred: Regarding DLAGENTS, I'm reluctant - I'll explain at https://bbs.archlinux.org/viewtopic.php?id=149213 in a while (as this comment section is probably not ideal for more thorough discussions).

hwkiller commented on 2012-09-19 02:28

http://pastie.org/private/jjavjtyhghgrixsfcfi85w

Ok! Last one! That got the game fully working on my system. I'm not sure if libpulse is necessary for everyone or just people who are running pulse at the time (i.e., does the game try to use pulse?)

Whatever, there it is! If pulse isn't necessary and it can run from alsa alone, you still need lib32-alsa-plugins I think, and lib32-libpulse should be added to an x86_64-only optdepends list.

hwkiller commented on 2012-09-19 02:18

http://pastie.org/private/wenl5ibn11meao9eis0zw

Updated [yet again] from gtmanfred.

hwkiller commented on 2012-09-19 02:14

http://pastie.org/4751169

Updated from the great gtmanfred

MadnessRed commented on 2012-09-19 02:08

Awesome, thanks :)

gtmanfred commented on 2012-09-19 02:03

bah here http://ix.io/31H

gtmanfred commented on 2012-09-19 01:50

http://ix.io/31G here, this should cover everything and include lib32 stuff for x86_64

MadnessRed commented on 2012-09-19 01:35

Also to edit settings, eg screen resolution, run: /usr/local/games/Shatter/SettingsEditor.bin.x86

MadnessRed commented on 2012-09-19 01:32

For the multilib packages, I needed to install:
lib32-glibc lib32-zlib lib32-fontconfig lib32-libstdc++5 lib32-mesa lib32-libxinerama lib32-libxft

I also installed lib32-intel-dri, not sure if that was needed though.

gtmanfred commented on 2012-09-19 01:29

http://sprunge.us/gAXO

this one actually has the md5sums

https works, if you have bound your email and password

otherwise the http should work if the _humblebundlekey will need to be exported

MadnessRed commented on 2012-09-19 01:28

I'm getting there with installing multilib packages, I'll post a list in a second...

gtmanfred commented on 2012-09-19 01:28

http://sprunge.us/PLgE

not sure if this works with the http link, but the https one where you bind it to an account does work

gtmanfred commented on 2012-09-19 01:20

instead of making extra functions in the PKGBUILD, please look at the pkgbuild for bastion from hibV, and see how I manipulated the DL_AGENTS array from makepkg.conf to automate downloading

hwkiller commented on 2012-09-19 01:12

+1 to MadnessRed.

I'm pretty sure 64bit arch installs won't work with this without some multilib involved.

MadnessRed commented on 2012-09-19 01:08

I'm getting an error regarding dependencies, perhaps these could be added to the dependencies in the pkgbuild. (It might be because I am using 64 bit though.)


* Installing dependencies.

One or more package dependencies could not be resolved. Details are given below.

core-libs-other:
Description: Other core system libraries.
Problem: Missing library: libm.so.6.
zlib:
Description: Zlib compression library.
Problem: Missing library: libz.so.1.
fontconfig:
Description: Library for configuring and customizing font access.
Problem: Missing library: libfontconfig.so.1.
libstdc++:
Description: C++ system library.
Problem: Missing library: libstdc++.so.6.
X11-core:
Description: Core X11 libraries.
Problem: Missing library: libXinerama.so.1.
Mesa:
Description: Mesa 3-D graphics library.
Problem: Missing library: libGL.so.1.
core-libs:
Description: Core system libraries.
Problem: Missing library: libc.so.6.

Please fix these issues now and rerun the installer.

MadnessRed commented on 2012-09-19 01:07

I'm getting a warning regarding dependencies when I try and install. perhaps, these could be added to the aur dependencies so they are all brought down together? (Running on 64bit which might also be the problem)