Module Editor :: Class GHImporter
[hide private]
[frames] | no frames]

Class GHImporter

source code

Task.Task --+    
            |    
   View.Layer --+
                |
               GHImporter

Guitar Hero(tm) song importer.

This importer takes the original Guitar Hero PS2 DVD and extracts the songs from it. Thanks to Sami Vaarala for the initial implementation!

Instance Methods [hide private]
 
__init__(self, engine) source code
 
hidden(self) source code
 
decodeVgsStreams(self, vgsFile, length) source code
 
joinPcmFiles(self, pcmLeft, pcmRight, waveOut, sampleRate=44100) source code
 
decodeVgsFile(self, vgsFile, length, outputSongOggFile, outputGuitarOggFile, outputRhythmOggFile, workPath) source code
 
compressWaveFileToOgg(self, waveFile, oggFile) source code
 
isOggEncoderPresent(self) source code
 
importSongs(self, headerPath, archivePath, workPath) source code
 
run(self, ticks) source code
 
render(self, visibility, topMost) source code

Inherited from View.Layer: isBackgroundLayer, shown

Inherited from Task.Task: started, stopped

Method Details [hide private]

__init__(self, engine)
(Constructor)

source code 
Overrides: Task.Task.__init__

hidden(self)

source code 
Overrides: View.Layer.hidden

run(self, ticks)

source code 
Overrides: View.Layer.run

render(self, visibility, topMost)

source code 
Overrides: View.Layer.render