Skip to content

Commit

Permalink
improve spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
uli42 committed Jan 4, 2015
1 parent 991188a commit 6ba141d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Audio/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
Replacing Audio Files
==============
=====================

This small howto explains how you can replace the audiofiles in a gme file.
This small howto explains how you can replace the audio files in a gme file.


Replace audios with numbers
---------------------------

There is a soundpackage you can use to debug the tiptoy.
If you apply this soundpackage to a gme file the tiptoy will output the ID (position) of the audio file in the audio file table.
There is a sound package you can use to debug the tiptoi.
If you apply this sound package to a gme file the tiptoi will output the ID (position) of the audio file in the audio file table.

Procedure:
* Compile libtiptoy.c with you favorite C-Compiler (only MS Visual Studio express 2013 tested so far)
* Compile libtiptoi.c with you favorite C compiler (only MS Visual Studio express 2013 tested so far)
* obtain an audio package (for example numbers, see below)
* run libtiptoy with the path to the audiopackage, an output filename and inputfilename as arguments
* run libtiptoi with the path to the audio package, an output filename and input filename as arguments

Audio packages
* **numbers **
* **numbers**
numbers in english where each digit of the ID will be spoken.

To build this audio package, make sure `flac` and `oggenc` are installed,
Expand All @@ -27,26 +27,26 @@ Audio packages
For now this is only tested with Bauernhof and will not work if there is data after the audiotable!

example:
libtiptoi n ./numbers Bauernhof_numbers.gme Bauernhof.gme
libtiptoi n ./numbers Bauernhof_numbers.gme Bauernhof.gme


Extract Audio Files
-----------------
-------------------

To extract the Audiofiles of a gme and write a filelist.txt file use the x mode with a path to extract and an inputfile.
The outputpath must exist!
To extract the audio files of a gme and write a filelist.txt file use the x mode with a path to extract and an input file.
The output path must exist!

example:
libtiptoi x ./bauernhof Bauernhof.gme
libtiptoi x ./bauernhof Bauernhof.gme

Afterwards you will find all Audiofiles with their id as name in that path with a filelist.txt
As there might be multible entries in the Audio Table to the same Audiofile the file filelist might contain duplicates.
Afterwards you will find all audio files with their ID as name in that path together with a filelist.txt
As there might be multiple entries in the audio table to the same audio file the file filelist might contain duplicates.


Replace Audio Files
-----------------
-------------------

You can replace all audiofiles in a gme with the mode r. You have to give the path to the filelist.txt, an input and an outputfile as parameter.
You can replace all audio files in a gme by using the mode r. You have to give the path to the filelist.txt, an input and an output file as parameter.

example:
libtiptoi r ./pathto/filelist.txt Bauernhof_new.gme Bauernhof.gme
Expand Down

0 comments on commit 6ba141d

Please sign in to comment.