ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

Linux Runner

Announcements about ADRIFT, this Forum, the website and anything else relevant.

For more information visit the main ADRIFT Website

Re: Linux Runner

Postby Campbell » Mon Sep 26, 2011 7:07 am

Hi Billy,

What have you tried, and what problems are you coming up against?

I have no plans at this point to create a Java version. However, I am creating an online version of Runner, so that might be an alternative for you.
ADRIFT Developer developer.
User avatar
Campbell
Site Admin
 
Posts: 4570
Joined: Sun Jun 23, 2002 11:05 am
Location: Edinburgh, Scotland

Re: Linux Runner

Postby billy7720 » Tue Oct 04, 2011 4:18 pm

Okay! I've got it running albit a ton of errors via Adrift. WIERD.

Let me get a screenshot of this and I'll post it. I gather my "key" will activate Adrift 5 on my system? Hope so :)

If you're running PCLinuxOS KDE - Follow the instructions via the linux runner. Place the files accordingly and download from PCLinuxOS' repositories:

mono

AND

mono-basic

The above two files will get Adrift running!

Now to figure out where to put my Crystal Caverns files. I'm learning....just give me time :)

Thanks again Campbell!

Sincerely;
Will
aka billy7720
DONE (for ADRIFT 5.0.21)
- Jabberwocky: The Untold Story!
- Birth Of The Phoenix, 1981 by Phoenix. Ver3.
- Palace In Thunderland, 1981 by Micro Lab
- Fraktured Faebles, 1985 by American Eagle (graphic IF)
COMING:
- Pillage Village, 1984
User avatar
billy7720
 
Posts: 102
Joined: Sat Apr 02, 2011 12:32 am
Location: Registered User!

Re: Linux Runner

Postby billy7720 » Tue Oct 04, 2011 8:07 pm

Here is the error screen I get. When the runner first loads I have to click "OK" three times.
When I load an adventure I have to click "OK" 20 times.
When I exit an adevnture I have to click "OK" 5 times.

I can't figure that out. Below is the screen I get BUT the runner does run!

NOW - where is the editor? I don't see it. If you could send me an EDITOR for linux please do. I can't seem to run it or find it in the runner.

Otherwise it does run and not too badly either. I also get the map and images to load below.

Looks nice so far Campbell. PLEASE PM me with an EDITOR so I can finish this game up. Seems folks have been waiting for this game :)

Thanks!
Will
aka billy7720
Attachments
AdriftErrorsScreen.png
AdriftErrorsScreen.png (760.49 KiB) Viewed 5100 times
Last edited by billy7720 on Tue Oct 04, 2011 8:12 pm, edited 1 time in total.
DONE (for ADRIFT 5.0.21)
- Jabberwocky: The Untold Story!
- Birth Of The Phoenix, 1981 by Phoenix. Ver3.
- Palace In Thunderland, 1981 by Micro Lab
- Fraktured Faebles, 1985 by American Eagle (graphic IF)
COMING:
- Pillage Village, 1984
User avatar
billy7720
 
Posts: 102
Joined: Sat Apr 02, 2011 12:32 am
Location: Registered User!

Re: Linux Runner

Postby billy7720 » Tue Oct 04, 2011 8:09 pm

Here is Crystal Caverns running off of the runner.

I STILL have to do the "darkness" stuff, the computer errors (later in game) and a few other things but so far the game plays beautifully. :)
Attachments
CrystalCavernsMAIN.png
CrystalCavernsMAIN.png (145.34 KiB) Viewed 5100 times
DONE (for ADRIFT 5.0.21)
- Jabberwocky: The Untold Story!
- Birth Of The Phoenix, 1981 by Phoenix. Ver3.
- Palace In Thunderland, 1981 by Micro Lab
- Fraktured Faebles, 1985 by American Eagle (graphic IF)
COMING:
- Pillage Village, 1984
User avatar
billy7720
 
Posts: 102
Joined: Sat Apr 02, 2011 12:32 am
Location: Registered User!

Re: Linux Runner

Postby Campbell » Tue Oct 04, 2011 9:30 pm

billy7720 wrote:Here is the error screen I get. When the runner first loads I have to click "OK" three times.
When I load an adventure I have to click "OK" 20 times.
When I exit an adevnture I have to click "OK" 5 times.

I can't figure that out. Below is the screen I get BUT the runner does run!
Which directory are you launching ADRIFT from? The ADRIFT_username.xml file is created to store what would normally be stored in the Windows Registry. This should be created in the directory you launch from. In your case, it looks like you're launching from the executables directory. Try changing to your home directory and typing "adrift".
NOW - where is the editor? I don't see it. If you could send me an EDITOR for linux please do. I can't seem to run it or find it in the runner.
Only Runner is available for Linux. Developer is still Windows only.
Otherwise it does run and not too badly either. I also get the map and images to load below.
I notice that it hasn't installed the correct font on the splash screen. Are you launching ADRIFT by running MonoRunner.exe, or the adrift shortcut? The latter should auto-install the font before launching the executable.

Oh, I notice the map has arrows in your version. In mine (2.6.7), that feature hadn't been implemented yet. What version of Mono are you running. Definitely good news, it was the only thing I was aware of that didn't work. :welldone:
ADRIFT Developer developer.
User avatar
Campbell
Site Admin
 
Posts: 4570
Joined: Sun Jun 23, 2002 11:05 am
Location: Edinburgh, Scotland

Re: Linux Runner

Postby billy7720 » Wed Oct 05, 2011 1:14 am

Thanks for the post. I'll look into all this later.

I'll need the developer if I'm going anywhere with this. It runs in WINE to an extent.

At least I've got the thing running.

Thanks again and look forward to the developer - as soon as that is ready and released then I can finish Crystal Caverns.

billy7720

PS: Campbell, I have Mono 2.8 installed.
DONE (for ADRIFT 5.0.21)
- Jabberwocky: The Untold Story!
- Birth Of The Phoenix, 1981 by Phoenix. Ver3.
- Palace In Thunderland, 1981 by Micro Lab
- Fraktured Faebles, 1985 by American Eagle (graphic IF)
COMING:
- Pillage Village, 1984
User avatar
billy7720
 
Posts: 102
Joined: Sat Apr 02, 2011 12:32 am
Location: Registered User!

Re: Linux Runner

Postby billy7720 » Wed Oct 05, 2011 4:37 am

Your instructions fixed part of it, but I had to "set" the folders to accept my system to read and write to the folder. It works. Here's an image of the working runner AND and image of ADRIFT 4.0 running perfectly in WINE below.

The runner has no errors at all now. Thanks! :D

I need a new key though Campbell please. It tells me my key is expired. I'd like to stay with ADRIFT 4.0 if that's okay. Please email me if you can with the new key. Thanks!

:claps:
Attachments
AdriftthroughWINE.png
AdriftthroughWINE.png (98.29 KiB) Viewed 5085 times
AdriftRunnerGOOD.png
AdriftRunnerGOOD.png (586.51 KiB) Viewed 5085 times
DONE (for ADRIFT 5.0.21)
- Jabberwocky: The Untold Story!
- Birth Of The Phoenix, 1981 by Phoenix. Ver3.
- Palace In Thunderland, 1981 by Micro Lab
- Fraktured Faebles, 1985 by American Eagle (graphic IF)
COMING:
- Pillage Village, 1984
User avatar
billy7720
 
Posts: 102
Joined: Sat Apr 02, 2011 12:32 am
Location: Registered User!

Re: Linux Runner

Postby gordebak » Sat Jan 21, 2012 2:06 pm

I run Ubuntu 11.10, Linux runner doesn't work for me. I installed the mono-complete package and copied the runner into /usr/bin/ and the lib dir (adrift5 directory to be exact) into /usr/lib/

It gives me this error:
adrift Code: Select all
Unhandled Exception: System.TypeLoadException: A type load exception has occurred.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load exception has occurred.
 


Edit: Forget it. I solved it. I forgot to install libmono's visualbasic library. And I ran the MonoRunner.exe from my home directory, and all works fine now.

Edit: Now I have another problem. Runner works, but I can't open any .taf files. It complains about "Conversion from String to Integer." I don't understand.
User avatar
gordebak
 
Posts: 14
Joined: Tue Jan 17, 2012 8:45 pm
Location: Ankara,Turkey

Re: Linux Runner

Postby Campbell » Sat Jan 21, 2012 11:05 pm

I'll have a look.
ADRIFT Developer developer.
User avatar
Campbell
Site Admin
 
Posts: 4570
Joined: Sun Jun 23, 2002 11:05 am
Location: Edinburgh, Scotland

Re: Linux Runner

Postby gordebak » Sun Jan 22, 2012 12:22 pm

For the record, it seems to run V4 or older files, but not V5 files. It complains about Conversion of String "&H02E2" (this changes with the file) to Integer. Sorry, I couldn't get a screenshot.

Edit: Actually I could run some V5 games too. But not all. Maybe it doesn't like only 5.0.22 files, because I can't run my own stories. But some stories written with 5.0.21 worked fine.
User avatar
gordebak
 
Posts: 14
Joined: Tue Jan 17, 2012 8:45 pm
Location: Ankara,Turkey

Re: Linux Runner

Postby gordebak » Fri Jan 27, 2012 12:40 am

Any luck?
User avatar
gordebak
 
Posts: 14
Joined: Tue Jan 17, 2012 8:45 pm
Location: Ankara,Turkey

Re: Linux Runner

Postby justme » Thu Jan 10, 2013 4:32 pm

Problem.

The libraries are in usr/local/lib/adrift5 and usr/local/bin. The directory structure in the tar file was not correct, adrift wasn't looking for the libraries in /usr/local/lib and I had to create a directory pathed usr/local/lib/adrift5 for it to find them.

Now when I fire up adrift from the command line, it's trying to write to /usr/local/lib/adrift5/ADRIFT_user.xml which I do not have write permissions for. When I run "sudo adrift" I can fire up with no errors. It's a permission problem due to where the files are located. If adrift5 needs to write to an xml file on startup, shouldn't that xml be in /home/user/.local or something else where adrift will have user level write permissions?

After I get adrift running, I try to load a file. I'm getting a read error there:

error loading: /home/user/.local/share/Campbell Wild/ADRIFT/RunnerLayout.xml

That directory does not exist, but what I DO have is:

/home/user/.local/share/Campbell\ Wild/ADRIFT\ Runner
/home/user/.local/share/Campbell\ Wild/ADRIFT\ Runner/6.6.4.95

There are no files in these directories.


What's going on here? Seems to all be about file paths and permissions.
justme
 
Posts: 3
Joined: Thu Jan 10, 2013 4:19 pm

Re: Linux Runner

Postby justme » Fri Jan 11, 2013 1:10 am

I fixed this by creating all the necessary file paths (some are wrong out of the box) and using chown to give ownership of /usr/local/lib/adrift5 to my user account.
It all runs perfectly now.

This is fixable and works, but not out of the package. It's a combination of permission and path issues. Maybe for some linux configs it'll work more easily.
justme
 
Posts: 3
Joined: Thu Jan 10, 2013 4:19 pm

Re: Linux Runner

Postby Campbell » Fri Jan 11, 2013 8:21 am

Thanks justme, I'll take a look at this. I recently changed the paths from /usr/bin to /usr/local/bin, so I probably messed something up along the way.
ADRIFT Developer developer.
User avatar
Campbell
Site Admin
 
Posts: 4570
Joined: Sun Jun 23, 2002 11:05 am
Location: Edinburgh, Scotland

Re: Linux Runner

Postby justme » Sat Jan 12, 2013 12:08 am

I am still getting one or two in game errors and crashes in linux-adrift, and I'd like to compare it to the windows native version.
Someone mentioned that they'd run this in WINE, what did you have to do to get it working?
justme
 
Posts: 3
Joined: Thu Jan 10, 2013 4:19 pm

PreviousNext

Return to News and Announcements

Who is online

Users browsing this forum: No registered users and 1 guest