maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   Hacking the default Chess program (https://talk.maemo.org/showthread.php?t=82639)

nicholes 2013-01-29 02:46

Re: Hacking the default Chess program
 
Help! my default Chess app is not working. when i launch app, after a few sec.. loading it sends me back on desktop. what should i do ?

Addison 2013-01-29 02:57

Re: Hacking the default Chess program
 
I have no idea.

This is the start up entry to launch it but I don't know the command line to find out what's wrong on your end.



# Chess config file

[Startup Entry]
Name=osso_chess
Version=1.4.34
Title=Chess
TitleId=game_ap_chess_name
GettextPackage=osso-games
PluginPath=/usr/lib/osso-chess-ui/chess_plugin.so
Image=/usr/share/pixmaps/osso-games-startup-chess.png
ServiceName=com.nokia.osso_chess
PathName=/com/nokia/osso_chess
InterfaceName=com.nokia.osso_chess

nicholes 2013-01-29 03:19

Re: Hacking the default Chess program
 
Quote:

Originally Posted by Addison (Post 1318625)
I have no idea.

This is the start up entry to launch it but I don't know the command line to find out what's wrong on your end.



# Chess config file

[Startup Entry]
Name=osso_chess
Version=1.4.34
Title=Chess
TitleId=game_ap_chess_name
GettextPackage=osso-games
PluginPath=/usr/lib/osso-chess-ui/chess_plugin.so
Image=/usr/share/pixmaps/osso-games-startup-chess.png
ServiceName=com.nokia.osso_chess
PathName=/com/nokia/osso_chess
InterfaceName=com.nokia.osso_chess

where this file is located??

i found .desktop file which is like...

[Desktop Entry]
Encoding=UTF-8
Version=1.4.34
Type=Application
Name=game_ap_chess_name
X-Text-Domain=osso-games
Exec=/usr/bin/chessui.launch
Icon=tasklaunch_chess
Categories=Games
Comment=game_ap_chess_name_thumb
MimeType=application/game
X-Icon-path=/usr/share/pixmaps/
X-Window-Icon=tn-bookmarks-link
X-HildonDesk-ShowInToolbars=true
X-Osso-Service=com.nokia.osso_chess.startup
X-Osso-Type=application/x-executable
StartupWMClass=chess_startup

i dont know if this helps.. this is located in /usr/share/application/hildon

file name is chess_startup.desktop

Addison 2013-01-29 03:26

Re: Hacking the default Chess program
 
I found mine in

/usr/share/osso-chess-ui/osso_chess.conf

I'm using Maemo 4 by the way.

Quote:

/usr/share/application/hildon
I don't have this.

Sorry. :(

nicholes 2013-01-29 03:48

Re: Hacking the default Chess program
 
can anyone please check his .desktop entry?
if there is any difference between .desktop entry.

Addison 2013-01-29 03:58

Re: Hacking the default Chess program
 
I do have

/usr/share/applications/hildon/chess_startup.desktop


[Desktop Entry]
Encoding=UTF-8
Version=1.4.34
Type=Application
Name=game_ap_chess_name
Exec=/usr/bin/osso_chess.sh
Icon=qgn_list_chess
Categories=Games
Comment=game_ap_chess_name_thumb
MimeType=application/game
X-Icon-path=/usr/share/pixmaps/
X-Window-Icon=tn-bookmarks-link
X-HildonDesk-ShowInToolbars=true
X-Osso-Service=com.nokia.osso_chess.startup
X-Osso-Type=application/x-execu

nicholes 2013-01-29 04:00

Re: Hacking the default Chess program
 
ya but u use maemo4 and i don hv config file also what you hv...
i think this is in maemo4 only.

Addison 2013-01-29 04:05

Re: Hacking the default Chess program
 
I think other people with a N900 got this to work as well without any problems.

All I did was change the graphic and sound files.

I'm not smart enough to do anything more than this. :(

nicholes 2013-01-29 07:21

Re: Hacking the default Chess program
 
can u give me your /usr/bin/osso_chess.sh file please..
i am trying to edit my .desktop file wil try to execute it from your file.. i know this is childish.. but who knows if it makes some magic for me...

Addison 2013-01-29 07:36

Re: Hacking the default Chess program
 
I don't have that. :(

I do have the following:

/usr/bin/chess_startup
/usr/bin/chess_startup.launch
/usr/bin/chessui
/usr/bin/chessui.launch

nicholes 2013-01-29 08:06

Re: Hacking the default Chess program
 
Quote:

Originally Posted by Addison (Post 1318665)
I don't have that. :(

I do have the following:

/usr/bin/chess_startup
/usr/bin/chess_startup.launch
/usr/bin/chessui
/usr/bin/chessui.launch

okay..

give me that file /usr/bin/chessui.launch

and if possible give me all four files .. i would be highly obliged to you if you give me those files...

Addison 2013-01-29 08:19

Re: Hacking the default Chess program
 
1 Attachment(s)
The first 3 files are colored blue which I believe means they are symlinked but I don't know how to find where they really are.

nicholes 2013-01-29 13:45

Re: Hacking the default Chess program
 
Quote:

Originally Posted by Addison (Post 1318668)
The first 3 files are colored blue which I believe means they are symlinked but I don't know how to find where they really are.

well thanks for the files.
but that did not work for me.
thanks again.

lokimotive 2013-01-30 19:09

Re: Hacking the default Chess program
 
Quote:

Originally Posted by Addison (Post 1318668)
The first 3 files are colored blue which I believe means they are symlinked but I don't know how to find where they really are.

You can check if they are symlinks with
Code:

ls -lattr
in a terminal. Symlinks will show up as
Code:

linkname -> target

nicholes 2013-04-26 02:32

Re: Hacking the default Chess program
 
is there any way i can start chess from some particular positions of pawns and stuff?and then start game from that position?

Addison 2013-04-26 02:46

Re: Hacking the default Chess program
 
I guess you could save a game and then edit that save file, but I don't see it being worth all the trouble.

I thought lma said we got the lite version of this game and that the full one even offered online play.

It would be nice if someone were able to compile the full code to this.

If you have a N900, Chessmaster for Playstation was really good from what I remember. :)

nicholes 2013-04-26 03:00

Re: Hacking the default Chess program
 
that's great! thanks
the idea of playstation is great
i have started downloading the rom of ps thanks again!

Addison 2013-04-26 03:04

Re: Hacking the default Chess program
 
The Playstation version had a ton of graphic and gameplay options, I'm sure you'll really like it.

You might want to edit your post though on how you're getting the game.

Addison 2013-04-26 03:19

Re: Hacking the default Chess program
 
Sorry, I meant Chessmaster II.

http://www.gamefaqs.com/ps/196910-chessmaster-ii/images


All times are GMT. The time now is 19:01.

vBulletin® Version 3.8.8