Unlike old GUIs new flash-based system is really black box.
I'm try to read listing of any native .bswf file and don't see a easy way to do this.
Also I found 'idCommonLocal::StartMainMenu' but there is no procedure with call this.
How engine launch mainmenu, how call MoveToNewMap from mainmenu - no anwsers at now.
Needs a listing of (as I think) /generated/swf/shell.bswf (.swf, .as, any human-readable source code for new mainmenu).
And a second ground problem it's a understanding a conception of binary resources (.bimage, bswf etc) and
how to work with them.
Can anybody give a point?
*****************
Other guys find same way for Rage:
http://forum.xentax.com/viewtopic.php?p=90422
*****************
Looks like game started via simple console command "map":
But who/how call this proc from .swf?
************************
http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf-file-format-spec-v10.pdf (pdf 1,1 Mb).
I'm try to read listing of any native .bswf file and don't see a easy way to do this.
Also I found 'idCommonLocal::StartMainMenu' but there is no procedure with call this.
Code Select
/*
==============
idCommonLocal::StartMainMenu
==============
*/
void idCommonLocal::StartMenu( bool playIntro ) {
if ( game && game->Shell_IsActive() ) {
return;
}
if ( readDemo ) {
// if we're playing a demo, esc kills it
UnloadMap();
}
if ( game ) {
game->Shell_Show( true );
game->Shell_SyncWithSession();
}
console->Close();
}
How engine launch mainmenu, how call MoveToNewMap from mainmenu - no anwsers at now.
Needs a listing of (as I think) /generated/swf/shell.bswf (.swf, .as, any human-readable source code for new mainmenu).
And a second ground problem it's a understanding a conception of binary resources (.bimage, bswf etc) and
how to work with them.
Can anybody give a point?
*****************
Other guys find same way for Rage:
http://forum.xentax.com/viewtopic.php?p=90422
*****************
Looks like game started via simple console command "map":
Code Select
/*
========================
idMenuHandler_Shell::StartGame
========================
*/
cmdSystem->AppendCommandText( va( "map %s %d\n", "game/mars_city1", 0 ) );
But who/how call this proc from .swf?
************************
http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf-file-format-spec-v10.pdf (pdf 1,1 Mb).