Jump to content

WPI 8.6 and beyond bug\bugfix thread


Recommended Posts

Maybe we can add a scheme HighPerformance about power options for Windows 7.

Inside configwizard_wizards.js

Change from line 1434:


opt[2].label=getText(lblWindows7);
options[9].text=getText(optBalanced);
options[10].text=getText(optPowerSaver);

options[11].text=getText(optCustom);

To:


opt[2].label=getText(lblWindows7);
options[9].text=getText(optBalanced);
options[10].text=getText(optPowerSaver);
options[11].text=getText(optHighPerformance);

options[12].text=getText(optCustom);

Inside configwizardtemplate_poweroptions_powerschemes.htm

We can add on line 32:

<option value="8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c"></option> 

Thanks and regards

Link to comment
Share on other sites


Thanks got them so far:



**** Added {CMD} to the list of functions.
**** Add Win2k to the conditions.
**** Fixed a executebefore64bit error.
**** User file written version updated slightly.
**** Fixed a autologoncount error.
**** Fixed a alert sound location error.
**** More info added to the installer log.
**** Removed more old leftover code.
**** Added setfilesystem to the conditions.
**** More fontinstaller improvements.
**** Tons of textual errors fixed.
**** Added {MSI} to the commands for standard msi files.
**** Added alerts to themewizard when exiting.
**** Fixed a couple of resolution errors.
**** Restored "Float" for the tooltips.
**** Tons of minor features improved.
**** Fixed AutoAdminLogin feature.
**** Added HiPreformance Power Scheme for Win7.

Edited by Kelsenellenelvian
Link to comment
Share on other sites

Inside configwizard.js

We can change,

On line 850:

 Alert("",getText(txtMustAddCommand),"",3,-1,0,0);;

To:

 Alert("",getText(txtMustAddCommand),"",3,-1,0,0);

On line 2022:

Alert("",getText(txtMustAddCommand),"",3,-1,0,0);;

To:

Alert("",getText(txtMustAddCommand),"",3,-1,0,0);

Because now works without having 2 ;

Thanks to check if it's OK. Works fine for me.

Thanks and regards

Link to comment
Share on other sites

Inside wmi.js

Little typo error on line 1624 (missing one \):

Change:

return RegKeyValue("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\AutoLogonCount");

To:

return RegKeyValue("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoLogonCount");

Thanks and regards

Link to comment
Share on other sites

Inside alerts.js

a little typo on line 105:

Change:

messBox += '<td width="100%"></td><t></td>'; 

To:

messBox += '<td width="100%"></td><td></td>'; 

Thanks and regards

*Edit:

Inside alerts.js it seems we can change on line 98 (removing an unwanted </div>):

messBox += '<tr><td><div id="AutoCloseMessage" class="opTxt" style="width:100%; align:left;"></div></div></td></tr>';

To:

messBox += '<tr><td><div id="AutoCloseMessage" class="opTxt" style="width:100%; align:left;"></div></td></tr>';

Edited by myselfidem
Link to comment
Share on other sites

Inside dhxtools.js

Maybe we can change


function AutoSizeWindow(xWin,divID)
{
position="xwindows_tools.js";
whatfunc="AutoSizeWindow()";

To:


function AutoSizeWindow(xWin,divID)
{
position="dhxtools.js";
whatfunc="AutoSizeWindow()";

Thanks and regards

Link to comment
Share on other sites

To solve some trouble about the blue window at startup and to resize this one, we can try to make changes inside wpi.htm.

Browse to: WPI\Common\Themes\Windows\wpi.htm

Add inside wpi.htm (was on some previous versions); below this script:


<div id="TipLayer" style="visibility:hidden; position:absolute; z-index:1000; top:-100;">
</div>


<script type="text/javascript">
sizer();
if (top.status != "")
winheight = top.status;
cols = Math.round((winheight/3*4)/320,0);
if (!maxentries)
{
switch (winheight)
{
case '600':
maxentries=24;
break;

case '768':
maxentries=30;
break;

case '1024':
maxentries=42;
break;

case '1200':
maxentries=48;
break;

default:
maxentries=31;
break;
}
}
</script>

Works fine for me.

Thanks to check if it's OK!

Regards

Took some time to figure out but this change destroys the number of collums feature.

Link to comment
Share on other sites

Inside configwizard.js

It seems we can remove on line 537:


case 'paths_gamesrc':
HandleCommandsSelectionMenu("%gamesrc%\\");
break;

And from line 2210:


else if (str.indexOf(gamesrc) != -1)
{
trimpath=gamesrc;
trimpathvar="%gamesrc%";
}

Inside globals.js we can remove on line 228:

// core.js

var gamesrc=WshEnv("gamesrc");

Thanks and regards

Edited by myselfidem
Link to comment
Share on other sites

Inside themes.js

It seems we can change:

On line 40 (adding at last \\):

f=fso.GetFolder(wpipath + "\\Common\\Skins");

To:

f=fso.GetFolder(wpipath + "\\Common\\Skins\\");

About function LoadThemedContent()

On line 280 (adding 'd'):

alert("LoadThemeContent() error:"+ex.message);

To:

alert("LoadThemedContent() error:"+ex.message);

Thanks and regards

Link to comment
Share on other sites

About LayoutStyle and Tooltips Transition, I use this workaround:

1 - Inside themewizard.js:

Change on line 699 (value: -1 to value:51):

Style[0]=["#ffffff","#000099","","left","Arial",10,"#000000","#e8e8ff","","left","Arial",8,,,2,"#000099",0,-1,0.4,0,0,"#738da2",0,0,,];

To:

Style[0]=["#ffffff","#000099","","left","Arial",10,"#000000","#e8e8ff","","left","Arial",8,,,2,"#000099",0,51,0.4,0,0,"#738da2",0,0,,];

2 - Inside wpi_style.js:

Change (value: -1 to value:51):

Style[0]=["#ffffff","#000099","","left","Arial",10,"#000000","#e8e8ff","","left","Arial",8,,,2,"#000099",0,-1,0.4,0,0,"#738da2",0,0,,];

To:

Style[0]=["#ffffff","#000099","","left","Arial",10,"#000000","#e8e8ff","","left","Arial",8,,,2,"#000099",0,51,0.4,0,0,"#738da2",0,0,,];

3 - Inside globals.js:

Change line 296 (value: -1 to value:51):

Style[0]=["#ffffff","#000099","","left","Arial",10,"#000000","#e8e8ff","","left","Arial",8,,,2,"#000099",2,-1,0.4,0,2,"#738da2",0,0,,];

To:

Style[0]=["#ffffff","#000099","","left","Arial",10,"#000000","#e8e8ff","","left","Arial",8,,,2,"#000099",2,51,0.4,0,2,"#738da2",0,0,,];

4 - Inside themewizardtemplate_tooltips.htm

Remove the line:

<option value="-1"></option>

5 - Inside tips.js:

Change the line 99:

if (fl && s[17]>-1 && s[18]>0)

To:

  if (fl && s[17]>=0 && s[18]>0)

Change the line 221:

var at=tb.trans>-1 && tb.trans<24 && tb.dur>0;

To:

var at=tb.trans>=0 && tb.trans<24 && tb.dur>0;

Change line 218:

if (tb.trans==51) 

To:

if (tb.trans==50) 

Added more values on line 83:


mig_layCss().filter="revealTrans()"+d+"Fade(Overlap=1.0 enabled=0)"+d+"Inset(enabled=0)"+d+"Iris(irisstyle=SQUARE,motion=in enabled=0)"+d+"Iris(irisstyle=SQUARE,motion=out enabled=0)"+d+"Iris(irisstyle=PLUS,motion=in enabled=0)"+d+"Iris(irisstyle=PLUS,motion=out enabled=0)"+d+"Iris(irisstyle=DIAMOND,motion=in enabled=0)"+d+"Iris(irisstyle=DIAMOND,motion=out enabled=0)"+d+"Iris(irisstyle=CIRCLE,motion=in enabled=0)"+d+"Iris(irisstyle=CIRCLE,motion=out enabled=0)"+d+"Iris(irisstyle=CROSS,motion=in enabled=0)"+d+"Iris(irisstyle=CROSS,motion=out enabled=0)"+d+"Iris(irisstyle=STAR,motion=in enabled=0)"+d+"Iris(irisstyle=STAR,motion=out enabled=0)"+d+"RadialWipe(wipestyle=CLOCK enabled=0)"+d+"RadialWipe(wipestyle=WEDGE enabled=0)"+d+"RadialWipe(wipestyle=RADIAL enabled=0)"+d+"Pixelate(MaxSquare=35,enabled=0)"+d+"Slide(slidestyle=HIDE,Bands=25 enabled=0)"+d+"Slide(slidestyle=PUSH,Bands=25 enabled=0)"+d+"Slide(slidestyle=SWAP,Bands=25 enabled=0)"+d+"Spiral(GridSizeX=16,GridSizeY=16 enabled=0)"+d+"Stretch(stretchstyle=HIDE enabled=0)"+d+"Stretch(stretchstyle=PUSH enabled=0)"+d+"Stretch(stretchstyle=SPIN enabled=0)"+d+"Wheel(spokes=16 enabled=0)"+d+"GradientWipe(GradientSize=1.0,wipestyle=0,motion=forward enabled=0)"+d+"GradientWipe(GradientSize=1.0,wipestyle=0,motion=reverse enabled=0)"+d+"GradientWipe(GradientSize=1.0,wipestyle=1,motion=forward enabled=0)"+d+"GradientWipe(GradientSize=1.00,wipestyle=1,motion=reverse enabled=0)"+d+"Zigzag(GridSizeX=8,GridSizeY=8 enabled=0)"+d+"Alpha(enabled=0)"+d+"Dropshadow(OffX=3,OffY=3,Positive=true,enabled=0)"+d+"Shadow(strength="+TipShadowStrength+",direction=135,enabled=0)";

Now when I select another StyleLayout, Tooltips and Transition are also saved, and not restored with default values!

Tested and works fine!

Thanks to check if it's OK!

Regards

*Edit: Inside themewizard.js

We can change Transition to:


with (getElementById("Transition"))
{
options[0].text=getText(tranBoxIn);
options[1].text=getText(tranBoxOut);
options[2].text=getText(tranCircleIn);
options[3].text=getText(tranCircleOut);
options[4].text=getText(tranWipeUp);
options[5].text=getText(tranWipeDown);
options[6].text=getText(tranWipeRight);
options[7].text=getText(tranWipeLeft);
options[8].text=getText(tranVerticalBlinds);
options[9].text=getText(tranHorizontalBlinds);
options[10].text=getText(tranCheckerboardAcross);
options[11].text=getText(tranCheckerboardDown);
options[12].text=getText(tranRandomDissolve);
options[13].text=getText(tranSplitVerticalIn);
options[14].text=getText(tranSplitVerticalOut);
options[15].text=getText(tranSplitHorizontalIn);
options[16].text=getText(tranSplitHorizontalOut);
options[17].text=getText(tranStripsLeftDown);
options[18].text=getText(tranStripsLeftUp);
options[19].text=getText(tranStripsRightDown);
options[20].text=getText(tranStripsRightUp);
options[21].text=getText(tranRandomBarsHorizontal);
options[22].text=getText(tranRandomBarsVertical);
options[23].text=getText(tranRandom);
options[24].text=getText(tranFade);
options[25].text=getText(tranGradientWipeDown);
options[26].text=getText(tranGradientWipeLeft);
options[27].text=getText(tranGradientWipeRight);
options[28].text=getText(tranGradientWipeUp);
options[29].text=getText(tranInset);
options[30].text=getText(tranIrisCrossIn);
options[31].text=getText(tranIrisCrossOut);
options[32].text=getText(tranIrisDiamondIn);
options[33].text=getText(tranIrisDiamondOut);
options[34].text=getText(tranIrisPlusIn);
options[35].text=getText(tranIrisPlusOut);
options[36].text=getText(tranIrisStarIn);
options[37].text=getText(tranIrisStarOut);
options[38].text=getText(tranPixelate);
options[39].text=getText(tranRadialWipeClock);
options[40].text=getText(tranRadialWipeRadial);
options[41].text=getText(tranRadialWipeWedge);
options[42].text=getText(tranSlide);
options[43].text=getText(tranSlidePush);
options[44].text=getText(tranSlideSwap);
options[45].text=getText(tranSpiral);
options[46].text=getText(tranStretch);
options[47].text=getText(tranStretchPush);
options[48].text=getText(tranStretchSpin);
options[49].text=getText(tranWheel);
options[50].text=getText(tranZigZag);
options[51].text=getText(optNone);
}

*Edit: after many days trying to find a way to keep the good order, I see this workaround works fine for me.

I found help here:

Introduction to Filters and Transitions

I can share the tips.js file if needed.

Thanks and regards

*Edit: post updated

Edited by myselfidem
Link to comment
Share on other sites

To avoid not being able to click on the extra buttons on the left WPI pane, we can add inside tips.js

on line 102:

function stm(t,s)


if (fl && s[23]>0 && s[23]<3)
return;

When we select Tooltips Behavior using position left or center, these positions are disabled. Positions Right and Fixed are available!

Works fine for me. Maybe there is a best way to do.

Thanks to check if it's OK.

Regards

Edited by myselfidem
Link to comment
Share on other sites

Hoi myselfidem^^

Inside wmi.js Line 473

Maybe I'm wrong.Can you check this please^^

thanks in advance...

sysPath64=windir+"\\System32\\";

sysPath32=windir+"\\SysWOW64\\";

to

sysPath64=windir+"\\SysWOW64\\";

sysPath32=windir+"\\System32\\";

function setArchPaths()

{

position="wmi.js";

whatfunc="setArchPaths()";

if (OSBits == 32)

{

sysPath64="";

sysPath32="";

}

else

{

sysPath64=windir+"\\System32\\";

sysPath32=windir+"\\SysWOW64\\";

}

}

Edited by Whatsup
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...