lfnetwork.com mark read register faq members calendar

Thread: Linux patch???
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 01-31-2004, 09:54 PM   #1
MasterSidious
Junior Member
 
MasterSidious's Avatar
 
Join Date: Oct 2003
Location: in game getting flamed and banned
Posts: 412
Linux patch???

I've got the linux .patch file in my codemp that I got thanks to dvoid's patch. But how do I execute the patch script under Linux? Also, how do I run make under Linux too? If there is a cmd line for such a thing, what is it?!

Thanks in advance.


FP>Sephious
67.15.20.187:29070 - FFA SO
67.15.21.115:29070 - CTF SO
67.15.18.232:29070 - Siege/FFA
Laming is tolerated
MasterSidious is offline   you may: quote & reply,
Old 02-01-2004, 03:48 PM   #2
MasterSidious
Junior Member
 
MasterSidious's Avatar
 
Join Date: Oct 2003
Location: in game getting flamed and banned
Posts: 412
Anyone ever have this problem?


FP>Sephious
67.15.20.187:29070 - FFA SO
67.15.21.115:29070 - CTF SO
67.15.18.232:29070 - Siege/FFA
Laming is tolerated
MasterSidious is offline   you may: quote & reply,
Old 02-02-2004, 12:35 PM   #3
[ONE]Mushroom
Rookie
 
[ONE]Mushroom's Avatar
 
Join Date: Nov 2003
Posts: 51
There are Windows version of Unix/Linux commands, including patch, here:

http://unxutils.sourceforge.net/

On either Windows or Linux the command you need to enter should be:

patch -p1 -i jamp_game-2.patch

(On Windows, either copy patch to your codemp dir, or include the path to patch in the command line)

To run make under Linux:

The patch should create a file called "Makefile" in the game directory. If you have added new files to your project, you will have to edit Makefile to include them in the list of OFILES (e.g. g_mynewfile.o)

Otherwise, change to the game directory and enter the command "make". A .so should appear.
[ONE]Mushroom is offline   you may: quote & reply,
Old 02-04-2004, 05:42 AM   #4
MasterSidious
Junior Member
 
MasterSidious's Avatar
 
Join Date: Oct 2003
Location: in game getting flamed and banned
Posts: 412
I downloaded the "UnxUtils.zip" from that url and I can't find where the .patch file is. Where is it?! I don't think I can really use it if it isn't even there

Please help me out What file do I need to download?

Also, how do you do this, "Otherwise, change to the game directory and enter the command "make". A .so should appear."?

I know, I'm a newbie, but I'm getting there

I hope.


FP>Sephious
67.15.20.187:29070 - FFA SO
67.15.21.115:29070 - CTF SO
67.15.18.232:29070 - Siege/FFA
Laming is tolerated

Last edited by MasterSidious; 02-04-2004 at 06:02 AM.
MasterSidious is offline   you may: quote & reply,
Old 02-04-2004, 05:22 PM   #5
[ONE]Mushroom
Rookie
 
[ONE]Mushroom's Avatar
 
Join Date: Nov 2003
Posts: 51
You could download this instead: http://homepage.mac.com/shadowboxer/unxutils.exe which will install automatically.

The program you need is patch.exe, with which you can appy jamp_game2.patch

However, I've just tried it, and it's not co-operating.

Opening up jamp_game2.patch in a text editor, reading through it and making the changes manually may be your best bet if you've already been editing the code.

Grab "Makefile" from Trimbo's universal SDK, and put it in codemp\game

If you have Linux (and if you're a coder and don't have Linux - WHY NOT? ), build your code by booting Linux, changing the directory to codemp/game and entering the command "make".

I've got to go now, but I may return to quarrel with patch.exe later.
[ONE]Mushroom is offline   you may: quote & reply,
Old 02-06-2004, 11:22 PM   #6
MasterSidious
Junior Member
 
MasterSidious's Avatar
 
Join Date: Oct 2003
Location: in game getting flamed and banned
Posts: 412
SO, I could just do this (using Windows XP Professional):
1. download Trimbo's universal sdk
2. unzip it
3. cut and paste the "Makefile" to my codemp/game directory
4. Compile my code like I normally would

And get a .so file of my mode in the codemp/game directory that would work in linux???

Is this what I have to do, if not please tell me EXACTALY what I have to do to make my server side mode a .so file.

Too bad I'm on a trip right now and can't test it

thanks in advance


FP>Sephious
67.15.20.187:29070 - FFA SO
67.15.21.115:29070 - CTF SO
67.15.18.232:29070 - Siege/FFA
Laming is tolerated
MasterSidious is offline   you may: quote & reply,
Old 02-07-2004, 02:34 AM   #7
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,176
Quote:
If you have Linux (and if you're a coder and don't have Linux - WHY NOT? ), build your code by booting Linux, changing the directory to codemp/game and entering the command "make".
Because I haven't seen a reason to yet. What does linux have that's worth dealing with dual boot for?


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 02-07-2004, 04:10 AM   #8
[ONE]Mushroom
Rookie
 
[ONE]Mushroom's Avatar
 
Join Date: Nov 2003
Posts: 51
Quote:
Because I haven't seen a reason to yet. What does linux have that's worth dealing with dual boot for?


We could have a Holy War here

Well, I personnally use Linux for...

Stability (granted, WinXP is a huge improvement)

The Bash shell - I find it particularly useful for coding, and of course scripting

Focus-Under-Mouse window managers (the need to have active windows on top in Windows REALLY annoys me)

A few nice GPL programs like GIMP

Better resource management (again, XP is an improvement - but is a memory hog)

The sheer joy of doodling at a low level with an OS

Security (how many Linux worms or viruses can you name?)

Obviously, Linux tends to excel in non-desktop roles, such as servers. I'm currently building a broadband firewall/router from a minimalist Linux distro.

Anyway, does this mean you need a volunteer to do Linux work for OJP?
[ONE]Mushroom is offline   you may: quote & reply,
Old 02-07-2004, 04:16 AM   #9
[ONE]Mushroom
Rookie
 
[ONE]Mushroom's Avatar
 
Join Date: Nov 2003
Posts: 51
Quote:
Originally posted by MasterSidious
SO, I could just do this (using Windows XP Professional):
1. download Trimbo's universal sdk
2. unzip it
3. cut and paste the "Makefile" to my codemp/game directory
4. Compile my code like I normally would

And get a .so file of my mode in the codemp/game directory that would work in linux???
You need to be using Linux when you compile.

I tell you what, if you email me your source (zipped please), I'll make a .so for you. I'll pm you my email address.
[ONE]Mushroom is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Coding > Linux patch???

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:02 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.