Author |
Message |
CrunchBite
Team XLink Developer
Joined: 28 Nov 2007
Posts: 2338
|
Posted:
Tue Aug 20, 2013 12:37 pm |
|
Hello everyone,
Lately I have been working on an updated version of the kai engine for linux that doesn't require a gui/desktop environment, in other words it can be run on a headless linux install
Limitations/Known bugs:
- OS Language is not auto detected
- May run forever even if the engine has an error
- Japanese character sets are not supported
The linux x86 version of the kai engine was compiled for CentOS 5 and has the following dependencies: linux-gate.so.1, libdl.so.2, librt.so.1, libstdc++.so.6, libm.so.6, libgcc_s.so.1, libpthread.so.0, libc.so.6, ld-linux.so.2
For 64bit debian systems install: libstdc++6:i386 libc6:i386
For 64bit RHEL systems install: libstdc++.i686 glibc.i686
The Raspberry Pi version is compiled for Raspbian "Wheezy 2013-07-26" and I haven't tested it for any other versions of linux on the pi.
Downloads are available on the main download page
Please submit bug reports here with as much detail as possible so I can try and reproduce them! |
Last edited by CrunchBite on Mon Jan 16, 2017 4:21 am; edited 6 times in total |
|
|
|
SgtLegend
TX Server Nerd
Joined: 27 Nov 2007
Posts: 5261
Location: Melbourne, AU
|
Posted:
Thu Aug 22, 2013 11:47 am |
|
Tested on a 100% stock raspberry PI with no issues, good work Crunch |
|
|
|
|
socom-gamer
Kai Beginner
Joined: 03 Jun 2013
Posts: 19
|
Posted:
Fri Aug 23, 2013 5:56 am |
|
Playstation 2 support restored. Nice work. |
|
|
|
|
karmic
Kai Regular
Joined: 02 Jan 2006
Posts: 172
|
Posted:
Tue Aug 27, 2013 3:51 pm |
|
Hello,
I'm testing 7.4.26-RC9-linux-x86 on Debian 7.1 with GW-US54Mini2 (rt73usb) and MHP3rd on PSP. About the relaying of packets of game's data, it seems to have no problem. Because other players appear in the online gathering hall on my PSP. But, about the processing of multibyte characters, it seems there are some problems.
1) When multibyte characters are entered in the chat input box of WebUI, nothing is displayed on the chat display area. For your information, it is correctly stored in the chat history of WebUI.
2) When strings containing Japanese are entered from kaiengine 7.4.26 for Windows, they always get garbled on WebUI and 7.4.26-RC9-linux-x86. There are two items, the chat display area and the description of private arena. As a supplemental information, in the case of kaiengine 7.4.18 linux-x86, strings containing Japanese (CP932) in WebUI is supported by the following commands. It is compatible with kaiengine 7.4.26 for Windows and kaiengine 7.4.18 for Mac OS X.
Code: |
$ sudo perl -p -e 's/kaiCodepage=0/kaiCodepage=932/g' kaiUserConfig.txt
$ sudo localedef -f WINDOWS-31J -i ja_JP ja_JP.SJIS
$ sudo LANG=ja_JP.SJIS kaiengine
|
With the points above considered, I think there is a high possibility that the cause of glitch can be found inside kaiengine 7.4.26-RC9-linux-x86. Have you removed or disabled the processing of multibyte characters? (e.g. encoding, decoding etc)
By the way, I have one more question. Do you have any plans for release kaiengine 7.4.26 for Mac OS X?
Thanks. |
_________________ XLinkKai on Linux ( http://www37.atwiki.jp/linux_kai/ ) |
|
|
|
CrunchBite
Team XLink Developer
Joined: 28 Nov 2007
Posts: 2338
|
Posted:
Tue Aug 27, 2013 9:06 pm |
|
The only language related changes I have made were to remove language auto-detection (It used libwx).
I'll look into the errors you outlined and see if I can fix them, its great to know PSP works!
With regards to an OSX version, sure! I just need to get a build environment set up.
EDIT: Working on osx build now. |
|
|
|
|
karmic
Kai Regular
Joined: 02 Jan 2006
Posts: 172
|
Posted:
Thu Aug 29, 2013 2:22 pm |
|
I've tested 7.4.26-RC9-linux-arm. It works on my Raspberry Pi. USB wireless adapter plugged into the powered USB hub attached to Raspberry Pi. The results are the same as 7.4.26-RC9-linux-x86. |
_________________ XLinkKai on Linux ( http://www37.atwiki.jp/linux_kai/ ) |
|
|
|
Dominator94
Kai Regular
Joined: 02 Jun 2012
Posts: 87
|
Posted:
Thu Aug 29, 2013 2:59 pm |
|
CrunchBite wrote: |
The only language related changes I have made were to remove language auto-detection (It used libwx).
I'll look into the errors you outlined and see if I can fix them, its great to know PSP works!
With regards to an OSX version, sure! I just need to get a build environment set up.
EDIT: Working on osx build now. |
Good work with the Linux version. Also happy to see you working on a OSX version.
Thanks for your work. |
|
|
|
|
karmic
Kai Regular
Joined: 02 Jan 2006
Posts: 172
|
Posted:
Sat Sep 07, 2013 12:10 am |
|
Hello CrunchBite,
I'm investigating the problem which string containing multibyte characters cannot input to the chat.
In the case of string containing only ascii characters, it works fine. http://www.mediafire.com/view/jmbzj5e8b523uwa/Screenshot1.png
In the case of string containing multibyte characters, it doesn't work. http://www.mediafire.com/view/8h0hvefelj1c8iu/Screenshot2.png
For the following processing in WebUI, there seems to be no reply from engine.
Code: |
In webui.zip
function sendChat(A)
{
...
if (engineVersion >= 459795) {
sendToEngine("KAI_CLIENT_CHAT " + A + " ")
}
else
... |
I'd like to watch the handling of kaiengine side.
Is there any good way to debug the communication processing between kaiengine-7.4.26-RC9-linux-* and WebUI?
Thanks |
_________________ XLinkKai on Linux ( http://www37.atwiki.jp/linux_kai/ ) |
|
|
|
MrSni
Kai Beginner
Joined: 18 Sep 2013
Posts: 3
|
Posted:
Wed Sep 18, 2013 3:48 pm |
|
Hi !
Works very nice on a ThinClient.
Many Thanks. |
|
|
|
|
boom_baby
Kai Beginner
Joined: 25 Feb 2014
Posts: 5
|
Posted:
Fri Feb 28, 2014 2:55 am |
|
I am running PCSX2 on Linux (with a simple port I made of the dev9ghz plugin). When capturing on my wireless interface with wireshark, I can see packets originating from a PS2 MAC and broadcast to FF:FF:FF:FF:FF:FF but I see no response at all. People have told me that they are not seeing my broadcast packets on their end. It leads me to believe that Kai is not correctly capturing and forwarding these packets to them. The Windows version works -- is the source code available for the Linux version?
Edit: I tried my laptop, which has kernel 3.12 and the iwl4965 module and it works. There seems to be an issue with the wireless adapter in my desktop, where I'm running kernel 3.13 and r8712u module. On my windows machine, that adapter works fine so I'll try loading the windows driver in Linux with Ndiswrapper. |
|
|
|
|
CrunchBite
Team XLink Developer
Joined: 28 Nov 2007
Posts: 2338
|
Posted:
Sun Apr 13, 2014 3:02 pm |
|
|
|
|
karmic
Kai Regular
Joined: 02 Jan 2006
Posts: 172
|
Posted:
Sat Apr 19, 2014 5:40 pm |
|
|
|
|
blukenguyen
Kai Beginner
Joined: 07 Feb 2013
Posts: 2
|
Posted:
Sun May 25, 2014 6:37 am |
|
Anyone have a guild how to use this with psp or not ? All the guild are for windows, don't have a headless. I have Pi and Nintendo Wi-Fi USB Connector.
My Pi run Debian. |
|
|
|
|
karmic
Kai Regular
Joined: 02 Jan 2006
Posts: 172
|
Posted:
Sun May 25, 2014 3:09 pm |
|
|
|
|
karmic
Kai Regular
Joined: 02 Jan 2006
Posts: 172
|
Posted:
Sat May 31, 2014 5:57 am |
|
|
|
|
westc0ast
Kai Beginner
Joined: 07 Apr 2015
Posts: 8
|
Posted:
Thu Apr 23, 2015 8:48 pm |
|
Final got this working on headless pi. Thanks |
|
|
|
|
TheDominator-
Team XLink Moderator
Joined: 25 Feb 2015
Posts: 120
|
Posted:
Thu Dec 10, 2015 12:28 am |
|
I want to make a suggestion about the configuration files. I was thinking instead of creating them from when the application is started from if instead stored the configuration files in side the user's home directory inside a folder like as an example .kaiengine. |
|
|
|
|
CrunchBite
Team XLink Developer
Joined: 28 Nov 2007
Posts: 2338
|
Posted:
Tue Jan 12, 2016 7:32 pm |
|
TheDominator- wrote: |
I want to make a suggestion about the configuration files. I was thinking instead of creating them from when the application is started from if instead stored the configuration files in side the user's home directory inside a folder like as an example .kaiengine. |
I'm getting my build environment going again and I'll try to add this feature.
EDIT: Just got this working, new build coming soon. |
|
|
|
|
CrunchBite
Team XLink Developer
Joined: 28 Nov 2007
Posts: 2338
|
Posted:
Sun Jan 31, 2016 8:08 am |
|
CrunchBite wrote: |
TheDominator- wrote: |
I want to make a suggestion about the configuration files. I was thinking instead of creating them from when the application is started from if instead stored the configuration files in side the user's home directory inside a folder like as an example .kaiengine. |
I'm getting my build environment going again and I'll try to add this feature.
EDIT: Just got this working, new build coming soon. |
New pi build is out and this feature is added. Please see the readme for the changes. |
|
|
|
|
westc0ast
Kai Beginner
Joined: 07 Apr 2015
Posts: 8
|
Posted:
Sun Jan 31, 2016 7:32 pm |
|
i have a pi running weezy and xlink .28. how do i update?
is there a benafit in updating?
i get this error
pi@raspberrypi ~ $ cd ~/kai; sudo ./kaiengine
Config directory: /root/.xlink/
Initializing XLink Kai engine...
Error opening sqlite database /root/.xlink/kai.dat: 14 |
|
|
|
|
|