Log in

View Full Version : Error when installing tar games over 2 megs


rinkrat
07-11-2007, 01:06 AM
Whenever I attempt to install a tar game over 2 megs in size with the auto installer (which works fine with smaller games) I get this error message. Can someone help me figure out how to fix this? Some of the best games are > 2 megs.

Warning: main(/home/www/html/bbs/arcade/tmp/circlo2DR_v2.php): failed to open stream: No such file or directory in /admincp/arcade.php on line 2862

Warning: main(/home/www/html/bbs/arcade/tmp/circlo2DR_v2.php): failed to open stream: No such file or directory in /admincp/arcade.php on line 2862

Fatal error: main(): Failed opening required '/home/www/html/bbs/arcade/tmp/circlo2DR_v2.php' (include_path='.:/usr/share/pear') in /home/www/html/bbs/admincp/arcade.php on line 2862

------------------------------------------

I looked at line 2862 of arcade.php and it is

require $config_file;

------------------------------------------

Any ideas?

duncan99
07-11-2007, 10:31 AM
Do not do anything on the arcade.php, I don't know the other games you install has the similar issues, but this one for sure its the game file name using underscore which is not support by the installer, try rename all files:
circlo2DR_v2.php --> circlo2DRv2.php
circlo2DR_v21.gif --> circlo2DRv21.gif
circlo2DR_v22.gif --> circlo2DRv22.gif
circlo2DR_v2.swf --> circlo2DRv2.swf

Lastly open circlo2DRv2.php and edit :
<?php
$config = array(

gname => "circlo2DRv2", // <-- change the gname like this.
gtitle => "Circlo 2",
bgcolor => "000000",
gwidth => "594",
gheight => "464",
active => "1",
gcat => "1",
highscore_type => "high",

//optional leave blank if not using
gwords => "Sequel to the circular bubble puzzle game Circlo. Again you'll have to shoot various colored bubbles at the center with your mouse in this 30 new levels..",
object => "Sequel to the circular bubble puzzle game Circlo. Again you'll have to shoot various colored bubbles at the center with your mouse in this 30 new levels.. ",
gkeys => "Mouse",

);?>

After that you can either install the game manually or repark the game to tar file and re-install, you are fine. :)

I think this is a bug or underscore is not a support character in ibProArcade v2.6.1+....

Hope this help :)

rinkrat
07-11-2007, 04:22 PM
Thanks for taking the time. I'll give this a try.