You are not logged in.

#1 2006-05-17 20:05:35

Jacek Poplawski
Member
From: Poland
Registered: 2006-01-10
Posts: 736
Website

[request] Maniadrive - Trackmania clone

Please check website: http://maniadrive.raydium.org/, looks awesome, could you make PKGBUILD for it? It would be nice to have it in community one day...

Offline

#2 2006-05-18 03:32:50

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [request] Maniadrive - Trackmania clone

Working on it...

Offline

#3 2006-05-24 11:35:54

Jacek Poplawski
Member
From: Poland
Registered: 2006-01-10
Posts: 736
Website

Re: [request] Maniadrive - Trackmania clone

...and? smile

Offline

#4 2006-05-24 18:06:54

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: [request] Maniadrive - Trackmania clone

Ya this game is tight.. making a pkgbuild for it right now wink
Update:
here you go
http://aur.archlinux.org/packages.php?d … =1&ID=5344 wink


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#5 2006-05-25 02:18:19

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [request] Maniadrive - Trackmania clone

I had some permission problems because it creates config files in the system directories. Then I got busy.  I had the intention of using a games group to fix the permission issues.
I just gave a quick look to russianpirate's PKGBUILD.  This week-end, I'll check it more carefully and will use it to see what I have missed and will post back an improved PKGBUILD. smile

Offline

#6 2006-05-25 04:29:35

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: [request] Maniadrive - Trackmania clone

ya i know the people who programmed it shouldve made it save the configs to home folder.. so i just made the game folder 777


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#7 2006-05-25 06:43:14

Jacek Poplawski
Member
From: Poland
Registered: 2006-01-10
Posts: 736
Website

Re: [request] Maniadrive - Trackmania clone

Thanks russianpirate, but your pkgbuild uses static binary, and the game is open source, why not build it from svn?

Offline

#8 2006-05-25 06:56:48

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [request] Maniadrive - Trackmania clone

I was also using the static binaries. They didn't release any stable source code tarball. I would guess that the static binaries are more stable than svn unless we checkout the code from the date the binaries were released.

Offline

#9 2006-05-25 13:39:47

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: [request] Maniadrive - Trackmania clone

ok ill try to find a good svn release.. hold on

ps: if you want it to be compiled then youre gonna need to install the data yourself

the svn IS very unstable and the versioning is not based on date.. so have fun tongue


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#10 2006-05-29 05:07:06

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [request] Maniadrive - Trackmania clone

Below is my improved PKGBUILD. The games group doen't work as I have hoped for. The problem is with the raydium.db file. From what I could see, It seems that it is deleted when the game is started and is recreated afterward. To solve that, I have given rw access to /usr/share/maniadrive to the games group. There's still a security issue but it's better than giving rw access to everyone.
I've also added the license, fixed depends and it installs in /usr/share (which is more in line with Arch's directory structure guideline.

@russianpirate: I can send you a tarball of the files. The forum migh affect their formatting. If you want to display a message about security risk, it should go in the .install file instead of the PKGBUILD.

pkgname=maniadrive
pkgver=1.01
pkgrel=2
pkgdesc="ManiaDrive is an arcade car game on acrobatic tracks, with a quick and nervous gameplay."
url="http://maniadrive.raydium.org/index.php/"
license=("GPL" "custom:CC2")
depends=('alsa-lib' 'mesa')
install=maniadrive.install
source=(http://dl.sourceforge.net/maniadrive/ManiaDrive-$pkgver-linux-i386.static-data.tar.gz license.html mania2 mania_drive mania_server)
md5sums=('460bdb11b7d922b467d223407c5e543c' '6cc83574a1eea778c8618dd7212bfb3a'
         'cb56700a23f446225f88b2d5a6e66ed6' '82dc669e30854ca987cf23ac46031062'
         '04b9d1b07d43f9d4546a3235b28c0032')

build() {
  cd $startdir/src/ManiaDrive-$pkgver-linux-i386.static-data
  install -d $startdir/pkg/usr/share/maniadrive
  cp -r game/* $startdir/pkg/usr/share/maniadrive
  install -D -m644 ../licence.html $startdir/pkg/usr/share/licenses/maniadrive/licence.html
  install -D -m755 ../mania2 $startdir/pkg/usr/bin/mania2
  install -D -m755 ../mania_drive $startdir/pkg/usr/bin/mania_drive
  install -D -m755 ../mania_server $startdir/pkg/usr/bin/mania_server

  cd $startdir/pkg/usr/share/maniadrive
  touch raydium_history mania.box mania.dat raydium.db mania_drive.state
  chown root:20 raydium_history mania.box mania.dat raydium.db mania_drive.state
  chmod 664 raydium_history mania.box mania.dat raydium.db mania_drive.state
  chmod 755 rayphp
  chmod 644 mania_creds.ogd mania_music/*
  chown root:20 $startdir/pkg/usr/share/maniadrive
  chmod 775 $startdir/pkg/usr/share/maniadrive
}

mania2

#!/bin/sh

cd /usr/share
maniadrive/mania2.static "$@"

mania_drive

#!/bin/sh

cd /usr/share
maniadrive/mania_drive.static "$@"

mania_server

#!/bin/sh

# RAYDIUM_NETWORK_ONLY apps does not support automatic chdir.
# Let's do it by hand.
cd /usr/share/maniadrive
./mania_server.static "$@"
cd ..

maniadrive.install

post_install() {
  getent group games > /dev/null || /usr/sbin/groupadd -g 20 games
cat <<EOF> To be able to save configs,
==> add your user to the games group:
==> # gpasswd -a USERNAME games
EOF
}

post_upgrade() {
  post_install $1
}

op=$1
shift

$op $*

license.html

<DOCTYPE>
<html>
<head>
<title>Creative Commons Legal Code</title>
<link>
<style>

li {
margin-bottom:12px;
}

</style>
</head>

<body>

<p><a>Creative Commons</a></p>



<div id="deed">
<div align="center"><img></div>


<p><b>Attribution 2.0</b></p>


<div class="text">


<div class="fineprint">
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL
SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON
AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE
INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
ITS USE.</div>




<p><em>License</em> </p>

<p>THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. </p>

<p>BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. </p>


<p><strong>1. Definitions</strong> </p>

<ol>
<li>
<strong>"Collective Work"</strong> means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.
</li>

<li>
<strong>"Derivative Work"</strong> means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License.</li>

<li>
<strong>"Licensor"</strong> means the individual or entity that offers the Work under the terms of this License.
</li>

<li>
<strong>"Original Author"</strong> means the individual or entity who created the Work.
</li>

<li>
<strong>"Work"</strong> means the copyrightable work of authorship offered under the terms of this License.
</li>

<li>
<strong>"You"</strong> means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
</li>
</ol>

<p><strong>2. Fair Use Rights.</strong> Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws. </p>


<p><strong>3. License Grant.</strong> Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: </p>


<ol>
<li>
to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;
</li>

<li>
to create and reproduce Derivative Works;
</li>

<li>
to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;

</li>

<li>
to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.
</li>

<li><p>For the avoidance of doubt, where the work is a musical composition:</p>

<ol>
<li><strong>Performance Royalties Under Blanket Licenses</strong>. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work.</li>

<li><strong>Mechanical Rights and Statutory Royalties</strong>. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).</li></ol></li>

<li><strong>Webcasting Rights and Statutory Royalties</strong>. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).</li>

</ol>


<p>The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.</p>

<p><strong>4. Restrictions.</strong>The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: </p>


<ol>
<li>
You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any reference to such Licensor or the Original Author, as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any reference to such Licensor or the Original Author, as requested.
</li>


<li>
If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and give the Original Author credit reasonable to the medium or means You are utilizing by conveying the name (or pseudonym if applicable) of the Original Author if supplied; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit.
</li>

</ol>






<p><strong>5. Representations, Warranties and Disclaimer</strong></p>

<p>UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.</p>


<p><strong>6. Limitation on Liability.</strong> EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. </p>

<p><strong>7. Termination</strong> </p>

<ol>

<li>
This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
</li>

<li>
Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
</li>
</ol>

<p><strong>8. Miscellaneous</strong> </p>

<ol>

<li>
Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
</li>

<li>
Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
</li>

<li>
If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
</li>

<li>
No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
</li>

<li>
This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
</li>
</ol>


<BREAKOUT>
<div class="fineprint">


<p>Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor. </p>


<p>Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time.</p>


<p>Creative Commons may be contacted at <a>http://creativecommons.org/</a>.</p>


</div>
<END>


</div>


<div align="right"><a>« Back to Commons Deed</a></div>

</div>
</body></html>

Offline

#11 2006-06-04 18:02:23

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: [request] Maniadrive - Trackmania clone

Okay sorry I didn't respond for so long, I'm gonna use your version and add you as a contributor smile

Thanks!


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#12 2006-09-01 14:34:58

z3ppelin
Member
Registered: 2006-07-10
Posts: 171

Re: [request] Maniadrive - Trackmania clone

could anybody update it to new maniadrive 1.2 version ?

Offline

#13 2006-09-01 15:14:54

Jacek Poplawski
Member
From: Poland
Registered: 2006-01-10
Posts: 736
Website

Re: [request] Maniadrive - Trackmania clone

I was able to make a PKGBUILD which compiles the game and I was able to start it, but I had no time to clean the files and put only needed files into install dir. If no one will create a PKGBUILD I will try to do it later.

Offline

Board footer

Powered by FluxBB