stangger5 |
05-02-2014 10:00 PM |
ibProArcade Game Full Screen
1 Attachment(s)
This mod makes the game full screen...
The original way makes the the screen full but not the game..
Should work with any version of ibProArcade..
Demo: www.next-level-arcade.com
Find this is the main arcade.php file..It should be around line 2929..
PHP Code:
<BODY BGCOLOR="#000000" oncontextmenu="javascript:return false" margin: 0; padding: 0;>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" id="playnewin" name="ibproarcade" width="100%" height="100%">
<param name="menu" value="false" />
<param name="movie" value="./arcade/{$game['gname']}.swf?tgame=0&pn_gid={$game['gid']}&pn_license={$game['license']}&pn_checksum={$game['checksum']}&pn_domain={$game['domain']}&pn_uname={$game['username']}" />
<param name="type" value="application/x-shockwave-flash" />
<param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer/" />
<param name="bgcolor" value="#{$game['bgcolor']}" />
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="width" value="{$game['gwidth']}" />
<param name="height" value="{$game['gheight']}" />
<param name="flashvars" value="location=./&gamename={$game['gname']}&hash={$game['hash']}" />
<embed src="./arcade/{$game['gname']}.swf?tgame=0&pn_gid={$game['gid']}&pn_license={$game['license']}&pn_checksum={$game['checksum']}&pn_domain={$game['domain']}&pn_uname={$game['username']}" width="{$game['gwidth']}" height="{$game['gheight']}" bgcolor="#{$game['bgcolor']}" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer/" flashvars="location=./&gamename={$game['gname']}" menu="false"></embed>
<noembed>{$ibforums->lang['no_embed']}{$game['gtitle']}</noembed>
</object>
</body></html>
Replace it with this:
PHP Code:
<body bgcolor="#000000" marginwidth="0" marginheight="0" bottommargin="0" rightmargin="0" topmargin="0" leftmargin="0" scroll="no" style="overflow: hidden">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%">
<param name="movie" value="./arcade/{$game['gname']}.swf?tgame=0&pn_gid={$game['gid']}&pn_license={$game['license']}&pn_checksum={$game['checksum']}&pn_domain={$game['domain']}&pn_uname={$game['username']}" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="scrollbars" value="no" />
<param name="toolbar" value="no" />
<param name="status" value="no" />
<PARAM NAME="SCALE" VALUE="exactfit">
<embed src="./arcade/{$game['gname']}.swf?tgame=0&pn_gid={$game['gid']}&pn_license={$game['license']}&pn_checksum={$game['checksum']}&pn_domain={$game['domain']}&pn_uname={$game['username']}" quality="high" type="application/x-shockwave-flash" width="100%" height="100%" SCALE="exactfit" scrollbars="no" toolbar="no" status="no" pluginspage="http://www.macromedia.com/go/getflashplayer/" flashvars="location=./&gamename={$game['gname']}" menu="false">
</object>
{$footer}
</body></html>
Close and save..
##############################################
If you use the ibproarcade skin,,edit the skin_Arcade file..
Find:
PHP Code:
<!--popup play-->
<a href="javascript:poptastic('arcade.php?$session[sessionurl]do=playfull&gameid={$entry['gid']}', 'height={$entry['gheight']},width={$entry['gwidth']},left=200,top=100,resizable=yes,scrollbars=no,toolbar=no,status=no');">{$ibforums->lang['gamebox_playpopup']}</a><br />
Replace it with this for full screen in same window..
PHP Code:
<a href="arcade.php?$session[sessionurl]do=playfull&gameid={$entry['gid']}">{$ibforums->lang['gamebox_playpopup']}</a><br />
or this if you want it to open in a pop up window :
PHP Code:
<a href="javascript:poptastic('arcade.php?$session[sessionurl]do=playfull&gameid={$entry['gid']}', 'scrollbars=no,toolbar=no,status=no');">{$ibforums->lang['gamebox_playpopup']}</a><br />
Close and save..
##############################################
If you use the v3arcade skin,,edit the skin_v3Arcade file..
Find:
PHP Code:
<div class="smallfont">{$entry['cost_info']}{$entry['jackpot_info']}</div>
and put this after it:
For full screen in same window..
PHP Code:
<a href="arcade.php?$session[sessionurl]do=playfull&gameid={$entry['gid']}">{$ibforums->lang['gamebox_playpopup']}</a><br />
or this if you want it to open in a pop up window :
PHP Code:
<a href="javascript:poptastic('arcade.php?$session[sessionurl]do=playfull&gameid={$entry['gid']}', 'scrollbars=no,toolbar=no,status=no');">{$ibforums->lang['gamebox_playpopup']}</a><br />
Close and save..
##############################################
Edit the lang_Arcade_ file:
change
PHP Code:
gamebox_playpopup => "(in new window)",
to
PHP Code:
gamebox_playpopup => "(Full Screen)",
Close and save..
##############################################
Works with most games..:rolleyes:
Enjoy !!
:)
|