Author Topic: nubie help - tar file to play mame  (Read 2617 times)

ultra-hp

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
nubie help - tar file to play mame
« on: May 06, 2004, 10:15:35 pm »
If anyone could help it would be great!  
Just purchased a SL-C760 and I am trying to get it to work with either znes or mame.
Just downloaded all the sdl libraries and advancemame as indicated in another forum posting. The advance mame was in a gz format so I went into the console and typed

gunzip advancemame-0.81.1-linux-pentium.tar.gz

and now I have a file called

advancemame-0.81.1-linux-pentium.tar

how can I get this to work?

THanks in advance
Sharp Zaurus SL-C760
Qtopia Version 1.5.4
Linux Kernel Version 2.4.18-rmk7-pax3.emb

offroadgeek

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
    • https://www.oesf.org
nubie help - tar file to play mame
« Reply #1 on: May 06, 2004, 10:23:26 pm »
tar -cvf filename.tar

or you could have done with the original .tar.gz

tar -cvzf filename.tar.gz
Search the OESF Wiki
C1000 w/Cacko 1.23 beta (from Streamline) / 760 pdaxrom rc9 / 6000L (thanks Santa's elf!) / 5500 - OZ 3.3.5 / SIMpad SL4
1GB, 256mb SanDisk CF / 2x 1GB, 512mb, 256mb, 128mb SanDisk SD
Ambicom WL100C-CF wifi / Socket 56k CF modem / AmbiCom BT2000-CF (x2)
Pocketop keyboard, Piel Frama case (1000 & 5500), PDAir case (760 & 1000)
sip:536093@fwd.pulver.com
| OESF | ELSI | Zaurus User Group | ZaurusThemes |

redbones

  • Newbie
  • *
  • Posts: 12
    • View Profile
nubie help - tar file to play mame
« Reply #2 on: May 06, 2004, 10:25:18 pm »
tar xvf advancemame-0.81.1-linux-pentium.tar

should untar it.  not sure what to do after that.

ultra-hp

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
nubie help - tar file to play mame
« Reply #3 on: May 06, 2004, 10:29:05 pm »
when I type

tar -cvf advancemame-0.81.1-linux-pentartium.tar.gz

I get the responce :
tar: cowardly refusing to create an empty archive
Sharp Zaurus SL-C760
Qtopia Version 1.5.4
Linux Kernel Version 2.4.18-rmk7-pax3.emb

ultra-hp

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
nubie help - tar file to play mame
« Reply #4 on: May 06, 2004, 10:31:33 pm »
it worked!  
Thanks!

what is a tar? (compared to a win file?)
Sharp Zaurus SL-C760
Qtopia Version 1.5.4
Linux Kernel Version 2.4.18-rmk7-pax3.emb

ultra-hp

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
nubie help - tar file to play mame
« Reply #5 on: May 06, 2004, 10:32:36 pm »
(the xvf worked)
Sharp Zaurus SL-C760
Qtopia Version 1.5.4
Linux Kernel Version 2.4.18-rmk7-pax3.emb

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
nubie help - tar file to play mame
« Reply #6 on: May 07, 2004, 05:46:31 am »
A tar file is uncompressed, it basically tacks lots of files (which can be in directories) together into one file, keeping their permissions, ownership, directory info etc. This single file can then be compressed with gzip (.gz).

I don\'t think that there is a Windows equivalent, just that tar & gzip are about the same as zipping something (you can also zip under Linux if you so desire).

Offroadgeek\'s post is wrong.

The switches are:

z - uncompress using gunzip

x - extract
c - create (so you only use one of these)

f - it\'s a file (this is always needed, don\'t ask)
v - be verbose

e.g.

tar -zxvf somefiles.tar.gz (extract from tar.gz)
tar -xvf somefiles.tar (extract from tar)
tar -cvf somefiles.tar ./getfilesfromhere/* (create tar file)


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