maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Possible Risk Clone Port? (https://talk.maemo.org/showthread.php?t=19548)

jhoff80 2008-04-25 19:41

Possible Risk Clone Port?
 
Okay, so I blame Lost for this last night, but I was watching them play Risk and it makes me want to play it again. From what I've seen, the best version of this is Lux Delux, which has a linux version, but its commercial/ not open-source. Besides that I'm pretty sure it uses a Java VM.

Barring that, I found this list which has 3 other clones. Would it be possible for someone to port these over for Maemo?

http://www.linux.com/feature/122070

ukki 2008-04-26 08:20

Re: Possible Risk Clone Port?
 
XFrisk seems to run, but xaw toolkit it uses is ugly and some of the dialogs are bit weird, but if you want a quick and dirty version of it, I can package it.

DataPath 2008-04-26 19:26

Re: Possible Risk Clone Port?
 
I've grown to enjoy TEG, and would be eternally grateful to anyone who gets it ported.

marce_245 2008-06-01 19:59

Re: Possible Risk Clone Port?
 
Please something like this http://www.tegnet.com.ar for the n800 would be awesome!!!!!

Addison 2008-06-01 20:51

Re: Possible Risk Clone Port?
 
Quote:

Originally Posted by marce_245 (Post 187756)
Please something like this http://www.tegnet.com.ar for the n800 would be awesome!!!!!

That's entirely in Spanish though...


The only Spanish I know how to say is
"Yo' Esa, I didn't ask fo' no sprinklez on my ice creeeeeam!" :o

josiahg777 2008-06-02 04:06

Re: Possible Risk Clone Port?
 
Quote:

Please something like this http://www.tegnet.com.ar for the n800 would be awesome!!!!!
Hmm... well obviously we can't have tegnet itself as it seems to be closed-source and written for MS Windows. But it looks like a fairly standard risk clone to me, although maybe I'm missing something, my spanish is far from perfect

EDIT: Apparently I'm wrong :P Whoops :o

Tybalt 2008-06-21 12:57

Re: Possible Risk Clone Port?
 
Hi folks,

what about this risk clone?
http://risk.sourceforge.net/

I really liked to see a port of risk. or maybe one of you incredible developers could manage it to built one on their own esp. for maemo. Wouldnt that be great...

My hope will not die. ;-)

Tybalt

josiahg777 2008-06-21 19:26

Re: Possible Risk Clone Port?
 
Unfortunately that version is totally based on Java :(

Although, good news, this looks fairly promising:
http://www.tuxick.net/xfrisk/

As does this: (I don't know about KDE 3.5 compatibility)
https://gna.org/projects/ksirk

Tybalt 2008-06-22 04:51

Re: Possible Risk Clone Port?
 
yuppiiee....Maybe?

That sounds good.

Im sorry about my lack of knowledge but why is java such a problem for the nit? I thought its a language for multiple platforms. Could you explain?

Btw. Thank you for the fast response, I was afraid this thread is dead!

Tybalt

josiahg777 2008-06-22 06:39

Re: Possible Risk Clone Port?
 
So... Java is basically a problem because of licensing issues. The processor which the tablets use is an ARM OMAP2 processor manufactured by TexasInstruments. This processor has a wonderful feature known as a hardware Java interpreter which is included to speed up execution of java bytecode by bypassing the need for a VirtualMachine (which java apps usually run in) However, for some lame reason, apparently related to licensing, Nokia didn't include the drivers for this part of the processor, and therefore, instead of having native Java like we should, we have none.

There have been several attempts to get Java running on the tablets in the "normal" fashion, which means using a software interpreter, called a "Java Virtual Machine" The most successful of these projects is Jalimo which I'm currently using :) It works beautifully, if a little slowly.

However, it cannot be used for most Java applications like the risk one you pointed to because Jalimo doesn't include the Swing or AWT libraries. (These are the libraries Java uses to create Graphical User Interfaces) Instead Jalimo uses an open source, cross platform set of libraries developed by the Eclipse project, known as the SWT libraries (Standard Widget Toolkit). So any Java program that uses a graphical interface needs to be ported to use the SWT libraries instead.

So, in a nutshell, java is a problem because we lack a standard java interpreter.

Why this is the case is a source of frustration to me, because as of now, Java is my favorite language for programming in. But I guess I'll just have to move to Python or Ruby, both of which work beautifully on the NIT.

Back to the risk topic:
ukki said he compiled and ran Xfrisk on his device in his reply earlier in the thread, I'd suggest PMing him and asking him for a package, as that seems to be the most promising of all the Risk clones I've looked at.

I would try and compile it, but I'm having problems getting the GCC toolchain set up on my N810.

Anyway, sorry for the long rambling post, Hope this helps a little bit :)

Tybalt 2008-06-22 16:02

Re: Possible Risk Clone Port?
 
Hi josiahg777!

Wow thank you for that fast and outstanding response. That was what I wanted to know.

It seems that for some reason Nokia isnt really interested in supporting the NIT in all cases. Im a bit dissappointet.

I had ran the KDE of penguinbait a while ago until my N800 crashed. Is it possible tu run such a JAVA Program under this platform?

P.S. please excuse my bad spelling... german... ;-)

greetings

Tybalt

qwerty12 2008-06-22 17:30

Re: Possible Risk Clone Port?
 
Well, i had a go at compiling the 3 year old trunk and it runs except it wants to use xserver fonts that don't exist. i aint hot on them so I wont bother trying to find out the font name and changing it in the source, especially if ukki has working one.

josiahg777 2008-06-22 17:39

Re: Possible Risk Clone Port?
 
Java, no I don't believe so, as Penguinbait's KDE is essentially a replacement window manager, and therefore is subject to the exact same Java issues as the stock Matchbox WM

However, the KDE based risk clone I pointed to *might* run under the KDE version on the tablets if re-compiled correctly. :)

I'm by no means an expert in compiling for the tablets, but It might work (especially if we used an older build targeted towards KDE 3.5.x, the current release is targeted towards KDE 4.1)

ukki 2008-06-26 21:11

Re: Possible Risk Clone Port?
 
Here's a version of XFrisk. I'm not at all sure it's very playable, but please report if it is.

Changes made:

Added startup script that launches server and connects 3 ai players to it
Forced fullscreen mode to get more space
Bundled xvkbd with the game, should launch automatically on start with n800

Known problems:

Missing 2nd and 3rd mouse buttons
Sometimes crashes when registering players
Map doesn't fit the screen completely, but all countries are accessible. Tried making it smaller but it would require a lot of repositioning
Dialogs are bit weird
Looks pretty ugly

XFrisk

jhoff80 2008-07-22 09:48

Re: Possible Risk Clone Port?
 
So, I finally noticed that last month there was an update to this thread. I installed it, and tried to play, and first thing I noticed was unfortunately, not all countries are usable like you mentioned. The bottom two in Australia aren't accessible.

Even more importantly though, is that it just doesn't work (at least in Diablo). The first game I got to place armies on territories at the beginning, and the computer player did as well, and then the computer player started its turn and nothing happened. I quit out of it and started again. First of all, this second time, when I hit the "add player" button it repeates the 3 types of bots in the "Species" section a second time. Then, after adding players and starting the game, nothing happens. It doesn't even randomly place territories this time like it did the last time.

Valeria 2008-07-23 05:15

Re: Possible Risk Clone Port?
 
Hi, I looked for TEG and found it at http://sourceforge.net/project/showf...?group_id=2459, apparently it is open source. So, if someone can port it and send me the txt with all the dialogs I volunteer to translate. I might make some mistakes, as English is not my first language (Spanish is ;) ), but it should be quite understandable.

ichneumon 2008-07-29 20:59

Re: Possible Risk Clone Port?
 
Well, it's not quite real Risk, but one of the first things I tried with my N800 was Dicewars. Try here for fullscreen. It runs a little slow, but the AI is half-decent, and may be enough for a quick strategy fix.

josiahg777 2008-08-04 17:25

Re: Possible Risk Clone Port?
 
Hmm... I tried compiling TEG but it depends on libgnomeui which we don't seem to have.

I took a look at trying to compile libgnomeui but it requires about 40 megs of space and depends on some other gnome libraries :/

marce_245 2008-08-06 01:23

Re: Possible Risk Clone Port?
 
Josiahg777 I know nothing about linux but would it be possible to compile TEG without libgnomeui?, is there any workaround?, I´m dying to have this game on my n800. Thanks

josiahg777 2008-08-06 10:41

Re: Possible Risk Clone Port?
 
Not that I know of... I can look through the TEG page again, but i can't seem to find any really solid documentation on compiling options. I'll also try emailing the maintainer.

Hmmm there's also a java version of TEG called "JTEG" I'm going to try and see if I can run that :)

bfleury 2008-08-13 18:24

Re: Possible Risk Clone Port?
 
While waiting for the hopeful Risk clone, I came across a neat work-around. I've been playing Domination, Yura's Java version of Risk (installed on XP box), a nice job with extra maps and card sets etc., which of course won't run on the N800 because it's a Java applet. But once I installed VNC server/client, I could play it remotely off the PC desktop. It's window on XP is almost EXACTLY the right size for the tablet screen. There is a Flash version that comes along with the install as well.

For a quick download of the the game, go to:http://yura.net/hell/games.htm

For home page, more info/options go to: http://domination.sourceforge.net/

BillyTheFish 2010-01-26 22:18

Re: Possible Risk Clone Port?
 
Holy resurrecting threads Batman!

Did anyone get round to making a Risk clone? If not, does anyone fancy making one for the Maemo 5?

I'm quite partial to Hasbro's Risk 2, which had the option of network and same-time risk:

http://en.wikipedia.org/wiki/Risk_II

Although their 1996 Ultimate risk sounds intruiging:

http://en.wikipedia.org/wiki/Risk_(g...nd_video_games

BillyTheFish 2010-02-04 12:39

Re: Possible Risk Clone Port?
 
No-one likes Risk huh?

Flandry 2010-02-04 16:17

Re: Possible Risk Clone Port?
 
I like playing the board game, Risk, with family and friends. I can't say i'd play it on a computer, even against family/friends (who are even less likely to play it that way): it's just not the same without the in-your-face human element.

There are probably a half-dozen easily-portable open source clones floating around, though. It might make a nice first port project for someone looking to learn what's involved.

Bratag 2010-02-04 16:21

Re: Possible Risk Clone Port?
 
Quote:

Originally Posted by BillyTheFish (Post 510304)
No-one likes Risk huh?

I do - let me see if I can compile teg for the n900.

BillyTheFish 2010-02-04 17:20

Re: Possible Risk Clone Port?
 
Quote:

Originally Posted by Bratag (Post 510578)
I do - let me see if I can compile teg for the n900.

:) - great to hear!


Flandry - try Risk II that I posted about above if you can find a copy. It's worth it for the "Same Time" risk alone.

Same time risk is only possible using a computer and adds a whole new dynamic to the game and makes it a lot more true to life. You have to use quite a different playing style.

Bratag 2010-02-04 18:14

Re: Possible Risk Clone Port?
 
Just an update - teg is a no go at this stage mainly because I dont have the strength to compile the gnomeui libs for the n900. However the java based risk mentioned in this thread will run using the java for arm. The problem is that it wont run full screen and this presents an problem. I am trying to work around it.

BillyTheFish 2010-02-04 18:25

Re: Possible Risk Clone Port?
 
Blimey you're quick! I have no idea what a gnomeui is but I like the sound of what is happening so far.

Good luck with the work-around.


All times are GMT. The time now is 21:03.

vBulletin® Version 3.8.8