Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 3b85ab76513d52c3b7e51e8bf9e28668 > files > 13

sakuraplayer-1.0.5-1mdk.i586.rpm

8.3toAmiga
==========

NOTE: read this file first, if you want to avoid trouble and loss of data!
--------------------------------------------------------------------------

Since tfmx-play requires the TFMX files to be named in Amiga fashion
(mdat.SONG / smpl.SONG), I have included a small script that renames all
files in the current directory that are named in 8.3 DOS format (SONG.tfx /
SONG.sam and SONG.TFX / SONG.SAM) to the Amiga format.

Of course this only works if your filesystem supports long filenames...

Example
-------
The current dir contains these files:
-rw-r--r--   1 neo      users      116160 Mar  9 12:29 R-TYPE.SAM
-rw-r--r--   1 neo      users       29184 Mar  9 12:29 R-TYPE.TFX
-rw-r--r--   1 neo      users      158500 Mar  9 12:28 muds.sam
-rw-r--r--   1 neo      users        8400 Mar  9 12:28 muds.tfx

After running "8.3toAmiga go", it looks like this:
-rw-r--r--   1 neo      users       29184 Mar  9 12:29 mdat.R-TYPE
-rw-r--r--   1 neo      users        8400 Mar  9 12:28 mdat.muds
-rw-r--r--   1 neo      users      116160 Mar  9 12:29 smpl.R-TYPE
-rw-r--r--   1 neo      users      158500 Mar  9 12:28 smpl.muds

======================
Danger, Will Robinson!
======================
If your directory contains files like SONG.TFX/SONG.SAM and
SONG.tfx/SONG.sam, the files ending with .tfx/.sam will be overwritten:

-rw-r--r--   1 neo      users      116168 Mar  9 12:29 R-TYPE.sam (x)
-rw-r--r--   1 neo      users       29188 Mar  9 12:29 R-TYPE.tfx (x)
-rw-r--r--   1 neo      users      116160 Mar  9 12:29 R-TYPE.SAM
-rw-r--r--   1 neo      users       29184 Mar  9 12:29 R-TYPE.TFX
thus becomes
-rw-r--r--   1 neo      users       29184 Mar  9 12:29 mdat.R-TYPE
-rw-r--r--   1 neo      users      116160 Mar  9 12:29 smpl.R-TYPE
(the files marked with (x) will be lost!)

Also, mixed cases (SONG.tfx/SONG.SAM or SONG.TFX/SONG.sam) are not
supported!