Main > Software Forum
HTML5 FrontEnd
arximidis:
--- Quote from: Le Chuck on July 31, 2014, 07:45:02 am ---On the current version uiPlayer does load and music does play. What has been happening a lot is that the intro video will play then when the video is complete the FE will white screen and freeze but the music will come up and continue to play. When I kill the FE the music will continue to play until I kill uiPlayer. So based on that I'd said it's crashing on main.html and not on index since it makes it through the vid. I've been pretty swamped this week but this weekend I'll take another crack at it and let you know.
--- End quote ---
Great info!!!
You say the background music starts playing and then freezes (so, Now I know in which line of the code the problem begins)
Do you have the same behaviour even if you disable the starfield effect? If you do, then I think I know where the problem is
The function is with the name Initialize().
The line where the music starts is at 716 (current version).
Then (you see) it loads the background starfield effect (that is why I asled)
Then it sends the command to load the settings of all the emulators (Maybe the problem is because you have too many directories)
You can check this out... Comment the two last commands of the function Initialiaze and run the program. Add a // before each comand like this:
--- Code: --- //getemusettings = true;
//hyperlink("http://FrontEnd_GETINIENTRIES?param={THEMEPATH}/emulators/"+emuArray[0][0]+'/settings.ini§or=SETTINGS');
--- End code ---
Doing so the FE will not work properly, but you will be able to see if it crashes or not
If it doesn't crash, then we found the problem (and I will change the way how the FrontEnd reads the settings)
arximidis:
HTMLFrontEnd -- new version
HAPPY NEW YEAR!
The new version of HTMLFrontEnd has been uploaded (version 5.0)
http://piperidis.smartdev.gr/MyWebPage/Catalog/games/HTMLFrontEndEN.htm
The new version is no long supporting Windows XP (EDIT: at least for now).
You can use a slim/light version of Windows 7 for old machines (at least that is what I am using for my arcade machine)
You can find software on the internet and tutorials on how to slim your Windows 7 version
Pure HTML5 code
You can control the sound volume of background music, sound effects, video playback and system master volume (edit: Changing system volume will allow you to control the sound/music volume of the games you play too)
The new version has also joystick/gamepad support.
Here is how to install: http://piperidis.smartdev.gr/MyWebPage/Catalog/games/FE_tutor/htmlFEtutorEN.htm
Don't forget to install the javascript-joystick plugin for the gamepad/joystick support
EDIT: updated links