Temple of The Roguelike Forums

Announcements => Traditional Roguelikes (Turn Based) => Topic started by: Slash on November 16, 2010, 01:42:21 PM

Title: ANNOUNCE: MetroidRL v0.72 released
Post by: Slash on November 16, 2010, 01:42:21 PM
4 years after the last version. I had kept this on my HD for too long.

http://www.youtube.com/watch?v=A2Py0kZN18c

I figured out I’d just load it up and package it… I was tempted to refactor it into using serf and libjcsi (MetroidRL predates them both, it was the first project to use the “Swing Console Box”, which then became libjcsi; it’s also based around the common framework which evolved into serf), but after wasting about 2 hours I knew I was stranding into the wrong direction :)

Released now, still pretty alpha but here goes for all you metroid lovers!

I have also released the source code under GNU GPL v3 at https://code.google.com/p/metroidrl/

Download now: http://slashie.net/request.php?81
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: jim on November 16, 2010, 01:56:55 PM
Dang, Slash. Looks gorgeous.
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: RaustBD on November 16, 2010, 08:53:01 PM
I tried to play it, but it crashed just like the previous version...  :'(
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: Slash on November 17, 2010, 03:02:09 AM
What was the crash??? What platform?
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: guest509 on November 17, 2010, 08:43:38 AM
  "java" not recognized as a command? Should be. I have it loaded. I figure this out later.
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: Slash on November 17, 2010, 11:55:58 AM
Windows? set java_home=c:\java\etc
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: RaustBD on November 17, 2010, 04:03:50 PM
What was the crash??? What platform?

Mac. Castlevania RL works just fine, but MetroidRL crashes, and I can't find the place where it tells me the error message. I'm really confused since, as I said, CVRL works perfectly.
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: Slash on November 19, 2010, 03:18:45 AM
Hmm... are you using the .sh files to run it?? may be you need to delete the .dll file on /lib...
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: RaustBD on November 19, 2010, 03:52:47 PM
Hmm... are you using the .sh files to run it?? may be you need to delete the .dll file on /lib...

I'm using the .jav file. Any idea why it's different from CVRL though?
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: Slash on November 22, 2010, 01:40:52 PM
Well, CvRL doesn't use an emulated terminal display but is tile based instead (when you run it by doubleclicking the jar file, that's it).

Did you delete libjcurses.dll on the .\lib folder?
Can you chmod the .sh files and run it from there instead of using the jar file? (or just access the terminal and run "java -jar metroidrl.jar"), so that we can see the error message

Anyone else having problems running it on mac?
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: RaustBD on November 22, 2010, 05:42:54 PM
it says "unable to access jarfile metroidrl.jar"
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: Slash on November 22, 2010, 06:14:41 PM
Did you change directory to the one where the game was decompressed before doing "java -jar metroidrl.jar"?

I'll get in touch with the white leopards and let you know if they have issues too
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: RaustBD on November 22, 2010, 07:00:27 PM
how do you change directory in terminal?
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: Slash on November 22, 2010, 11:58:51 PM
use 'cd'

For example cd /games/roguelikes/metroidRL

Can you click a file and make it executable in mac? try making "metroidRL.sh" executable and then double clicking it

Any mac user can help?
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: RaustBD on November 23, 2010, 04:32:55 AM
this is the error message:

MetroidRL 0.72
Slash ~ 2006-2010
Reading configuration
Initializing Char Appearances
Initializing Action Objects
Loading Data
Initializing JCurses System Interface
Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/Cam/Downloads/metroidrl072/lib/libjcurses.so:  no suitable image found.  Did find:  /Users/Cam/Downloads/metroidrl072/lib/libjcurses.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x01 0x01 0x01 0x00
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1878)
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1758)
   at java.lang.Runtime.load0(Runtime.java:770)
   at java.lang.System.load(System.java:1020)
   at jcurses.system.Toolkit.<clinit>(Toolkit.java:37)
   at jcurses.system.InputChar.<clinit>(InputChar.java:13)
   at sz.csi.jcurses.JCursesConsoleInterface.<clinit>(JCursesConsoleInterface.java:222)
   at mrl.Main.init(Main.java:140)
   at mrl.Main.main(Main.java:375)
new-host:metroidrl072 Cam$
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: Slash on November 23, 2010, 05:07:05 AM
What version of MacOS have you got?

Are you launching metroidRL.sh or metroidRL-curses.sh ?

It's pretty strange that it's trying to load JCurses, if you are trying to launch the default one...

I will check what's the default option to prevent this from happenning.
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: RaustBD on November 23, 2010, 05:26:14 PM
I did the run command you said earlier, with the jav file, and I ran it from the terminal.

I can't make the shell executable just by clicking on it, or at least I don't think I can.
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: Slash on November 23, 2010, 08:53:39 PM
try

java -jar metroidrl.jar sc


(the 'sc' at the end is important)
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: RaustBD on November 24, 2010, 02:33:55 AM
right, that worked. Thanks!

...Will I have to do that every single time I want to play?

Oh, and are you working on a graphical version, like with castlevania? Because the graphical cvrl was EPIC.
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: Slash on November 24, 2010, 04:29:36 AM
Great that it worked, I will make it the default for future versions (so that you just have to double click the jar)

There ought to be a way to execute the .sh files, anyone knows?

May be if someone makes a tileset for it, I would feel compelled to make a graphics version
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: RaustBD on November 24, 2010, 01:03:22 PM
I hope you do, because there seem to be some graphical glitches, even though I got it to work. Parts of the @ symbol are truncated, the altitude gauge always shows me at the lowest level (I THINK that's a glitch), among others.

Oh, and the GF troopers... I haven't played metroid much, but if GF stands for Galactic Federation, I'm FAIRLY certain they're on samus's side, but I auto-attacked one when trying to talk to it. Am I wrong, is that intentional, or is it a glitch?
Title: Re: ANNOUNCE: MetroidRL v0.72 released
Post by: Slash on November 24, 2010, 06:37:57 PM
Please download v0.73, it's much improved :)

About the gfx glitch, I guess the game is trying to load a font that doesn't exist in your system, and it's falling back to a default sans serif one. Can you edit the 'font.sz' file and add this as the first line of the file?:

Monaco;14


And about the GF, if you see the plot GFs seem to have gone rogue around the base and are considered enemies now!