gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > [DSLinux] Frotz

#90474 - MaHe - Fri Jun 30, 2006 11:05 am

stsp ported Frotz (a old text-adventure game emulator) to DSLinux. Works flawlessly.

http://www.dslinux.org/index.php?s=&showtopic=1074&view=findpost&p=17675

In other news, SuperCard SD driver has been written by amadeus. :)
Just, if anybody cares ...
_________________
[ Crimson and Black Nintendo DS Lite | CycloDS Evolution | EZ-Flash 3-in-1 | 1 GB Transcend microSD ]

#90525 - Devil_Spawn - Fri Jun 30, 2006 4:49 pm

yeah i saw that the sd driver is working, but i dunno how to use it...

#90528 - Mr. Picklesworth - Fri Jun 30, 2006 5:00 pm

Devil: It should just work :)

Yep, Frotz is awesome.
I'm playing Zork right now... the GBAMP doesn't seem to have quite enough RAM for Hitchhiker's Guide to the Galaxy (the real reason why I am excited about Frotz on the DS), so I am hoping that this can be somehow dealt with. (Computers from that time cant have been expected to have that much RAM... so it must be the fault of some piece of software that can always be improved -- maybe Frotz can run in some extra-lightweight mode or stream the game from its data file).
_________________
Thanks!
MKDS Friend Code: 511165-679586
MP:H Friend Code: 2105 2377 6896


Last edited by Mr. Picklesworth on Fri Jun 30, 2006 7:40 pm; edited 1 time in total

#90534 - Devil_Spawn - Fri Jun 30, 2006 5:49 pm

i get a file with no extension

#90572 - JaJa - Fri Jun 30, 2006 9:48 pm

Devil_Spawn wrote:
i get a file with no extension


And?
Linux binaries don't have an extension.
_________________
LAWL HOOGE
My Blog

#90606 - Lynx - Sat Jul 01, 2006 7:09 am

Come on now.. be nice. Linux is new to a lot of people. Linux uses file attributes to determine if a file is executable, vs using an extension.
_________________
NDS Homebrew Roms & Reviews

#90621 - JaJa - Sat Jul 01, 2006 9:22 am

Indeed, my post was a little harsher than I intended.
Linux uses file attributes to determine lots about files.
Whether they're readable, writable, exectuable and by who.
You can view the set attributes with the command ls -l
For example:

-rwxr-xr-x 1 root wheel 603488 20 Jun 13:56 bash

The three fields, -rwxr-xr-x, are the attributes.
The first - means it's a regular file.
The rwx after that means that the owner (root in this case) can read, write and execute it.
The next 3 charachters (r-x) mean that the group (wheel in this case) can read and execute the file.
The last 3 charachters of the string (r-x) list the 'other' permissions.

The executable format of the file (ELF, BFLT) is stored in the header of the file.

I think that's right anyway...
_________________
LAWL HOOGE
My Blog

#90628 - Devil_Spawn - Sat Jul 01, 2006 11:03 am

sigh i was just wondering how u use the driver lol, i am useless with linux

#90643 - tepples - Sat Jul 01, 2006 1:46 pm

Lynx wrote:
Linux uses file attributes to determine if a file is executable, vs using an extension.

But most often on the DS, Linux is used with the FAT16 or FAT32 file system, which doesn't support the readable or executable attributes.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#90850 - thebawp - Sun Jul 02, 2006 11:37 pm

I'd be grateful if someone could please explain exactly how to use frotz via dslinux - I'm completely new to dslinux (basically have got as far as logging into it and typing ls) and I'm at a complete loss on how to use it properly. Any help would be much appreciated!

Edit: With a little help from the dslinux.org forums I've figured out how to run it on a supercard SD, which I'll add here just in case anyone else doesn't know how to do it.

Basically, make sure you download the dslinux-supercardsd.tgz (for Supercard-SD) build from here: http://kineox.free.fr/DS/, I initially downloaded the dslinux.ds.gba (for GBA flash, G6, SuperCard-SD, M3-SD, iDeaS if you rename it with a .pme extension) build, which as yet doesn't appear to include frotz, so make sure you get the former rather than the latter for now, as it doesn't work.

Extract the contents of the .tgz to your supercard, renaming dslinux.ds.nds to just dslinux.nds. Then drop your game folders onto your supercard (I'm not sure but I have a feeling you only need the <gamename>.dat files to run each game) - I placed them in the root directory.

Then turn on your ds and load dslinux.
Login: root
Password: uClinux (you won't be able to see the password as you're typing it in and case matters) Then, use ls command to see a list of directories, and navigate to the directory where you put your infocom games, in my case I had to type cd supercard (to reach the contents of my supercard) then cd lurking, cd data and then I typed frotz lurking.dat to run the game. Works perfectly, though the text is a little small for my liking. =) Brilliant.

Hope that helps anyone who wasn't sure how to run it!