KAID - XLink Kai online gaming for Xbox, 360, PS2 and PSP

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 17:56, 10 August 2006 by Ramuk (Talk | contribs)

Jump to: navigation, search
Nuvola apps important.png 
WARNING!

This is an untested work in progress


01_full.jpg

03_full.jpg

Contents

Overview

Xlink Kai: Evolution VII lets you connect with other console users around the world, and play online games for free. XLink Kai: Evo VII tricks your console into thinking that the other users it is connecting to over the Internet, are actually part of a Local Area Network. This is the basis of system-link gaming, where friends would gather around in the same house and play over 2 or more consoles. With XLink Kai: Evo VII, you now have the option to test your skills out with anybody in the world.[1]

Features

  • Supports Xbox, Xbox 360, PlayStation 2, Gamecube, and PSP system-link / LAN enabled games.
  • 2 gaming modes (Messenger and Arena).
  • WinPCap-less.
  • Integrated chat in all areas.
  • No port-forwarding required on almost all network setups.
  • PC to PC and PC to XBox Dashboard voicechat using the SPEEX codec.
  • Extremely simple and global user-interface.
  • Auto-update on startup.
  • Multi-console compatible.
  • Compatible with wireless networks (not all wireless network setups).
  • Superior compression algorithms for less lag.
  • Support for university dorms and proxies such as Italian FastWeb ISP.
  • Trusted clan and tournament / ladder arenas.
  • Remote functionality through homebrew dashboards (for XBox users only)

Installation

From Precompiled Binary

It even may work on a LS2 (MIPSel) because binaries exist for both architectures. The only problem is that there is no static binary for the MIPSel.[2] For your LS1 or HG download the "Linux PPC (static)" binary from here:

http://teamxlink.co.uk/downloads.php

1) decompress it to get the real binary

unzip kaid*

2) Move it to /usr/local/sbin

mv kaid-static* kaid
mv kaid /usr/local/sbin
chmod 755 /usr/local/sbin/kaid

Compiling from source

can someone place proper instructions in here for this?


http://texas.teamxlink.co.uk/forum/viewtopic.php?t=12396&sid=99495cf5a5e93864a5520a9d813af5b5

There is a link for the kaid sources in there. Or you can find it here :

http://www.teamxlink.co.uk/binary/


Scripts and configuration files

/etc/init.d/kaid

#! /bin/sh
export USER="root"
NAME=kaid
start()
{
mkdir /var/misc
touch /var/misc/kaiSystemConfig.txt
touch /var/misc/kaiEnginePersist.txt
chmod ugo+w /var/misc/kaiSystemConfig.txt
chmod ugo+w /var/misc/kaiEnginePersist.txt
su - $USER -c"kaid"
}
stop()
{
su - $USER -c"killall kaid"
}
case "$1" in
start)
echo -n "Starting Kaid: "
start
;;
stop)
echo -n "Stopping Kaid "
stop
;;
restart)
echo -n "Restarting Kaid "
stop
start
;;
*)
echo "Usage: /etc/init.d/$NAME {start|stop|restart}"
exit 1
;;
esac
exit 0

Create a symbolic link to start kaid at every reboot and kill it at every shutdown automaticly:

chmod 755 /etc/init.d/kaid  
ln -s /etc/init.d/kaid /etc/rc.d/rc0.d/K99kaid
ln -s /etc/init.d/kaid /etc/rc.d/rc2.d/S99kaid
ln -s /etc/init.d/kaid /etc/rc.d/rc6.d/K99kaid

/etc/kaid.conf

you only have to put in your username/password and copy it to /etc/kaid.conf

################################################################################
# Kai Engine Configuration File (7.0.0.6-a)
#
# This file contains the configuration options for Kai Engine.
# There are some fields which can be modified, the descriptions of these fields
# and their default values are listed below
#
#
# Verbosity : Debug output verbosity. Options are as follows:
# 0 - Silent apart from starting / stopping messages, and init failures.
# 1 - As 1, but shows import events such as UI attach/detach, console detection,
# orb connection / loss.
# 2 - As 2, but more detailed, showing thread start/stop events, DHCP
# events, and other important information.
# 3 - Debug - same as 2, but with lots of extra information - useful
# for diagnosing segfaults etc.
Verbosity = 1
#
# User : Specifies which system user to switch to after having
# allocated necessary privileged resources. (FreeBSD Only!)
User = daemon
#
# UIBind : Specifies which ip/port kaid will use to listen for controller
# UIs. You don't want to change this.
UIBind = :34522
#
# OrbPort : Specifies which port kaid will use to probe(UDP) and talk to
# Orbitals (TCP) . You don't want to change this.
OrbPort = 34525
#
# OrbDeepPort : Specified which port kaid will use to probe and talk to
# deep resolution servers. You don't want to change this.
OrbDeepPort = 34523
#
# EngineBind : Specifies the IP:port to listen for the engine (UDP socket);
# (port should be forwarded in your router if using NAT)
# Ex.: 69.69.69.69, 69.69.69.69:37500, :37500
EngineBind = :0
#
# EngineDeepBind : Specifies the IP:port to listen for the engine (deep resolution)
# Do not enable this unless directed to.
# EngineDeepBind must be a different port than EngineBind if
# they use the same IP address
# Ex.: 69.69.69.69, 69.69.69.69:37501, :37501
EngineDeepBind = :0
#
# Engine PAT : Tells the orbital server to use your perceived UDP port, as opposed to the
# one specified in EngineBind. Ignored if EngineBind is 0. Please don't turn this
# setting to 1, unless directed to do so in a troubleshooting session.
EnginePAT = 0
#
# SniffDevice : NIC to sniff for console traffic (eth0, ethX, ...). Will be used
# for packet injection too.
# Ex.: eth0 (default), en0 (Mac OSX), br0 (WRT54G)
SniffDevice = eth0
#
# LocalDevices : How many consoles to detect before the engine locks the pcap filter. Setting this to 0,
# means the engine will never lock - which means you can use any number of consoles, but
# you will notice a performance hit, if your network is busy with other traffic. The best
# thing to do here is to set the number to the number of consoles you own - that's why it
# defaults to 1 - because most people have just 1 console.
LocalDevices = 1
#
# ConfigURL : URL where orb list is published (and extra stuff) - best not to mess with this.
ConfigURL = www.teamxlink.co.uk/connector/clientgetconfig.php
#
# ConfigCache : Location of cached orb list - this file is used if the ConfigURL is inaccessible
# Make sure this file is writable. WRT54G users might want to change it to a non-volatile
# location if that feature is available in their firmware
# (i.e. /jffs/tmp/ for DD-WRT, /usr/local/ for Sveasoft)
ConfigCache = /var/misc/kaiSystemConfig.txt
#
# CacheFile : Location of Kai engine cache information
# Make sure this file is writable. WRT54G users might want to change it to a non-volatile
# location if that feature is available in their firmware
# (i.e. /jffs/tmp/ for DD-WRT, /usr/local/ for Sveasoft)
CacheFile = /var/misc/kaiEnginePersist.txt
#
#Authentication : Set username and password and AutoLogin=1 for an easy life...
Username =XXXXXXXXX
Password =XXXXXXXXX
AutoLogin = 1
#
# Xbox DHCP setting : Please leave alone, unless playing with emulators or DoomX etc. You DO NOT need this set to 1
# to use XBMC as a dashboard - setting it to 1 will *break* your dashboards internet connectivity.
XBoxHomebrew = 0

XLink Kai: Evolution VII QuickStart Guide

[3]

  1. Register an XTag
  2. Download / Install Kai
  3. Setup your Network / Firewall
  4. Log in
  5. Check Kai Diagnostics
  6. Navigate and Play!

References

  1. http://teamxlink.co.uk - XLink Kai: Evolution VII console tunnelling applications
  2. The Linkstation Community Forum / Linkstation HG (ppc) / XLINK Kai
  3. http://teamxlink.co.uk/quickstart.php - XLink Kai: Evolution VII QuickStart Guide