webOS Nation Forums >  Homebrew >  WebOS Internals > WebOS Chess (real Chess)
WebOS Chess (real Chess)

  Reply
 
LinkBack Thread Tools Display Modes
Old 05/22/2010, 08:57 AM   #1 (permalink)
Member
 
rboatright's Avatar
 
Join Date: Jun 2009
Location: topeka, ks
Posts: 550
Likes Received: 0
Thanks: 4
Thanked 188 Times in 90 Posts
Default WebOS Chess (real Chess)

In the homebrew app feed, you will soon find Mathias Eck's new WebOS Chess. This is in no way related to the previous javascript chess engines. It's a real binary chess app running either the StockFish or Glaurung chess engines with a javascript user interface.

http://www.precentral.net/homebrew-apps/advanced-chess

Source code is on the Webos-Internals git repository.

Support and questions here.





YOU MUST INSTALL THE PDK for advanced chess to run.

The libraries are not yet built into the OS.

Advanced Chess is a chess app by Mathias Eck. It is currently using the Stockfish or Glaurung chess engines, and has a compressed opening book. This is in no way related to the other javascript "Pre Chess" app. It's a real binary chess engine with a javascript user interface. Source code can be found on the webos-internals git site. This app requires an advanced installer (Preware or WebOS Quick Install ) It will not run if you use the SDK installer, since the "post install" scripts do not get run.

0.0.7 now drops the download size to less than 0.5 meg.

If you want to download the 10 meg opening book, you can do so from the prefs page.

Release-Notes

0.0.5 First PDK-Version
  • FEN-Generation
  • Plugin Integration
  • Polyglot/Engine communication via shared memory
  • Heartbeat monitoring between Polyglot/Engine
  • Preference Screen
  • Invert Board
0.0.6
  • pawn double move fixed
  • 'New Game'
0.0.7
en passent fixed
Save actual game to database and reload at start
Download Opening Book from git
YOU MUST INSTALL THE PDK for advanced chess to run.

The libraries are not yet built into the OS.

NOTE

A future release of webOS (something after 1.4.1) will have the PDK stuff already installed.

However, PDK beta testers have learned that the future version of webos changes the names of the functions one calls in the PDK.

Therefore, when that webOS update comes out, we will have to (quickly) post a new version of Chess for the new version of the PDK files.

This version will break until you update.

Nothing we can do to avoid that. If you choose to wait I will understand.


Rick Boatright
__________________
Rick_
http://www.webos-internals.org
http://www.1632.org

Last edited by rboatright; 06/01/2010 at 10:42 AM.
rboatright is offline   Reply With Quote
Old 05/25/2010, 07:31 AM   #2 (permalink)
Member
 
Join Date: May 2010
Posts: 2
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This sounds great - but I am having trouble:

I've installed via preware, but I can't get beyond the first move: I make my move, and then - nothing.

The settings are default - pre plays black, 4 sec move time.

Have I missed something obvious?
wexdan is offline   Reply With Quote
Old 05/25/2010, 08:09 AM   #3 (permalink)
Member
 
rboatright's Avatar
 
Join Date: Jun 2009
Location: topeka, ks
Posts: 550
Likes Received: 0
Thanks: 4
Thanked 188 Times in 90 Posts
Default

You MUST install the pdk for advanced chess to run as of May 2010. The current version of webOS does not have the PDK libraries in it yet.

So, for now, you must install the PDK or the engine won't start.

To run PDK apps it is necessary to install the PDK libaries.For that you have to enable developer-mode download the PalmPDK.exe and start the pdk-device-install.bat script.

(Hopefully the libaries will part of the 1.4.5 WebOS).

http://developer.palm.com/index.php?...973&Itemid=336

After this, the start of prechess should launch to plugins:
__________________
Rick_
http://www.webos-internals.org
http://www.1632.org
rboatright is offline   Reply With Quote
Old 05/25/2010, 08:37 AM   #4 (permalink)
Member
 
joedisaster's Avatar
 
Join Date: Aug 2009
Location: Delray Beach, Florida
Posts: 408
Likes Received: 21
Thanks: 87
Thanked 27 Times in 24 Posts
Default

I was wondering... Would I have to then remove this pdk library before an update. Will there b difficulty settings? Trainers?
joedisaster is offline   Reply With Quote
Old 05/25/2010, 09:35 AM   #5 (permalink)
Member
 
Join Date: Dec 2009
Posts: 16
Likes Received: 0
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
Would I have to then remove this pdk library before an update
I had no problems by the update from 1.4.0 to 1.4.1.

Quote:
Will there b difficulty settings? Trainers?
At the moment there are only time per move settings.
And i think that on the 2 second option the ELO is
still about 1800 ELO and the real thinking time is lower then
0.5 seconds.
To have e weaker opponent i will integrate later fruit and toga-engine.

Trainers are not planed yet.

Regards,
Mathias
freibauer is offline   Reply With Quote
Old 05/26/2010, 09:43 AM   #6 (permalink)
Member
 
Join Date: Jun 2009
Posts: 784
Likes Received: 13
Thanks: 26
Thanked 96 Times in 76 Posts
Default

Any screenshots of the new chess engine?
Klownicle is offline   Reply With Quote
Old 05/26/2010, 08:58 PM   #7 (permalink)
Member
 
Join Date: Jul 2005
Location: San Diego
Posts: 958
Likes Received: 0
Thanks: 121
Thanked 44 Times in 39 Posts
Default

So you have to doctor to 1.4.0 to install the PDK?
Dr.Grace is offline   Reply With Quote
Old 05/27/2010, 08:16 AM   #8 (permalink)
Member
 
Join Date: Dec 2009
Posts: 16
Likes Received: 0
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
So you have to doctor to 1.4.0 to install the PDK?
The script "pdk-device-install.bat" included in the PalmPDK.exe
will work also with 1.4.1.

The coming 1.4.5 will have the libaries out of the box.
The version will jump to 0.1.0 and will not backward
compatible.

Regards,
Mathias
freibauer is offline   Reply With Quote
Old 05/27/2010, 12:05 PM   #9 (permalink)
Member
 
Join Date: Jul 2005
Location: San Diego
Posts: 958
Likes Received: 0
Thanks: 121
Thanked 44 Times in 39 Posts
Default

What about the Mac? Can't run .exe or .bat apps.
Dr.Grace is offline   Reply With Quote
Old 05/27/2010, 01:54 PM   #10 (permalink)
Member
 
rboatright's Avatar
 
Join Date: Jun 2009
Location: topeka, ks
Posts: 550
Likes Received: 0
Thanks: 4
Thanked 188 Times in 90 Posts
Default

The pdk comes with mac install instructions.

Visit the site linked above.

Screenshots are on the listing of the app at http://www.precentral.net/homebrew-apps/advanced-chess
__________________
Rick_
http://www.webos-internals.org
http://www.1632.org
rboatright is offline   Reply With Quote
Old 05/27/2010, 01:59 PM   #11 (permalink)
Member
 
rboatright's Avatar
 
Join Date: Jun 2009
Location: topeka, ks
Posts: 550
Likes Received: 0
Thanks: 4
Thanked 188 Times in 90 Posts
Default Future looking information

A future release of webOS will have the PDK stuff already installed.

However, PDK beta testers have learned that the future version of webos changes the names of the functions one calls in the PDK.

Therefore, when that webOS update comes out, we will have to (quickly) post a new version of Chess for the new version of the PDK files.

This version will break until you update.

Nothing we can do to avoid that. If you choose to wait I will understand.

Rick
__________________
Rick_
http://www.webos-internals.org
http://www.1632.org
rboatright is offline   Reply With Quote
Old 05/27/2010, 05:35 PM   #12 (permalink)
Member
 
Join Date: Jul 2005
Location: San Diego
Posts: 958
Likes Received: 0
Thanks: 121
Thanked 44 Times in 39 Posts
Default

Quote:
Originally Posted by rboatright View Post
The pdk comes with mac install instructions.

Visit the site linked above.
Thanks. But I already tried to follow those instructions and got this, even though I'm running webOS 1.4.1.1 (xxx means my specific prompt info):


xxx:bin xxx$ ./pdk-device-install install


Found connected device: Palm Pre

ERROR: Only devices with Palm webOS 1.4.0 are supported!

Run Updates app on device to update to Palm webOS 1.4.0, or
go to http://www.palm.com/rom to get webOS Doctor 1.4.0.
Dr.Grace is offline   Reply With Quote
Old 05/27/2010, 11:44 PM   #13 (permalink)
Member
 
rboatright's Avatar
 
Join Date: Jun 2009
Location: topeka, ks
Posts: 550
Likes Received: 0
Thanks: 4
Thanked 188 Times in 90 Posts
Default

How very odd. That shouldn't have happened.
__________________
Rick_
http://www.webos-internals.org
http://www.1632.org
rboatright is offline   Reply With Quote
Old 05/28/2010, 03:41 AM   #14 (permalink)
Member
 
Join Date: Dec 2009
Posts: 16
Likes Received: 0
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
ERROR: Only devices with Palm webOS 1.4.0 are supported!
Inside the pdk-device-install script there
is a hardcoded comparison with the string

== "Palm webOS 1.4."

you can modify this to "1.4.1.1"
On my device the installed PDK-Libaries are
working fine with version 1.4.1. .
freibauer is offline   Reply With Quote
Thanked By: Dr.Grace
Old 06/01/2010, 10:44 AM   #15 (permalink)
Member
 
rboatright's Avatar
 
Join Date: Jun 2009
Location: topeka, ks
Posts: 550
Likes Received: 0
Thanks: 4
Thanked 188 Times in 90 Posts
Default

0.0.7 now drops the download size to less than 0.5 meg.

If you want to download the 10 meg opening book, you can do so from the prefs page.

Release-Notes

0.0.5
  • First PDK-Version
  • FEN-Generation
  • Plugin Integration
  • Polyglot/Engine communication via shared memory
  • Heartbeat monitoring between Polyglot/Engine
  • Preference Screen
  • Invert Board
0.0.6
  • pawn double move fixed
  • 'New Game'
0.0.7
  • en passent fixed
  • Save actual game to database and reload at start
  • Download Opening Book from git
__________________
Rick_
http://www.webos-internals.org
http://www.1632.org
rboatright is offline   Reply With Quote
Thanked By: Pulp
Old 06/01/2010, 10:44 AM   #16 (permalink)
Member
 
rboatright's Avatar
 
Join Date: Jun 2009
Location: topeka, ks
Posts: 550
Likes Received: 0
Thanks: 4
Thanked 188 Times in 90 Posts
Default

oops. double post
__________________
Rick_
http://www.webos-internals.org
http://www.1632.org
rboatright is offline   Reply With Quote
Old 06/01/2010, 07:09 PM   #17 (permalink)
Member
 
Join Date: Sep 2009
Posts: 13
Likes Received: 0
Thanks: 8
Thanked 2 Times in 2 Posts
Default

I downloaded and installed the PDK onto my desktop. Now, how do I load it up on the pre? Is there a step by step for those of us who are not programmers?
lawtalkinguy is offline   Reply With Quote
Old 06/02/2010, 02:11 AM   #18 (permalink)
Member
 
Join Date: Dec 2009
Posts: 16
Likes Received: 0
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Installation description :

- Enable Developer Mode
- Install "Open SSH" + "Open SSH Server" via preware
- Check ssh with putty (usb-connected,localhost,10022)
- Execute: "pdk-device-install.bat install"
freibauer is offline   Reply With Quote
Thanked By: lawtalkinguy
Old 06/02/2010, 02:52 AM   #19 (permalink)
Member
 
Join Date: Jun 2009
Location: Austria
Posts: 298
Likes Received: 4
Thanks: 128
Thanked 64 Times in 38 Posts
Default

- Enable Developer Mode
- Attach USB-cable
- Execute: "pdk-device-install.bat install"
works aswell
Pulp is offline   Reply With Quote
Old 06/02/2010, 03:25 PM   #20 (permalink)
Member
 
heavenlydaze's Avatar
 
Join Date: Feb 2008
Posts: 24
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I'm very much afraid this is a stupid question, but I'm obviously missing something here: where do I find the PalmPDK.exe file? I thought it might be included with the chess pkg, but I don't see it, and I've searched PreCentral to no avail.
heavenlydaze is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0