This thread is mainly intended for developers - it's a proof-of-concept to show a new approach to the classic background for all tabs mod.
This is only a proof-of-concept and I won't develop it further because I don't use BG4all myself. But my hope is that the basic concept will be helpful to others, and that it will develop from there.
Traditionally the mod is made by moving the "HomeBackgroud" instance from home.mode9 to manila.mode9. The problem with this is that those are 2 of the most important mode9 files in manila, so they are also needed for a lot of other manila mods.
The result of this is that other mods now have to be made in 2 version: one with bg4all and one without. Also, if a new manila build changes one of the mode9s, the bg4all mod needs to be remade.
A different way of doing it is thought the lua scripts. Specifically only one script needs to be modified to make bg4all: homebackground.luac.
This way no mode9 files are modified so bg4all can be compatible with a lot of other mods. This way mods don't have to be redone to include bg4all.
I've included the lua source of the modified homebackground.luac for manila 2.5 with comments about what’s been changed, but you can also compare it to the original to get a better idea. At the bottom is a ready-made cab with bg4all for manila 2.5.
Here's the lua code:
Code:
-- Decompiled using luadec 3.2
-- File name: 090a4ee8_manila -- \windows\htc\home\scripts\HomeBackground.luac
require("asyncimageloader")
require("shell_svc")
CachedImagePath = "\\Windows\\HomeBackground.img"
HomeBackground.Opacity.value = 0
-- Home Background is not needed at all, so it should be made invisible
-- and we can forget about it from here on
-- from this point on anything that operated on HomeBackground is replaced with BackGroundLevel0
-- compare with the original 090a4ee8_manila to see the differences
-- BackGroundLevel0 is the default manila background that appears on all tabs
InterpolateOpacity = function(l_1_0, l_1_1)
l_1_1.Opacity:Interpolate(l_1_0, 20, 0, Interpolate_EaseOutQuad)
end
BackgroundWidth = 480
BackgroundHeight = 696
LoadDefaultBackground = function()
InterpolateOpacity(0, BackGroundLevel0)
if HomeTitleBar ~= nil then
HomeTitleBar.Opacity.value = 0
_application.Navigation.TabTrayOpacity = 100
end
end
BackgroundImageLoaded = function(l_3_0, l_3_1)
if l_3_0 then
if l_3_1 == 1 then
BackGroundLevel0.TextureCoords.width = l_3_0.TextureCoords.width
BackGroundLevel0.TextureCoords.height = l_3_0.TextureCoords.height
local l_3_2 = l_3_0.TextureCoords.width * l_3_0.Image.Width
local l_3_3 = l_3_0.TextureCoords.height * l_3_0.Image.Height
_StoreImageWidth = l_3_2
_StoreImageHeight = l_3_3
local l_3_4 = l_3_2 / BackgroundWidth
local l_3_5 = l_3_3 / BackgroundHeight
if l_3_4 < l_3_5 then
BackGroundLevel0.Size.height = l_3_3 / l_3_2 * BackgroundWidth
BackGroundLevel0.Size.width = BackgroundWidth
else
BackGroundLevel0.Size.width = l_3_2 / l_3_3 * BackgroundHeight
BackGroundLevel0.Size.height = BackgroundHeight
end
BackGroundLevel0.Position.x = (BackgroundWidth - BackGroundLevel0.Size.width) / 2
BackGroundLevel0.Position.y = 696 - (BackgroundHeight - BackGroundLevel0.Size.height) / 2 -- +696 is added here because the BG0's camera y-axis is set at the bottom, while Home's camera was set at the top
BackGroundLevel0:SetTexture(l_3_0.Image)
InterpolateOpacity(100, BackGroundLevel0)
if HomeTitleBar ~= nil then
local l_3_6 = _application.Store:GetIntValue(Lifetime_Application, "ShowCacheHomePage")
if l_3_6 == 1 then
HomeTitleBar.Opacity.value = 60
_application.Navigation.TabTrayOpacity = 60
end
end
else
LoadDefaultBackground()
end
collectgarbage("collect")
BackgroundAsyncImageLoader = nil
elseif _StoreImageWidth and _StoreImageHeight then
local l_3_7 = _StoreImageWidth / BackgroundWidth
local l_3_8 = _StoreImageHeight / BackgroundHeight
if l_3_7 < l_3_8 then
BackGroundLevel0.Size.height = _StoreImageHeight / _StoreImageWidth * BackgroundWidth
BackGroundLevel0.Size.width = BackgroundWidth
else
BackGroundLevel0.Size.width = _StoreImageWidth / _StoreImageHeight * BackgroundHeight
BackGroundLevel0.Size.height = BackgroundHeight
end
BackGroundLevel0.Position.x = (BackgroundWidth - BackGroundLevel0.Size.width) / 2
BackGroundLevel0.Position.y = 696 - (BackgroundHeight - BackGroundLevel0.Size.height) / 2 -- +696 same as before
end
end
BeginLoadBackgroundImage = function(l_4_0)
if Shell_HaveDRMRightsToFile(machineStatus.HomeBackgroundPath.Value, false) then
BackgroundAsyncImageLoader = AsyncImageLoader()
BackgroundAsyncImageLoader.Priority = TaskPriority_Normal
BackgroundAsyncImageLoader.OnComplete:connect(BackgroundImageLoaded)
BackgroundAsyncImageLoader:BeginLoadFile(l_4_0, false, true)
else
machineStatus.HomeBackgroundPath.Value = ""
machineStatus.CachedBackgroundPath.Value = ""
LoadDefaultBackground()
end
end
BackgroundImageResized = function(l_5_0, l_5_1)
if l_5_1 == 1 and machineStatus.HomeBackgroundPath.Value ~= "" then
machineStatus.CachedBackgroundPath.Value = machineStatus.HomeBackgroundPath.Value
BeginLoadBackgroundImage(CachedImagePath)
else
LoadDefaultBackground()
BackgroundAsyncImageLoader = nil
end
collectgarbage("collect")
end
machineStatus_OnCustomBackgroundUpdate = function()
if _config_os == "windowsmobile" then
local l_6_0 = machineStatus.HomeBackgroundPath.Value
local l_6_1 = machineStatus.CachedBackgroundPath.Value
if l_6_0 ~= l_6_1 then
if BackgroundAsyncImageFactoryLoader ~= nil and BackgroundAsyncImageFactoryLoader:IsRunning() then
BackgroundAsyncImageFactoryLoader = nil
collectgarbage("collect")
end
if BackgroundAsyncImageLoader ~= nil and BackgroundAsyncImageLoader:IsRunning() then
BackgroundAsyncImageLoader = nil
collectgarbage("collect")
end
if l_6_0 == "" then
machineStatus.CachedBackgroundPath.Value = machineStatus.HomeBackgroundPath.Value
LoadDefaultBackground()
else
BackgroundAsyncImageFactoryLoader = AsyncImageFactoryLoader()
BackgroundAsyncImageFactoryLoader.Priority = TaskPriority_BelowNormal
BackgroundAsyncImageFactoryLoader.Quality = 100
BackgroundAsyncImageFactoryLoader.OnComplete:connect(BackgroundImageResized)
BackgroundAsyncImageFactoryLoader:ResizeImage(machineStatus.HomeBackgroundPath.Value, CachedImagePath, EncoderType_JPEG, 512, 512, true, false)
end
elseif l_6_1 ~= "" then
BeginLoadBackgroundImage(CachedImagePath)
else
LoadDefaultBackground()
end
else
LoadDefaultBackground()
end
end
if _application.Store:GetStringValue(Lifetime_Permanent, "EnableLandscape") == "true" then
require("RotationTemplate")
HomeBackground_ScreenRotation = class(RotationTemplate)
HomeBackground_ScreenRotation.__init = function(l_7_0)
RotationTemplate.__init(l_7_0)
trace("+++++++[HomeBackground] : __init")
end
HomeBackground_ScreenRotation.OnScreenRotation = function(l_8_0)
trace("+++++++[HomeBackground] : OnScreenRotation")
if _application.Orientation == ScreenOrientation_Portrait then
BackgroundWidth = 480
BackgroundHeight = 696
elseif _application.Orientation == ScreenOrientation_Landscape then
BackgroundWidth = 805
BackgroundHeight = 376
end
BackgroundImageLoaded(nil, nil)
end
end
if _config_os == "windowsmobile" then
if _application.Store:GetStringValue(Lifetime_Permanent, "EnableLandscape") == "true" then
_HomeBackground_ScreenRotation = HomeBackground_ScreenRotation()
end
machineStatus.HomeBackgroundPath.OnValueChanged:connect(machineStatus_OnCustomBackgroundUpdate)
_application.OnOrientationChanged:connect(machineStatus_OnCustomBackgroundUpdate) -- needed for correct rotation
machineStatus_OnCustomBackgroundUpdate()
end
I just wanted to say THANKS! for all you work on the community and tell you what a great find you did "it looks so obvious to do it that way now" also THANKS! on your work on the decompiler many mods would not have been made without it.
By the way THANKS! again
nice, thank you
Perfect, once again a fantastic mod from you!
Thanks a million
Thanks a lot cookiemonster. Any plans to do one that also works to assign landscape wallpaper?
edit* Just tried it on landscape manila and doesnt work at all. Just get plain black background in portrait and landscape.
Awesome. So does this method keep the animated weather on sense 2.1? Could you cab that up PLEASE!!!!!
Superboy007 said:
I just wanted to say THANKS! for all you work on the community and tell you what a great find you did "it looks so obvious to do it that way now" also THANKS! on your work on the decompiler many mods would not have been made without it.
By the way THANKS! again
Click to expand...
Click to collapse
Wow, that's 3 very big thanks' I'm very glad I can contribute to the community.
kwill said:
Thanks a lot cookiemonster. Any plans to do one that also works to assign landscape wallpaper?
edit* Just tried it on landscape manila and doesnt work at all. Just get plain black background in portrait and landscape.
Click to expand...
Click to collapse
You're referring to manila 2.5.1922.2911, right?
That one also needs the manila.mode9 to work, but that's only because it has a built in bug in it's original manila.mode9. (I've made a cab for it here: http://forum.xda-developers.com/showpost.php?p=5499189&postcount=47)
Now, it might seem a little contradictory, that in the first post I say "no need to modify the mode9s", and now I'm saying 2.5.1922.2911 needs a mode9. But, believe me 2.5.1922.2911 is an exception rather than the rule. That version is bugged, and it's the only reason it needs the mode9 to work.
rjmjr69 said:
Awesome. So does this method keep the animated weather on sense 2.1? Could you cab that up PLEASE!!!!!
Click to expand...
Click to collapse
I've made some cabs here: http://forum.xda-developers.com/showpost.php?p=5499189&postcount=47
I haven't tested the animated wallpaper, only the regular. This is only a proof-of-concept and I won't develop it further because I don't use BG4all tabs myself (I prefer making better quality wallpaper with HDWall).
But my hope is that the basic concept will be helpful to others, and that it will develop from there.
Thanks Man,
A great new applicaiton. It also works for me Many Thanks
Co0kieMonster said:
Wow, that's 3 very big thanks' I'm very glad I can contribute to the community.
You're referring to manila 2.5.1922.2911, right?
That one also needs the manila.mode9 to work, but that's only because it has a built in bug in it's original manila.mode9. (I've made a cab for it here: http://forum.xda-developers.com/showpost.php?p=5499189&postcount=47)
Click to expand...
Click to collapse
Thanks much cookiemonster! I'm actually getting used to not using bg4all too. Manila runs much smoother without. Maybe I'll make some high quality walls with hdwalls also. But, it doesnt work on manila 2.5.1922 does it?
edit** Ok, now this was kind of weird. Installed the cab and all was fine, til I switched to landscape and back. My wallpaper disappeared after that, never to return Naw, after soft reset, it came back. But, same thing keeps happening.
If not here, i dont know a better place to get capable people that could MAYBE help me on this matter.
I am Using the "old" Tf3d (not leo) on my X1 and i came across a pretty sad thing.
TF3D scales down the Wallpaper and makes it look worse. I made a mod for a self changing wallpaper for tf3d so i got into the lua files quite a bit half a year ago.
So my questions are:
Do you have any idea where the image is scaled down in the lua code?
can you think of any workaround to get a better image quality?
I think this would make it SO SO SO much better, as the images in full quality look just stunning..and on tf3d they look just blurry.
And another brief question, did the lua decompilers got better?..half a year ago almost any big lua file could not be decompiled properly..and so could not be changed at all.
thank you in advance,
Daranus
kwill said:
Thanks much cookiemonster! I'm actually getting used to not using bg4all too. Manila runs much smoother without. Maybe I'll make some high quality walls with hdwalls also. But, it doesnt work on manila 2.5.1922 does it?
edit** Ok, now this was kind of weird. Installed the cab and all was fine, til I switched to landscape and back. My wallpaper disappeared after that, never to return Naw, after soft reset, it came back. But, same thing keeps happening.
Click to expand...
Click to collapse
HDWall works with 1922, but my patch for that version needs to be applied.
The landscape problem: As I've said, it's just a proof-of-concept and I won't develop it further. Anyone who wishes to do so: In order to fix the landscape problem, the BackGroungLevel0 texture needs to be reapplied in the rotation function.
Daranus said:
If not here, i dont know a better place to get capable people that could MAYBE help me on this matter.
I am Using the "old" Tf3d (not leo) on my X1 and i came across a pretty sad thing.
TF3D scales down the Wallpaper and makes it look worse. I made a mod for a self changing wallpaper for tf3d so i got into the lua files quite a bit half a year ago.
So my questions are:
Do you have any idea where the image is scaled down in the lua code?
can you think of any workaround to get a better image quality?
I think this would make it SO SO SO much better, as the images in full quality look just stunning..and on tf3d they look just blurry.
Click to expand...
Click to collapse
It's scaled down to 512X512 in the homebackground.lua script.
One workaround is to make it use 480x800 jpegs or pngs, but that still isn't optimal because Manila displays those formats with some kind of dot artifacts.
The best quality solution is to use Manila's native QTC format, but you have to make your wallpapers with HDWall: http://forum.xda-developers.com/showthread.php?t=503511
Daranus said:
And another brief question, did the lua decompilers got better?..half a year ago almost any big lua file could not be decompiled properly..and so could not be changed at all.
thank you in advance,
Daranus
Click to expand...
Click to collapse
I've been developing LuaDec recently and made a lot of improvements - it can decompile more than 90% of all Manila script. The link to the tool is in my signature.
very goog , thanks.
hej Co0kie!
does this one work with your 16-20 Quicklinks/Appointments beta_1.5?
the QL app is a sure nomination for some HTC price. I'm getting used to not having a B4all, but would be sooo nice to have this working too
dXsL said:
hej Co0kie!
does this one work with your 16-20 Quicklinks/Appointments beta_1.5?
the QL app is a sure nomination for some HTC price. I'm getting used to not having a B4all, but would be sooo nice to have this working too
Click to expand...
Click to collapse
I just checked it and it's working fine with v1.5beta2. (on Manila 2.5.1922.3829)
And I really don't see why it should be causing any problems. The two mods use different files.
Co0kieMonster said:
The landscape problem: As I've said, it's just a proof-of-concept and I won't develop it further. Anyone who wishes to do so: In order to fix the landscape problem, the BackGroungLevel0 texture needs to be reapplied in the rotation function.
Click to expand...
Click to collapse
Anyone have done this?
I have tried doing it myself. I have modified
Code:
HomeBackground_ScreenRotation.OnScreenRotation = function(l_8_0)
trace("+++++++[HomeBackground] : OnScreenRotation")
if _application.Orientation == ScreenOrientation_Portrait then
BackgroundWidth = 480
BackgroundHeight = 696
elseif _application.Orientation == ScreenOrientation_Landscape then
BackgroundWidth = 805
BackgroundHeight = 376
end
[B]BeginLoadBackgroundImage(CachedImagePath)[/B]
end
Whithout luck... any hints why this is not working?
Thank you for your answer!
That doesnt sound good..i personally use S2U2 now, as the wallpapers there look just stunning..it's a shame that we cannot get it to work properly within manila...do you know if it is the same issue with version 2.5 cookiemonster?
Wow thats awesome..when i was developing a bit stuff it was just a pain in the ass because almost every big manila file couldnt be edited..
Big props to you mate, great great work, greatly appreciated!!!..maybe i will take a look at it again nuw...as making wallpapers like that sucks..and i think it wouldnt work with my bg changer mod....anyways, thank you man!!!!!!!!!!!!!!!!!!!
Edit: Yup, i will definitely try to figure something out there..is there any "comfortable" way to work with your new luatool thingy?..i only saw 12's kitchen and that is not using a new version and is not that easy configurable to use your new thing there...
atm i search for the asyncimageloader but didnt find a way to properly search for it *laughs*..i have to get into this stuff again for real..
mac_es said:
Anyone have done this?
I have tried doing it myself. I have modified
Code:
HomeBackground_ScreenRotation.OnScreenRotation = function(l_8_0)
trace("+++++++[HomeBackground] : OnScreenRotation")
if _application.Orientation == ScreenOrientation_Portrait then
BackgroundWidth = 480
BackgroundHeight = 696
elseif _application.Orientation == ScreenOrientation_Landscape then
BackgroundWidth = 805
BackgroundHeight = 376
end
[B]BeginLoadBackgroundImage(CachedImagePath)[/B]
end
Whithout luck... any hints why this is not working?
Click to expand...
Click to collapse
Not sure why that doesn't work. I'll do some testing this weekend to try to find out.
Daranus said:
Thank you for your answer!
That doesnt sound good..i personally use S2U2 now, as the wallpapers there look just stunning..it's a shame that we cannot get it to work properly within manila...do you know if it is the same issue with version 2.5 cookiemonster?
Click to expand...
Click to collapse
It's the same thing on 2.5 as previous versions.
Daranus said:
Wow thats awesome..when i was developing a bit stuff it was just a pain in the ass because almost every big manila file couldnt be edited..
Big props to you mate, great great work, greatly appreciated!!!..maybe i will take a look at it again nuw...as making wallpapers like that sucks..and i think it wouldnt work with my bg changer mod....anyways, thank you man!!!!!!!!!!!!!!!!!!!
Edit: Yup, i will definitely try to figure something out there..is there any "comfortable" way to work with your new luatool thingy?..i only saw 12's kitchen and that is not using a new version and is not that easy configurable to use your new thing there...
atm i search for the asyncimageloader but didnt find a way to properly search for it *laughs*..i have to get into this stuff again for real..
Click to expand...
Click to collapse
12aon and hilaireg are working on an updated kitchen. It should be easier to get things done once it's out.
Co0kieMonster said:
Not sure why that doesn't work. I'll do some testing this weekend to try to find out.
Click to expand...
Click to collapse
Great! Thank you very much!
Hi there, I still cannot find the cab to make M2.5.2011303 to work for background-for-all. Can somebody have a hint there ? Thanks
This one works
http://forum.xda-developers.com/attachment.php?attachmentid=274664&d=1264873157
Related
guys, please, read with full attention, this can help us all.
what about we working together to explain each of the lines in the sys.txt, some of them are self-explanatory but most of them aren't.
this would be extremely helpful for newbies and not-too-newbies.
the reason is that i realized that everytime someone posts a new sys.txt people will try it and in the process, some features that were enabled previously will disappear or something new will come up that will get us freaking out. specially because it seems that every new sys.txt posted here has a bunch of new parameters.
everyone wants the best settings to suit their needs and the best is if they could achieve that themselves by knowing what they are doing.
i'd like everyone to contribute, don't be afraid to be wrong, try and if it's not right someone else will fix. just copy, paste and edit the bottom sys.txt with the explanation of each line really replacing the ;???????????? for what you think this line will do.
I'm using the sys.txt posted by andrewpmoore with some add-ins found in this thread. I deleted the explanations in the original sys.txt. i just found that although saying "makes map drawing a lot faster" will make me think that it really does what it says, however it still won't say exactly what it is and what are its parameters.
The tags in blue were added by me, if you think they're incorrect, please correct me.
>>>Update:
Added more lines found in other examples as well as some info provided by Shetlander.
V.4 - houston, we have a problem!
ok, the sys.txt file now features 14k which is bigger than a post could hold.
and to show it with text formatting it would take other 5k or more, so it was impossible to put it here.
please download the zip file.
in it, you'll find the sys.txt in normal text-only, in word 2003 and in excel 2003.
the reason i added a version in excel is cause it's much easier to edit, sort, add and delete comments in batches.
please have a go.
recalc_voice=0 Supposed to disable the annoying "route recalculation" voice.
mapfontscale=200 I think its to do with the size of road names etc on the map.
drive_carefully=0 ;Disable the voice "drive carefully"
skin="ui_igo8" ;????????????
;resolution_dir="800_480" ;Tells the program which directory the ui files are in. I think pointless if you use - autoconfig=1 ;It will make iGo work with TouchHD native rotation.
auto_nightmode=0 ;Stops the prog switching to nightmode automatically
;screen_x=800 ;????????????
;screen_y=480 Tells the prog the dimension of x & y of the screen, again I think irrelevant if you use autoconfig.
show_oneway_3d=1 ; 3d arrows in one way streets ;Draws 3d arrows in the direction of travel on one way streets
show_oneway=1 ; show one way on or off ;?Will either show on not show one way streets.
Shetlander said:
recalc_voice=0 Supposed to disable the annoying "route recalculation" voice.
mapfontscale=200 I think its to do with the size of road names etc on the map.
drive_carefully=0 ;Disable the voice "drive carefully"
skin="ui_igo8" ;????????????
;resolution_dir="800_480" ;Tells the program which directory the ui files are in. I think pointless if you use - autoconfig=1 ;It will make iGo work with TouchHD native rotation.
auto_nightmode=0 ;Stops the prog switching to nightmode automatically
;screen_x=800 ;????????????
;screen_y=480 Tells the prog the dimension of x & y of the screen, again I think irrelevant if you use autoconfig.
show_oneway_3d=1 ; 3d arrows in one way streets ;Draws 3d arrows in the direction of travel on one way streets
show_oneway=1 ; show one way on or off ;?Will either show on not show one way streets.
Click to expand...
Click to collapse
i will update it to the first post, but just occured to me the mapfontscale=200 is more for the street names showing on the map (the ones that follow the road while you move).
thanks for the input, mate.
thanks to PedroDaGr8 i am bringing to you "some more"
this are the options/possibilities existing for the different settings in the sys.txt and some explanations of what they are and what they are doing.
look for the comments after the ; but most of them are self explanatory.
[2d]
[3d]
[3d_config]
[bluetooth]
[config]
[debug]
[defaults]
[device]
[feature]
[folders]
[gps]
[interface]
[itiner]
[kml]
[loading]
[local]
[map]
[msnd]
[mydata]
[mydata.tracks]
[navigation]
[other]
[phone]
[poi]
[power]
[rawdisplay]
[route]
[screen]
[settings]
[smartzoom]
[speedcam]
[sound]
[timezone]
[tmc]
[tripcomputer]
[tts]
[usb]
[warning]
Code:
[2d]
guidancearrow_disappearlevel=600
guidancearrow_maxshift=12
minguidancearrowsize=20
minguidancearrowsize_zoomlevel=1200
maxguidancearrowsize=65
maxguidancearrowsize_zoomlevel=0
[3d]
3d_tmc_road_extra_width=200 ;
building_camera_distance_far=500
building_camera_distance_medium=50
building_camera_distance_near=10
disable_3d_labels=0 ;
fade_distance_for_car=50
fade_distance_for_guidance_arrow=500
guidancearrow_contour ;
guidancearrow_first_size=1.1 ; [COLOR="RoyalBlue"][I]scale of 1st arrow[/I] [/COLOR]
guidancearrow_first_alpha=24 ; [COLOR="RoyalBlue"][I]transp of 1st arrow[/I] [/COLOR]
guidancearrow_second_size=0.8
guidancearrow_second_alpha=12
guidancearrow_skew ;
guidancearrow_thickness ;
guidancearrow_width ;
guidancearrow_zoomfactor ;
max_poly_distance_lower
max_poly_distance_upper
max_poly_segments_shown
max_track_distance_lower
max_track_distance_upper
max_track_segments_shown
min_poly_distance
min_poly_segments_shown
min_track_distance
min_track_screen_ratio
min_track_segments_shown
road_clip_plane_camera_delta=50 ;
road_clip_plane_to_camera_height= ;
show_guidance_strip=1
show_guidance_arrows=1
track_screen_ratio
use_all_building_textures=0 ; not?
[3d_config]
disable_roadsign_navigation_mode=1
roadsign_lines_per_screen=12
rotated_roadsigns=1
[bluetooth]
send_showphoneui_on_dial=1
[config]
autoset2donmap=1
autoset3doncockpit=1
hideroadaltname=1
overspeedrewarnbelow=1
SafeModeMinSpeed=40
[debug]
autosave=1
bringtotop_afterresume=1
buildneworderlist=1
cache=2048
compass_type=2
disable_3d=0 ;[COLOR="RoyalBlue"][I]disables 3d buildings and roads [/I][/COLOR]
disable_outlookpoi=1
double_pixel_mode=2 ;[I]3d mode fastdraw[/I]
doublepixel_stable_frame_time=500 ;[COLOR="RoyalBlue"][I]time in ms before leavin fastdraw[/I][/COLOR]
earth=1
enable_buildings=1
enable_landmark_occlusion=1
enable_roadshadow=1
enable_roadsign=1
fov=40
gnome_dem_files=1
hide_itiner_crossing=1
join_dual=0
lang_registry_2006=1loop_sim=1
loop_sim=1
max_memory=
mute_os_key=1 ; [COLOR="RoyalBlue"][I]a value of 1 mutes the click noise from the OS when touching a touchscreen[/I][/COLOR]
no_file_cache="0"
nortc=1 ; [COLOR="RoyalBlue"][I]RTC = real time clock aka the devices internal clock[/I][/COLOR]
pin_sets_start=1
poi_labels=1
replay_tmc=1
reserve_memory
run_on_mio_mantas=1
screen_calibration=1
show_arrows_on_route=1 ;[COLOR="RoyalBlue"][I] little arrows in direction of route [/I][/COLOR]
show_device_type=0
show_gps_pos=1 ;[COLOR="RoyalBlue"] [I]this works again ;O) [/I][/COLOR]
show_lane_info=1
show_ltn=1
show_multinode_maneuvers=1
show_oneway_3d=1 ; [COLOR="RoyalBlue"][I]3d arrows in one way streets [/I][/COLOR]
show_oneway=1 ; [COLOR="RoyalBlue"][I]show one way on or off [/I][/COLOR]
show_pedestrian=1
show_performance=0 ;[COLOR="RoyalBlue"][I] cpu / mem / whatever bars on top of screen[/I] [/COLOR]
show_plural=1
show_poi_areas=1
show_poi_boundingrects=1
show_priority_maneuvers=1
show_prohibited_maneuvers=0
show_rawdisplay_info=0 ; [COLOR="RoyalBlue"][I]handy for seeing what igo chooses as display driver [/I][/COLOR]
show_residentonly=0
show_speed_limit=1
show_turn_penalty=1
show_signpost=1
sim_speed_factor_max=8.0
skip_eula=1 ;[COLOR="RoyalBlue"][I]skips the End User License Agreement at start-up (only happens on first run anyways)[/I][/COLOR]
slowsim=1
smart_2d=1
sound_q_length=200
speedcam_enabled=1
split_dual=0
strap_waypoints=1
supress_highway_enter=0
supress_straight=0
supress_trivial_left=0
supress_trivial_right=0
tmc_all_stations=1 topmost=1
traincrossing=1
tts_expected_engine_delay=1400
tts_getaway_time=200
tts_min_ready_wav=1
[defaults]
mainroadness=60
shortessness=50
simplificationness=40
[device]
type="MIOC210" ;[COLOR="RoyalBlue"][I] force device type [/I][/COLOR]
typeid=3 ;In Igo8.exe: [COLOR="RoyalBlue"][I]MIO device detected, use KernelIOControl method
[/I][/COLOR]
[feature]
text_guidance=1
signpost_coloring=1
tmc_event_coloring=1
tmc_traffic_side=1
[folders]
app="%SDCARD%/iGO8" ; [COLOR="RoyalBlue"][I]change this if applicable [/I][/COLOR]
sdcardpath="\Storage Card"
exe=""
data="\Storage Card\igo" ;[COLOR="RoyalBlue"][I]custom,save [/I][/COLOR]
content="\Storage Card\igo\CONTENT"
textures="custom"
models="custom"
secondary_root="IPAQ\NAV"
[gps]
background_navigation=1
logging=0 ; [I][COLOR="RoyalBlue"]see also mydata.tracks [/COLOR][/I]
port=2
baud=38400
source="nmea"
disable_advanced=0
default_longitude=2.294760 ;[COLOR="RoyalBlue"][I]starting postion on the map before GPS is found.[/I][/COLOR]
[interface]
angleoffset=
autotilt=0
autotilt_minzoom3d=40
autotilt_maxzoom3d=1000
autoscroll_on_click=1
default_poi_icon="Contacts" ;
defaulttilt3d=75000
defaultzoom2d=1000
defaultzoom3d=500
disable_3dstick_labels=1 ;
drive_carefully=0
empty_favorites=1
exit_on_restart=0
laneinfo_signpost_enabled=1
mapfontscale=130 ;[COLOR="RoyalBlue"] [I]for 2d and 3d map[/I][/COLOR]
maxzoom2d=60000 ; [COLOR="RoyalBlue"][I]zoom out level (disabled get you into space ;O) [/I][/COLOR]
minzoom2D=40 ; [COLOR="RoyalBlue"][I]zoom in level 2d[/I] [/COLOR]
minzoomglobe=100000
msgbox_max_width=50
newalignment=1 ;
poi_show_all_btn=1
popup_info=1
resolution_dir="320_240" ; [COLOR="RoyalBlue"][I]tells what resolution to use in a multires skin[/I][/COLOR]
screen_snap_distance=40
showselection=1
show_exit=1 ; [COLOR="RoyalBlue"][I]obvious [/I][/COLOR]
show_gps_config=1
show_minimize=1
show_orientation=1
show_timezoneslider=1 ;
show_tmc_config=1
show_zoombar=1 ; [COLOR="RoyalBlue"][I]also see zoomscale_disappearing [/I][/COLOR]
shutdown_time=0
skin="ui_igo8"
spec_fav_count=4
theme="skin\igo8_plus.zip"
use_big_lang_flag=1
use_spec_fav=1
waypoint_list_ignore_autosource=1
vga=1
Zoom2dpercent=
[itiner]
show_only_ahead_of_car=1
[kml]
default_icon=1
[loading]
loading_bmp="loading.jpg"
progressbar_bmp="loading_progressbar.bmp"
progressbar_x=85
progressbar_y=134
show_progressbar=0
show_statustext=1
supress_straight=0
supress_highway_enter=0
supress_trivial_left=0
supress_trivial_right=0
text_align=1 ;[COLOR="RoyalBlue"][I]Left=0,Center=1,Right=2 and Justify=3[/I][/COLOR]
text_fontcolor=xFFFFFF
text_fontsize=30
text_w=600
text_x=100
text_y=400
traincrossing=1
[local]
; [COLOR="RoyalBlue"][I]Date Format: To select your desired format, delete the ; infront of the format you want and ; in front of the rest (or just delete all of the other lines)[/I][/COLOR]
; Dateformat = 0; YYYY-MM-DD
; Dateformat = 1; AAAA.MM.GG
; Dateformat = 2; YYYY / MM / DD (DEFAULT)
; Dateformat = 3; YYYY-MM-DD
; Dateformat = 4; AAAA.GG.MM
; Dateformat = 5; YYYY / MM / DD
; Dateformat = 6; DD-MM-YYYY
; Dateformat = 7; DD.MM.YYYY
; Dateformat = 8; DD / MM / YYYY
; Dateformat = 9; MM-DD-YYYY
; Dateformat = 10; MM.GG.AAAA
; Dateformat = 11; MM / DD / YYYY
[map]
2dheadup=1
3d_brunnel_shutdown=
3d_buildings=1
3d_buildings_distance=2
3dcarsizemin=5000
3dcarsizemax=10000
3dcarsizemul=30000
3d_dem=1
3d_dem_detail=2
3d_landmarks=1
3d_max_tiltlevel=7500
3d_max_zfar=500
3d_max_zoomlevel=2000
3d_min_zoomlevel=40
3d_roads=1
3d_scale_carmodel=1
3d_tunnels=1
alternative_roadnames=0
auto_nightmode=0 ; [I]see also nightmode [/I]
cross_border_routes=1
follow_gps=1
inertia_on_map_move=1 ; [COLOR="RoyalBlue"][I]sets autoscroll on the map, tends to be buggy though sometimes doesn't stop.[/I][/COLOR]
map_mode="3D"
maxFovRatioForPoly=8
maxPolyDistances0 = 2000
maxPolyDistances1 = 3000
maxPolyDistances2 = 4000
maxPolyDistances3 = 5000
maxTrackDistances0 = 2500
maxTrackDistances1 = 3500
maxTrackDistances2 = 4500
maxTrackDistances3 = 5500
minPolyDistances0 = 500
minPolyDistances1 = 500
minPolyDistances2 = 500
minPolyDistances3 = 500
minTrackDistances0 = 500
minTrackDistances1 = 500
minTrackDistances2 = 500
minTrackDistances3 = 500
roadblockicon_maxzoom=2000
rotation="0"
shields=1
show_labels=1 ;
show_oneway=1 ; [COLOR="RoyalBlue"][I]turns on or off the arrows showing one way streets[/I][/COLOR]
stop_rotate_on_map_move=1
terrain_in_2d=0
textured_poly=1
viewpreset_front1="30,100,7200,10"
viewpreset_front2="140,7000,6000,10"
viewpreset_front3="140,7000,6000,10"
viewpreset_top="600,50000,225,10"
zoomscale_disappearing=1 ;[COLOR="RoyalBlue"] [I]works with show_zoombar[/I][/COLOR]
and some more:
Code:
[msnd]
; [I][COLOR="RoyalBlue"]How does msdn work? Movies, Weather, Petrol prices, etc..... [/COLOR][/I]
msnd.start=0
[mydata]
favicon=""
max_favorites=16
max_histories=40
num_favicons=7
[mydata.tracks]
auto_track_visible=1
record_auto_track=0
tracklog_folder=""
[navigation]
autoreplan_action="AUTO"
gps_pos_to_road=1
show_countrychange=1
show_current_city=1
sim_speed_factor=1.0 [COLOR="RoyalBlue"][I];Determines how fast the simulation runs, 1=realtime[/I][/COLOR]
skip_grab_viewchanging=1
[other]
demo_mode=1
[phone]
driver="TAPI"
exe_path="\Windows\cprog.exe"
win_name="Phone"
[poi]
enable_pois_before_080217=1 ;[COLOR="RoyalBlue"][I]080217 is the date can be changed as needed[/I][/COLOR]
multipoi=1 ;[I]allows you to use more than one set of POIs at a time (will show duplicates though)[/I]
[power]
backlight_day=100
backlight_night=54
backlight_slow_api=1
backlight_sync_with_OS=1
battery_warning_limit=10
powermgm_state=0
power_off_mode=1
power_off_timeout=300
skip_resume_process=1
skip_suspend_process=1
[rawdisplay]
class="landscape" ; [COLOR="RoyalBlue"][I]adjusts the orientation, other options are rlandscape, portrait, square,wide [/I][/COLOR]
driver=GX ;GDI or GX
highres=0
screen_x=320
screen_y=240
stretch=0
[route]
allow_carpool=0
allow_charge=1
allow_ferry=1
allow_highway=1
allow_special=0
allow_unpaved=0
allow_uturn=1
correctness=80 ; [I][COLOR="RoyalBlue"]we used to have a slider for that[/COLOR][/I]
cross_border_routes=1
fast_car_multiplactor
fast_car_speed
motorcycle_multiplactor
motorcycle_speed
planned_route_weight=7
route_type="ECO"
scenic_highway_weight=4
scenic_scenic_weight=2
slow_car_multiplactor
slow_car_speed
tmc_weight=6
vehicle_type="truck"
[screen]
current_background="default.bmp"
focus=1
focus_activator_key
focus_color
focus_followlinks
focus_halign
focus_sprite
focus_type=2
focus_valign
focus_list_keydown
focus_list_keyleft
focus_list_keyright
focus_list_keyup
focus_list_move_before_scroll
menu_animation=0
nightmode=0
[settings]
accident_map=1
accident_panel=1
accident_recalc=0
closed_map=1
closed_panel=1
closed_recalc=0
closures_map=1
closures_panel=1
closures_recalc=0
congestion_map=1
congestion_panel=1
congestion_recalc=0
danger_map=1
danger_panel=1
danger_recalc=0
heavy_map=1
heavy_panel=1
heavy_recalc=0
invalid_map=1
invalid_panel=1
invalid_recalc=0
police_map=1
police_panel=1
police_recalc=0
roadworks_map=1
roadworks_panel=1
roadworks_recalc=0
weather_recalc=0
weather_map=1
weather_panel=1
[smartzoom]
autozoom_address=100
autozoom_coord=200
autozoom_cos=200
auto_follow_on=1
auto_follow_time=10
auto_smartzoom_time=8
default_visibility_altitude=4000
enabled=1
enabled2d=1
maxangle=85
maxzoom=250
minangle=8
minzoom=60
overview=0
overview_distance=20000
overview_zoomlevel=10000
restore_smartzoom_on=1
use2d=1 ;[COLOR="RoyalBlue"][B]use2d is to use separate smartzoom for 2d and 3d. Once this is implemented in a UI it should be set to 1. [/B][/COLOR]
zoom_after_find=1
[speedcam]
disable="_SUI", "_GER", "_AUT"
enable_at_startup=1
speedcam_sound="!alert1"
usemio=-12,90,37,27
[sound]
auto_mute=0
ding=0
device_bps=
device_samplerate=
device_stereo=
dynamic_volume_maxspeed=100
dynamic_volume_minspeed=40
dynamic_volume_os_volume_max=255
dynamic_volume_type=1
dynamic_volume_voicemaxspeed=80
dynamic_volume_voice_volume_max=100
incomingcallsetting=0
queue_length=200
sound_volume=255
sound_muted=0
suspend_time=5 ;[I][COLOR="RoyalBlue"]timeout for wavedev to goto sleep [/COLOR][/I]
use_os_volume=1
voice_muted=0
voice_volume=255
[timezone]
auto_index=29
default_timezone=29 ; [I][COLOR="RoyalBlue"]GMT+1 amsterdam[/COLOR][/I]
index=29
manual_dst=0
reset_os_timezone=0
sync_os_timezone=0
sync_time=1
use_auto=1
[tmc]
auto_detour_calc=0
;announce_total_route=1
baud=38400
ignore_all_events=0
port="COM,1"
source="gns"
;[I][COLOR="RoyalBlue"]harman eten galik opentmc2 opentmc1 hyundai samsung amaryllo royaltek gns [/COLOR][/I]
[tripcomputer]
num_of_trips=4 ; default igo8 has only 3
[tts]
always_say_road_names=1
announce_exit_directions=1
announce_street_name=1
priority="HIGH"
skip_exit_numbers=0
tts_buffer=131072
tts_logics=3
[usb]
disable_on_startup=0
enable_on_shutdown=1
quitmap_msg_quits=0
[warning]
approach_beep_distances=200
approach_beep_sound="!sectionbeepB"
max_section_time=240
overspeed_sound= "!alert3" ; speedcam sound
pedestrian_warning=0
pedestrian_warning_threshold=10
section_beep_distance=200
section_beep_sound= "!sectionbeepA"
section_end_sound= "!sectionend"
section_start_sound="!sectionstartA"
speedcam_maxdistance_from_road=
speedcam_max_angle=20
speedcam_max_lookahead=400
speedcam_snap_distance=200
speedcam_soundtype=1
speedcam_visualtype=1
speedcam_warning=1
speedlimit_warning=1
speedlimit_warning_visual=1
speedlimit_warning_voice=1
speedwarn_alt_builtup_based=1
speedwarn_alt_limit
speedwarn_alt_tolerance
speedwarn_tolerance=110
speedwarn_alt_toltype
speedwarn_toltype
warn_distances=130:450,110:350,90:300,60:200,40:10 0 ;[B]These numbers are apparently in the format of Speed:Distance[/B].
An important setting for the Touch HD:
[device]
type="HTC Touch HD T8282"
I am using the latest iGO8 and I don't use an sys.txt?
niels_90 said:
I am using the latest iGO8 and I don't use an sys.txt?
Click to expand...
Click to collapse
are you absolutely sure about that? sys.txt is like the bible for iGo. it is where you can change almost everything in the app to suit your needs. if it's working without it you may be using the factory settings which are not optimal.
@everyone: guys, i'm nearly finished re-editing the sys.txt with all the additions provided and will update the post #2 later today.
@KukurikU: why some of the itens in the screen, sound and 3d have no parameters? an example is focus_activator_key, shouldn't it be focus_activator_key=NNN?
easyriider said:
An important setting for the Touch HD:
[device]
type="HTC Touch HD T8282"
Click to expand...
Click to collapse
This is very interesting. I have seen that some people are using type="Touch HD", some have even suggested using type="ALIAS XPERIA"
I looked in the latest "data file" that I could find, and under the subdirectory config\devices I found only one config file that relates directly to the Touch HD and it is called:
ALIAS_BLACKSTONE
I just started using this line type="ALIAS_BLACKSTONE" and with a ; in front of almost all of the entries in my sys.txt file to make them inactive. Everything is working great so far including landscape/portrait. I looked in the file and there wasn't much in it but I figure at least I actually found a file name that corresponded to the HD in the list.
Matterhorn said:
... I found only one config file that relates directly to the Touch HD and it is called:
ALIAS_BLACKSTONE
I just started using this line type="ALIAS_BLACKSTONE" and with a ; in front of almost all of the entries in my sys.txt file....
Click to expand...
Click to collapse
that is definitely an important info. using the default settings for a specific model would suit a lot of users.
sys.txt's main job is tweak the app to optimize the experience. editing it wisely would make the whole thing much better.
This is the contents of the ini file from the latest DATA.zip file for the Touch HD.
info_names="HTC Blackstone"
[device]
SDCard_dsk_num=7
[gps]
port = 4
baud = 9600
[rawdisplay]
highres=0
autoconfig=1
As you can see, the rawdisplay settings are the important ones to control the size of screen. My iGO8 uses a baud rate of 56000 so id rather not use the ini file.
SlakerBoi said:
are you absolutely sure about that? sys.txt is like the bible for iGo. it is where you can change almost everything in the app to suit your needs. if it's working without it you may be using the factory settings which are not optimal.
Click to expand...
Click to collapse
Yes i'm absolutely sure.
In version v8.3.2.64873 and lower you need a sys.txt where you need to tell iGO that it should use 800x480 graphics etc etc.. I am using v8.3.2.80621 and the only setting sys.txt contains is:
Code:
[interface]
show_exit=1
It automatically detects your device and configures itself. I am using it for a few weeks now and there is no need for adding settings because it's working perfect
I have a data.zip with in the map config/devices a file with the name "HTC Touch HD T8282.ini" with the following content:
info_names="HD"
[device]
SDCard_dsk_num=7
[gps]
port="4"
baud="57600"
[rawdisplay]
highres=0
autoconfig=1
driver="gdi"
[power]
backlight_manage_values = 1
backlight_manage_keys = 1
backlight_max = 10
backlight_min = 1
backlight_reverse = 0
backlight_key_bright_BA1 = "Brightness"
backlight_key_bright_AC1 = "ACBrightness"
backlight_key_bright_BA2 = "BacklightLuminanceLevel"
backlight_key_bright_AC2 = "ACBacklightLuminanceLevel"
backlight_key_timeout_BA = "BatteryTimeout"
backlight_key_timeout_AC = "ACTimeout"
backlight_key_ontap_BA = "BacklightOnTap"
backlight_key_ontap_AC = "ACBacklightOnTap"
backlight_key_on_BA = "OnOff"
backlight_key_on_AC = "ExtOnOff"
backlight_methods = 25
backlight_events = 3
[interface]
use_big_lang_flag=1
In sys.txt in version v8.3.2.80621, I only have:
[folders]
app="%SDCARD%/iGo8"
[device]
type="HTC Touch HD T8282"
(If you have installed iGO in the device memory it is important that you edit the sys.txt at that location instead of the sys.txt on the sdcard)
hi,
i've added all the new lines and the sys.txt file became way too big to fit in a post. it can be found in a zip file in doc, xls or txt.
it took me so long to post the additions simply because a few lines were making my blackstone crash and i had to work out which one.
as you can see in the files, a lot of lines are lacking explanation. please let's work on it a bit more, mates.
and thank you again for the inputs.
OK, If you want to stop the "route recalculation" voice, under [TTS] in your sys.txt file add = recalculate=0.
Ive just tried it this morning and it works fine.
Finally got rid of that annoying voice.
I have a strange problem.
The first time I try and search for an adress, I can use the
smart search funktion were letters greys out if there is no street adress
matching the previous letter.
But after I have closed a route, and try to search for a new adress, the letter "å or a" is automaticly pressed multiple times. I cant even go back and push another letter myselfe.
So far the only way to restore this is to resset user data.
Can this problem be solved by useing some command i the sys.txt file?
Ethania said:
I have a strange problem.
The first time I try and search for an adress, I can use the
smart search funktion were letters greys out if there is no street adress
matching the previous letter.
But after I have closed a route, and try to search for a new adress, the letter "å or a" is automaticly pressed multiple times. I cant even go back and push another letter myselfe.
So far the only way to restore this is to resset user data.
Can this problem be solved by useing some command i the sys.txt file?
Click to expand...
Click to collapse
are you sure this is not a bug in the version you're using? i have recently been to portugal where the words have accents such as çãâáàü and everything worked just fine. i'm still using the version 8.3.2.64873.
Ethania said:
I have a strange problem.
The first time I try and search for an adress, I can use the
smart search funktion were letters greys out if there is no street adress
matching the previous letter.
But after I have closed a route, and try to search for a new adress, the letter "å or a" is automaticly pressed multiple times. I cant even go back and push another letter myselfe.
So far the only way to restore this is to resset user data.
Can this problem be solved by useing some command i the sys.txt file?
Click to expand...
Click to collapse
i found the solution!
Add this to sys.txt
[device]
Type="ALIAS_TOUCH HD"
sdcard_dsk_num=7
The only problem I'm having is that iGO doesn't respond when I press the hardware sound buttons. Nothing happens..
I'm using the latest version with no sys.txt, but I used a lot of sys.txt earlier when I used older versons. And there was the same problem. I'm using custom roms. Maybe that's the problem, because when I used stock rom I didn't have the problem.
Anyone having a solution?
Could someone please upload the et9.rhodium.* kmap files (windows folder) from a french azerty tp2
With pleasure... But inside these files, it is written QWERTY and the map of the second line starts with Q (as expected for a QWERTY keyboard).
Harvey
However, here they are :
http://www.geocities.com/hrowson/et9_french_tp2.zip
How the hell do you get this to work :
Format:
// c0, c1, c2, c3,..ck, where
// characters on the first column (c0), trigger the dead-cycling
// (c1,...,c3,c1..) when Symb + [first column character] on SP,
// or Fn + Space (PPC) and the current character macthes character
// on the first column.
this is from "eT9DeadKeys.txt"
With my TyTN the "Fn" + "Space" used to role through the "special caracters", "e"->"é"->"è"->"ê" for example.
How do you do this on the TP2 ?
Thanks for help (this is the source of my mapping keys question earlier).
Harvey
Oh.. looking closer in eT9.Rhodium.040C.kmap.txt I noticed it looks like the french layout despite the comment that says it's QWERTY.
Tomorrow I'll try fiddling with it to change
// Row 4
{0x10 0x10 0x10 0x14 0x00 0xff} // CAPS - 0x14 = VK_CAPITAL
{W W W W W 0x13}
{X X X X X 0x14}
{C C C C C 0x15}
with something like
// Row 4
{0x10 0x10 0x10 0x14 0x00 0xff} // CAPS - 0x14 = VK_CAPITAL
{W W W W W 0x13}
{X X X X X 0x14}
{C C C Ç Ç 0x15}
Would you guys say the would allow me to get "Ç" when pressing "FN" + "C" ?
Harvey
Thanks Harvey... indeed the 40C keymap shows AZERTY layout.
However, even after update of reg [Mobile Device\HKEY_LOCAL_MACHINE\Software\Tegic\eT9\Ime\KeyboardLayouFiles\07FF to eT9.Rhodium.040C.kmap.txt it still types QWERTY
Anyone an idea ?
You might want to check the following link http://forum.xda-developers.com/showthread.php?t=537707
You can map the french characters yourself and make it te default keymap.
I had to update registry [Mobile Device\HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD] Curlang to 40c in order to get my keyboard typing AZERTY...
woale said:
I had to update registry [Mobile Device\HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD] Curlang to 40c in order to get my keyboard typing AZERTY...
Click to expand...
Click to collapse
Thanks for that but green characters used with the "Fn" button are still not working (I have a French device)
Any idea please ?
Aurel143 said:
Thanks for that but green characters used with the "Fn" button are still not working (I have a French device)
Any idea please ?
Click to expand...
Click to collapse
I have the same problem and it seems that the solution isn't anywhere... someone help please!!!
A page was created on Wiki, hope that will help you.
Changing the Keyboard Layout
Don't hesitate to correct my English
Aurel143 said:
A page was created on Wiki, hope that will help you.
Changing the Keyboard Layout
Don't hesitate to correct my English
Click to expand...
Click to collapse
Real nice, just worked with me!!!! To be even better It just miss to explain how can we add new symbols, like the "ç" when pressing FN + C, for example...
credinho said:
Real nice, just worked with me!!!! To be even better It just miss to explain how can we add new symbols, like the "ç" when pressing FN + C, for example...
Click to expand...
Click to collapse
I gonna have a look at it asap ^^
Aurel143 said:
I gonna have a look at it asap ^^
Click to expand...
Click to collapse
I know I have to chenge some files, but don't have any idea how and exactly where, so any help would be nice!
credinho said:
I know I have to chenge some files, but don't have any idea how and exactly where, so any help would be nice!
Click to expand...
Click to collapse
Repeating the information for search purpose :
http://wiki.xda-developers.com/index.php?pagename=HTC_Rhodium/ChangingKeyboardLayout is updated.
Awesome!!!
just be careful to change the one before last "C" - aka the 4th "C", not the 3rd "C" as shown in the wiki.
you just solved a major problem I had with my TP2.
Now it's just about...perfect.
any of you fellas that made it work can make a cab file fix ? or registry fix for samishi ? Merci
Hi gents.
Today,I want to ask someone,how can I programm,that my software forces the screen to be rotated into landscape or back on the go(for example after starting). I try to programm something with Embedded Visual C++ SP4. Actually I don't see any problem with this,but I cannot find any source.so I will be very grateful for that.
Anyone can help me with this?
Thanks in advance.
Take a look at
DEVMODE DevMode;
memset (&DevMode, 0, sizeof(DevMode));
DevMode.dmSize = sizeof(DevMode);
DevMode.dmFields = DM_DISPLAYORIENTATION;
ChangeDisplaySettingsEx(NULL, &DevMode, NULL, CDS_TEST, NULL);
DevMode.dmDisplayOrientation = DMDO_270;
// this should force a size message
ChangeDisplaySettingsEx(NULL, &DevMode, NULL, CDS_RESET, NULL);
Jim
Thanks,that works perfectly.
Hello
I code some games with opengl es for my winmo device. BUT: My apps won't startup after running several times (about 7 or 8 times) and I don't why.
And sometimes they just mess up my device - so I need to do a softreset by removing the accu of the phone...
Does anyone else have the same issue and already solved it?????
Thanks
Chabun
Hey guys
I really need help...
It's very strange, glGetError reports everything's running OK..
EGL does report any error, too.
And it must be OpenGLES or EGL cause on the device emulator (with vincent3D) everything's running...
Does anyone have a tip where I have to search for the fault?
Thanks
People having this problem 'solved' it by removing the call to eglTerminate.
What device/rom are you using?
Yeah, that's an bug of the egl on SnapDragon platforms (I'm using a HTC HD2 with the original Rom).
Now my app starts every time, but it crashes (and freezes the whole device) suddenly without reasons...
I'm not sure if this is a bug in the drivers as my apps work fine on HD2. Do you have this bug with my OpenGLES test apps (1.x, 2.0)?
No, you're apps run perfectly... (1.x and 2.0)
Is there sany source code avaible?
So I could compare my engine with yours to find out what's my problem.
But that my app runs perfectly (but slow ;-)) on the emulator is still a mystery...
The 1.x thread has a VS2005 project with an early version of the test. These sources are build for 1.x devices.
Try the following (maybe first in your project):
For OpengGL ES 1.x on 2.0 devices:
in egl.cs replace "libgles_cm.dll" by "libEGL.dll"
(if that's not enough try also to replace "libgles_cm.dll" by "libGLESv1.dll" in gl.cs)
In case your project is using OpenGL ES 2.0:
link/load libEGL.dll for egl and libGLESv2.dll for gl
After these changes you can't run it on the emulator anymore. But you can connect to your device. Just be sure to save everything before starting the debugger!
Hey
If I change the dll in the wrapper classes, I get a black screen with some render artefacts or other strange things....
I've downloaded your source but I can't see any difference between my engine and yours.
I'll send you a PM with my source code... (I don't want to publish my game now)
Please test it on your device, thank
Hey
sorry, I can't attach files zo a PM?!
Could you give me a mail-address where I'm able to send it to you?
I really don't want to publish it 'cause it's still not stable and finished...
chabun
Thanks..
Now everything is working...
And I will post my game as soon as I finish it, Thanks to heliosdev!!!
Chabun
A never ending fight
I thought all my issues were solved by changing the dlls...
But I was wrong, my app still freezes my device...
My game is based on a square field of tiles and it dynamically draws the field in different sizes - meaning that exactly the same code is executing. Depending on the size of the field, the draw method of the tiles is executed more times...
If it freezes my phone or not is depending on the field size, but it does not mean that more tiles (bigger field size) cause the freezing - the biggest field size works and the smallest not...
So I think I do not draw the tiles properly, cause that's the only thing that changes beetwen the field sizes.
Here is my code for drawing an image:
Code:
// Enable Alphablending
OpenGLES.Enable(OpenGLES.GL_BLEND);
OpenGLES.BlendFunc(OpenGLES.GL_SRC_ALPHA, OpenGLES.GL_ONE_MINUS_SRC_ALPHA);
// Reset the world (MODELVIEW);
OpenGLES.MatrixMode(OpenGLES.GL_MODELVIEW);
OpenGLES.LoadIdentity();
OpenGLES.Rotatef(90f, 0f, 0f, 1f);
OpenGLES.Translatef(0f, -480f, 0f);
// Set the Position
OpenGLES.Translatef(bounds.X, bounds.Y, ZIndex);
//Enable texturing and set current texture as the active one
OpenGLES.Enable(OpenGLES.GL_TEXTURE_2D);
OpenGLES.BindTexture(OpenGLES.GL_TEXTURE_2D, texture.Name);
//Aply the Color value to colorizing the active texture
OpenGLES.Color4f(Color.Rf, Color.Gf, Color.Bf, Color.Af);
//Enable the vertices array
OpenGLES.EnableClientState(OpenGLES.GL_VERTEX_ARRAY);
OpenGLES.VertexPointer(3, OpenGLES.GL_SHORT, 0, vertices);
//Enable the texCoords
OpenGLES.EnableClientState(OpenGLES.GL_TEXTURE_COORD_ARRAY);
OpenGLES.TexCoordPointer(2, OpenGLES.GL_FLOAT, 0, texCords);
// Draw the sprite.
OpenGLES.DrawArrays(OpenGLES.GL_TRIANGLES, 0, 6);
// Disable the vertices and the texCoords
OpenGLES.DisableClientState(OpenGLES.GL_VERTEX_ARRAY);
OpenGLES.DisableClientState(OpenGLES.GL_TEXTURE_COORD_ARRAY);
// Diesable texturing
OpenGLES.Disable(OpenGLES.GL_TEXTURE_2D);
OpenGLES.Disable(OpenGLES.GL_BLEND);
The vertex data and texcoords are the following ones:
Code:
static short[] vertices = { 0, 0, 0, 0, 1, 0, 1, 0, 0 ,
1, 1, 0, 0, 1, 0, 1, 0, 0 };
float[] texCoords = { 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0}
This code is executed once per frame and per image I draw... Do I simply miss calling an OpenGl-Method or is there any other fault?
Thanks for your help
Hope the never ending fight against opengl is goning to en...
Does changing short to float of the vertices and VertexPointer crash too?
Hi,
I developped a dictaphone on android that records mp3, ogg, wav files ...
It works on HTC, nexus, ... but I have some problems with Galaxy S compatibility.
I saw that some other developper using AudiRecord faced the same problem too and resolved it, but I found nothing on internet on there solution.
As I can't afford to buy a Galaxy, I ask your help here
Here is a piece of my code :
int bufferSize = AudioRecord.getMinBufferSize(f, c, e);
AudioRecord recordInstance = new AudioRecord(MediaRecorder.AudioSource.MIC, f, c, e, bufferSize);
byte[] tempBuffer = new byte[bufferSize];
recordInstance.startRecording();
while (...)
{ buffer = recordInstance.read(tempBuffer, 0, bufferSize);
}
recordInstance.stop();
recordInstance.release();
I tried all these values :
for f : 8000, 11025, 22050, 44100
for c : AudioFormat.CHANNEL_IN_MONO, AudioFormat.CHANNEL_IN_STEREO
for e : AudioFormat.ENCODING_PCM_16BIT
I ve seen, that getMinBufferSize (on Galaxy) always return 640 and that Stereo isn't used.
I don't know where my code fails. Did someone had the same problem ?
Did you reslve it ?
Thanks in advance,
Dje073.
Since audio recorded with the SGS is just a piece of crap, nobody is going to use it anyway
But of course, if you really want your application to work on the SGS I don't think I have to complain.
Is there a way to fix the audio quality? It is really awful.
You may not be wrong, but as Galaxy users ruins my stats rating my apps 1 star on 5, I have to do something
If not recording in 3gp format, the sound may be correct, no ?
I'd like to provide you an app to demonstrate it, but I don't want to buy a SGS for it ^^
I don't think that will make a difference. As a temporary solution you can edit the description of your app and tell the SGS-owners you are working on a solution. If they still keep ruining your stats they're just assholes
Already done, but not very effective for the moment
I'm sure audio quality is not as bad if you record in raw pcm.
Why Samsung did there own implementation of AudioRecord ? :/
japperrrr said:
I don't think that will make a difference. As a temporary solution you can edit the description of your app and tell the SGS-owners you are working on a solution. If they still keep ruining your stats they're just assholes
Click to expand...
Click to collapse
I don't think this kind of comments will encourage the programmers working for a specific device voluntarily.
I've use TapeMachine on my SGS and the recording quality is excellent. It does ogg,wav but no longer does mp3 due to a licensing issue. I don't understand where this idea comes from that the SGS audio quality is poor. For info, I'm a musician, I use it for recording guitar/voice demos and I find it astoundly good for a phone.
You may want to check out TapeMachine.
dje073 said:
Hi,
I developped a dictaphone on android that records mp3, ogg, wav files ...
It works on HTC, nexus, ... but I have some problems with Galaxy S compatibility.
I saw that some other developper using AudiRecord faced the same problem too and resolved it, but I found nothing on internet on there solution.
As I can't afford to buy a Galaxy, I ask your help here
Here is a piece of my code :
int bufferSize = AudioRecord.getMinBufferSize(f, c, e);
AudioRecord recordInstance = new AudioRecord(MediaRecorder.AudioSource.MIC, f, c, e, bufferSize);
byte[] tempBuffer = new byte[bufferSize];
recordInstance.startRecording();
while (...)
{ buffer = recordInstance.read(tempBuffer, 0, bufferSize);
}
recordInstance.stop();
recordInstance.release();
I tried all these values :
for f : 8000, 11025, 22050, 44100
for c : AudioFormat.CHANNEL_IN_MONO, AudioFormat.CHANNEL_IN_STEREO
for e : AudioFormat.ENCODING_PCM_16BIT
I ve seen, that getMinBufferSize (on Galaxy) always return 640 and that Stereo isn't used.
I don't know where my code fails. Did someone had the same problem ?
Did you reslve it ?
Thanks in advance,
Dje073.
Click to expand...
Click to collapse
Hey Mate, has you released your apps?
Whats the name? I would love to buy one. Mine is Samsung galaxy SPICA
doc_v15 said:
Hey Mate, has you released your apps?
Whats the name? I would love to buy one. Mine is Samsung galaxy SPICA
Click to expand...
Click to collapse
You can find my application on the market making a search on "AudioRecorder"
Well I'm not a developer, but I do have Galaxy S, so if help needed from user side, drop me a pm.
Thank you Soniboy
I tried with some friend, but not very effective without being in debug mode on the device.
More, It seems that this bug does not exist any more on Samsung Galaxy S with Froyo.
Thank you very much for your help
dje073 said:
Hi,
I developped a dictaphone on android that records mp3, ogg, wav files ...
It works on HTC, nexus, ... but I have some problems with Galaxy S compatibility.
I saw that some other developper using AudiRecord faced the same problem too and resolved it, but I found nothing on internet on there solution.
As I can't afford to buy a Galaxy, I ask your help here
Here is a piece of my code :
int bufferSize = AudioRecord.getMinBufferSize(f, c, e);
AudioRecord recordInstance = new AudioRecord(MediaRecorder.AudioSource.MIC, f, c, e, bufferSize);
byte[] tempBuffer = new byte[bufferSize];
recordInstance.startRecording();
while (...)
{ buffer = recordInstance.read(tempBuffer, 0, bufferSize);
}
recordInstance.stop();
recordInstance.release();
I tried all these values :
for f : 8000, 11025, 22050, 44100
for c : AudioFormat.CHANNEL_IN_MONO, AudioFormat.CHANNEL_IN_STEREO
for e : AudioFormat.ENCODING_PCM_16BIT
I ve seen, that getMinBufferSize (on Galaxy) always return 640 and that Stereo isn't used.
I don't know where my code fails. Did someone had the same problem ?
Did you reslve it ?
Thanks in advance,
Dje073.
Click to expand...
Click to collapse
I have same problem. I think it is the problem of read method. If your problem is solved than help me.