yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] :
I'm considering re-writing the code a little. I've flashed wm6.1 on my device and I see that Sunscape doesn't load in the background when pressing the power-off button. Instead, it loads up when the device is powered on again (which should be the normal behavior since you can't control what happens when the power off button is pressed, the system just goes down directly without waiting). I think I've heard a few questions related to this too... It worked on wm6 (and I wonder why because from what I gather this should not happen) but it doesn't work on the cooked ROM (and it officially shouldn't).

The only alternative I can see is make Sunscape memory resident. That should make it lightning fast and eliminate a whole bunch of problems. I'll have to see how much memory Sunscape eats up and if the level is acceptable I'll rewrite it and make it memory resident.
[Windows Mobile Development and Hacking General] zarxic:
That would be perfect!
[Windows Mobile Development and Hacking General] :
Okay. It's done. Sunscape is now memory resident instead of Sunscape Lock. Sunscape Lock no longer exists and has been thus removed. In order to make Sunscape resident you just need to start Sunscape.exe and it should go silently into the background.

I've tested this release on my machine but haven't extensively tested it using incoming calls, sms-es etc... The overall outcome is pretty good and it seems to run stable so far (more stable than the previous release on this ROM). However, I recommend this update for the more adventurous people who don't mind breaking their heads with it.

Luckily, I haven't modified Sunscape.xml almost at all (just tweaked values but no new entries) so once the themes get ported they will be compatible with this release too.

Looking at performance in terms of what we lost, Sunscape Lock used to run at around 400-600KB memory pool and after the resident change I've seen Sunscape in the 600-900KB range. The processor load (will be tweaked more further on) for Sunscape is around 0.25-0.75%. The change is not too dramatic and in the long run I think the change is worth it.

Release is marked HOT as it brings some serious changes to core and functionality. Please update only if the previous releases are not working for you or, as stated, you're an adventurous type.

Initial post updated!
[Windows Mobile Development and Hacking General] :
Tests look good. I've ran Sunscape over night and at work, no crash, no disasters. I've modified the latest release which now includes some tweaks as well as functional code for exclusions and took out some workarounds as we are now memory resident. I'm actually impressed by the stability when running as memory resident... I think it was a good change.

Having said that, I can recommend the update to everybody. I took out Sunscape.exe from the app exclusions since we don't need that workaround anymore. Usual comments and/or bugs are welcome. I think we'll keep it memory resident from now on.

Initial post updated!
[Windows Mobile Development and Hacking General] y_bother:
i installed the latest version yesterday and it runs good :D

but the only issue i had when i got an incoming call or maye i did not know how to use it :P

the issue is : when i got a call and then i unlocked.. the dialer came out shows the last call i made and the device is stuck till i press the send buttom :)
[Windows Mobile Development and Hacking General] :
Thanks for taking interest in Sunscape! Please update to the latest version since the one from yesterday wasn't tweaked for the memory resident mode.

It depends how you've configured Sunscape. By default you have to slide to answer: if you get a call, you slide till you see the answer pressure point (should be 3rd pressure point with a green dot in the middle on the default theme), release and Sunscape will answer. Similarly, to reject you slide till the pressure point with a red dot (should be the 7th pressure point) and it will reject the call.

Alternatively, you can turn off the slide behavior. For example, you could disable slide to answer in Sunscape Config. If you disable slide to answer, you can just use the green/red keys to accept and respectively reject calls. Additionally, with quit on answer (set to on by default in Sunscape Config) Sunscape automatically hides itself once you have answered the call (so you have access to the phone functions).
[Windows Mobile Development and Hacking General] :
I'm working on a theme for Sunscape and I wanted to share it with you. It's still in the early stages and I still have to write the Sunscape.xml for it. However, here are some screens (I know Fallout fans may like this one) from the new theme called "Pip-Boy":

And with the gadgets and gauges activated. The gauges and gadgets will look like the image above and once activated (ie: a new sms) they will "light up" to look like the image below. The bar to the left will be the location of the pressure points and it will gradually light up:

Landscape may be blank, I don't know, I'm still trying to decide:

I've tested VGA and qVGA and the theme shows up nicely. I could have done the "interlace" effect you normally see on a Pipboy but visibility is much better without it.

Counters will also be displayed. I'm a bit stuck on weather icons and I still have to find something that matches (color too since the original pip-boy is green/cyan-ish).

EDIT: For the Sunscape-effect I think it will draw the sun/moon-stages (starting with sunrise and to sunset, to moonrise and moon-set). I'll need some convention for that and I think they will display in a circular fashion as an item on the Pip-boy interface.

What do you think? :-)
[Windows Mobile Development and Hacking General] y_bother:
thanx

the new themes look amazing :D

and i knew the problem cuz me :P cuz it's the first time i'm using this.. and i played with the pressure configuration

so thanx again dude 4 this nice work :D
[Windows Mobile Development and Hacking General] :
Cool! Glad you like it!
[Windows Mobile Development and Hacking General] sempixel:
v6!

http://xdaforums.com/showthread.php?t=424367
[Windows Mobile Development and Hacking General] sempixel:
It's gonna be a BIG hit. ;)
[Windows Mobile Development and Hacking General] chiekh:
Please i'm using CradleAlarm and i list it in the exception section and when the alarm wakeup i have to unlock with sunscape before that i can stop the alarm.

Please is there a param that a can change for sunscape to load immediatly after switching on. Thanks.
[Windows Mobile Development and Hacking General] :
Ok, several things. First, the exception only works if the program is in the foreground (ie: you start a program and it has focus) so it won't work for programs running in the background. If this is a request, I could make another section of exclusions to keep Sunscape from loading if certain programs are running at all (background and/or foreground).

To make Sunscape load on power-on, you can just turn on Sunscape Config -> Locking -> Lock when device wakes up -> Enabled -> true.

If you're using Sunscape 0.4 stable branch, there are some problems with it and I recommend updating to latest snapshot CAB-file [I know you use sempixel's lovely skin and since there are no changes to Sunscape.xml it should work with the latest snapshot CAB-file too!].
[Windows Mobile Development and Hacking General] :
Some more changes and fixes. Nothing major just tune-ups for memory-resident change.

Initial post updated!
[Windows Mobile Development and Hacking General] nmeister:
cannot wait for the new pip boy theme.
[Windows Mobile Development and Hacking General] :
Time for another update. Off-by-one error for pressure points has been fixed and answer/reject pressure points should now display properly.

Initial post updated!

[ I'm still tuning the Pipboy theme a lot. I've fixed weather display but there are still a lot to do (for eg: I forgot to add GSM signal indication). The first test run was quite ok and it looks really nice :-) Sadly I can't give an estimate but it will be a matter of days till it will be released. ]
[Windows Mobile Development and Hacking General] :
The update (snapshot and svn) fixes some issues with hotswapping portrait and landscape mode as well as refreshing issue related to the office thread (the gadget layer) and some other minor issues. Update is recommended.

Aaand, as promised, the Pipboy theme.

-I've only tested it in qVGA mode.

-I have also included the source file if somebody is interested in modifying the theme to suit themselves better (that's why it's so big). -I've also included a font in the src subdirectory of the zip (It's a Fallout-like font made by Red and looks okayish but I still used arial for readability.)

-You will need the latest CAB file for this theme to work properly (since it fixes a couple of themes, no Sunscape.xml modifications though).

-The unknown caller still needs some modification.

-Please do remind me from time to time to keep the theme up-to-date with the snapshots.

Here's a short breakdown of the theme functions. Enjoy!

And the unknown caller screen :cool::

Initial post updated!
[Windows Mobile Development and Hacking General] sempixel:
Pipboy theme = H O T ! :D
[Windows Mobile Development and Hacking General] sempixel:
SevenRains: Battery and Volume text are unclear once downscaled to QVGA but apart from that the Pipboy theme is excellent!

Another thing, could it be possible to add centering on gadget's text instead of left alignment? Could be useful for clean theme creation..

Cheers!
[Windows Mobile Development and Hacking General] :
Hehe thanks... Yep, I've noticed they're a bit illegible. I'll fix that with some spacing. I also want to change the sun-moon indicator in the next version so that it goes from right to left (which makes more sense naturally).

Yep! Will be done. I noticed the left alignment on the pipboy theme is a bit eye-frustrating. Also, if your signal drops below 10 and becomes one digit (ie: 8, 3 etc...) it looks annoying too with the left alignment.

I also want to introduce an option to change the fontstyle since up to now Sunscape has been rendering every text in bold font. Bold fonts look good if you want something to stand out but somebody might want to use normal, italic or underline etc...

Does the new CAB release break V6 of your theme? It shouldn't... It just makes some minor corrections.

Thanks for telling me this! Added to TODO list! Cheers!
[Windows Mobile Development and Hacking General] nmeister:
program is great, pip boy theme is awesome.just wanted to say thanks for your constant work on this.
[Windows Mobile Development and Hacking General] aussiebum:
hi, any chance sunscape will support WVGA res? just tried it on my xperia with pipboy theme and even after adjusting the xml for 480x800 it doesn't seem to launch; and Preview mode shows the sunscape screen only at 640x480.... thx
[Windows Mobile Development and Hacking General] :
Thanks for your ongoing support, I'm glad to hear a good result!
[Windows Mobile Development and Hacking General] :
By default Sunscape supports any kind of resolution. However, that's up to the theme and not to Sunscape itself.

Pipboy is designed on a 480x640 screen resolution and tested on a QVGA resolution (I don't know how it looks on a 480x640 in fact, I've only tested it on 240x320 qvga). The only viable alternative would be for somebody to port Pipboy to WVGA... I provided all my sources for the pipboy theme so it's just a matter of rescaling / adapting to 480x800...
[Windows Mobile Development and Hacking General] aussiebum:
Thanks for the response. If I find some spare time then I'll fiddle around with the Pipboy theme and make it WVGA. It looks really nice and I want to use it! :)
[Windows Mobile Development and Hacking General] nmeister:
forgot to mention that I am using a diamond (vga) and it works great.
[Windows Mobile Development and Hacking General] :
Oh cool, so we're in business 480x640 is a go... Thanks for that feedback!
[Windows Mobile Development and Hacking General] :
If you need any kind of support just tell me! In the src directory you'll find .xcf files. You can open these with gimp (it's an internal gimp format that preserves layers and everything else). Basically you'd need to resize to 480x800 BUT there's a catch I think... You'll not be scaling 1:1 so the theme will look skewed... :( So it will take some figeting around to make it look properly.

This is how the theme is designed (if it helps):

- I just made a background taken from the original pipboy and applied a terse blur so you get the green terminal effect.

- I drew the border (very easy, just rectangle with rounded corners) and filled it with a mean "green" value from some pipboy screenshots.

- Then I created another layer and just drew the gadgets (as if they were all lighted up), switched the layer to Value channel merge and set it at 20% which gives the "not active effect".

- Afterwards I just drew some crud like borders and miscellaneous effects (the guides layer in the xcf).

- The sunscape-effect for the sun evolution is just based on moving a ball a bit then file->save as... move ball, file->save as... etc... (Yes, this was a pain).

- After I finished fiddling around and had a background with all gadgets and everything, I used Sunscape Config to fix some annoying stuff... For example, the pressure bar on the left wasn't exactly perfect, it had lines going through it so I fixed it using the config and preview.

That's basically it but it can get pretty painful along the way. If you get it done, I'll include it in the release with notes and credits for the WVGA version of it! :-)
[Windows Mobile Development and Hacking General] sempixel:
I've got a random WM6.1 freeze when unlocking with lastest cab and Pipboy... :(
[Windows Mobile Development and Hacking General] :
A new update. This one contains options to modify the font style (bold, italic, underline etc...) and centering on gadget icon's text (as requested by sempixel). Both themes have been updated and they should show up ok with the changes but this may break other themes since this time there are Sunscape.xml changes.

Pipboy v2 - incoming call / unknown caller picture has been fixed.

Also, it should now answer phone calls properly (some regressions).

Initial post updated!
[Windows Mobile Development and Hacking General] :
That's frustrating. I've been running it for almost a week now and no freeze. Does this only happen with Pipboy or with the default / your theme too?

I'm at a loss, don't really know where to start if I can't reproduce the bug or at least get an idea what exactly is causing that...
[Windows Mobile Development and Hacking General] sempixel:
It happens with the lastest cab files + Pipboy or default theme..

And also, locking based on idle doesn't work on my device with new memory resident mode.

My device > LG KS20 / WM6.1 / NETCF 3.5

I'm back to stable v0.4

:|
[Windows Mobile Development and Hacking General] :
I can't confirm it, no troubles on a HTC Kaiser... Locking on idle, what exactly doesn't work? Even if you set CPUThreshold to 200 and idle span to say 10 seconds? That should make it definitely lock after 10 seconds.

If somebody can confirm sempixel's problems or if it's working for other people please say so!

I'll try on an Axim, see how that works out and I'll keep you posted.

EDIT: Maybe CF3.5 is the culprit? Sunscape is written on CF2.0... If it's an issue with CF3.5 then I'll port Sunscape to 3.5. No probs...

EDIT: Bad news, Axim 51v CF 2.0 WM6.1 seems to have no problems with it. ****e...

EDIT: I'm installing CF3.5 on the Axim and I'll see what happens.

EDIT: Bad news, Axim 51v CF 2.0 WM 6.1 Football ROM with CF 2.0 and CF3.5 work perfectly.

sempixel, I recommend you wait a little and see if somebody can confirm the same thing. If not, might be some device related issue although it's very strange because we have almost the same devices and the Axim, even with a cooked ROM, can run it without trouble...
[Windows Mobile Development and Hacking General] sempixel:
Another thing, changing xml with Sunscape config results in an application crash. (latest cabs)

Btw I changed CPUThreshold like you said and it worked. I've changed my WM standby settings to fit better.

Apparently freeze appears with GPRS/DATA connection on.. I'll try more today.

Merci !
[Windows Mobile Development and Hacking General] :
Yep. I think I know where that comes from. Most probably when I wrote the routine to save the new features (fontstyle, gadget text centering etc...) I wrote a xml path badly in Sunscape Config. Most crashes in Sunscape Config come from badly manipulating the xml file. I'll have a fix within the hour. Thanks!

I noticed that I had one of those weather plugins and it kept my CPU over 40%. After I disabled that, CPU idle load returned to normal (5/6% spikes) and Sunscape loaded just fine... I usually monitor the CPU load from time to time with a tool because I want the CPU load to be low when the device is idle to conserve battery. There's an awesome tool around... Hmm let me find it... It's called dotfred task manager and it's awesome work.

Goodie! I'll give it a shot with my GPRS on and see what happens. It's probably the weather thread kicking our asses again but I can fix that for sure if I replicate the bug.

Avec plaisir et merci!

EDIT: Nope. Loads ok with GPRS (with HSDPA too). The strange thing is that it doesn't give an error (ie crash and exception) but your device locks up. If you don't find it, I can compile a debug version with the form not-maximized so it will give you access to the start menu and you can use tools to see what's going on.

Just for kicks, what happens if you disable all the today plugins and run Sunscape. Does the same thing happen?
[Windows Mobile Development and Hacking General] :
Done. The Sunscape Config tool is fixed and won't crash on save anymore. Also, the latest cab adds an option to create a shortcut in the startup folder and also remove it.

Initial post updated!
[Windows Mobile Development and Hacking General] sempixel:
Yeah send me a debug version please, I WANT TO KNOW! :)

I'm sad not being able to use lastest sunscape functions...

And btw it crashed even without DATA connection... I'll try with gadgets off.
[Windows Mobile Development and Hacking General] sempixel:
SevenRains: Watch what happens here > http://www.dailymotion.com/stons/video/13051212
[Windows Mobile Development and Hacking General] sansnil:
Wow I just discovered Sunscape and really like. You can't beat the level of customization in the settings!

Would there be any way as part of a future version to support animated gif's for the background?

This works very well on my Treo Pro, much appreciated!!
[Windows Mobile Development and Hacking General] sansnil:
So I installed the latest cab from the top post here and the main Sunscape.exe won't run on my Treo Pro if I try to launch it directly. The interesting part is that it is running when I wake the device up so it looks like there's some sort of conflict when launching when the device is awake. I check the CPU load and it's well under the threshold just in case that was the problem.

Version 0.4 didn't have this problem - any ideas?

Thanks!
[Windows Mobile Development and Hacking General] :
Thanks for taking interest in Sunscape! Sorry, it seems my email had some issues and I didn't get any replies and didn't check the thread.

Ok. The latest CAB is a bit "changed". When you run Sunscape directly it won't lock the screen immediately. Sunscape Lock and Sunscape have been fusioned into one single binary. That means, Sunscape does what Sunscape Lock used to do:

When you launch Sunscape it won't lock the screen but it will check time / CPU throttling and lock the screen when the device is idle. Also, it will launch on wake up like you've seen. The load may vary from device to device. To test that it works, you can set the idle check time to 10 000 (10 seconds) and the CPU threshold to 200. In which case it will measure in 10 seconds intervals if the CPU load is over 200 (which will never happen) so it will lock for certain after 10 seconds.

I think I'll insert a program parameter to make it lock immediately (in case somebody wants to map Sunscape to a hardware button since I've seen that some people like that).

For the animated gifs, by default CF doesn't support them (yes, it's that bad) but I can find a way around it. I'm not sure yet, it seems like a very big overhead because for animations one would need to create a huge background and a separate image for every frame.
[Windows Mobile Development and Hacking General] :
Damn, I think it expired, it says that it's "still being published".

Question... Can you check to see if your notification queue is in order? It might be that you have a dangling reference from 0.4 in the notification queue?

I just don't get it. In the last days I've been running Sunscape continuously on the Axim and on my HTC without any kind of problem (as opposed to 0.4 which would crash once in a while).

Could you please re-up the video? I'll compile a debug version afterwards based on it (so I know which part might be responsible for what you're experiencing).

OK, I'll post some hacked versions of Sunscape here for you to try (just overwrite Sunscape.exe from the latest CAB file).

The no fullscreen one is just the complete Sunscape but without going to fullscreen. This one will let you use your tools while Sunscape is running to check what's going wrong. Does this one crash your machine just like the other ones? Or can you access the "Start" menu? If you can still access the "Start" menu after unlocking then it probably means that it's a Sunscape problem, if not, then your machine did crash indeed.

The second one "nopixelandmini" is an alternate version of the unlock routine. Could you please check whether this one unlocks properly?
[Windows Mobile Development and Hacking General] oic0:
Works fine on mine except the unlocking part. Is not frozen though, the time still changes. -pipboy theme.
[Windows Mobile Development and Hacking General] :
Oh so still the unlock bug. Hmm. Could you please try the Sunscape-nopixelandmini.zip version from the previous post?

Just replace the Sunscape.exe file (after you've used Sunscape Unlock so you can overwrite the file) and see if it _unlocks properly_?

This is a debug version so it will run Sunscape immediately and will have the WM bar at the top. Important to know is if it "hides"/"unlocks" properly...
[Windows Mobile Development and Hacking General] sansnil:
Thanks for the reply. You're right as I'm one of the folks that had a hardware button set up to invoke Sunscape so thanks in advance for thinking of adding it back.

You're also right about the animated gif's having more overhead I think but the 'wow' factor can't be beat. I really like Sunscape's design because the flexibility of the settings really lets a user tailor the program behavior to just how they like (and how it works best on their device). So people that didn't want the extra demand of animated gifs could opt out from enabling that - choice is always a good thing. :)

Thanks for the great work!
[Windows Mobile Development and Hacking General] oic0:
Error

Sunscape.exe

TypeLoadException
[Windows Mobile Development and Hacking General] :
Oops sorry. Latest included some changes to Sunscape.xml.

I've attached both files. Thanks!
[Windows Mobile Development and Hacking General] oic0:
same error.

One thing I noticed though. When running the origional one, touching the screen while it has the loading up "locking" on the screen does cancel it. It just doesn't respond after it has been locked. Also, old sunscape with the new XML you posted fits the wallpaper on my screen better.
[Windows Mobile Development and Hacking General] :
Ah :D You are using 0.4 stable? :D I was talking about the latest CAB file... Sorry :D 0.4 is already obsolete that's why it's spitting out errors because it doesn't understand the latest Sunscape.xml changes. pipboy is meant to run on the latest CAB file, not on 0.4 stable.