Okay, i still see a lot of people getting stuck on restoring file association when using the Opera beta. I thought I'd post the default PIE registry & file associations, making it "easier" (sort-of) to chose what is handled by Opera & what is handled by PIE. *Please note: this is for WWE ROMs & may differ for other languages.
Here are the File Assciation defaults for PIE:
Opera changes the following registry keys/values:
[HKEY_CLASSES_ROOT\htmlfile\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\htmlfile\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\xhtmlfile\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\xhtmlfile\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\gifimage\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\gifimage\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\icoimage\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\icoimage\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\http\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\http\Shell\Open\Command]
(Default) iexplore.exe %1
[HKEY_CLASSES_ROOT\https\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\https\Shell\Open\Command]
(Default) iexplore.exe %1
[HKEY_CLASSES_ROOT\ftp\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\ftp\Shell\Open\Command]
(Default) iexplore.exe %1
[HKEY_CLASSES_ROOT\file\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\file\Shell\Open\Command]
(Default) iexplore.exe %1
If you used the version that can't be uninstalled you can manually delete the following files in addition to changing the above info:
It also installs the following folders/files:
Application Data\Opera9\xxxxx (xxxx = too many to list; To remove, delete the main folder + the others listed)
\Windows\OperaL.exe
\Windows\wgtman.exe
\Windows\Opera9.exe
\Windows\Start Menu\Programs\Opera Widgets.lnk
\Windows\Start Menu\Programs\Opera Browser.lnk
& there is also the setup.dll setup info in \Windows\Appmgr
Finaly there are also these keys inserted into the registry; to remove, completely delete the following.
[HKEY_CLASSES_ROOT\_wgt_opwidget\DefaultIcon]
"" = %InstallDir%\Opera9.exe,-162
[HKEY_CLASSES_ROOT\_wgt_opwidget\Shell\Open\Command]
"" = ""\Windows\OperaL.exe" "%1""
[HKEY_CLASSES_ROOT\.wgt]
"" = "_wgt_opwidget"
[HKEY_CURRENT_USER\ControlPanel\Keybd\ChangeBackVKeyCode]
"Opera_MainWndClass" = dword : 00000008
[HKEY_LOCAL_MACHINE\Software\Opera\Info]
"SplashProgressFPS" = dword : 0000000A
"SplashProgressHeight" = dword : 00000008
"SplashscreenPortrait" = "\Windows\splash_218x170_a.png"
"SplashProgressImage" = "\Windows\splashanim.bmp"
"SplashscreenLandscape" = "\Windows\splash_218x170_a.png"
With this information you can now control what is opened by Opera, what is opened by PIE or you can manually uninstall to restore PIE functionality without having to restore or hard reset.
Another little trick to keep Opera, but to use PIE as the default for all of the web related content is to use a recent pre-Opera Sprite back up, & do a partial restore, only restoring the "System Settings" located within the "System Data" tab.
Where can one obtain the Opera 9.5 beta?
Ffs Google It!!!!!!
Thanks GS, this'll finally make me download Opera "9.5" and use it.
GSLEON3 said:
Okay, i still see a lot of people getting stuck on restoring file association when using the Opera beta. I thought I'd post the default PIE registry & file associations, making it "easier" (sort-of) to chose what is handled by Opera & what is handled by PIE. *Please note: this is for WWE ROMs & may differ for other languages.
Here are the File Assciation defaults for PIE:
Opera changes the following registry keys/values:
[HKEY_CLASSES_ROOT\htmlfile\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\htmlfile\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\xhtmlfile\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\xhtmlfile\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\gifimage\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\gifimage\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\icoimage\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\icoimage\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\http\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\http\Shell\Open\Command]
(Default) iexplore.exe %1
[HKEY_CLASSES_ROOT\https\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\https\Shell\Open\Command]
(Default) iexplore.exe %1
[HKEY_CLASSES_ROOT\ftp\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\ftp\Shell\Open\Command]
(Default) iexplore.exe %1
[HKEY_CLASSES_ROOT\file\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\file\Shell\Open\Command]
(Default) iexplore.exe %1
If you used the version that can't be uninstalled you can manually delete the following files in addition to changing the above info:
It also installs the following folders/files:
Application Data\Opera9\xxxxx (xxxx = too many to list; To remove, delete the main folder + the others listed)
\Windows\OperaL.exe
\Windows\wgtman.exe
\Windows\Opera9.exe
\Windows\Start Menu\Programs\Opera Widgets.lnk
\Windows\Start Menu\Programs\Opera Browser.lnk
& there is also the setup.dll setup info in \Windows\Appmgr
Finaly there are also these keys inserted into the registry; to remove, completely delete the following.
[HKEY_CLASSES_ROOT\_wgt_opwidget\DefaultIcon]
"" = %InstallDir%\Opera9.exe,-162
[HKEY_CLASSES_ROOT\_wgt_opwidget\Shell\Open\Command]
"" = ""\Windows\OperaL.exe" "%1""
[HKEY_CLASSES_ROOT\.wgt]
"" = "_wgt_opwidget"
[HKEY_CURRENT_USER\ControlPanel\Keybd\ChangeBackVKeyCode]
"Opera_MainWndClass" = dword : 00000008
[HKEY_LOCAL_MACHINE\Software\Opera\Info]
"SplashProgressFPS" = dword : 0000000A
"SplashProgressHeight" = dword : 00000008
"SplashscreenPortrait" = "\Windows\splash_218x170_a.png"
"SplashProgressImage" = "\Windows\splashanim.bmp"
"SplashscreenLandscape" = "\Windows\splash_218x170_a.png"
With this information you can now control what is opened by Opera, what is opened by PIE or you can manually uninstall to restore PIE functionality without having to restore or hard reset.
Another little trick to keep Opera, but to use PIE as the default for all of the web related content is to use a recent pre-Opera Sprite back up, & do a partial restore, only restoring the "System Settings" located within the "System Data" tab.
Click to expand...
Click to collapse
Doesn't seem to work for me. I change or delete the registry but it comes back.
Here is a cab I picked up on another forum that resets defaults back to PIE. Worked for me...
grandpareza said:
Thanks GS, this'll finally make me download Opera "9.5" and use it.
Click to expand...
Click to collapse
I agree. This is why I was not installing. Not that it really matter the amount of times a week I flash. But now I know what Registry Keys are being effected.
bigboyhf said:
Here is a cab I picked up on another forum that resets defaults back to PIE. Worked for me...
Click to expand...
Click to collapse
Thanks. I haven't tried it yet because I've already wiped my OS and started all over.
worked perfectly well on a french rom !
Thanx mate !
bigboyhf said:
Here is a cab I picked up on another forum that resets defaults back to PIE. Worked for me...
Click to expand...
Click to collapse
THANK YOU for that.. I was trying to make Opera my default and nothing would launch Opera or PIE. This fixed everything back for me.
This .cab works also for my german original HTC-WM 6.1 (7/2/2008) perfectly!
Thanks for the guy who make this for us...
Related
I have a problem with some CABs:
wceLoad prevents me to install any CAB with registry setting - any DWORD value in the range 0x80000000 - 0xFFFFFFFF
Is it a bug?
--------
If you wish to replicate my problem, try to install two attached CABs.
Both of them contains dummy file \Temp\temp.txt
test_OK.cab sets HKLM\Test\Test_00000000 to 0x7FFFFFFF [this is OK]
test_fail.cab sets HKLM\Test\Test_00000000 to 0x80000000 [this is not OK]
Try to add new DWORD value:
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS
BufferSize=0x900 [that is 2304 decimal]
[add BufferSize, wait 30 seconds and reboot ]
Use value between 0x800 and 0xA00.
If buffer size is not defined default value is 0x20 [==32].
SPB benchmark told me, that some file operations could be faster:
Code:
Write 1MB file 0,39%
Read 1MB file 5,04%
Copy 1MB file -1,31%
Write 10KB x 100 files 12,23%
Read 10KB x 100 files 22,31%
Copy 10KB x 100 files 8,44%
Directory list of 2000 files 38,05%
Internal database read 2,50%
Don't use BufferSize>0xA00 - results are not so good [due to buffer management overhead].
BufferSize<0x800 - results are not so good, too.
BTW. Increasing CacheSize above 0x1000 [decimal 4096] doesn't increase file system performance.
can please someone from WM6 post the values of all key in the
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS
trying to solve the SD mount problem with 3.3 ...
?
please ?
thanx
Yeah of course, no problem.
(Default) (value not set) = string value
CacheDll diskcache.dll = string value
CacheSize 0x1000 (4096) = dword value
Dll fatfsd.dll = string value
EnableCache 0x1 (1) = dword value
Flags 0x44 (68) = dword value
FriendlyName FAT FileSystem = string value
Paging 0x1 (1) = dword value
Util fatutil.dll = string value
Then there's a map called Filters with submaps:
Filters:
(default) (value not set) = string value
In the map Filters is a submap called CacheFilt.
CacheFilt:
(default) (value not set) = string value
Dll CacheFilt.dll = string value
Order 0x2 (2) = dword value
--------------------------------------------------------------------------
That's the complete contents of the FATFS map.
So to summarize. The dir structure is:
HKLM->System->StorageManager->FATFS->Filters->CacheFilt.
Good luck.
thanx...
trying somthn out
Please send me this values from 3.3 ROM not the WM6!!!
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Flags
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\BufferSize
thanx !
Hi on my Kaiser WM6.1 Official, gone Icon of "Pimg.exe app" (pictures and videos).
All my .jpg files are Windows system ico (Icon for unrecognizably files), but no "IMG Ico" of Pimg.exe. I try change association and Icon in Total Commander (.jpg to pimg.exe "%1") but on .jpg images are still system ico.
Is it possible, that it is my Pimg.exe corrupt (without Icon)?
Thanks for your reply.
- Please somebody can you upload for me file "pimg.exe" (from Windows directory) and I try if contains icon. Thx.
I have the same problem. Is there any way to fix it?
Solved: MemMaid 2.3 -> Jump To -> Databases -> Extensions -> .jpg .jpeg -> Edit... -> Edit Class -> Class: JPEGFile ; Description: JPEG Image ; Icon: browsres.dll,-6704 ; Commands: 1 - Name: DRMOpen Command: pimg.exe "%1" 2 - Name:Open Command: pimg.exe "%1"
J0hny said:
Solved: MemMaid 2.3 -> Jump To -> Databases -> Extensions -> .jpg .jpeg -> Edit... -> Edit Class -> Class: JPEGFile ; Description: JPEG Image ; Icon: browsres.dll,-6704 ; Commands: 1 - Name: DRMOpen Command: pimg.exe "%1" 2 - Name:Open Command: pimg.exe "%1"
Click to expand...
Click to collapse
Worked like a charm, now does anyone have a full listing of wm6 icon to reset the other media files
At the first run python script nothing is written to the log file "cpu_temp.csv". When I run the second time then the data is written to the log file. The script is to extract the temperature from the temperature sensor MCP9808. I know the data is first written to "w1_slave" under the folder "/sys/bus/w1/devices/28-0115a4f575ff". The data for the log file are read always from this file. Can someone help me forwarding such that at the first startup script the data read from the sensor is written to the log file? I want the script started via cron. But since the first run doesn't work nothing has been logged.
Python script for reading data from MCP98808 and write to log file "cpu_temp.csv"
import subprocess
import logging
import time
from time import sleep, gmtime, strftime
import smbus
#Constant things, that don't change during run.
t_reg = 0x05
address = 0x18
bus = smbus.SMBus(1) # change to 0 for older RPi revision
def get_temp():
#The reading variable changes every time you run get_temp()
reading = bus.read_i2c_block_data(address, t_reg)
t = (reading[0] << 8) + reading[1]
temp = t & 0x0FFF
temp /= 16.0
if (t & 0x1000):
temp -= 256
return(temp)
with open("cpu_temp.csv", "a") as log:
while True:
temp = get_temp()
log.write("{0},{1}\n".format(strftime("%Y-%m-%d %H:%M:%S"),str(temp)))
time.sleep(10)
Output file cpy_temp.csv
2017-02-04 15:15:38,22.1875
2017-02-04 15:15:48,22.125
2017-02-04 15:15:58,22.125
2017-02-04 15:16:08,22.125
2017-02-04 15:16:18,22.125
Lowieke19 said:
At the first run python script nothing is written to the log file "cpu_temp.csv". When I run the second time then the data is written to the log file. The script is to extract the temperature from the temperature sensor MCP9808. I know the data is first written to "w1_slave" under the folder "/sys/bus/w1/devices/28-0115a4f575ff". The data for the log file are read always from this file. Can someone help me forwarding such that at the first startup script the data read from the sensor is written to the log file? I want the script started via cron. But since the first run doesn't work nothing has been logged.
Python script for reading data from MCP98808 and write to log file "cpu_temp.csv"
import subprocess
import logging
import time
from time import sleep, gmtime, strftime
import smbus
#Constant things, that don't change during run.
t_reg = 0x05
address = 0x18
bus = smbus.SMBus(1) # change to 0 for older RPi revision
def get_temp():
#The reading variable changes every time you run get_temp()
reading = bus.read_i2c_block_data(address, t_reg)
t = (reading[0] << 8) + reading[1]
temp = t & 0x0FFF
temp /= 16.0
if (t & 0x1000):
temp -= 256
return(temp)
with open("cpu_temp.csv", "a") as log:
while True:
temp = get_temp()
log.write("{0},{1}\n".format(strftime("%Y-%m-%d %H:%M:%S"),str(temp)))
time.sleep(10)
Output file cpy_temp.csv
2017-02-04 15:15:38,22.1875
2017-02-04 15:15:48,22.125
2017-02-04 15:15:58,22.125
2017-02-04 15:16:08,22.125
2017-02-04 15:16:18,22.125
Click to expand...
Click to collapse
When I run it line by line in the command line, this part here is having the issue.
log.write("{0},{1}\n".format(strftime("%Y-%m-%d %H:%M:%S"),str(temp)))
I hope it accented the coma before the str(temp))).
That is what my interpreter is pointing at where the issue may be. Some times it is easier to make output = "{0},{1}\n".format(strftime("%Y-%m-%d %H:%M:%S") + "," + str(temp)
then log.write(output)
Give that a shot for your debugging. I didn't fully run the code, I just gave the variables some fake values and tried it out!
Good Luck.