[TUT] optimization games HD for QVGA/HVGA - XPERIA X8 Android Development

http://forum.xda-developers.com/showthread.php?t=1088980

Witryna padła.
Site offline.

And it's only written in Russian, cool!

Dexter_prog said:
And it's only written in Russian, cool!
Click to expand...
Click to collapse
Use google translate. No big problem...

velnens123 said:
Use google translate. No big problem...
Click to expand...
Click to collapse
Years of classic SE modding scene gives you nice amount of experience in Russian, especially if you also belong to an Slavic nation

but I'm Argentinian. All I know is "DA" and I don't even know if it is written that way

Please read the thread in the X10 forums, someone´s making a translation to English.

Recently, I received a lot in a personal message with questions about the optimization-game screens for HVGA, QVGA. Since this question is relevant to many, I decided to try to write a short statement. Just want to warn you that every game has its own nuances and using the information described here will likely have to adjust it to suit your particular case, moreover, this statement is more true to the games from Gameloft. It is also desirable to have programming skills, even if it is not under an android. In any case, I hope that this manual will be useful to you and help you understand the approximate sequence of actions. Android platform I started relatively recently, perhaps doing something not quite right / best, is this - the guru of the forum, please do not throw rotten tomatoes, and point out the error, suggest a more optimal choice.
Let's begin ...
Tools
Spoiler (+/-)
Now let us think that the game is optimized for screen HVGA / QVGA?
It can be divided into several stages.
Key:
1. Changing the resolution on rendering HVGA / QVGA.
2. Adjusting the grid touch screen.
Secondary:
3. How to disable the cache (you need in order to be able to convert intro at lower resolution).
4. Assigning a hardware button on any action (required for phone without multitouch).
Before you begin any phase of optimization, we need to get to the source code, the original source code of course we do not get, but we can get a JAVA-byte code, which is quite to our problem would be enough. To do this we will use "Apk Manager".
Install and use a "Apk Manager".
Spoiler (+/-)
Next is the text I will miss the description of the process of unpacking / ank zapakovki files.
Also, before you start, I recommend to first see a list of commands JAVA-byte code.
Now you can directly violate the optimization, for example I will use the game "Modern Combat: Sandstorm".
1. Changing the resolution on rendering HVGA / QVGA.
Spoiler (+/-)
2. Adjustment of the touch screen grid
Spoiler (+/-)
3. How to disable cache
Spoiler (+/-)
4. Assigning a hardware button on any action
Spoiler (+/-)
Useful
Spoiler (+/-)

@vixkes
can u expand those spoilers? LOL

Related

SmartPhone Game Emulator For SmartPhone

I was looking for Emulator(GameBoy/GameBoy Color/Gameboy Advance) for Smartphone and i found a lot of others that does not work or there is no option for me to change the resolution because it is too small.
Finally i found a post from modaco that work on my cingular 3125 wm5/wm6/wm6.1
I believe it also work on older OS like wm2003
Hi everybody,
I've been hunting on the net for good console emulators for the smartphone and came across PicoDrive and PocketSNES. Unfortunately neither of these emulators worked properly on my C550. So I decided to try and fix it so I could play my favourite games on my phone.
The biggest change is probably getting it to work at QVGA resolution, which was a definite improvement to the postage stamp size window. After much tinkering, I think I've reached a milestone and am happy to share it with the rest of the community.
Disclaimer: These programs have been tested on my C550. I hold no responsibility for any damage caused by running them on your own devices.
Credits:
Full credit should go to the following people for original conversion to smartphone. Please provide donations to the relevant developers for their efforts, so that more projects like these remain open source and free to everyone.
FileDialogSP.dll by STomski
PicoDrive (original source) by Dave @ finalburn.com
PocketSNES (original source) by SpaceMonkey
PocketGNUboy (original source) by ???
MameCE3 (original source) by Techmaster
PocketNester (original source) by Rick Lei
Fixes/Tweaks:
Update: Now works on all smartphones including QVGA screens
PicoDrive (Genesis) Attached File PicoDrive_QVGA_19_01_06.zip
-QVGA compatible in all screen modes. (Portrait/Landscape)
-Integrated FileDialogSP.dll by STomski for ROM file selection.
-Game save/restore options
-Added key configuration screen
-Portait mode now uses full width of QVGA screen
- No sound
PocketSNES (Super Nintendo) Attached File PocketSNES_QVGA_04_01_06.zip
- QVGA compatible in all screen modes. (Portrait/Landscape)
- CPU cycle adjustment to increase game speed (lower value equals faster emulation)
- Game save/restore options
- Integrated FileDialogSP.dll by STomski for ROM file selection.
- Fixed screen freeze on startup.
- I have provided two version of the app in this archive. Version 1.43 core app will have better compatibility but will only work on QVGA phones. If you have trouble running this please refer to 1.39 version.
- No sound
PocketGnuboy (Gameboy Color) Attached File PocketGnuboy_QVGA_08_01_06.zip
- QVGA compatible in all screen modes. (Portrait/Landscape)
- Integrated FileDialogSP.dll by STomski for ROM file selection.
- Game save/restore options
- Added Extended Config Key option to redefine directional and game keys
- Fixed low res screen position offset
- Enabled GAPI draw mode by default and disabled option in Preferences screen.
- Sound enabled
MameCE3 (M.A.M.E) Attached File MameCE3_QVGA_25_01_06.zip
- This is a fairly cut down version of the full Mame32. It supports 200+ games but can be enabled for more depending on hardware emulated.
- To "OK" the legal notice screen use LEFT->RIGHT directional keys
- Added key configuration screen
- Fix default mame key quirks
- Game screen now shrinks to display size. Some games may be difficult to view on low-res phones.
- Menu option to turn auto scaling on/off
- Improved screen scaling but still a bit slow.
- Use * and # to adjust frameskip rate.
- Added option to refresh game list
- Sound enabled - but nothing to get too excited about.
PocketNester (NES) Attached File PocketNester_QVGA_14_01_06.zip ( 138.47K )
- QVGA compatible in all screen modes. (Portrait/Landscape)
- Integrated FileDialogSP.dll by STomski for ROM file selection.
- Game save/restore options
- Added key configuration screen
- Extended Sound options
- Sound enabled
There have been changes to the HTC hardware to disallow volume/record/camera keys to be used as game buttons, please stick to the keypad when redefining your own to avoid problems.
I would appreciate some feedback on your experiences with these emus, whether good or bad.
Please send enhancement requests to the original developers as I have no plans for doing any more updates to these programs.
Enjoy!
Kien Phan (Parallax).
Click to expand...
Click to collapse
All credits goes to modaco Kien Phan (Parallax).
The best emulator I've seen is SmartGear. It has support for NES, GBC, GameGear, Genesis and a couple others I think. It's going to have SNES support really soon apparently too.
The only problem is it's not free, but it works so well and with unlimited free upgrades, I think it's worth it.
bitbanksoftware.com (there's a dev discussion at modaco)
Wicked. Just what i needed. Thanks for posting this (..and thanks to Parallax for the changes!)
What are game emulators? The name implies a peice of software which enables running various formatted console games. Or is it a console game that has be rendered to play on a multitude of devices. In which case, a more appropriate name would be game emulation.
is this worked for 6.1 pro erofich ?
The PicoDrive is an interesting app.
But isn't it possible to load ROMs from a SD card?
I can't select the card in the menu and with my 64 MB ROM there's enough memory for just 1 ROM.
are there any GB/GBC/GBA emulators for HTC diamond? i tried "PocketGnuboy_QVGA_08_01_06.zip" and i was able to config the keyboard for directional keys and game keys but every time i tap the screen (to launch keyboard), it always pause so i cannot play it anyway.
any other alternatives or solutions please....
i appreciate it thanks...
hahaha... i just found a keygen for smart gear...it's funny coz the keys are dependent to owner ID.

[APP] SimplePiano V4.3 [21.06.10] [ VGA / WVGA / QVGA / HVGA ]

SimplePiano V4.3​
SimplePiano with the SP_mickesjo WVGA Skin​
As the name suggests it's a simple piano application. I took over "CrisRowlands SimplePiano" after Cris decided to give up developing it (Original thread). The main reason I took over is because I wanted to implement multitouch. I own HTC HD2 so my emphasize was on the WVGA format, but the application should also support VGA resolution. It should be pretty easy to create skins for other resolutions as well...
Features:
WVGA, VGA, QVGA, HVGA versions.
It has three octaves.
Record and Playback.
Dualtouch via the PinchToZoom events (not ideal but the best I could find...)
Customizable skins.
Customizable sounds (currently include Piano, Acoustic Guitar & Violin).
Currently in develop:
Continuous sliding of the keyboard view.
Change the skn files to support arbitrary number of keys.
CHANGELOG:
21.06.10(4.3)
Added two single finger chord modes (Major and Minor) - Requires special skin. I don't like this solution so I didn't follow it. If anyone is interested in this please let me know...
Added minimum note sustain length control (in milliseconds). If minimum sustain is not specified the full sample is played.
Added support for looping over the sample (by looping over the sample) Two samples can be specified, one is played once in the beginning, and the second is played over and over until the key is released. If the second sample is not specified the first one is used for the loop. This feature requires appropriate sound samples to be available.
Sounds are controlled via "Sound.lst" file. Different behavior of the notes (those mentioned above) can be controlled via this file.
Added OK/Cancel button to the settings dialog.
Vibration LED index can be now set via the "Device" tab in the settings dialog.
Polyphony can control to the "Device" tab in the settings dialog.
Fixed a problem where SimplePiano closed if an incompatible skin was chosen.
Fixed issue where bitmaps were not always clipped to bounds.
Fixed crash when sound file did not exist.
Changed applications icon (thanks mickesjo)
11.06.10(4.2) Added some exception handling during initialization and a vga skin for the Default skin. Fixed the link to point here.
10.06.10(4.0) Initial release including the new features (dualtouch, recording etc. as desribed in this post).
Screenshots:
Skins: Default WVGA skin, MewSkin WVGA skin, MewSkin VGA skin, SP_mickesjo WVGA skin, Saplorer UI WVGA skin
Settings Dialog​
Download:
SimplePiano V4.3 (WVGA/VGA/HVGA/QVGA)
Alternative Download(Uploading) (including mickesjo's skin and Osprey00's alternative piano sounds - thanks to Osprey00)
Additional Skins:
(must be installed in the same location as the main application)
HVGA Rescale of the original skin (thanks to sam-2007 on post #130).
MewSkin (WVGA/VGA)
SP_mickesjo (WVGA/VGA/QVGA), thanks mickesjo. atlaswing created replacements key images, these can be found on post #47. HVGA version (thanks to sam-2007 on post #130).
Saplorer UI (WVGA), thanks xclarinetistx
Additional Sounds (thanks conantroutman):
(must be installed in the same location as the main application)
Violin
Acoustic Guitar
Piano Samples 8bit (lower quality) - these samples replace the default piano samples that comes with SimplePiano.
Alternative piano samples (thanks to Osprey00)
Rectangular QVGA (320x320) patch - extract the files from the zip files into the "Default" skin folder.
Click to expand...
Click to collapse
Previous version:
SimplePiano V4.2 (WVGA/VGA)
For QVGA the modified default skin has to be installed too.
Skins:
Default (WVGA/VGA/QVGA)(CrisRownlands' original skin)
MewSkin (WVGA/VGA)
SP_mickesjo (WVGA/VGA/QVGA), thanks mickesjo
Click to expand...
Click to collapse
Other Notes:
If I may quote Cris:
I hope you folks like it
Feedback is appreciated, improvements can only happen if I know what you folks want.
Click to expand...
Click to collapse
Some documentation
Some useful information about the *.skn files and the Sound.lst file.
The *.skn files
These files define the location of the different items on the screen. For each screen resolution the skin supports there should be one skn file. When a skin is chosen, SimplePiano search the skin directory for a compatible skn file and loads the skin according to its content.
here's an example for a skn file
Code:
Display=0,0,480,800
This line declare the target resolution of the skin. It is given in the following format: 0,0,Width,Height
Code:
Name=mewskin
The name of the skin, currently not used for anything.
Code:
Octave1=360,10,120,120
Octave1Image=OneNormal.png,OnePressed.png
Each key should include those two lines. The first line describe the location and size of the image, using the following format:
KeyName=Left,Top,Width,Height​The second line points to the images to be used with this key. The following format is used:
KeyNameImage=NormalStateImage, PressedStateImage​Where KeyName is one of the following:
Octave1, Octave2, Octave3
Quit, Settings,
Record, Replay,
NormalKey1, ..., NormalKey8
SharpKey1, ..., SharpKey6​All these keys must be specified.
NormalKey# stands for the normal note keys (C,D,E,F,G,A,B & C)
SharpKey# stands for the semitone keys (C#, Eb, F#, Ab, Bb & C#)
In addition the toolbar background has to be specified as well:
Code:
Toolbar=360,0,120,800
ToolbarImage=Background.png
unlike a regular key here only one image is supplied.
In addition the optional chord modifier keys can be specified (using the same logic):
Code:
ChordMajor=-30,0,60,60
ChordMajorImage=MajorNormal.bmp,MajorPressed.bmp
ChordMinor=-30,60,60,60
ChordMinorImage=MinorNormal.bmp,MinorPressed.bmp
The Sounds.lst file
This file defines the sounds to be used with the selected instrument. First of all it binds a note to a wav file. In addition different properties can be set for each note, as I'll explain below:
Code:
[1]
The file is divided into octave, currently there are 4 octaves (since SimplePiano also includes C4 &C#4). Each octave is titled with its number.
Code:
C=Data\C1.wav, Loop=0
Then, the sound files for this octave are given. The following format is used:
Note=FileName, Option1=value1, Option2=value2,...​Note is one of the 12 notes in an octave. The following notation is used: C,Cs,D,Eb,E,F,Fs,G,Ab,A,Bb,B.
Then a relative path to the sound file is specified. Followed by a list of parameters and values pairs separated by comas. These parameters are optional. The following parameters can be declared:
Loop=#​This specify how many times to loop over the sample (0 - plays the note once, -1 loop infinitely). If a non-zero value is given for a note, the note will be played as long as the key is pressed, once the key is released the playing will cease immediately. By default (if not specified) Loop=0.
MinimumLength=#​This specify the minimum length (in milliseconds) a note is to be played. If this value is -1 the sample will be fully played. any other (non-negative number), the note will be played at leas this amount of time. For example, if a value of 500 is specified, every touch on the keyboard will generate a 500ms sound. If the key is held longer than 500ms the sound will stop when the key is released (or the sample reaches its end). The default behavior depends on the "Loop" setting: If Loop=0 MinimumLength=-1. Otherwise MinimumLength=0.
Good job man
Good luck with this
I don't suppose you could maybe send me a copy of the source code etc?
Maybe upload it & give me a link.
The main reason I wasn't able to implement these features is because I don't know how. It would be quite interesting to learn about how you did it
good job on significantly improving chris' already nice work
And dang you've beaten me to first reply
ephestione said:
good job on significantly improving chris' already nice work
And dang you've beaten me to first reply
Click to expand...
Click to collapse
cris_rowlands said:
Good job man
Good luck with this
I don't suppose you could maybe send me a copy of the source code etc?
Maybe upload it & give me a link.
The main reason I wasn't able to implement these features is because I don't know how. It would be quite interesting to learn about how you did it
Click to expand...
Click to collapse
Thanks guys...
Cris... no problems, just let me tidy the project a little...
I love your simple piono 4.1. Now 4.2 should be better than 4.1. Thanks for the updated version...
OP, thanks for the APP. I look forward to future updates once more of the bugs have been knocked out!
Update: added a download link to the mewskin, this is nicer looking especially for the VGA resolutions (but also on the WVGA). Kudos to the author (xxmewstarxx)...
Just install the mewskin.cab after installing SimplePiano (no need to reinstall).
Z.
for now, I vote for default to 0 interval between multitouch keypresses, instead of 300ms
Not much of a big deal as you can change it yourself, yet if you already restarted to register multitouch, and you change that option later, you need to restart again
I am also thinking about spanning through more than 3 octaves, and a different method of changing the octave that lets you do that faster and more easily, will report back when I have a better idea
Nice!
Unfortunately the space on the screen ins't that much but if there was a way to "somehow" squeeze in and create spaces for Chord Symbols/Buttons and when these are being pressed, a chord is being played (a flat chords, an arpeggio). Said chord-sounds could be default-sounds distributed with the application or pre-recorded by the user. Something similar to those Casio-chords (or whatever they are called) which do the fingering for you. Another option could be that it played just the root of the chord so one could create some variety and a little base-line while playing the melody on the normal keyboard.
The problem, I guess, is surely the space on the screen and the limit of two touches simultaneously.
Just some thoughts....
ephestione said:
I am also thinking about spanning through more than 3 octaves, and a different method of changing the octave that lets you do that faster and more easily, will report back when I have a better idea
Click to expand...
Click to collapse
tilleke said:
Nice!
Unfortunately the space on the screen ins't that much but if there was a way to "somehow" squeeze in and create spaces for Chord Symbols/Buttons and when these are being pressed, a chord is being played (a flat chords, an arpeggio). Said chord-sounds could be default-sounds distributed with the application or pre-recorded by the user. Something similar to those Casio-chords (or whatever they are called) which do the fingering for you. Another option could be that it played just the root of the chord so one could create some variety and a little base-line while playing the melody on the normal keyboard.
Click to expand...
Click to collapse
Well, as for the 3 octave limitation, that could be easily broken, just that I don't have the sounds... If someone's willing to generate them I'll include them in the application.
About changing octaves I thought of two possibilities, one would be to just add two buttons at the end of the keyboard that moves one octave up or down. Another possibility is to create a slider above (or below) the keyboard on which you can slide left or right to change octaves. Sliding can also be continuous so that the first note is necessarily C. Such slider can also have some buttons to toggle chords buttons as tilleke suggeted...
tilleke said:
The problem, I guess, is surely the space on the screen and the limit of two touches simultaneously.
Click to expand...
Click to collapse
I really hope HTC will release some proper API that supports real multitouch...
Z.
tilleke said:
Nice!
Unfortunately the space on the screen ins't that much but if there was a way to "somehow" squeeze in and create spaces for Chord Symbols/Buttons and when these are being pressed, a chord is being played (a flat chords, an arpeggio). Said chord-sounds could be default-sounds distributed with the application or pre-recorded by the user. Something similar to those Casio-chords (or whatever they are called) which do the fingering for you. Another option could be that it played just the root of the chord so one could create some variety and a little base-line while playing the melody on the normal keyboard.
The problem, I guess, is surely the space on the screen and the limit of two touches simultaneously.
Just some thoughts....
Click to expand...
Click to collapse
zevele said:
Well, as for the 3 octave limitation, that could be easily broken, just that I don't have the sounds... If someone's willing to generate them I'll include them in the application.
About changing octaves I thought of two possibilities, one would be to just add two buttons at the end of the keyboard that moves one octave up or down. Another possibility is to create a slider above (or below) the keyboard on which you can slide left or right to change octaves. Sliding can also be continuous so that the first note is necessarily C. Such slider can also have some buttons to toggle chords buttons as tilleke suggeted...
I really hope HTC will release some proper API that supports real multitouch...
Z.
Click to expand...
Click to collapse
I was thinking the exact same things regarding octave switching, more like automatic recognition, as in when you press a key near the border, the keyboard gets slided past the border of a X length to accomodate for the "direction" you're taking
And tilleke suggestion is very interesting.
Here's my take: just like you play two sounds together when you do multitouch, you don't need to really record a chord, you only need to play 3 sounds together.
Example, put a swith on top, with three positions:
1) Normal
2) Major chord
3) Minor chord
Then you press, say, C
Cases:
"normal" : the note C is played
"major" : the notes C E and G are played
"minor" : the notes C D# and G are played
THe switch would be a slider onr, because a toggle one (1-2-3-1-2 and so on) would take too long if you need 1 and you're currently on 2.
Glad to see somebody picking up on this where Chris left off.....
If you want more octaves I'd be happy to provide them.
Just out of interest, are the samples in this version the same ones from Chris' original version?
conantroutman said:
Glad to see somebody picking up on this where Chris left off.....
If you want more octaves I'd be happy to provide them.
Just out of interest, are the samples in this version the same ones from Chris' original version?
Click to expand...
Click to collapse
More samples can't hurt, but at the moment I'm trying to solve the chords feature...
The samples are the same ones from the previous version.
Thanks,
Z.
Totally awesome. Poor WM support. it seems like everyone writes off Windows platform as thou its limited, but if you had the support you show with this simple piano, the experience level and communication would be thought on a positive (note) about windows platform... GOOD JOB!!
Thanks zevele for the work!
xda member TWolf has a FlashPiano that he stopped developing. The program itself has a great sample of 4 instruments in mp3 form, but I don't know enough about music to rename them. Maybe somebody here can take a look and rename the files. Here's the link and source code from TWolf:
http://forum.xda-developers.com/showpost.php?p=2806409&postcount=126
Would be nice to include mellotron in this, like the Manetron for iPhone
http://www.youtube.com/watch?v=pcIRG1X0VMs
dio62000 said:
Would be nice to include mellotron in this, like the Manetron for iPhone
http://www.youtube.com/watch?v=pcIRG1X0VMs
Click to expand...
Click to collapse
Seeing these applications on the iphone just depresses me... they run so much better than on the windows mobile...
Specifically to your question... If you mean playing several instruments in parallel, it shouldn't be to complicated to implement...
Okay, here's my idea for a solution for the chords feature, I've added two buttons below the keyboard one toggles a major chord and the other a minor. As all other buttons these can be moved and changed through the skin files. Please try it and let me know what you think...
SimplePiano
http://rapidshare.com/files/398328285/SimplePianoV43beta.CAB
MewSkin
http://rapidshare.com/files/398329265/mewskincabV43beta.CAB
Thanks,
Z.
Can this be hosted somewhere else? Rapidshare gives some of us problems and the the download limitation sucks. I can't download the v43beta after just downloading the v42 version. My suggestion is drop.io or dropbox... You can even use the free Skydrive for this.
Thanks for the good work...

Screen color profile : V3 just added (see !![EDIT3]!!)

Hi all,
Well ... I waste some hours trying to make a color profile of our phone screen and ... I did it ! I can say it wasn't easy ...
I was bored to make stuff in photoshop and have a different result on the phone screen, then go back to PS, then push again, PS again ....
Attached files:
-Graphic which shows that the screen color space is smaller than sRGB & Adobe98. We also have a low contrast ratio of 350.
-The color profile that you have to put in C:\windows\system32\spool\drivers\color
-Photoshop screenshot to enable the profile
--> When you make images modd in PS for your phone (don't forget to disable it when you work with normal pictures !), choose : menu>Display>Work format (I don't have the UI in english so I don't know the real name --> look at the screenshot), then choose the profile and tick "Keep RGB numbers".
You're now able to modd images that will appear like on the phone (not perfect but acceptable). If you load a SGS3 screenshot you will see the difference too (CTRL Y to toggle apply profile / no profile).
However, I'm using a high-end monitor which is perfectly calibrated so I can really see the difference (this is named softproofing (simulating the destination display device). Depending on how your monitor is far from the right calibration, the profile may be useless ... Try it ! or search for someone who have a colorimeter and calibrate your screen, the improvment is very great !
I've made this profile with Spyder3 Elite in a very strange way
Enjoy !
/
/
[Edit 1] Screenshot added as example : "Without profile" jpg is the one that is made by the phone (raw). "With Profile" jpg is the same after applying my color profile, and this one is very near what I can see when I look the phone. The difference is not small !
/
[Edit 2]
1) How to convert your screenshots:
In photoshop, choose Menu Edition/Assign a profile, and then choose the phone's profile. Then choose Menu/Edition/Convert to profile and choose the sRGB profile. Then save your image.
Now, posting your screenshots this way, they will appear like there are on the phone. (Depending on how well calibrated is the monitor's member).
2) If you have a photo wallpaper on your computer and want it to appear the same on the phone : choose Menu Edition/Assign a profile, and then choose the phone's profile
- For who can have a profile for its momitor, it's important too to use the Color Management plugin in Firefox ( the only one browser able to manage color profiles )
/
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!! [EDIT 3] !!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
There was a problem with some colors with previous color profiles.
When applying profile in photoshop with this V3 color profile :
- Select profile
- Untick Keep RGB numbers
- Select Relative color
- Tick Black point compensation
Now you will see in PS the colors like they will appear on your SG3 !
/
/
noob question
can u explain it in a simple language and wat is it exactly?
wat changes in phone and how to apply it..
vikraam said:
can u explain it in a simple language and wat is it exactly?
wat changes in phone and how to apply it..
Click to expand...
Click to collapse
Color Management is not an easy thing to understand at all. It can be a sbject of PhD ! And my bad english does not help to explain ...
The profile is usefull for who makes themes (it's not to implement into the phone):
-When you work on android's images in photoshop, what you see is not what you see when it is on the phone.
-With the profile you can :
--> See in photoshop what you will see when the image will be on your phone. It helps a lot ! Before making the pofile I was making changes, pushing them to the phone and then going back to photoshop (it was looking good in photoshop but not on the phone)
--> When you take a screenshot on the phone, the image is raw without any color profile, ugly ! Applying my profile you can visualize the screenshots on your computer like it appears looking at the phone. It's good to apply the profile to the screenshots before posting. At the present time the screenshots available on the forum does not correspond to reality. I will add a small tutorial to do that.
you get it ?
ok now i understood it. Im learning to make themes actually. So this wil help me
vikraam said:
ok now i understood it. Im learning to make themes actually. So this wil help me
Click to expand...
Click to collapse
I hope so ! See if someone or some store can lend/rent you a colorimeter to calibrate your monitor. I can warranty that this will change your editing experience ! You will be surprised visualizing your photos ...
Unfortunately, monitors even high-end, are sold without being calibrated .... The Delta can be very huge !
all i see in the 2 screenshots is that one is brighter than the other
i dont get it
in 1 post u say we can view the images before pushin it in the phone
n the other post u say it improves ur viewing experience like improves the quality??
i m viewing these photos on a netbook i dont if that makes a difference
so if u could please explain me again
AacidD said:
all i see in the 2 screenshots is that one is brighter than the other
i dont get it
in 1 post u say we can view the images before pushin it in the phone
n the other post u say it improves ur viewing experience like improves the quality??
i m viewing these photos on a netbook i dont if that makes a difference
so if u could please explain me again
Click to expand...
Click to collapse
Color management is a headache subject ...
The purpose is to get the same visual result on the phone and on the computer. The fact is that you don't have my phone so you can't see that the second picture looks like the phone and not the first one.
Actually, your case is not surprising : in general (90% ?) netbook's screens are very bad (poor color range and very sensible depending on what angle you are looking it) and of course non calibrated. So it's not a surprise you're not viewing a lot of diference.
Even like that, if you can calibrate your netbook screen there will be a significant improvment to view photos and other stuff.
Thanks!
I've been trying to solve different looking colors problems for a while now.
How did you create the profile?
undsoft said:
Thanks!
I've been trying to solve different looking colors problems for a while now.
How did you create the profile?
Click to expand...
Click to collapse
I'm pleased to know someone is using this profile and finding it usefull !
It was'nt easy to make it :
- 1st, I ran Basiccolor display calibration soft with my Spyder 3 colorimeter, on my computer screen, and make screenshot of each pattern color.
- then I put the images on my sdcard's phone
- then search for an image viewer able to switch picture by clicking a button. I found one where you can configure the button you want to use.
- then, ran calibration soft on computer, holding colorimeter on the screen phone and clickin the button just in time (at each color measure).
I will not do that again !
V3 profile available
UP !
see first post [EDIT 3]

[FREE][GAME]Guess That[8+]

"Guess That" is a 3-in-1 Brain & Quiz Game set to challenge your knowledge.
21 Level packs containing each 20 levels forming in total 420 levels are waiting to be guessed.
"Challenge your Knowledge"
__________________________________________________________
*Guess That Flag. Can you find that flag? (140 Flags)
*Guess That Logo. Can you find that logo? (140 Logos)
*Guess That VIP. Can you find that VIP? (140 VIPs)
*Use the clues when you get stuck in a level.
(You win one clue for every two guessed level)
__________________________________________________________
__________GAME ACTUALLY FEATURES__________
1. 3 mini games in it.
2. Simple intuitive user interface! Simple quizz game meachism.
3. Unified experience througout mutliple devices.
4. Dynamic cross game-pack score system.
5. Dynamic cross game-pack clues system.
6. Fun cool statistics
7. Two themes. One light and one dark.
8. Leaderboards with username and country selection.
Removed Status Bar
Fixed Background Image
Removed landscape view
Link to Store http://www.windowsphone.com/en-us/store/app/guess-that/57b68b1e-f8a8-4db4-abb1-a1b79ef1f285
Can you guess them all and beat the high score from the android world?
Reserved
I will try the Game
And Thanks for Add and All luck for your game :cyclops:
Good luck with your game guy!

[MOD][Xposed] GyroscopeNoiseFilter

Hi there,
GyroscopeNoiseFilter (previously: JitteryGyroFixForCardboard) is a module to reduce/eliminate the noise in unstable gyroscope that are found in some phones like the Moto G 2nd gen or Huawei Ascend G7. Basically, the app does the noise smoothing that app devs do, but here this module uses a system hook to apply the noise smoothing preprocessing for all apps, but the main goal here is specifically to remove jitter, not drift (although the filters may help, but there's no sensor fusion, yet).
This is particularly interesting for virtual reality (VR) or head-tracking apps because a noisy gyroscope will produce a feeling of dizzyness and nausea, but this can also be interesting for any app using the gyroscope because the output will be a lot smoother and accurate (particularly when the phone is held still).
The module was originally wrote by Kjos and the repo lives here:
https://github.com/Kjos/XposedJitteryGyroFix
The thread that started the module is on Reddit:
https://www.reddit.com/r/GoogleCardboard/comments/335ins/fix_for_jittery_gyroscopes_such_as_moto_g
Here is the latest version of the module, v1.4 (also attached to this thread):
https://github.com/lrq3000/XposedJitteryGyroFix/releases/download/v1.4/GyroscopeNoiseFilter_v1.4.apk
The module is also available directly from the Xposed repo:
http://repo.xposed.info/module/net.kajos.gyronoisefilter
=== DESCRIPTION ===
The gyroscope is the main sensor for head tracking / virtual reality apps.
However, it's common for phones' gyroscopes to be noisy, which in practice shows as jitter, and this can create a dizzyness feeling and nausea, particularly when standing still (the "camera" still moves around just like if you were at sea).
Android now offers "virtual" sensors, which use a method known as sensor fusion to avoid those noisy outputs by combining several sensors (usually: gyroscope, accelerometer, magnetometer).
However, it's up to each app dev to use these virtual sensors, and to implement further post-processing to smooth the sensor and reduce the noise.
This module adopts another approach: it hooks directly to the hardware gyroscope and it preprocess every outputs with smoothing filters before relaying the data to the apps.
Therefore, the noise is reduced or even eliminated of the gyroscope's output for every apps.
=== OPTIONS ===
This module currently implements a few different strategies to filter and reduce noise, which can be used complementary or alone (each option can be disabled):
1. Filter type: type of the filter that will be applied to reduce noise in the gyroscope output.
2. Filter size: the number of samples to use to compute the filtering. Usually, the bigger the filter is, the less jitter there will be but at the expense of some lag.
3. Filter optional value: value of the constant that configures some types of filters such as lowpass or additive smoothing.
4. Minimum value change threshold: prevents the phone from registering the new sensor's values if the difference to the median is smaller than the given threshold.
5. Stationary minimum value threshold: when stationary, prevents the sensor from moving if the change is below the given threshold (this is similar to min value change but here it only affects the stationary state, when you are not moving).
6. Rounding precision: round all sensor's values to the given decimal.
Options can be changed on-the-fly without having to restart the phone, and are instantly applied to the sensor, so that you can switch between this option screen and a VR app to test for the parameters that reduce the jitter the most for you.
Click to expand...
Click to collapse
I'm looking for feedback before we submit to the Xposed repo, so if you have any idea of a feature or if you spot a bug, feel free.
We are also looking for better filters, currently the best performing two types are the median filter and the one order low-pass filter, so if there's someone with some experience with noise reduction on the gyroscope (not the accelerometer), I'd be very interested to get some advices about that!
/EDIT: update v1.4.
Also, we found a great opensource app called GyroscopeExplorer (kudos to the dev) which implements all kinds of sensor fusion and with a very good documentation, so that's a great source of info to implement advanced filters, but, although they smooth the movement's noise and drifting issues, they do not fix jitter at all, so for the moment we won't implement these advanced filters. We are now focusing on supporting more apps, particularly the ones using the new Cardboard NDK API to access virtual sensors (this bypasses the usual SensorManager).
Sorry, I forgot to attach the APK directly to the thread, like it's usually done around here. That's now done.
Very interesting module.
I wonder if this would give better results when doing Photospheres with the Google Camera app.
Also, does this have any meaningful impact on cpu usage and battery draining ?
thanks!
edgrd said:
Very interesting module.
I wonder if this would give better results when doing Photospheres with the Google Camera app.
Also, does this have any meaningful impact on cpu usage and battery draining ?
thanks!
Click to expand...
Click to collapse
I never made Photospheres with the Google Camera app, but if it uses the Gyroscope and you experience some jitter, then the module should help yes.
About CPU, the module is quite light on resources. The exact usage mostly depends on the filter type and filter size, with the low-pass filter being the lightest on CPU (only a few additions and multiplications, so it's negligible). All the other options such as the "minimum value change" only do a single calculation so their CPU usage is also negligible. However, if you use the mean or median filters and with a big filter size (like 1000), you may notice a very very small CPU usage, but it will still be very low (the time of a summation over an array of the size you specified, so it's not that big).
I have experienced some small (but still perceived) input lag using the default filter (median), switching to the lightest one and decreasing filter size to 8 fixed it
Would be nice if this module was presented more as an improvement / upgrade to the default gyroscope output, other than a simple fix
And after the app matures a little bit, you could make it available on the Play store too, so more people get this benefit
thanks again :good:
Good idea, but I can’t make head or tail of it. Maybe you ought to include simple preset/config… (sophisticated, uniform, simple & powerful, extreme…etc.), so that punters with Cardboards don’t spend a week scratching their heads on figuring out values, stationary thresholds and precisions.
I get nauseous using both DK2 and smartphone HMDs - don’t know if it’s me or noisy gyroscopes.
Thank's for the feedback everyone
@edgrd: yes the median filter smoothes the gyroscope more but it adds a delay proportionally to the filter's size. The low-pass filter does not add any perceptible delay, and the filter size does not matter (it only uses the previous gyroscope's value, so the filter size is always 1. I have yet to find the calculation for a bigger low-pass filter - but it works already very well as it is).
Indeed this is more an improvement now than a fix, that's why we renamed the app now to GyroscopeNoiseFilter
@Lord Childe: thank's for the idea of presets, I thought about that but however I can't think of a way to provide presets, since the values you set entirely depends on your own gyroscope's values. So for the moment, it is advised to just try out different values and you can switch back and forth to a VR app of your choice to instantly see the effect. Maybe we could do some kind of automatic calibration (eg, don't move your smartphone for a few seconds and this will automatically detect the values of the jitter).
Personally, on my Huawei Ascend G7, I use the low-pass filter and the stationary minimum value change set at 0.2. All the others are at default. And yes, this helps greatly to reduce the nausea for me (because when the phone still moves while you are standing still, this produces a feeling similar to being sea-sick).
Does not work on Cyanogenmod 12.1 Moto G 2nd Gen
Hi folks,
Tried to get it working on my Moto G 2nd Gen running Cyanogenmod 12.1. I can set the values but the Google Cardboard app does not seem to be taking the filtered values.
I tried running the Gyroscope Explorer app and if I enable Mean Smoothing, the app (Gyroscope Explorer) shows smooth values. But still has no effect on the cardboard app.
arindammanidas said:
Tried to get it working on my Moto G 2nd Gen running Cyanogenmod 12.1. I can set the values but the Google Cardboard app does not seem to be taking the filtered values.
Click to expand...
Click to collapse
Yes indeed, this is the issue we are currently working on. It seems that there are currently two ways to get the head's position: using SensorManager/SystemSensorManager, or using the Cardboard SDK's own method. The latter seems to completely bypass the SensorManager, which is the usual way of accessing the gyroscope's values. Most cardboard's apps are still using the SensorManager to access the gyroscope, so for these apps, our module works correctly. But for newer cardboard's apps using the Cardboard SDK orientation provider, our module does not work.
This is a pretty tough problem, and I never developped a Cardboard's app. If someone with experience with developping a Cardboard app can give some help with some advices, this would really help us a lot!
We just updated the module, Arindammanidas. Please try the latest version (v1.5) and see if this fixes your issue:
http://repo.xposed.info/module/net.kajos.gyronoisefilter
https://github.com/lrq3000/XposedJitteryGyroFix/releases/tag/v1.5
If it doesn't fix your issue, please tell us what app and what version doesn't work with our module. We are aware that there are still a few apps that may not work, in particular Cmoar Cinema Pro v4.3 (but version Free is OK). We don't yet know why (the source is closed).
/EDIT: we narrowed down the issue, and it seems that only apps using Unity3d along with the Durovis Dive SDK for head tracking are not supported. It seems it's because they use their own native library to manipulate the sensors, so I'm not sure we can do anything about these apps...
I just uninstalled Xposed! I'll flash it back and report! Thanks a lot.
lrq3000 said:
We just updated the module, Arindammanidas. Please try the latest version (v1.5) and see if this fixes your issue:
http://repo.xposed.info/module/net.kajos.gyronoisefilter
https://github.com/lrq3000/XposedJitteryGyroFix/releases/tag/v1.5
If it doesn't fix your issue, please tell us what app and what version doesn't work with our module. We are aware that there are still a few apps that may not work, in particular Cmoar Cinema Pro v4.3 (but version Free is OK). We don't yet know why (the source is closed).
Click to expand...
Click to collapse
Hi, I tried out version 1.5 and it still gives me jitters in the google cardboard app demos. Probably the cardboard app is reading from somewhere else?
Which google cardboard app? Do you mean the treasurehunt? Normally, treasurehunt is supported. Is it another app you are talking about?
lrq3000 said:
Which google cardboard app? Do you mean the treasurehunt? Normally, treasurehunt is supported. Is it another app you are talking about?
Click to expand...
Click to collapse
I was talking about the demos on the cardboard app itself. When you open the Google Cardboard app, you have an option for some demos e.g. Windy Day, Google Earth etc.
These still have jitters.
You're correct, I totally forgot about those demo apps and I didn't try them. We will see what we can do. Thank you for the feedback.
Is there any way to reduce drift when using photosphere or taking panorama photographs in Google camera?
Hello, I have a 'lenovo k3 note "with android 5.0.1, this phone has no physical gyroscope, makes a software simulation using other sensors.
I've been playing some value to your program and seems to improve a bit, but keeps moving image when this stop.
I can change the way you treat the sensor data? Even without one hardware.
Moto G 2014
For those with a Moto G 2nd generation, what are your settings?
Dear developers.
Is it possible to put an inversion of some of the axes in this module?
Some Chinese smartphones (for example ZOPO ZP998, iOcean x8), the gyroscope's axis is inverted, and the manufacturer ignores requests to fix it.
AKSU78 said:
Dear developers.
Is it possible to put an inversion of some of the axes in this module?
Some Chinese smartphones (for example ZOPO ZP998, iOcean x8), the gyroscope's axis is inverted, and the manufacturer ignores requests to fix it.
Click to expand...
Click to collapse
Wow, I was about to post the same because I was impressed someone managed to change gyroscope values. Yes, I have the same problem, my spanish smartphone comes with the X axis inverted, so the sensor fusion makes strange things (gyroscope and magnetometer/accelerometer read oppossite values), although I think this could be another app instead of adding it to your noise filter one (because in my phone there's no jittery, only a changed axis. It could be solved by the developers, but at this time there's no patch).
Thanks a lot!

Categories

Resources