Can nobody compile Roden IV?

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
abik
Posts: 819
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: Can nobody compile Roden IV?

Post by abik »

xr_a_y wrote: Thu Feb 20, 2020 10:13 pm [Black "rodentIV_android (terminated)"]
You are playing the built-in engine, the executable for rodent terminated, as can be seen in the name.
Can you build PIE? Or otherwise static?

http://talkchess.com/forum/viewtopic.php?t=54393
Last edited by abik on Thu Feb 20, 2020 10:22 pm, edited 1 time in total.
camava
Posts: 42
Joined: Tue Apr 09, 2019 8:10 pm
Full name: mario varela

Re: Can nobody compile Roden IV?

Post by camava »

Hi.
It didn't work for me too.
Xiaomi mi A3 (Snapdragon 665) Android 9
Thank you.
User avatar
PeterO
Posts: 215
Joined: Sun Jul 31, 2016 6:35 pm

Re: Can nobody compile Roden IV?

Post by PeterO »

I am using android 9.
App: „Chess for Android“ - doesnt work.
:(

Peter
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Can nobody compile Roden IV?

Post by xr_a_y »

PeterO wrote: Thu Feb 20, 2020 11:13 pm I am using android 9.
App: „Chess for Android“ - doesnt work.
:(

Peter
I did two mistake, can you retry with this https://www.dropbox.com/s/dqs6i9jexbs3t ... droid?dl=0

This is a static compile for ARM
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Can nobody compile Roden IV?

Post by xr_a_y »

xr_a_y wrote: Fri Feb 21, 2020 6:52 am
PeterO wrote: Thu Feb 20, 2020 11:13 pm I am using android 9.
App: „Chess for Android“ - doesnt work.
:(

Peter
I did two mistake, can you retry with this https://www.dropbox.com/s/dqs6i9jexbs3t ... droid?dl=0

This is a static compile for ARM
Sorry : https://www.dropbox.com/s/dqs6i9jexbs3t ... droid?dl=0
User avatar
PeterO
Posts: 215
Joined: Sun Jul 31, 2016 6:35 pm

Re: Can nobody compile Roden IV?

Post by PeterO »

Hi Xray,

Wow you found the solution very quick thanks for your hard work.
Now my question:
-I use „Chess for Android“. When I activate the engine I can set the UCI options.
By personality file I see:

.txt

When I tip on „.txt“ I can write text in this field.

Can I chose a personality this way? - How?

Peter
User avatar
AdminX
Posts: 6340
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Can nobody compile Roden IV?

Post by AdminX »

This version worked for me. Question: Do I need to use the full path to personality file or just the file name .txt?

[pgn][Event "5+0 engine duel"]
[Site "?"]
[Date "2020.02.21"]
[Round "?"]
[White "Rodent IV 022"]
[Black "Senpai 2.0"]
[Result "1-0"]
[WhiteElo "3071"]
[BlackElo "3111"]
[TimeControl "5+0"]
[Time "09:24:36"]
[Termination "time forfeit"]
[AacWhitePlayerType "Engine"]
[AacBlackPlayerType "Engine"]
[AacIsRated "0"]
[AacDuration "07:43.496"]

1. c4 f5 {[%clk 04:59]} 2. d4 {[%clk 04:59]} e6 3. Nc3 Nf6 4. Nf3 Bb4 {[%clk 04:58]} 5. Bd2 {[%clk 04:51]} O-O {[%clk 04:54]} 6. g3 {[%clk 04:48]} Nc6 {[%clk 04:38]} 7. Bg2 {[%clk 04:41]} Ne4 {[%clk 04:32]} 8. O-O {[%clk 04:34]} d5 {[%clk 04:27]} 9. cxd5 {[%clk 04:33]} exd5 {[%clk 04:20]} 10. Qb3 {[%clk 04:32]} a5 {[%clk 04:17]} 11. Be3 {[%clk 04:25]} Bxc3 {[%clk 04:13]} 12. bxc3 {[%clk 04:19]} Re8 {[%clk 04:12]} 13. Qc2 {[%clk 04:12]} h6 {[%clk 04:02]} 14. Nd2 {[%clk 04:06]} b6 15. Nxe4 {[%clk 04:00]} fxe4 {[%clk 03:55]} 16. a3 Ba6 {[%clk 03:48]} 17. f3 {[%clk 03:54]} exf3 18. Rxf3 {[%clk 03:48]} Qd7 {[%clk 03:47]} 19. Raf1 {[%clk 03:43]} Re7 {[%clk 03:41]} 20. R1f2 Rae8 {[%clk 03:36]} 21. Qg6 {[%clk 03:38]} Nd8 {[%clk 03:30]} 22. Bxh6 {[%clk 03:32]} Bxe2 23. Rf6 {[%clk 03:27]} Bc4 24. h4 {[%clk 03:22]} Re6 {[%clk 03:25]} 25. h5 c6 {[%clk 03:16]} 26. Bh3 {[%clk 03:16]} Rxf6 {[%clk 03:10]} 27. Rxf6 Re1+ {[%clk 03:04]} 28. Kh2 Qe7 {[%clk 02:58]} 29. Rf3 {[%clk 03:12]} Re2+ {[%clk 02:50]} 30. Bg2 {[%clk 03:11]} Ne6 {[%clk 02:43]} 31. Bc1 Nf8 {[%clk 02:39]} 32. Qf5 {[%clk 03:07]} Re1 {[%clk 02:38]} 33. Bg5 {[%clk 03:02]} Qe8 {[%clk 02:34]} 34. g4 {[%clk 03:01]} Nh7 {[%clk 02:27]} 35. Bh4 {[%clk 02:57]} Re2 {[%clk 02:23]} 36. Rf2 Re3 {[%clk 02:18]} 37. Qf4 {[%clk 02:52]} Rxc3 {[%clk 02:14]} 38. h6 {[%clk 02:48]} Rxa3 {[%clk 02:13]} 39. g5 {[%clk 02:44]} gxh6 {[%clk 01:43]} 40. gxh6 {[%clk 02:40]} Nf8 {[%clk 01:01]} 41. Qd6 {[%clk 02:36]} Bd3 {[%clk 00:56]} 42. Qxa3 {[%clk 02:32]} Ng6 {[%clk 00:54]} 43. Qxd3 {[%clk 02:28]} Kh7 {[%clk 00:02]} 44. Rf6 {[%clk 02:24]} Kxh6 {[%clk 00:00]} 45. Qh3 {[%clk 02:23]} Kg7 46. Bg5 {[%clk 02:20]} Kg8 47. Qh5 {[%clk 02:16]} Qb8+ 48. Kh1 Nh8 49. Rxc6 Nf7 50. Bxd5 Qe8 51. Rg6+ 1-0[/pgn]

Image
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Can nobody compile Roden IV?

Post by xr_a_y »

The code says

Code: Select all

    FILE *personalityFile = NULL;
    if (isabsolute(fileName)                    // if known locations don't exist we want to load only from absolute paths
        || ChDirEnv("RIIIPERSONALITIES")        // try `RIIIPERSONALITIES` env var first (26/08/17: linux only)
            || ChDir(_PERSONALITIESPATH))       // next built-in path
                personalityFile = fopen(fileName, "r");
As said before I discarded ChDirEnv("RIIIPERSONALITIES") so probably fileName is an absolute path to the personality file.
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Can nobody compile Roden IV?

Post by xr_a_y »

I've done a Minic for android also ... (uci mode)

http://serv.x-ray.fr/chess/minic_dev_android

:D
User avatar
PeterO
Posts: 215
Joined: Sun Jul 31, 2016 6:35 pm

Re: Can nobody compile Roden IV?

Post by PeterO »

Hi xray

Pleae forgive me! my english AND tech. knowledge is not so good. :oops:
I don‘t understand:“ so probably fileName is an absolute path to the personality file.“
-How can I chose the personalty file?
-Can I define my own personality?

-what is minic?

Sorry for asking - dont want to waste your time. But would love to use/create personality files in Rodent IV.

Peter