Strange WMPlayer related keys. Who knows them? - General Topics

These registry entries control wmvdecoder.dll behaviour when playing WMV content on Windows Media Player 10. The keys are almost the same as they exist on the XP PC. You can use RegMon.exe to examine them on the PC. Some values are a little different.
The values starting with _ are not active.
"Post Process Mode" can range from 0 (no) to 4 (max) and when -1 it goes into auto mode.
[HKEY_CURRENT_USER\Software\Microsoft\Scrunch]
"Force Post Process Mode"=dword:00000001 ; obvious
"Adapt MHz"=dword:00000000 ; adapt the CPU clock frequency?
"_Current Post Process Mode"=dword:ffffffff ; this key should always be -1?
"Adapt QPC Level 0"=dword:00000014 ; ?
"Adapt QPC Level 1"=dword:00000028
"Adapt QPC Level 2"=dword:0000003c
"Post Process Mode"=dword:00000000 ; mode to use now
"Count CPU Cycles"=dword:00000000 ; ?
"_Adapt Post Process Mode"=dword:00000001 ; make it dynamic (works on PC)
"Omit BF Mode"=dword:00000000 ; ?
"Fake Player Behind"=dword:00000000 ; ?
[HKEY_CURRENT_USER\Software\Microsoft\Scrunch\Video]
"Bitrate"=dword:00000100 ; 256 kbs
"_Resolution"=dword:00014000 ; ?
So a lot of unknows in the equation here.
Also GAPI is used with WMP. I will place the keys tonite.
Still experimenting with the \windows\gxdma.dll (see attachement)
(\windows\gx.dll should be present in ROM)
WMP looks up these registry entries.
It can use GDI or GAPI.
[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]
"RenderGDI"=dword:00000000 ; use GDI instead of GAPI?
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\GAPI]
"Buffer"=dword:00025800 '; 320x240x2
"DeviceID"=hex:\
01,00,02,00,E6,4C,B4,6D,32,33,32,39,30,37,14,14,09,04,01,02
"cbxPitch"=dword:00000002 ; pixel shift in buffer for 1 x pixel on screen
"cbyPitch"=dword:00000640 pixel shift in buffer for 1 y pixel on screen
"cBPP"=dword:00000010 ; 16 bitsperpixel
"cxWidth"=dword:000000f0 ; 240 pixel
"cxHeight"=dword:00000140 ; 320 pixel
"ffFormat"=dword:000000a8 ; have seen A0 as well
These values are a big dunno. Got them from a SNES emu site.
Also the DeviceID is hard to find. I just copied the
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing\HardwareID]
"ClientHWID"=hex:\
01,00,02,00,E6,4C,B4,6D,32,33,32,39,30,37,14,14,09,04,01,02
Then you can put gxdma.dll in the \windows directory. Still investigating if that is improving performance.
I also try to use divx codecs with WMP10 CE. It can be done.
To be continued
Cheers

tweakradje said:
When running WMP 10 and CE Regspy I found these strange (very undocumented) registry entries that look kinda exiting:
Click to expand...
Click to collapse
And they look exciting because....?

tweakradje said:
These registry entries control wmvdecoder.dll behaviour when playing WMV content on Windows Media Player 10. The keys are almost the same as they exist on the XP PC. You can use RegMon.exe to examine them on the PC. Some values are a little different.
The values starting with _ are not active.
"Post Process Mode" can range from 0 (no) to 4 (max) and when -1 it goes into auto mode.
[HKEY_CURRENT_USER\Software\Microsoft\Scrunch]
"Force Post Process Mode"=dword:00000001 ; obvious
"Adapt MHz"=dword:00000000 ; adapt the CPU clock frequency?
"_Current Post Process Mode"=dword:ffffffff ; this key should always be -1?
"Adapt QPC Level 0"=dword:00000014 ; ?
"Adapt QPC Level 1"=dword:00000028
"Adapt QPC Level 2"=dword:0000003c
"Post Process Mode"=dword:00000000 ; mode to use now
"Count CPU Cycles"=dword:00000000 ; ?
"_Adapt Post Process Mode"=dword:00000001 ; make it dynamic (works on PC)
"Omit BF Mode"=dword:00000000 ; ?
"Fake Player Behind"=dword:00000000 ; ?
[HKEY_CURRENT_USER\Software\Microsoft\Scrunch\Video]
"Bitrate"=dword:00000100 ; 256 kbs
"_Resolution"=dword:00014000 ; ?
So a lot of unknows in the equation here.
Also GAPI is used with WMP. I will place the keys tonite.
Still experimenting with the \windows\gxdma.dll (see attachement)
(\windows\gx.dll should be present in ROM)
WMP looks up these registry entries.
It can use GDI or GAPI.
[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]
"RenderGDI"=dword:00000000 ; use GDI instead of GAPI?
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\GAPI]
"Buffer"=dword:00025800 '; 320x240x2
"DeviceID"=hex:\
01,00,02,00,E6,4C,B4,6D,32,33,32,39,30,37,14,14,09,04,01,02
"cbxPitch"=dword:00000002 ; pixel shift in buffer for 1 x pixel on screen
"cbyPitch"=dword:00000640 pixel shift in buffer for 1 y pixel on screen
"cBPP"=dword:00000010 ; 16 bitsperpixel
"cxWidth"=dword:000000f0 ; 240 pixel
"cxHeight"=dword:00000140 ; 320 pixel
"ffFormat"=dword:000000a8 ; have seen A0 as well
These values are a big dunno. Got them from a SNES emu site.
Also the DeviceID is hard to find. I just copied the
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing\HardwareID]
"ClientHWID"=hex:\
01,00,02,00,E6,4C,B4,6D,32,33,32,39,30,37,14,14,09,04,01,02
Then you can put gxdma.dll in the \windows directory. Still investigating if that is improving performance.
I also try to use divx codecs with WMP10 CE. It can be done.
To be continued
Cheers
Click to expand...
Click to collapse
Any news? It's interesting

buffer Size
So do you know if there is a Reg Key to increase the buffer size for streaming video?
Yhanks

Related

Fire up/control your apps @ Docking, PowerOn,Idle etc events

Fire up and control your apps @ Docking, PowerOn or Idle events
This is W.I.P. and my goal is to get a clear overview
of what is possible with (standard/builtin) events in
windows ce.
EDIT: 28/03/06 - added correct event commands and examples
EDIT: 28/03/06 - added References and WM_APP
EDIT: 30/03/06 - added the QUIT message
References:
MSDN Wap Wakeup
MSDN WM_APP Notification
WM_APP and Window Class Name:
00008000 "WMP for Mobile Devices" (Windows Media Player)
00000400 "Inbox.MainWnd" (Outlook main window)
WM_APP findings:
Quit/Exit 00000010
quits a given window class Name. Example:
[HKLM\Software\Microsoft\Shell\Events\PowerOn\QuitWMP]
"On"=dword:00000010
"Class"="WMP for Mobile Devices"
On the Idle event that would be:
[HKLM\Software\Microsoft\Shell\Events\Idle\QuitWMP]
"Idle"=dword:00000010
"Class"="WMP for Mobile Devices"
Minimize 0000000?
....
Maximize 0000000?
....
Note: \....] stands for a choosen key name
Using only "Command=" you can start any application on a given event
PowerOn events:
[HKLM\Software\Microsoft\Shell\Events\PowerOn\....]
"command"="\somedir\someapp.exe"
Idle events:
[HKLM\Software\Microsoft\Shell\Events\Idle\....]
"command"="\somedir\someapp.exe"
[HKLM\System\CurrentControlSet\Control\Power\ActivityTimers\UserActivity]
"TimeOut"=dword:00000005 (5 secs)
Dock event:
[HKLM\Software\Microsoft\Shell\Event\Dock\....]
"command"="\somedir\someapp.exe"
You can even try this I think:
IncomingCall event:
[HKLM\Software\Microsoft\Shell\Event\IncomingCall]
[HKLM\Software\Microsoft\Shell\Event\IncomingCall\MyRingy]
"command"="wmp.exe \somedir\somemp3.mp3" (or .mid or whatever)
Customizing Event Actions
Note1: The Class string can be found using DotFred's TaskMgr 1.3
Discussion board
TaskMgr 1.3
Note2: The following dwords are commands. Dunno how to find them yet.
For every Event subkey you can use
"command"="someapp.exe arg1"
and also
"Class"="Window Class Name" (Window class name of active app)
"NotifyOnLaunch"=dword:00000001 (must be 1 to post message to the app window given in Class)
And a dword commando
The dword commando "ConnectMsg"=dword:00008004 is only used
in Event\CallConnect. If the same commando is used in Events\PowerOn
then it would be "On"=dword:00008004
The 8000 value is called the WP_APP is a constant for a application.
In Windows CE 8000 is used by WMP. The commando is WM_APP+X, where X is
an integer value. Sending 8004 to the WMP class window will pause WMP.
Sending 403 to Outlook (Inbox.MainWnd) wil do something in outlook.
(WM_APP for outlook is 400)
Dword Commando's (value 00000000 is cosmetic and not a valid commando):
[HKLM\Software\Microsoft\Shell\Events\PowerOn\....]
"On"=dword:00000000
[HKLM\Software\Microsoft\Shell\Events\Idle\....]
"Idle"=dword:00000000
[HKLM\Software\Microsoft\Shell\Event\CallConnect\....]
"ConnectMsg"=dword:00000000
"DisConnectMsg"=dword:00000000
[HKLM\Software\Microsoft\Shell\Event\Carkit\....]
"CarOnMsg"=dword:00000000
"CarOffMsg"=dword:00000000
[HKLM\Software\Microsoft\Shell\Event\Dock\....]
"DockMsg"=dword:00000000
"UnDockMsg"=dword:00000000
[HKLM\Software\Microsoft\Shell\Event\Headset\....]
"HeadOnMsg"=dword:00000000
"HeadOffMsg"=dword:00000000
[HKLM\Software\Microsoft\Shell\Event\IncomingCall\....]
"IncomingBegMsg"=dword:00000000
"IncomingEndMsg"=dword:00000000
[HKLM\Software\Microsoft\Shell\Event\SpeakerPhone\....]
"SpeakerOnMsg"=dword:00000000
"SpeakerOffMsg"=dword:00000000
Example for CallConnect and WMP:
[HKLM\Software\Microsoft\Shell\Event\CallConnect\Windows Media Player]
"Class"="WMP for Mobile Devices"
"ConnectMsg"=dword:00008004 (pause WMP)
"DisConnectMsg"=dword:00008005 (resume WMP)
Example for Dock and Outlook:
[HKLM\Software\Microsoft\Shell\Event\Dock\Inbox]
"Class"="Inbox.MainWnd"
"DockMsg"=dword:00000403 (command for Outlook?)
"NotifyOnLaunch"=dword:00000001 (Send DockMsg to Inbox.MainWnd)
"Command"="tmail.exe -RunInBKG" (run this when Docking)
hi I have no experience with this type of thing, as yet.
But would it be possible to route all audio through the car kit(whilst not on a call) with a command type thingy?
Thanks
Would be a tough one. I am still studying the potential of these events. The only thing I can think of is fire a command (you must figure that one out yourself) on the Carkit event.
HKLM\Software\Microsoft\Shell\Event\Carkit\RouteAudio]
"Command"="command to the exe file"
"Class"="the window clas name for that app"
"NotifyOnLaunch"=dword:00000001
"CarOnMsg"=dword:0000xxxx
"CarOffMsg"=dword:0000yyyy
where
xxxx = the message ID for switching audio to carkit
yyyy = the message ID for switching audio back
The message ID´s should be known to the maker of
the exe file you use.
Cheers
ps: doesn´t the device do it automaticaly?
pfff
Thanks but that went straight over my head :lol:
It would be great if TT sent it to the car kit automatically!
I can get a command to fire for a docking event, but i does not fire for an IncomingCall event. Do you know if only certain events support having a command fired.
Paul

Audiogain Questions

I have some questions about the audiogain registry settings.
Currently I'm using a Tornado smartphone with WM6 (standard).
I would specifically like to increase the volume output to my AD2P bluetooth headphones. Which keys are relevant?
But I do have more questions:
Are all keys supposed to be hex?
What are the limits for the hex data? (i.e. should it convert to a decimal value between 1-100, because I see some convert to decimal values of 179)
What is the deal with keys that have values like "60 63 66 23 26 29"?
TIA

Observation re: graphics performance and overlay

So i've been trying for a good 2 weeks to figure out the exact reason behind why the graphics results can vary so much in spb benchmark, and I think i've got it figured out.
In a nutshell: The hardware acceleration provided through overlay support sucks!
Why do I say that?
If you load up a combination of drivers that results in the device not being able to create an overlay layer (see the output from debug log below) - performance is markedly increased as a result of falling back to 'slower' rendering methods.
Here's what the debug log reports when performance is low:
Code:
++gMDPCtrl[mdpImg.layer].stMDPImg.imgType = 3
++gMDPCtrl[mdpImg.layer].stMDPImg.bmy_addr = 32a800
++gMDPCtrl[mdpImg.layer].stMDPImg.cbcr_addr = 0
++gMDPCtrl[mdpImg.layer].stMDPImg.width = 1e0
++gMDPCtrl[mdpImg.layer].stMDPImg.cwin.x1 = 0
++gMDPCtrl[mdpImg.layer].stMDPImg.cwin.x2 = 1df
++gMDPCtrl[mdpImg.layer].stMDPImg.cwin.y1 = 0
++gMDPCtrl[mdpImg.layer].stMDPImg.cwin.y2 = 27f
++gMDPCtrl[mdpImg.layer].stMDPImg.lcd_x = 0
++gMDPCtrl[mdpImg.layer].stMDPImg.lcd_y = 0
++gMDPCtrl[mdpImg.layer].stMDPImg.mdpOp = 380
++gMDPCtrl[mdpImg.layer].stMDPImg.tpVal = 1002
++gMDPCtrl[mdpImg.layer].stMDPImg.alpha = 0
++gMDPCtrl[mdpImg.layer].stMDPImg.layer = 9
++gMDPCtrl[mdpImg.layer].stMDPImg.ascale.width = 1e0
++gMDPCtrl[mdpImg.layer].stMDPImg.ascale.height = 280
-Display_UpdateOverlay
Note the lack of any errors.. overlay was successfully created, used, and destroyed. In this situation performance will be poor.
Now compare to a differing HTCmdp.dll which does not correctly create the overlay layer:
Code:
+gMDPCtrl[mdpImg.layer].stMDPImg.imgType = 3
+gMDPCtrl[mdpImg.layer].stMDPImg.bmy_addr = 32a800
+gMDPCtrl[mdpImg.layer].stMDPImg.cbcr_addr = 0
+gMDPCtrl[mdpImg.layer].stMDPImg.width = 1e0
+gMDPCtrl[mdpImg.layer].stMDPImg.cwin.x1 = 0
+gMDPCtrl[mdpImg.layer].stMDPImg.cwin.x2 = 1df
+gMDPCtrl[mdpImg.layer].stMDPImg.cwin.y1 = 0
+gMDPCtrl[mdpImg.layer].stMDPImg.cwin.y2 = 27f
+gMDPCtrl[mdpImg.layer].stMDPImg.lcd_x = 0
+gMDPCtrl[mdpImg.layer].stMDPImg.lcd_y = 0
+gMDPCtrl[mdpImg.layer].stMDPImg.mdpOp = 380
+gMDPCtrl[mdpImg.layer].stMDPImg.tpVal = 1002
+gMDPCtrl[mdpImg.layer].stMDPImg.alpha = 0
+gMDPCtrl[mdpImg.layer].stMDPImg.layer = 9
+gMDPCtrl[mdpImg.layer].stMDPImg.ascale.width = 1e0
+gMDPCtrl[mdpImg.layer].stMDPImg.ascale.height = 280
02:20:27 [D:DISP] DrvEscape:LCD_OVERLAY_ENABLE...
+Display_CreateOverlay create overlay failed
As you can see, this driver fails to properly create the overlay, so rendering falls back an older method, most likely GDI.. apparently the acceleration for GDI is significantly better than in overlay mode.. when overlay is successfully created graphics scores are around 8ms/38ms/33ms, give or take a few ms depending on the time of day, cosmic rays, etc. When overlay fails to create, graphics scores are around 6ms/25ms/6ms.. sometimes even as low as 2ms/24ms/5ms..
I have not done any tests outside of spb benchmark, so curious how this effects video playback. generally any hardware acceleration for video is done through overlay, so not having a functioning overlay might hurt that.. or overlay support might be so bad that gdi is better anyway..
WMP has registry keys to choose which render method it's using, so more testing w/that is probably in order.. but im sick, so i'm going to bed
Relevant keys are:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences]
"RenderMethod"=dword:2
"RenderGDI" ; unknown default
Not much documentation for WMP in that arena, but that's what I found poking around.. anyway, curious behavior..
I have noticed that if you use directdraw in coreplayer and uncheck "use blitting instead of overlay" the performance is significantly worse.
And for a lot of the devices the seem to recommend using the raw frame buffer, so even coreplayer avoids the overlay.
Makes me wonder if this is even unique to the raphael, and not just a general problem with windows mobile phones.
Nothing in windows mobile itself to preclude the proper coding of hardware acceleration for overlay, it works quite well in Windows XP and the implementation is similar..
No, I place my blame more with the driver coding team,
So it's like Intel and their "improved" integrated graphics, which has hardware support, but software acceleration is faster in many situations
Bottom line: I'll just use whatever the chefs cook
Pretty interesting. I hope we can find a driver that makes full use of the graphics hardware in the Raphael. I read that GETRAWFRAMEBUFFER is supposed to be the fastest way through these graphics inefficiencies. I'm not really looking to play Quake3 on my Raphael, but a snappier UI wouldn't be bad.

Touchscreen Driver improvements (Touch.dll)

Touchscreen Driver improvements (Touch.dll)
This Polaris thread contains a new Touchscreen Driver and various registry keys to improve touchscreen response.
http://forum.xda-developers.com/showthread.php?t=446126
***WARNING***
Unfortunately, at this stage this improved touchscreen driver is not compatible with Kaiser Roms. Hopefully further testing and development with change this.
__________________
According to my Kaiser Taskmanager (I have tried this on at least 5 Roms and is a well know HTC bug on many devices), just placing pressure and motion on the touchscreen uses an addition 50%+ CPU usage even if no function is being accessed by touching the screen. Touchscreen driver is also at Highest Priority setting by default. This is a major cause of sluggishness on HTC devices as all tasks, including screen re-draws is suspended in favour of the touchscreen mindlessly using 50%+ CPU.
Creating this following registry keys can lower the CPU priority but the screen is very unresponsive -
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch
(DWORD)
Name = "Priority256"
Value = "255"
Name = "PriorityHigh256"
Value = "255"
The following registry keys (Original Microsoft value that can be found at MSDN for a normal driver) lower the CPU priority but still maintain usability (CPU can still reach 50%+) -
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch
(DWORD)
Name = "Priority256"
Value = "109"
Name = "PriorityHigh256"
Value = "109"
A soft reset is required to test these values. I am currently testing different values to find the best blend between screen response and screen refresh rate.
There are other registry keys which may help as well. I look forward to your feedback.
I am not a programmer but I started this thread in the hope that one of our highly talented chefs would be able to make a port of Polaris driver for Kaiser. I have tried playing with the registry and it does have an effect but there are trade-offs between graphics performance vs touch screen response.
TITAN-23 said:
Touchscreen Driver improvements (Touch.dll)
This Polaris thread contains a new Touchscreen Driver and various registry keys to improve touchscreen response.
http://forum.xda-developers.com/showthread.php?t=446126
According to my Kaiser Taskmanager (I have tried this on at least 5 Roms and is a well know HTC bug on many devices), just placing pressure and motion on the touchscreen uses an addition 50%+ CPU usage even if no function is being accessed by touching the screen. Touchscreen driver is also at Highest Priority setting by default. This is a major cause of sluggishness on HTC devices as all tasks, including screen re-draws is suspended in favour of the touchscreen mindlessly using 50%+ CPU.
Creating this following registry keys can lower the CPU priority but the screen is very unresponsive -
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch
(DWORD)
Name = "Priority256"
Value = "255"
Name = "PriorityHigh256"
Value = "255"
The following registry keys (Original Microsoft value that can be found at MSDN for a normal driver) lower the CPU priority but still maintain usability (CPU can still reach 50%+) -
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch
(DWORD)
Name = "Priority256"
Value = "109"
Name = "PriorityHigh256"
Value = "109"
A soft reset is required to test these values. I am currently testing different values to find the best blend between screen response and screen refresh rate.
There are other registry keys which may help as well. I look forward to your feedback.
Click to expand...
Click to collapse
Im thinking about doing the opposite. I want faster touch response. lol
TheParadox said:
Im thinking about doing the opposite. I want faster touch response. lol
Click to expand...
Click to collapse
Actually, the touch "user experienced" responsiveness is slower if the touch.dll has too high a priority as the screen refreshes slow down (lower frames per second on scrolling and animations).
Have you noticed that frames per second DECREASE dramatically the longer you touch the screen? This is because screen re-draws (refreshes) are at a lower priority to the touch driver. The touch driver is hogging the CPU. This makes the interface sluggish and slow.
resulted in a completely unresponsive touchscreen in my Kaiser .. hard reset was needed. Perhaps incompatible with the rom i was using? (Ultimate X v7 .. excellent rom btw).
bump
would love to see some progress made on this
When i saw the title i thought there was a new driver that was less cpu intensive . Oh well, i should give this a try and see if it is compatible with josh's kitchen.
Edit: there is a driver, but work on it appears to be discontinued?
This guy was doing the winmo world quite a favor by attempting to fix a problem that plagues us all (or at least the HTCers among us.) I wonder if htc will fix this eventually.
I am not a programmer but I started this thread in the hope that one of our highly talented chefs would be able to make a port of Polaris driver for Kaiser. I have tried playing with the registry and it does have an effect but there are trade-offs between graphics performance vs touch screen response.
marbella property
First Time it is worked for me, but now it is look like i have jailbreaked my device
bump.
as for me 2d drivers more important that 3d one.
It works
I'm currently using a value of 109 as recommended and feel it more responsive.
The ROM i'm using is Josh 21806 Full.

[Script] A new Girl every day :-)

Here is my PicGrab Script. It will automatically download some nice (hard****) erotic Pictures for you every day. In detail, it does the following when you execute it:
1.) It enables and connects your Wireless Lan
2.) It checks if there are new Picture Galleries available
3.) If yes, it will download the newest Galleries to your Storage Card
4.) After completion, it will disable Wlan again
5.) It will launch every 24 hours later, so you receive autmatically new girls every day.
UPDATE
I attached a second Version of the Script below. It does not use your Wlan connection, instead it uses the GSM Network.
Watch out, this can become very expensive for you if you have a bad dataplan, because there will be downloaded some MB of data!
Here you can have a look at the Script for Connection over Wlan:
Code:
### Picture Grabber Script by Stronzo ###
errorlevel syntax
toggledisplay(on)
### In the next 2 lines you define the location of the Script. Default is the root of the Storage card.
### The script will run every 24 hours (86400 seconds). You can change the value below if you want.
RemoveNotifications( "\Storage Card\picgrab.mscr" )
runat (timestamp()+86400, "\Storage Card\picgrab.mscr")
Run("\Windows\CommManager.exe")
sleep(4000)
### Depending on how your CommManager looks like (wlan button position)
### you will have to replace the 410 with something like 460.
mouseClick(460,410)
sleep( 18000 )
kill("CommManager.exe")
z = 0
y = 0
while (z = 0)
### In the following line, replace the IP with the IP of your Router. This way you can check if your Wlan is connected.
### If you dont have a router you can enter for example http://www.google.com,
### but this will indicate true even if you are connected via GRPS or 3G and may become expensive
z = InternetConnected("http://192.168.0.100")
Sleep(3000)
toggledisplay(on)
y = y+1
if (y = 12)
sleepmessage(5, "No Connection to WLAN!",1)
call gooff
endif
endwhile
sleepmessage(3, "Connected to WLAN","",1)
mkdir("\Storage Card\pics\")
download( "http://www.kindgirls.com/archive.php", "\Storage Card\pics\archive.xml")
read = readfile( "\Storage Card\pics\archive.xml")
existalready = fileexists( "\Storage Card\pics\already.txt")
if (existalready=FALSE)
writefile("\Storage Card\pics\already.txt", y)
endif
readalready = readfile( "\Storage Card\pics\already.txt")
x = 1
t = formattime( "Y.m.d" )
d = "\Storage Card\pics\"&t&"\"
found = 0
while (x < 13)
search = find( read, "galh450p", found+10)
found = search
if (search = 0)
sleepmessage (2, "Found nothing new")
call gooff
else
cut = substr( read, search, 30)
s = part( cut, "/", 2)
searchalready = find( readalready, s)
if (searchalready = 0)
sleepmessage (1, "New Dataset found, downloading...")
mkdir( d )
writefile("\Storage Card\pics\already.txt", s, TRUE)
a = "http://www.kindgirls.com/galh450p/"
a2 = "/"
a3 = "_"
e = 1
f = "\Storage Card\pics\"
h = ".jpg"
while (e < 20)
download(a&s&a2&s&a3&e&h, d&s&e&h)
size = filesize(d&s&e&h)
if (size < 15000)
delete(d&s&e&h)
endif
e=(e+1)
toggledisplay(on)
endwhile
e = 1
else
sleepmessage (1, "We already have this, skipping..")
x = (x+1)
endif
endif
endwhile
sleepmessage(3, "Finished completely")
sub gooff
toggledisplay(on)
Run("\Windows\CommManager.exe")
sleep(4000)
### Depending on how your CommManager looks like (wlan button position)
### you will have to replace the 410 with something like 460.
mouseClick(460,410)
sleep( 3000 )
kill("CommManager.exe")
sleepmessage(3, "Disconnected",1)
toggledisplay(off)
exit
endsub
What you need to get it running:
1.) Install Mortscript ( if you dont have it already).
Available here for free http://mort.sto-helit.de/index.php?module=download&action=view&entry=65
2.) Download my Script from the attachment or the Code above. Save it to the root of your Storage Card. Make sure it has the Name picgrab.mscr
3.) Execute the Script and wait till the magic is done (the screen turns off in the end). You will find the pictures in your Storage Card in the folder pics. The Script will run again in 24 hours automatically after you executed it.
IMPORTANT:
Read the Commented Lines in the Script, it may be necessary to fit some lines to your device to make it working ok on your device.
Select the Script you want, either Wlan or GSM.
Have fun!
Nice Idea ...
... but it would be even nicer to mention that these is pretty HARD!
Please remember ... married men could get in trouble!
Kids also have access to this site and apps provided here!
So please ... add at least a warning!!
I think everyone who is able to read will know what he will get. I cant be responsible for a married man downloading this and getting caught by his wife
Hi,
please enable GSM Network.
with friendly greet
starbase64
What do you exactly mean?
do you want to get the files without connecting to wlan?
str0nz0 said:
do you want to get the files without connecting to wlan?
Click to expand...
Click to collapse
Yes, download the new girl via GSM.
Your wish is fullfilled
Youre Script just downloaded 15 MB (72 pictures) in the firsttime run......
Too much for me!
Daily updates vary between 1 and 3 Sets, every has ~14 pics.
On the first run it may download more, but this is only on the first run!
Interesting
What about ActiveSync? Is it possible to have version which check new pictures and download them if there are any during the synchronization? (Like downloading new weather)
Thank you
theTransporter said:
Youre Script just downloaded 15 MB (72 pictures) in the firsttime run......
Too much for me!
Click to expand...
Click to collapse
I have unlimited datentransfer, it is therefore no problem.
Edit: the gsm version works very well
ha ha ha.... u made me laugh man... but gr8 idea...
Hi,
the script freezes when the device in the standby.
Can you change it so that it runs in standby?
I use the GSM version.
with friendly greet
starbase64
starbase64 said:
Hi,
the script freezes when the device in the standby.
Can you change it so that it runs in standby?
I use the GSM version.
with friendly greet
starbase64
Click to expand...
Click to collapse
There is nothing i can do, because its a setting in your phone. Normally GSM connections are kept alive when device goes to standby. Yours seem to disable data connection. You can change this setting with different tools, for example HD Tweak.
str0nz0 said:
for example HD Tweak.
Click to expand...
Click to collapse
i use HD Tweak, to set my internet connection always on
Work on pro
Will it wok on my pro thanks
Revin said:
Interesting
What about ActiveSync? Is it possible to have version which check new pictures and download them if there are any during the synchronization? (Like downloading new weather)
Thank you
Click to expand...
Click to collapse
I will have a look at that, maybe in a next version.
starbase64 said:
i use HD Tweak, to set my internet connection always on
Click to expand...
Click to collapse
You can try to set your timeout of your display standby for some more minutes. That should work.
jr5416 said:
Will it wok on my pro thanks
Click to expand...
Click to collapse
Just try it, the GSM Version will surely work, the Wlan Version has to be configfured correctly by you to enable Wlan. I have commented the lines in the Script. The main important thing are the two lines with the "mouseClick(460,410)" in the beginning and in the end. You have to set the correct coordinates where your Wlan Button is in the comm manager.
I have unlimited data too.
But are there every day 15 MB to download or only for the first run?
theTransporter said:
I have unlimited data too.
But are there every day 15 MB to download or only for the first run?
Click to expand...
Click to collapse
Only on the first run. And it depends when your first run is. In the worst case it will load 12 sets with 15 pics with ~200kb per pic, that means 36MB. But this is only true for the first run.
Like i said after the first run you get every day 1-3 sets, which means 3-9mb of data.
str0nz0 said:
You can try to set your timeout of your display standby for some more minutes. That should work.
Click to expand...
Click to collapse
TimeOut toggle with MortScript:
Code:
### deactivate Display timeout and Standby
RegWriteDWord("HKCU", "ControlPanel\BackLight" & nbURL , "ACTimeout", "00000000")
RegWriteDWord("HKCU", "ControlPanel\BackLight" & nbURL , "BatteryTimeout", "00000000")
RegWriteDWord("HKCU", "ControlPanel\BackLight" & nbURL , "ACTimeoutUnchecked", "0000003c")
RegWriteDWord("HKCU", "ControlPanel\BackLight" & nbURL , "BatteryTimeoutUnchecked", "0000001e")
RegWriteDWord("HKLM", "System\CurrentControlSet\Control\Power\Timeouts" & nbURL , "ACSuspendTimeout", "00000000")
RegWriteDWord("HKLM", "System\CurrentControlSet\Control\Power\Timeouts" & nbURL , "BattSuspendTimeout", "00000000")
### activate Display timeout and Standby
RegWriteDWord("HKCU", "ControlPanel\BackLight" & nbURL , "ACTimeout", "0000003c")
RegWriteDWord("HKCU", "ControlPanel\BackLight" & nbURL , "BatteryTimeout", "0000001e")
RegWriteDWord("HKCU", "ControlPanel\BackLight" & nbURL , "ACTimeoutUnchecked", "00000000")
RegWriteDWord("HKCU", "ControlPanel\BackLight" & nbURL , "BatteryTimeoutUnchecked", "00000000")
RegWriteDWord("HKLM", "System\CurrentControlSet\Control\Power\Timeouts" & nbURL , "ACSuspendTimeout", "00000708")
RegWriteDWord("HKLM", "System\CurrentControlSet\Control\Power\Timeouts" & nbURL , "BattSuspendTimeout", "0000003c")
I use it, works fine. (past in your script)
with friendly greet
starbase64

Categories

Resources