Sunday, August 24, 2008

How to make a transparent watermark for ETPro with GIMP

If you don't have GIMP installed download it from here.

Lets convert the etpro logo into a watermark.

So open the logo and select the magic wand tool in GIMP.

Hold the shift key and select all of the black areas of the logo until they are all selected.


Click Edit and then Copy.

Next click File then New to open a new window.

Set the Image Size to 256 x 256 pixels.

Expand the Advanced Options and set the Fill with drop down menu to Transparency.

Click OK.

In the new window click Edit and then click Paste. Now we have the logo with a transparent backhround.


Now save the image as a .tga file.

Now we need to create a .pk3 file with the watermark in it that we can upload to our etpro server.

So, create a folder on the desktop called watermark. Open the watermark folder and create another folder, I will call mine pow. Open the pow folder and put your .tga file inside this folder. Mine is called pow.tga.

Now return to your desktop so that you can see the watermark folder. Select it and make it into a compressed zipped folder. Now change file file extension from watermark.zip to watermark.pk3.

Upload this .pk3 file to the etpro folder on your server.

The final step is to add the following line to server.cfg in the etpro folder on your server:

set b_watermark pow/pow

Here the first pow refers to the folder in our pk3 file and the second pow refers to the file name of our .tga file.

Reboot the server, and viola!

Saturday, August 23, 2008

Set up an ETPro server for testing on Ubuntu JeOS

Set up another Ubuntu JeOS ET virtual machine - this time with etpro installed. POW El Rey Ray sent me the ETL 3vs3, 4vs4, 6vs6 and STA 6vs6 configs and so I could test them before uploading them to the POW etpro server: et-pro.com:27961.

The virtual machine has 1.5Gb of dedicated HD space and 256Mb of RAM. A vanilla Ubuntu JeOS installation takes less than 300Mb of HD space and only uses 30Mb of RAM so running it for virtualization is sweet!

Also figured out etpto semiadmin which allows for the use of rcon commands without using the rcon password - very nice!

For example - create a file called etpro.cfg in the etpro folder:

//semi admin levels - 0 disables semiadmin. You can have up to 99 semiadmin levels. Here 1 states that there is one semiadmin logon

set b_semiadminlevels 1

//semi admin password. If we were defining a second semiadmin password then we would set a password for semiadminpass2, and so on through to semiadminpass99 if required.


set b_semiadminpass1 "password"

//semi admin commands - this defines which rcon commands the user of a given seminadmin password can execute. In this example, the ability to kick players.

set b_semiadmincmds1 "kick"

All that is left to do then is to add +exec etpro.cfg to the bash script that starts the server!

Wunderbar!

Saturday, August 2, 2008

Migrated My ET Jaymod Test Server to ESXi

My Promise SATA card arrived a few days ago and today I had time to put it in my server and install ESXi which is now available for free!

I installed VMWare Infrastructure Client which is free with ESXi on my XP machine and then downloaded the free version of VMWare Converter to migrate my virtual machines to ESX.

So the first machine that I migrated was my Ubuntu JeOS ET Jaymod test server.

For some reason eth0 did not show up after migration to ESXi and I later saw that eth1 was present and used that instead, so now my first virtual machine is up and running!


For those of you who are interested this is the (unsupported) hardware that I built the server from:

ASRock ALIVENF6G-VSTA AM2 NVidia 6100 Motherboard 1
AMD Athlon X2 BE-2400 Brisbane 2.3GHz 2
Intel Pro MT 1000 NIC 3
OCZ 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 800 (x2) 4
PROMISE SATA300 TX4 PCI SATA II Controller Card 5
Seagate Barracuda ES.2 ST3250310NS 250GB 7200 RPM SATA Hard Drive 6
SeaSonic S12 II SS-330GB ATX12V 330W Power Supply 7

It was well worth $60 for the Promise SATA card to avoid having to fool ESXi into using the onboard SATA controller.