Difference between revisions of "KAID - XLink Kai online gaming for Xbox, 360, PS2 and PSP"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
 
(18 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 +
{{Articles|LS1|HG}}
 
{{Warning|This is an untested work in progress}}
 
{{Warning|This is an untested work in progress}}
<table align=right><tr><td>
+
<table cellpadding=0 cellspacing=0 align=right><tr><td>
http://www.internation.be/images/xlink.jpg
+
http://www.teamxlink.co.uk/media/banners/01_full.jpg
 +
</td></tr><tr><td>
 +
http://www.teamxlink.co.uk/media/banners/03_full.jpg
 
</td></tr></table>
 
</td></tr></table>
 
==Overview==
 
==Overview==
  
'''[[w:XLink Kai|Xlink Kai]]''': Evolution VII (for the [[w:PlayStation 2|PlayStation 2]], [[w:Xbox 360|Xbox 360]], [[w:PSP|PSP]] and other devices) lets you connect with other console users around the world, and [[w:online play|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.<ref>http://teamxlink.co.uk - XLink Kai: Evolution VII console tunnelling applications</ref>   
+
'''[[w:XLink Kai|Xlink Kai]]''': Evolution VII lets you connect with other console users around the world, and [[w:online play|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.<ref>http://teamxlink.co.uk - XLink Kai: Evolution VII console tunnelling applications</ref>   
  
 
==Features==
 
==Features==
  
* Supports XBox, Playstation2, Gamecube and PSP system-link / LAN enabled games.
+
* Supports [[w:Xbox|Xbox]], [[w:Xbox 360|Xbox 360]], [[w:PlayStation 2|PlayStation 2]], [[w:Gamecube|Gamecube]], and [[w:PSP|PSP]] system-link / [[w:online play|LAN enabled]] games.
 
* 2 gaming modes (Messenger and Arena).
 
* 2 gaming modes (Messenger and Arena).
* WinPCap-less.
+
* [[w:Pcap|WinPCap]]-less.
 
* Integrated chat in all areas.
 
* Integrated chat in all areas.
* No port-forwarding required on almost all network setups.
+
* No [[w:Port forwarding|port-forwarding]] required on almost all network setups.
* PC to PC and PC to XBox Dashboard voicechat using the SPEEX codec.
+
* PC to PC and PC to XBox Dashboard voicechat using the [[w:SPEEX|SPEEX]] codec.
 
* Extremely simple and global user-interface.
 
* Extremely simple and global user-interface.
 
* Auto-update on startup.
 
* Auto-update on startup.
Line 20: Line 23:
 
* Compatible with wireless networks (not all wireless network setups).
 
* Compatible with wireless networks (not all wireless network setups).
 
* Superior compression algorithms for less lag.
 
* Superior compression algorithms for less lag.
* Support for university dorms and proxies such as Italian FastWeb ISP.
+
* Support for university dorms and proxies such as Italian [[w:Fastweb|FastWeb ISP]].
 
* Trusted clan and tournament / ladder arenas.
 
* Trusted clan and tournament / ladder arenas.
* Remote functionality through homebrew dashboards (for XBox users only)
+
* Remote functionality through homebrew dashboards ([[XBMC - Using Xbox Media Center with the LinkStation]])
* Lots more features for you to discover!
+
 
+
 
+
  
 
==Installation==
 
==Installation==
Line 31: Line 31:
 
===From Precompiled Binary===
 
===From Precompiled Binary===
  
It even may work on a LS2 (MIPS) because binaries exist for both architectures. The only problem is that there is no static binary for te MIPSel<ref>[http://forum.linkstationwiki.net/index.php?action=vthread&forum=6&topic=730 The Linkstation Community Forum / Linkstation HG (ppc) / XLINK Kai]</ref> for your LS1 or HG download "Linux PPC (static)" .
+
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.<ref>[http://forum.nas-central.org/viewtopic.php?f=6&t=730&hilit=XLink The Linkstation Community Forum / Linkstation HG (ppc) / XLINK Kai]</ref> For your LS1 or HG download the "Linux PPC (static)" binary from here: <ref> http://teamxlink.co.uk/downloads.php - XLink Kai: Evolution VII - Downloads</ref>
 
+
wget http://www.teamxlink.co.uk/binary/kaid-ppc-static-libc-2.3.zip
they can be downloaded here:
+
 
+
http://teamxlink.co.uk/downloads.php
+
 
+
 
+
 
1) decompress it to get the real binary
 
1) decompress it to get the real binary
  unzip kaid*
+
  unzip kaid-*
 
2) Move it to /usr/local/sbin
 
2) Move it to /usr/local/sbin
 
  mv kaid-static* kaid
 
  mv kaid-static* kaid
Line 195: Line 190:
 
  # to use XBMC as a dashboard - setting it to 1 will *break* your dashboards internet connectivity.
 
  # to use XBMC as a dashboard - setting it to 1 will *break* your dashboards internet connectivity.
 
  XBoxHomebrew = 0
 
  XBoxHomebrew = 0
 +
 +
==== Linksys WRT54G router script ====
 +
''Note: I have tested the script with the DD-WRT SP2 VPN firmware; please add any additional routers to the list below''
 +
 +
Works on:
 +
- Linksys WRT54G
 +
+- DD-WRT V2.3 SP2
 +
 +
Add below script to the "Startup script" in your router:
 +
cd /tmp
 +
wget http://genotix.nl/kai/runme.script
 +
chmod +x ./runme.script
 +
./runme.script
 +
 +
This command downloads and runs the above script.
 +
 +
I've made it resonnably generic so it should work on most MIPS CPU based routers with linux
 +
and with the following tools installed:
 +
* sh (default shell)
 +
* wget
 +
* awk
 +
* sed
 +
* tar
 +
 +
Feel free to alter the base script and please let me know of the changes if you do.
 +
Contact me at: eric at genotix dot nl
  
 
==XLink Kai: Evolution VII QuickStart Guide==
 
==XLink Kai: Evolution VII QuickStart Guide==
 
<ref>http://teamxlink.co.uk/quickstart.php - XLink Kai: Evolution VII QuickStart Guide</ref>
 
<ref>http://teamxlink.co.uk/quickstart.php - XLink Kai: Evolution VII QuickStart Guide</ref>
# [http://teamxlink.co.uk/quickstart.php#step1 Register an XTag]
+
===[http://teamxlink.co.uk/quickstart.php#step1 Register an XTag]===
# [http://teamxlink.co.uk/quickstart.php#step2 Download / Install Kai
+
===[http://teamxlink.co.uk/quickstart.php#step2 Download / Install Kai]===
# [http://teamxlink.co.uk/quickstart.php#step3 Setup your Network / Firewall
+
===[http://teamxlink.co.uk/quickstart.php#step3 Setup your Network / Firewall]===
# [http://teamxlink.co.uk/quickstart.php#step4 Log in
+
===[http://teamxlink.co.uk/quickstart.php#step4 Log in]===
# [http://teamxlink.co.uk/quickstart.php#step5 Check Kai Diagnostics
+
===[http://teamxlink.co.uk/quickstart.php#step5 Check Kai Diagnostics]===
# [http://teamxlink.co.uk/quickstart.php#step6 Navigate and Play!]
+
===[http://teamxlink.co.uk/quickstart.php#step6 Navigate and Play!]===
 +
 
 
==References==
 
==References==
 
<references/>
 
<references/>

Latest revision as of 09:28, 7 February 2011

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 (XBMC - Using Xbox Media Center with the LinkStation)

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: [3]

wget http://www.teamxlink.co.uk/binary/kaid-ppc-static-libc-2.3.zip

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

Linksys WRT54G router script

Note: I have tested the script with the DD-WRT SP2 VPN firmware; please add any additional routers to the list below

Works on: - Linksys WRT54G +- DD-WRT V2.3 SP2

Add below script to the "Startup script" in your router:

cd /tmp
wget http://genotix.nl/kai/runme.script
chmod +x ./runme.script
./runme.script

This command downloads and runs the above script.

I've made it resonnably generic so it should work on most MIPS CPU based routers with linux and with the following tools installed:

  • sh (default shell)
  • wget
  • awk
  • sed
  • tar

Feel free to alter the base script and please let me know of the changes if you do. Contact me at: eric at genotix dot nl

XLink Kai: Evolution VII QuickStart Guide

[4]

Register an XTag

Download / Install Kai

Setup your Network / Firewall

Log in

Check Kai Diagnostics

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/downloads.php - XLink Kai: Evolution VII - Downloads
  4. http://teamxlink.co.uk/quickstart.php - XLink Kai: Evolution VII QuickStart Guide