mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Setup/Firstrun
* forgot to add sounds generator to firstrun script
This commit is contained in:
@@ -74,6 +74,8 @@ function firstrun()
|
|||||||
['SqlGen::generate', 'itemset', null, null, null],
|
['SqlGen::generate', 'itemset', null, null, null],
|
||||||
['SqlGen::generate', 'item_stats', null, null, null],
|
['SqlGen::generate', 'item_stats', null, null, null],
|
||||||
['SqlGen::generate', 'source', null, null, null],
|
['SqlGen::generate', 'source', null, null, null],
|
||||||
|
['SqlGen::generate', 'sounds', null, null, null],
|
||||||
|
['FileGen::generate', 'soundfiles', null, null, null],
|
||||||
['FileGen::generate', 'searchplugin', null, null, null],
|
['FileGen::generate', 'searchplugin', null, null, null],
|
||||||
['FileGen::generate', 'power', null, null, null],
|
['FileGen::generate', 'power', null, null, null],
|
||||||
['FileGen::generate', 'searchboxScript', null, null, null],
|
['FileGen::generate', 'searchboxScript', null, null, null],
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ if (!CLI)
|
|||||||
{
|
{
|
||||||
$i = 0;
|
$i = 0;
|
||||||
CLISetup::log(' - '.$itr.'/'.$nFiles.' ('.(intVal(100 * $itr / $nFiles).'%) done'));
|
CLISetup::log(' - '.$itr.'/'.$nFiles.' ('.(intVal(100 * $itr / $nFiles).'%) done'));
|
||||||
|
DB::Aowow()->selectCell('SELECT 1'); // keep mysql busy or it may go away
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stristr($filePath, '.wav')) // expected file.wav.ogg
|
if (stristr($filePath, '.wav')) // expected file.wav.ogg
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ function sounds(/*array $ids = [] */)
|
|||||||
|
|
||||||
CLISetup::log(' - sounds main data');
|
CLISetup::log(' - sounds main data');
|
||||||
|
|
||||||
// file extraction and conversion in build step. data here is purely structural
|
// file extraction and conversion manually
|
||||||
|
// moving files in build step. data here is purely structural
|
||||||
// reality check ... thats probably gigabytes worth of sound.. only growing in size with every locale added on top (RedRocketSite didn't do it. Should i then?)
|
// reality check ... thats probably gigabytes worth of sound.. only growing in size with every locale added on top (RedRocketSite didn't do it. Should i then?)
|
||||||
|
|
||||||
// .wav => audio/ogg; codecs="vorbis"
|
// .wav => audio/ogg; codecs="vorbis"
|
||||||
|
|||||||
Reference in New Issue
Block a user