Author Topic: Emulator help  (Read 3912 times)

bmxgeorge

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • http://www.gsportbmx.co.uk
Emulator help
« on: November 27, 2003, 12:35:19 pm »
Hi.
Yes I am a newbie and frighteningly dumb about this but help would be much appreciated.

I am trying to run the qtopia based SNES emulator from here:-
http://www.killefiz.de/zaurus/showdetail.php?app=1214

There are two files, one of which is an ipk and I have installed. The other is just marked as a file and I dont know what to do with it. I get an error of \"no application defind... type is application/octet-stream\".

If anyone could direct me in the right direction I would be very grateful.

I just have the basic 3.10 sharp rom recently flashed.

George

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Emulator help
« Reply #1 on: November 30, 2003, 11:37:19 am »
It\'s probably an executable (which in Linux doesn\'t require a file extension like it does in Win). I downloaded the zip file to which the link points and there\'s an executable and a text file contained within. Stick the executable in /usr/bin or /usr/local/bin, run the command \'chmod +x executable_name\' on the file - replace the executable_name bit with its correct name (snes9x??) (this makes the file executable under Linux), then just type in the command name at the terminal and it should run.

BTW you\'ll need the terminal available.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Anonymous

  • Guest
Emulator help
« Reply #2 on: November 30, 2003, 03:36:58 pm »
Thanks a lot. I got it all working. Now I just need to work out how to make a decent control pad...
Is is relatively easy (from a newbie POV) to create some sort of shortcut so I can run a game without using the terminal?
 
G.

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Emulator help
« Reply #3 on: November 30, 2003, 06:01:38 pm »
Try looking at /opt/QtPalmtop/apps/Applications/*.desktop
You want to create a .desktop file of your own, so look for clues in the existing ones.

Filenames are relative to various subdirectories of /opt/QtPalmtop (like bin/ for executables or pics/ for icons).

Hope this helps,

z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Emulator help
« Reply #4 on: December 01, 2003, 06:21:39 am »
Quote
Filenames are relative to various subdirectories of /opt/QtPalmtop (like bin/ for executables or pics/ for icons).  

Yep so make a symlink from your executable (in /usr/bin or wherever to /opt/QtPalmtop/bin)

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

bmxgeorge

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • http://www.gsportbmx.co.uk
Emulator help
« Reply #5 on: December 01, 2003, 08:58:21 am »
ummmm...

Ok so I scroll down through the file structure and I need to create a .desktop file by basicly copying an existing one, but what do I use to open the existing one to look at it?

Sorry for the presumably very basic nature of the questions, I am a total novice at this. If there is a website called \"how to not suck at life\" with details of this kind of thing for absolute beginners please feel free to direct me there...

G.

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Emulator help
« Reply #6 on: December 01, 2003, 09:47:35 am »
OK, let\'s try:

1. Install the File Manager to your Zaurus if it isn\'t there already
2. Open File Manager, go to /opt/QtPalmtop/apps/Applications
3. Tap & hold one of the .desktop files until a context menu appears
4. Choose Actions ] Copy Same Dir
5. Enter snes.txt as the new file name
6. Tap & hold snes.txt until a context menu appears
7. Choose Add To Documents
8. Go to the Documents tab and make sure that All types or Text is selected in the bottom-left list box
9. Tap the entry corresponding to snes.txt (an icon with a pen which has \"snes\" under it)
10. Edit the file to make the necessary changes
11. When done editing, copy snes.txt to snes.desktop (just like in steps 2 to 5)
12. Go to the Settings tab and choose Shutdown ] Restart Opie

Repeat steps 9 through 12 until a new entry appears in the Applications tab :-)

Good luck.

z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Emulator help
« Reply #7 on: December 01, 2003, 09:59:41 am »
Are you sure the above will work. I have a feeling that the standard ROM text editor adds line feeds when it saves text files. This will stop the file from working in all probability.

I\'d use vi:

vi snes95.desktop (for example)

Do a google and you\'ll find some newbie guides for using it (they will be better than my explanation).


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

bmxgeorge

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • http://www.gsportbmx.co.uk
Emulator help
« Reply #8 on: December 01, 2003, 10:14:14 am »
Quote
OK, let\'s try:

1. Install the File Manager to your Zaurus if it isn\'t there already
2. Open File Manager, go to /opt/QtPalmtop/apps/Applications
3. Tap & hold one of the .desktop files until a context menu appears
4. Choose Actions ] Copy Same Dir
5. Enter snes.txt as the new file name
6. Tap & hold snes.txt until a context menu appears
7. Choose Add To Documents
8. Go to the Documents tab and make sure that All types or Text is selected in the bottom-left list box
9. Tap the entry corresponding to snes.txt (an icon with a pen which has \"snes\" under it)
10. Edit the file to make the necessary changes
11. When done editing, copy snes.txt to snes.desktop (just like in steps 2 to 5)
12. Go to the Settings tab and choose Shutdown ] Restart Opie

Repeat steps 9 through 12 until a new entry appears in the Applications tab :-)

Good luck.

z.

Thanks a lot for the patient help.

Unfortunately I get stuck at step 3.
Tapping and holding doesnt bring up a context menu (or anything else)(I am using Sharp Rom 3.10 with SHarp file manager and Sharp terminal installed)

I tried copying the .desktop file but it isnt available to paste when I go to documents (greyed out)

I also tried using the \"Zaurus File Transfer\" facility to get to it to copy but it wont have it...



What is \"vi\" I will hunt down links on Google but I suspect just searching for \"vi\" m,ight get a lot of un-related hits

G.

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Emulator help
« Reply #9 on: December 03, 2003, 06:56:00 am »
I was hoping to avoid this but...

1. try opening the Sharp terminal and entering the following commands:
  cd /opt/QtPalmtop/apps/Applications
  cp calculator.desktop snes.desktop
  vi snes.desktop
2. Press \"i\" to go into vi\'s editing mode.
3. Edit what you need and then press Cancel to get out of the editing mode.
4. Type \":x\" and press Enter. This will save your changes and exit. If you want to leave without saving, it\'s \":q!\" and Enter.
5. Exit the Sharp terminal and go Settings ] Shutdown ] Restart Qtopia or do something equivalent (sorry, I\'m really not into Sharp ROMs).

On my OpenZaurus ROM, the Backspace key doesn\'t work properly in vi. If this proves to be your case as well, I know only a rough workaround:

3a. Press Cancel to get out of editing mode.
3b. Position the cursor to where you want to erase stuff.
3c. Press Shift-D to erase all text from the cursor to the end of the line.
3d. Press \"i\" to return to editing mode.

I\'m sure there are better ways to do this but I live OK with this one. vi is fine but it\'s hell for the newbie so hang in there. I wish I could advise you on getting proper FTP or ssh access to your Z from your PC but I\'m not familiar with Sharp ROMs so I doubt I could help you that way.

z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

bmxgeorge

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • http://www.gsportbmx.co.uk
Emulator help
« Reply #10 on: December 03, 2003, 09:45:13 am »
Thanks for the help.

I get \"cannot open (NEW FILE NAME).desktop, permission denied\"

I played about with a lot of different combos but I suspect that the entire folder is \"locked\" in some way...

I can open existing desktop shortcuts in vi by typing vi name.desktop but I have trouble quitting. It crashes generally speaking, and I have to shut the terminal window.

I cant find anyway to access these folders and add/edit things????

G.

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
Emulator help
« Reply #11 on: December 03, 2003, 10:01:38 am »
With the 3.10 ROM you can create a new desktop icon/link with the Tab Setting program, so you don\'t have to mess with all the command line stuff.

However if you need to execute a command with arguments, you cannot call this directly from a desktop icon. In this case you need to put the command in a shell script and follow this howto: http://www.zaurususergroup.com/modules.php...rom%20an%20icon
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

bmxgeorge

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • http://www.gsportbmx.co.uk
Emulator help
« Reply #12 on: December 03, 2003, 03:52:13 pm »
Thanks guys. I will give that a crack..
Ta.