Merry Christmas Everyone!!,
I have read the read me, the boot.txt, and the start up.txt as well as most of the online documentation and can not figure out how to get the Stand Alone console to work properly.
Here is the Start up Script (in blue) as I have modified it:
/*
IMPORTANT: Read the at beginning of boot.txt before proceeding.
*/
BindEvent( SS_KEY_DOWN_EVENT | 'A' | SS_SHIFT_KEY_CODE, " \
if ( SetAudioSource( GetPref( PREF_AUDIO_INPUT_SOURCE ) + 1 ) == ss_NoErr ) { \
SetPref( PREF_AUDIO_INPUT_SOURCE, GetPref( PREF_AUDIO_INPUT_SOURCE ) + 1 ); \
} \
else { \
SetAudioSource( 0 ); \
SetPref( PREF_AUDIO_INPUT_SOURCE, 0 ); \
} \
printf( \"Audio input: %s\n\", GetAudioSourceDesc() );"
);
0:35
if ( GetPref( PREF_CHECK_FOR_UPDATES ) > 0 ) {
if ( GetVersAvailable() > _VERSION_ ) {
InitiateURLOverlay( "An update for G-Force is available at ", 14 );
}
}
I think that the Script works, but to be totally honest , I cant be sure because I don't know C language.
Also, is there a way to write a script to toggle between sources? For example, lets say I am listening to my CDROM and want to switch to my Dat player (external input from my sterio), but don't want to quit Gforce, and the start it back up with a new script. How would I do that?
Thanks in advance,
Desmo888
Question about Startup.txt Script and Stand Alone Use
Moderators: BTT, andy55, b.dwall, juxtiphi
- JayPro
- Posts: 738
- Joined: Sat May 01, 2004 10:51 pm
- Location: Huntington Station, Long Island, New York
Firstly, I would reserve editing the Boot file in cases where you have G-Force installed for one or more specific media players. Search for the G-Force Prefs file and check it out to see what you're after.
Secondly, could you be a bit more specific with how you intend the standalone console to work as you wish it to? I don't quite follow.
Are you looking to change the font? If this is your aim, I'm afraid there's no way to do that (at least in my OS X standalone). Then again, I may be missing something myself.
Alas, my knwledge of C is poor also, so I should certainly hope that others here might better assist you.
Secondly, could you be a bit more specific with how you intend the standalone console to work as you wish it to? I don't quite follow.
Are you looking to change the font? If this is your aim, I'm afraid there's no way to do that (at least in my OS X standalone). Then again, I may be missing something myself.
Alas, my knwledge of C is poor also, so I should certainly hope that others here might better assist you.
"God is syntax."
Follow up about Startup.txt
Hi JayPro,
Here goes again, from the top...
I plug my DAT player (external home sterio device) audio out into the audio INPUT of my soud card. I press play on my dat player and want to be able to use GForce as my visualization.
It is my understanding that I have to use the stand alone version of Gforce to accomplish this.
I have not altered my "Boot.txt", PERIOD. I understand that much; however according to the Last Paragraph of the "Boot.txt" the following is read, (in blue)" #if STANDALONE
BindEvent( SS_KEY_DOWN_EVENT | 'A' | SS_SHIFT_KEY_CODE, " \
if ( SetAudioSource( GetPref( PREF_AUDIO_INPUT_SOURCE ) + 1 ) == ss_NoErr ) { \
SetPref( PREF_AUDIO_INPUT_SOURCE, GetPref( PREF_AUDIO_INPUT_SOURCE ) + 1 ); \
} \
else { \
SetAudioSource( 0 ); \
SetPref( PREF_AUDIO_INPUT_SOURCE, 0 ); \
} \
printf( \"Audio input: %s\n\", GetAudioSourceDesc() );"
);
// Apply our audio source pref (otherwise, we'll never get audio input). Keep in mind that
// this fcn does do anything if we're not in standalone mode. If we get an error while
// trying to select a particular audio source, go back, use the default input.
if ( SetAudioSource( GetPref( PREF_AUDIO_INPUT_SOURCE ) ) != ss_NoErr ) {
print( "Error opening preferred audio input device.\n" );
}
#endif"
I interpret this to mean that I have to physically alter the "script.txt" file that is located within Gforce.
Maybe I am just trying too hard.
How do you use your Standalone?
Here goes again, from the top...
I plug my DAT player (external home sterio device) audio out into the audio INPUT of my soud card. I press play on my dat player and want to be able to use GForce as my visualization.
It is my understanding that I have to use the stand alone version of Gforce to accomplish this.
I have not altered my "Boot.txt", PERIOD. I understand that much; however according to the Last Paragraph of the "Boot.txt" the following is read, (in blue)" #if STANDALONE
BindEvent( SS_KEY_DOWN_EVENT | 'A' | SS_SHIFT_KEY_CODE, " \
if ( SetAudioSource( GetPref( PREF_AUDIO_INPUT_SOURCE ) + 1 ) == ss_NoErr ) { \
SetPref( PREF_AUDIO_INPUT_SOURCE, GetPref( PREF_AUDIO_INPUT_SOURCE ) + 1 ); \
} \
else { \
SetAudioSource( 0 ); \
SetPref( PREF_AUDIO_INPUT_SOURCE, 0 ); \
} \
printf( \"Audio input: %s\n\", GetAudioSourceDesc() );"
);
// Apply our audio source pref (otherwise, we'll never get audio input). Keep in mind that
// this fcn does do anything if we're not in standalone mode. If we get an error while
// trying to select a particular audio source, go back, use the default input.
if ( SetAudioSource( GetPref( PREF_AUDIO_INPUT_SOURCE ) ) != ss_NoErr ) {
print( "Error opening preferred audio input device.\n" );
}
#endif"
I interpret this to mean that I have to physically alter the "script.txt" file that is located within Gforce.
Maybe I am just trying too hard.
How do you use your Standalone?
- JayPro
- Posts: 738
- Joined: Sat May 01, 2004 10:51 pm
- Location: Huntington Station, Long Island, New York
Ah...
I just use it in conjunction with other third-party disc/mp3 players (yeah, it's an additional strain on the preëxisting biggie that GF puts on my CPU, but WTH). Only thing is I have too make sure that the built-in mike is selected as the input source.
Unfortunately, my living space (such as it is) doesn't allow me to set up any elaborate nexus between my computer and my "entertainment system", such as *that* is.
Again, I'm hoping that someone else here can help you with your scripting question, coz I honestly can't.
I just use it in conjunction with other third-party disc/mp3 players (yeah, it's an additional strain on the preëxisting biggie that GF puts on my CPU, but WTH). Only thing is I have too make sure that the built-in mike is selected as the input source.
Unfortunately, my living space (such as it is) doesn't allow me to set up any elaborate nexus between my computer and my "entertainment system", such as *that* is.
Again, I'm hoping that someone else here can help you with your scripting question, coz I honestly can't.
"God is syntax."
Re: Follow up about Startup.txt
Out of the box, G-Force standalone 272 should be ready to go for you. Just press SHIFT A to step thru all your audio devices. If it's not in there, shoot me an email and I can look into it. Again, you don't need to make any edits to your files to get up and running. If you want to backtrack, run the uninstaller, delete your preferences file, and reinstall GF (and then use SHIFT A in the standalone version).Desmo888 wrote:Hi JayPro,
Here goes again, from the top...
I plug my DAT player (external home sterio device) audio out into the audio INPUT of my soud card. I press play on my dat player and want to be able to use GForce as my visualization.
It is my understanding that I have to use the stand alone version of Gforce to accomplish this.
andy