compiling pig sty patch on windows & ubuntu

For all the help you need with Armagetron!
User avatar
Jsm 588
On Lightcycle Grid
Posts: 29
Joined: Tue Dec 09, 2008 3:51 am

Re: compiling pig sty patch on windows & ubuntu

Post by Jsm 588 »

Ok, thanks guys. it works.

Sadly..I found out today that other operating systems are not to be installed on school laptops...which is extremely stupid, I'm not asking them to do anything with it..but anyways tommorrow my computer gets reimaged =( so I have today to back up my stuff. I guess I have to wait till summer..and then I gotta do it again =( but I'm glad it works =D thanks for the help everyone.

I don't even know why we cant install other operating systems..and I didnt even partition my disk...wow I was so mad today =( but now I'm just sad

I signed some use policy for the laptop so I gotta listen to them. Sheesh..I liked Ubuntu..and our home computers were too slow to install ubuntu(not enought RAM on one, other one was encrypted and it was a pain)

thanks
a very sad eggs=(
Thanks
Jsm 588
--------- ---------
----------------------- = -----------------------
--------- ---------
Fav server: Delicious Deserts Racing II
The best thing about Ubuntu: When you force quit something..it actually force quits!!!
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Re: compiling pig sty patch on windows & ubuntu

Post by Infa(mous) »

Looks like you'll have to stick with my ol' sty for windows build. Anyways, your home computers can't possibly be too slow for ubuntu. Even if they are, I believe that Xubuntu is an official derivative made for slower computers.
Ah. A little while back, I made a new sty build as well. Here.
-Infamous
Different55
Posts: 7
Joined: Fri Feb 19, 2010 3:59 am

Re:

Post by Different55 »

kyle wrote:you got it the first time
so you need to enter the "0.2.8-armagetronad-sty" directory
this version is already patched also so them you run
./bootstrap.sh
if no errors then you can list the configuration options
./configure --help
then run ./configure with the settings you picked probably something like
./configure --disable-glout
you may also want to set --enable-armathentication --prefix /path/to/install/location
if no errors then it is time to build
make && make install
I know I'm bringing something back that's been dead for a year (not to good for a first post >_< ) but how do I tell it to open this? It won't recognize "." as a command. I didn't understand any of the answers and I'm also using windows xp. I'm good with computers but I don't get it. Could you give a step-by-step for this?
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: compiling pig sty patch on windows & ubuntu

Post by Z-Man »

You qouted the instructions for Ubuntu. For Windows, look here: http://wiki.armagetronad.net/index.php? ... evelopment
Different55
Posts: 7
Joined: Fri Feb 19, 2010 3:59 am

Re: compiling pig sty patch on windows & ubuntu

Post by Different55 »

Z-Man wrote:You qouted the instructions for Ubuntu. For Windows, look here: http://wiki.armagetronad.net/index.php? ... evelopment
unfortunately, this is one of the things I saw but didn't get what it was telling me to do :/ Can someone tell me what the instructions are? In the meantime, I'll try again and edit if it works.
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Re: compiling pig sty patch on windows & ubuntu

Post by Infa(mous) »

Branch the 0.2.8 branch, the 0.2.8 winlibs, and the 0.2.8 codeblocks-build-work or whatever its called, then put them all in the same folder. Name the 0.2.8 branch "armagetronad", the winlibs "winlibs". Then go into the codeblocks-build-work folder and open the Armagetron.workspace in codeblocks. Change the build targets all to release, since you're not building a debug build (I assume). Then if you're compiling a dedicated, first build ZThread, then Dedicated. If you're compiling a client, compile everything except Dedicated and Master in order. You can copy the executable into an old install of the dedicated or client and run it from there. Or, once the executable is all made, you can go to the codeblocks-build-work folder and run make_dist.bat, then go to the folder with the newly made distribution in it and run armagetron_dedicated.nsi or armagetron_client.nsi (you have to have NSIS) depending on which executable you built. Then you'll have an installer for the game.
-Infamous
Different55
Posts: 7
Joined: Fri Feb 19, 2010 3:59 am

Re: compiling pig sty patch on windows & ubuntu

Post by Different55 »

Infa(mous) wrote:Branch the 0.2.8 branch, the 0.2.8 winlibs, and the 0.2.8 codeblocks-build-work or whatever its called, then put them all in the same folder. Name the 0.2.8 branch "armagetronad", the winlibs "winlibs". Then go into the codeblocks-build-work folder and open the Armagetron.workspace in codeblocks. Change the build targets all to release, since you're not building a debug build (I assume). Then if you're compiling a dedicated, first build ZThread, then Dedicated. If you're compiling a client, compile everything except Dedicated and Master in order. You can copy the executable into an old install of the dedicated or client and run it from there. Or, once the executable is all made, you can go to the codeblocks-build-work folder and run make_dist.bat, then go to the folder with the newly made distribution in it and run armagetron_dedicated.nsi or armagetron_client.nsi (you have to have NSIS) depending on which executable you built. Then you'll have an installer for the game.
I'm good with computers, but I'm still a kid. It would be GREATLY appreciated if you could give links to the branches and show the commands. And you said then I'll have an installer for the game? Then why not just upload the installer to the internet and have everyone download that?
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: compiling pig sty patch on windows & ubuntu

Post by Z-Man »

Different55 wrote:Then why not just upload the installer to the internet and have everyone download that?
Because it's an unsupported hack branch. I already spend roughly 20% or so of my AA time building regular test builds.
Different55
Posts: 7
Joined: Fri Feb 19, 2010 3:59 am

Re: compiling pig sty patch on windows & ubuntu

Post by Different55 »

Okay I understand that but I still don't get how to get the pig sty patch on my game and on my dedicate server.
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: compiling pig sty patch on windows & ubuntu

Post by Z-Man »

That wiki page is still our best resource. If you want to help us improve it by telling us what specifically you don't understand, please do. However, we won't hold your hand. Running any server well is a difficult task, and we leave small roadblocks in the early steps on purpose to weed out unworthy admins. Sty compilation on Windows is, admittedly, our biggest roadblock, but also the one the fewest people have to face. You may want to consider switching your server over to Linux where things are a lot easier.
User avatar
compguygene
Adjust Outside Corner Grinder
Posts: 2346
Joined: Thu Aug 21, 2008 12:09 pm
Location: Cleveland, Ohio
Contact:

Re: compiling pig sty patch on windows & ubuntu

Post by compguygene »

I will tell you from my experience running servers on 3 dedicated servers I rent, a Virtual Private server, and building servers on a home machine to test, I have found that it is so much easier of a process on a Ubuntu/Debian distro than windows, that it is not worth the hassle to do a windows build. I would highly recommend hosting servers on an Ubuntu distro. You have the added benefit of being able to easily host more than one server. Also, if you don't want to put an Ubuntu distro on your regular home pc, I can tell you that Armagetron's resource requirements to run a dedicated server are rather light. If you can get ahold of an older pc that has as little as 512MB ram, you could put an Ubuntu distro on it and use it pretty much just to run servers. You could even run such a system without a monitor and use putty on Windows to connect to it and manage it.
Armagetron: It's a video game that people should just play and enjoy :)
https://bit.ly/2KBGYjvCheck out the simple site about TheServerPharm
Different55
Posts: 7
Joined: Fri Feb 19, 2010 3:59 am

Re: compiling pig sty patch on windows & ubuntu

Post by Different55 »

Z-Man wrote:That wiki page is still our best resource. If you want to help us improve it by telling us what specifically you don't understand, please do. However, we won't hold your hand. Running any server well is a difficult task, and we leave small roadblocks in the early steps on purpose to weed out unworthy admins. Sty compilation on Windows is, admittedly, our biggest roadblock, but also the one the fewest people have to face. You may want to consider switching your server over to Linux where things are a lot easier.
What's the command on windows for ./bootstrap.sh and how come when I put in \bootstrap.sh it opened but not in bazaar (it gave me a popup asking me what to do with it.) And I don't expect anyone to hold my hand. :x
compguygene wrote:Also, if you don't want to put an Ubuntu distro on your regular home pc, I can tell you that Armagetron's resource requirements to run a dedicated server are rather light. If you can get ahold of an older pc that has as little as 512MB ram, you could put an Ubuntu distro on it and use it pretty much just to run servers. You could even run such a system without a monitor and use putty on Windows to connect to it and manage it.
You think a 7yr old computer with no:
  • Hard Drive
  • CPU
  • Heat Sink
  • RAM
  • Peripherals of any kind
  • CD drive
from when I took it apart would work? :mrgreen:
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: compiling pig sty patch on windows & ubuntu

Post by Z-Man »

Different55 wrote:What's the command on windows for ./bootstrap.sh and how come when I put in \bootstrap.sh it opened but not in bazaar (it gave me a popup asking me what to do with it.) And I don't expect anyone to hold my hand. :x
You don't do anything with it at all, unless you want to go down the cygwin road, which nobody has ever successfully done to my knowledge. You get code::blocks and our code::blocks build files, and alongside the workspace and project files, there's a makedist.bat batch file. That's the one to call.
User avatar
compguygene
Adjust Outside Corner Grinder
Posts: 2346
Joined: Thu Aug 21, 2008 12:09 pm
Location: Cleveland, Ohio
Contact:

Re: compiling pig sty patch on windows & ubuntu

Post by compguygene »

Different55 wrote:
compguygene wrote:Also, if you don't want to put an Ubuntu distro on your regular home pc, I can tell you that Armagetron's resource requirements to run a dedicated server are rather light. If you can get ahold of an older pc that has as little as 512MB ram, you could put an Ubuntu distro on it and use it pretty much just to run servers. You could even run such a system without a monitor and use putty on Windows to connect to it and manage it.
You think a 7yr old computer with no:
  • Hard Drive
  • CPU
  • Heat Sink
  • RAM
  • Peripherals of any kind
  • CD drive
from when I took it apart would work? :mrgreen:
You need a Hard Disk, RAM, and CPU! LOL!

I am saying you might be able to scrounge an old computer up from a friend, or buy an old one on the cheap. I have seen a number of old computers in the $50 range, with a working monitor that would work. For extra cash, I fix up old pc's that a friend of my finds so he can sell them, and we both get a little cash.
Armagetron: It's a video game that people should just play and enjoy :)
https://bit.ly/2KBGYjvCheck out the simple site about TheServerPharm
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Re: compiling pig sty patch on windows & ubuntu

Post by Infa(mous) »

@Different55 - If you wanted a prebuilt pigsty branch, why didn't you ask for one instead of asking how to compile one? :P
http://remissong.org/ArmaBuilds/armaget ... .win32.exe
-Infamous
Post Reply