Tremulous Forum

Mods => Modding Center => Topic started by: israroot on July 12, 2007, 02:05:25 am

Title: Tutorial build game.qvm in Linux
Post by: israroot on July 12, 2007, 02:05:25 am
Necessary of a tutorial one of as to apply patchs and to construct to my proper game.qvm in linux
Title: Re: Tutorial build game.qvm in Linux
Post by: kevlarman on July 12, 2007, 02:08:25 am
Quote from: "israroot"
Necessary of a tutorial one of as to apply patchs and to construct to my personal game.qvm in linux
Code: [Select]
$ svn co -r<revision you want> svn://svn.icculus.org/tremulous/trunk <foldername>
patch -p0 < path/to/patch #some patches are -p1 or -p2
make
done
Title: Re: Tutorial build game.qvm in Linux
Post by: benmachine on July 12, 2007, 12:45:39 pm
Code: [Select]
$ svn co -r<revision you want> svn://svn.icculus.org/tremulous/trunk <foldername>
cd <foldername>
patch -p0 < path/to/patch #some patches are -p1 or -p2
make
fixed (trivial I know, but best to be sure)
Title: Re: Tutorial build game.qvm in Linux
Post by: doomagent13 on July 12, 2007, 03:49:19 pm
Quote from: "benmachine"
Code: [Select]
$ svn co -r<revision you want> svn://svn.icculus.org/tremulous/trunk <foldername>
cd <foldername>
patch -p0 < path/to/patch #some patches are -p1 or -p2
make
fixed (trivial I know, but best to be sure)
lol
I was think that exact same addition/change, but didnt want to get involved as I dont have linux
Title: Tutorial build game.qvm in Linux
Post by: israroot on July 12, 2007, 04:09:28 pm
It wanted a tutorial one step by step.
Making, explaining and commenting.
Nor all are programmers.
And exists people who you dom to teach.
Title: Tutorial build game.qvm in Linux
Post by: Ingar on July 12, 2007, 04:13:42 pm
Quote from: "israroot"
It wanted a tutorial one step by step.
Making, explaining and commenting.
Nor all are programmers.
And exists people who you dom to teach.


This should do:
http://tremulous.net/phpBB2/viewtopic.php?p=82905#82905
Title: Re: Tutorial build game.qvm in Linux
Post by: next_ghost on July 14, 2007, 06:47:15 pm
Quote from: "benmachine"
Code: [Select]
$ svn co -r<revision you want> svn://svn.icculus.org/tremulous/trunk <foldername>
cd <foldername>
patch -p0 < path/to/patch #some patches are -p1 or -p2
make


I'd add -F0 option to the patch command. That should lower the chance of broken code. You should also mention that if patch reports rejected chunk, the code is broken and requires fixing by hand, otherwise the resulting QVM (if it ever gets compiled) will behave strangely and may crash.
Title: Tutorial build game.qvm in Linux
Post by: israroot on July 15, 2007, 03:20:13 pm
patch -pF0 < path/to/patch ?
Title: Tutorial build game.qvm in Linux
Post by: next_ghost on July 15, 2007, 05:36:19 pm
Quote from: "israroot"
patch -pF0 < path/to/patch ?


patch -p0 -F0 < path/to/patch