View Single Post
Old 12-11-2010, 11:22 AM   #81
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
It seams, that I have tracked down the problem with v1.1.3 to the handover via kbook.autoRunRoot.xyz in the starter script.

By avoiding any references to Core I am able to have Fiverow on my PRS-505

Spoiler:
Code:
var getSoValue, newEvent, hasNumericButtons;
..
..
target.init = function () {
/* Core workaround  */

      	if(!kbook || !kbook.autoRunRoot || !kbook.autoRunRoot.getSoValue){ 
      	  		if (kbook.simEnviro) {
      	  			//	this.bubble("tracelog","505 branch - SimEnviro");
	      	  		getSoValue = _Core.system.getSoValue;
				hasNumericButtons = _Core.config.compat.hasNumericButtons;
      	  		} else {/* PRS-505 */
      	  			//	this.bubble("tracelog","505 branch - Device");
        	  		getSoValue = function (obj, propName) {
        			return FskCache.mediaMaster.getInstance.call(obj, propName);};
 				hasNumericButtons = true;
      			}
			var compile = getSoValue(prsp,"compile");
			newEvent = compile("param", "return new Event(param)");
	 }else { /* code is ok with PRS-600 */
		//	this.bubble("tracelog","600 branch");
		getSoValue = kbook.autoRunRoot.getSoValue;
		//	this.bubble("tracelog","getSoValue "+getSoValue);
		newEvent = prsp.compile("param", "return new Event(param)");
		hasNumericButtons = kbook.autoRunRoot.hasNumericButtons;
		//	this.bubble("tracelog","hasNumericButtons "+hasNumericButtons);
	}


There are still problems:
  1. "MENU to quit" is overlayed by the (blank) Volumebar (see screenshot)
  2. buttons 1+2: there is no action at the moment !?
  3. I tried the same workaround in my latest sudoku-code but the game refuses to accept button-input

After sorting out the Num-button problem, I will post a complete package.


Quote:
Furthermore, I just converted FiveBalls to Touch using the Test Environment, and then incorporated it into my custom-build of PRS+ and loaded it onto my PRS-600. Everything works fine


If you will try Mahjong too, there is a non obfuscated version in clemenseken's thread here.
Attached Thumbnails
Click image for larger version

Name:	2007-1-1.jpg
Views:	304
Size:	76.3 KB
ID:	62652  
Mark Nord is offline   Reply With Quote