You are not logged in.

#1 2016-06-22 15:32:04

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

[request] opengl_test_drive_clone - OpenGL remake of CGA Test Drive

Hope someone could make this little game a PKGBUILD! smile I loved this when I was young.

Description:  OpenGL remake of CGA Test Drive
Homepage: https://github.com/capnramses/opengl_test_drive_clone

Readme:
######################
This is an OpenGL 4 remake of the CGA-version of 1987 IBM-Compatible game:

=================================>TEST DRIVE

My Computer Graphics students have to do a `game project' assignment, so I thought I'd do it too. I'll start a bit ahead of time because I think it's neat to see /how/ something like this can be made.

I chose Test Drive because it has some interesting elements in 2d and 3d, and bizarre colouring. I was also thinking of Battlezone for the Atari 2600, but there's plenty of remakes of that already.

Anton Gerdelan 16 Oct 2014
######################


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#2 2016-06-22 19:12:14

mis
Member
Registered: 2016-03-16
Posts: 234

Re: [request] opengl_test_drive_clone - OpenGL remake of CGA Test Drive

I'll see what I can do...

Offline

#3 2016-06-22 20:38:20

mis
Member
Registered: 2016-03-16
Posts: 234

Re: [request] opengl_test_drive_clone - OpenGL remake of CGA Test Drive

So, this is what i have.

pkgname=opengl-testdrive-clone-git
pkgver=r47.9c88405
pkgrel=1
pkgdesc="OpenGL remake of CGA Test Drive"
arch=('x86_64')
license=('GPL3')
url="https://github.com/capnramses/opengl_test_drive_clone"
#depends=()
makedepends=('clang')
source=("git+https://github.com/capnramses/opengl_test_drive_clone.git")
sha1sums=('SKIP')

pkgver() {
  cd opengl_test_drive_clone

  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}


prepare() {
  cd   opengl_test_drive_clone

  # game did not start otherwise on my machine
  sed -i 's|GLFW_CONTEXT_VERSION_MINOR,\ 2|GLFW_CONTEXT_VERSION_MINOR,\ 1|' src/gl_utils.c
}

build() {
  cd opengl_test_drive_clone

  LD_RUN_PATH=lib/linux_x86_64 \
  make -f Makefile.linux64
}

package() {
  cd opengl_test_drive_clone

  # TODO
}

The compiled binary is ./src/opengl_test_drive_clone/src/drive64

The game ships it's own libraries, so maybe the simplest would be to install it all under /opt

I'm not interested in finishing the PKGBUILD, maybe someone else is ...

Last edited by mis (2016-06-22 20:40:00)

Offline

Board footer

Powered by FluxBB