OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Frotz, Any users?
JimR
post Aug 8 2008, 06:23 PM
Post #1





Group: Members
Posts: 16
Joined: 12-July 08
From: Japan
Member No.: 22,048



Hi there.
I'm trying to get Frotz running on my C3200 (Running SharpROM w/ English conversion), and I'm having some trouble, basically because I'm not sure of the file-tree on Linux/the Zaurus.
I can run frotz through the terminal, but I don't know how to load any games because I don't know where the program is looking. Basically, how can I tell the terminal to load from the SD Card? Or, conversely, where should I drop the game file so that Frotz can find it?

Also, using QKonsole, can I rotate orientation? The rotate option is not available under the menu, and any keyboard commands are translated into input. SHould I use another terminal program?
Thanks!
Jim
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
alexl
post Jul 11 2009, 11:08 PM
Post #2





Group: Members
Posts: 8
Joined: 18-July 04
Member No.: 4,030



QUOTE(JimR @ Aug 8 2008, 06:23 PM) *
I can run frotz through the terminal, but I don't know how to load any games because I don't know where the program is looking. Basically, how can I tell the terminal to load from the SD Card? Or, conversely, where should I drop the game file so that Frotz can find it?

This may not be of much help since my reply is VERY late: the commandline version of Frotz (I'm using Frotz 2.43 with ncurses) looks at the environment variable INFOCOM_PATH. I have something like this in my .bash_profile:
CODE
export INFOCOM_PATH=/home/lex/Infocom


Frotz then finds the data files, whatever the current dir.

Also, Frotz doesn't pick up the width and height of the tty that I'm logged into, so I renamed the Frotz binary to 'frotz.arm' and wrote a script to call it:

CODE

#!/bin/sh
# Call frotz.arm with width and height
# 03-Oct-08
# Get rows and columns from stty, as tput doesn't allow querying
rows="`stty -a | head -n 1 | cut -d ";" -f 2 | tr -dc "0123456789"`"
cols="`stty -a | head -n 1 | cut -d ";" -f 3 | tr -dc "0123456789"`"
$0.arm -w ${cols} -h ${rows} $@

I hope that this helps!

Lex
Go to the top of the page
 
+Quote Post

Posts in this topic
JimR   Frotz   Aug 8 2008, 06:23 PM
tux   QUOTE(JimR @ Aug 9 2008, 03:23 AM) Hi the...   Aug 9 2008, 05:19 AM
JimR   Thanks Tux, you really helped me out. Got it all f...   Aug 10 2008, 02:45 AM
alexl   QUOTE(JimR @ Aug 8 2008, 06:23 PM) I can ...   Jul 11 2009, 11:08 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 11th July 2014 - 10:11 AM