Dolfin Tuning

Die Bada Entwickler Ecke. Hier können sich App- oder Theme-Entwickler gegenseitig bei Problemen unterstützen und neue Projekte planen.
Post Reply
larioteo

Dolfin Tuning

Post by larioteo »

Hat schon wer mit der dolfinconfig_shp.ini gespielt?

Ich hab zwar grad kein Wave hier würde mich aber über Versuchskanninchen freuen :D.

Vielleicht lässt sich ja was rausholen.

Die Datei liegt im Browser Verzeichniss (/SystemFS/User/Br/)

Code: Select all

SFB_MEMORY_WATCH_FLAG =0 // ENABLE = 1 DISABLE = 0
//BACKINGTORE Configuaration 
SFBAL_OVERVIEW_SCALE=1.0
SFBAL_ORIGINAL_SCALE=1.0
SFBAL_ADJUST_FRAMEVIEW_FACTOR=1.0
SFBAL_DEFAULT_MIN_ZOOM=0.47
SFBAL_DEFAULT_MAX_ZOOM=8.0		
SFBAL_BACKINGSTORE_WIDTH_MULTIPLIER=3.0	
SFBAL_BACKINGSTORE_HEIGHT_MULTIPLIER=5.0//5.0f	
SFBAL_UPDATECONTENTS_TIMEOUT=1000
SFBAL_PIXEL_PER_CHECKER_BOX=16	//0x			//This flag should be multiple of 4 only
SFBAL_PINCH_ZOOM_DISTANCEFACTOR=1.0//Default1.0f	//This flag is used to increase the pinch distance by this factor for speeder zoom.
SFBAL_TOUCHSCROLL_DISTANCEFACTOR=1.0 //Default 1.0f
SFBAL_BLOCK_ZOOM_ENABLE=1
SFBAL_BLOCK_ZOOM_MINFACTOR=0.0	//default 1.0f
SFBAL_BLOCK_ZOOM_MAXFACTOR=3.0		//default 3.0f
SFBAL_SCROLLBAR_THICKNESS=10	
SFBAL_DEFAULT_VIEWPORT_ZOOM_ENABLE=0
SFBAL_DEFAULT_DPI=160
SFBAL_PLATFORM_DPI=240	//low-dpi=120,2.0;medium-dpi=160,1.5;high-dpi=240,1.0 change SFB_ADJUST_FRAMEVIEW_FACTOR accordingly.
SFBAL_DEFAULT_VIEWPORT_INITIALZOOM=0.0 //default 0.0f
SFBAL_INIT_ZOOM=0
SFBAL_ENABLE_CHECKERS=1
SFBAL_ENABLE_BACKINGSTORE_SGL=1
SFBAL_ENABLE_SGL_OUTSIDE_BACKINGSTORE=1
SFBAL_ENABLE_OUTSIDE_BACKINGSTORE=0
SFBAL_ENABLE_SCROLL_BOUNCER=0
SFBAL_SINGLE_TOUCH_ZOOM=0
SFBAL_ENABLE_COLUMN_RENDERING=1
SFBAL_ENABLE_VIEW_PAGE_RESIZE=0	
SFBAL_DOC_SIZE=10240
SFBAL_ENABLE_SGL_ZOOMOUT=0
SFBAL_VIEW_PORT_WIDTH_FIXED=980
SFBAL_FIXED_LAYOUT_SIZE=960
SFBAL_ENABLE_ACCELERATED_COMPOSITING=2 // disable for all pages = 0;enable for all pages =1; enable for only viewport pages = 2. change SFBAL_ENABLE_ACCELERATED_COMPOSITING accordingly
SFBAL_SHOW_SLOW_ZOOMING_EFFECT_VALUE=10
SFBAL_TOUCHISPRESSED=1

//NAVIGATION PARAMETER Configuration

SFBAL_CONTROL_POINT_X1=0.25
SFBAL_CONTROL_POINT_X2=0.75
SFBAL_MAX_DISPLACEMENT_X=6.0
SFBAL_MIN_DISPLACEMENT_X=1.0
SFBAL_MAX_DISPLACEMENT_Y=6.0
SFBAL_MIN_DISPLACEMENT_Y=1.0
SFBAL_MAX_FLICK_SPEED=200
SFBAL_MIN_FLICK_SPEED=0
SFBAL_MAX_FRAMES=60
SFBAL_MIN_FRAMES=12
SFBAL_FLICK_AVERAGER_COUNT=3
SFBAL_WEIGHTAGE_FOR_CURRENT_FLICK=0.5
SFBAL_CONSTANT_WEIGHTAGE_FLICK=0
SFBAL_WEIGHTAGE_FOR_CURRENT_TOUCHMOVE=0.5
SFBAL_CONSTANT_WEIGHTAGE_TOUCHMOVE=0
SFBAL_MIN_X_MOVEMENT=5
SFBAL_MIN_Y_MOVEMENT=5
SFBAL_MOVE_AVERAGER_COUNT=5
SFBAL_RENDER_TOUCHMOVECB_TIME=1
SFBAL_BOUNCE_CONTROL_POINT_X1=0.00395
SFBAL_BOUNCE_CONTROL_POINT_X2=0.198
SFBAL_BOUNCE_MAX_FRAMES=10
SFBAL_BOUNCE_MIN_FRAMES=4
SFBAL_ENABLE_PINCH_ZOOM_TIMER=0
SFBAL_PINCH_ZOOM_TIMER_DELAY=30
SFBAL_MAX_ANIMATION_DURATION=500
SFBAL_FLICK_SPEED_BOOST=1.25
SFBAL_FLICK_DURATION_BOOST=1.0
SFBAL_ENABLE_SMOOTH_FLICK=1
SFBAL_ENABLE_ENGINE_TOUCH_MOVE_AVERAGER=0
SFBAL_ENGINE_FLICK_TIMER=0
SFBAL_ENGINE_FLICK_NO_OF_MOVES=4
SFBAL_ENGINE_FLICK_MAX_THRESHOLD=1
SFBAL_TOUCH_SCROLLBAR = 0

// SCROLL NAVIGATION Configuration 

PAGE_NAVI_DEFAULT_STEP=5
BAL_SCROLL_NAVI_DEFAULT_STEP=15		//5*3	
BAL_SCROLL_NAVI_SCROLL_OFFSET_MAX_VALUE_THRESHOLD=100							
BAL_SCROLL_NAVI_ACCELERATION_STEP=5		

// VIRTUAL CURSOR Configuration

BAL_VC_DEFAULT_STEP=10//5*2	
BAL_VC_ACCELERATION_STEP=5		
BAL_VC_SCROLL_OFFSET_MAX_VALUE_THRESHOLD=100							
BAL_VC_BOUNDEDRECT_FACTOR=2.5							
BAL_VC_DEFAULT_HEIGHT=120							
BAL_VC_DEFAULT_WIDTH=100						
BAL_VC_JUMP_RANGE=80							
BAL_VC_JUMP_STEP=3							
BAL_VC_FOCUSSED_OFFSET_CORRECTION=1						
BAL_VC_JUMP_THRESHOLD=20//5*4	

//ZOOM UI IMAGE CONFIGURATION - START

SFB_ZOOMIN_IMAGE=480800/sfb_zoom_in.png 
SFB_ZOOMOUT_IMAGE=480800/sfb_zoom_out.png
SFB_ZOOMBAR_IMAGE=480800/sfb_zoom_bar.png
SFB_POPUP_IMAGE=480800/sfb_pop_up.png
SFB_ZOOMIN_DIM_IMAGE=480800/sfb_zoom_in_dim.png
SFB_ZOOMOUT_DIM_IMAGE=480800/sfb_zoom_out_dim.png

// FOURWAY NAVIGATION 

BAL_FOURWAY_DEFAULT_FRAME_WIDTH=240	  //480 //n4wayDefaultFrameWidth
BAL_FOURWAY_DEFAULT_FRAME_HEIGHT=400   //800 //n4wayDefaultFrameHeight


// MEMORY Configuration - START 

BAL_MAX_MEMORY_USAGE=80
BAL_BACKINGSTORE_MAX_MEMORY_USAGE=85
BAL_MAX_PLATFORM_ALLOCATE=4096988 //4 * 1024 * 1024
BAL_RESERVED_MEMORY_THRESHOLD=24117248 //23*1024/1024
BAL_MAX_IMAGE_BUFFER_SIZE=10485760 //10mb
BAL_MAX_IMAGE_CANVAS_BUFFER_SIZE=4194304 //4mb

//FILE PATH Configuration - 

BAL_WEBCONTROL_CACHE_FILE_PATH=/User/Br/SFB
BAL_WEBCONTROL_COOKIE_FILE_PATH=/User/Br/SFB
BAL_SAVED_PAGE_PATH=/User/Br/SavedPage/
BAL_TEMP_FILE_PATH=/User/Br/Temp/
BAL_HOME_DIR_PATH=/User/Br/
BAL_FLASH_PATH=/User/Br/Flash/
BAL_ICON_FILE_PATH=/User/Br/Icon/
BAL_PLUGIN_FILE_PATH=/User/Br/Plugin/
BAL_AUTH_PATH=/User/Br/SFB/Auth/
BAL_RSS_STORAGE_PATH=/User/Br/SFB/RSS/
BAL_DEBUG_STORAGE_PATH=/User/Br/Debug/
BAL_BITMAP_RSRC_PATH=/User/Br/Rsrc/
BAL_DATABASE_PATH=/User/Br/SFB/Databases/
BAL_OFFLINE_APPCACHE_PATH=/User/Br/SFB/Appcache/
BAL_LOCAL_STORAGE_PATH=/User/Br/SFB/LocalStorage/

// NETWORK Configuration - START 

SFBAL_DNS_MAX_RESOLVE_ADDRS=3
SFBAL_MAX_HTTP_REQUESTS=10		//(HTTP_ENTITY_COUNT_MAX - 1)									
SFBAL_WTP_TRANSACTION_COUNT_MAX=5 // (WTP_TRANSACTION_COUNT_MAX -1)
SFBRM_HANDLE_RSS_MIMESNIFF=0// 1=Enable, 0=Disable
SFB_RM_REUSE_SESSION=0 // 1 Enable, 0 Disable
MAX_PIPE=1 //1 in case of Normal and 3 in case of pipeline
SFB_RM_SUPPORT_PIPELINE=0 // 1 Enable, 0 Disable

//ZOOMUI Configuration - START 

SFBAL_ZOOM_SIDE_PADDING= 15	//To add space at the right and left side of the zoom icons
SFBAL_ZOOM_POPUP_PADDING=10	//To add space b/w the zoom icons and pop up icon 
SFBAL_ZOOM_BAR_PADDING=8	//To add space b/w the zoom icons and the bar
SFBAL_ZOOM_LIMIT_PADDING=10	//To limit the drawing of icons not go out of screen
SFBAL_ZOOM_FONT_PADDING=4	//To add space b/w the icons and the text
SFBAL_ZOOM_FONT_HEIGHT=48	//Specifies the Font height
SFBAL_ZOOMTIMER_DY=20 //Specifies the amount to move in Y - position

//FLICKSCROLL Configuration - START

BAL_FLICK_MAX=350		// max scroll value.
BAL_FLICK_MIN=1		// min scroll value. 
BAL_FLICK_RATE=1.3//1.3f			// it depends on the LCD size.
BAL_FLICK_SCROLL_INTERVAL=1
BAL_FLICK_OFFSET=5	// 

//ENGINE DEVICE Configuration 
BAL_PLATFORM_VMEM=1
BAL_UNLOAD_DLL_ALWAYS_ON_EXIT_FLAG=0	
BAL_PAGE_NAVIGATION_MODE =1502  //Note(this values changes accoroding to )Default BAL_PAGE_NAVIGATION_MODE_SCROLL_ONLY =1502 BAL_PAGE_NAVIGATION_MODE_VIRTUAL_CURSOR =1503,BAL_PAGE_NAVIGATION_MODE_4_WAY_NAVIGATION=1504
BAL_ENABLE_WRT=1

//BAL_VAL_SMARTFIT   

BAL_VAL_SMARTFIT=6 //Default _SHP_DEV_MAINLCD_480X800=6,_SHP_DEV_MAINLCD_240X400 =8,_SHP_DEV_MAINLCD_240X320 = 8,else =6

BAL_EDITOR_TYPE= 3       //Default  BAL_EDITOR_TOUCH =0,BAL_EDITOR_HARDKEY = 1, BAL_EDITOR_HYBRID = 2,BAL_EDITOR_OVERLAY = 3

//OVERLAY KEYPAD Configuaration - START *

SFBAL_OVERLAY_KEYPAD_HEIGHT_H=319				//nOverlayKeypadHeight_H
SFBAL_OVERLAY_KEYPAD_HEIGHT_V=410				//nOverlayKeypadHeight_V
SFBAL_OVERLAY_SELECTBOX_HEIGHT_H=312				//nOverlaySelectBoxHeight_H
SFBAL_OVERLAY_SELECTBOX_HEIGHT_V=470				//nOverlaySelectBoxHeight_V
SFBAL_WINDOW_HEIGHT_FULL_SCREEN_H=600
SFBAL_WINDOW_HEIGHT_FULL_SCREEN_V=300
SFBAL_OVERLAY_KEYPAD_HEIGHT_OUTSIDE_WINDOWRECT=100
SFBAL_TEXT_FIELD_TOP_POSITION=200
SFBAL_TEXT_FIELD_LEFT_POSITION=12
SFBAL_EDITOR_LIMIT_LENGTH=50

//SFBAL_WINDOW_HEIGHT_FULL_SCREEN_H (480 temporarily changed to 440..have to revert back to 480 once indicator is destroyed)

SFBAL_WINDOW_HEIGHT_FULL_SCREEN_H=480				//nWindowHeightFullScreen_H 
SFBAL_WINDOW_HEIGHT_FULL_SCREEN_V=760				//nWindowHeightFullScreen_V	
SFBAL_OVERLAY_KEYPAD_HEIGHT_OUTSIDE_WINDOWRECT=85			//nOverlayKeypadHeightOutsideWindowRect
SFBAL_TEXT_FIELD_TOP_POSITION=15
SFBAL_TEXT_FIELD_LEFT_POSITION=20
SFBAL_EDITOR_LIMIT_LENGTH=50000


//Replacement  for SFBalDeviceconfig.h below


//DEVICE TYPE CONFIGURATION     

SFBAL_DEVICE_TYPE =3 //DEFAULT: SFBAL_LOW_END_DEVICE=1, SFBAL_MED_END_DEVICE = 2,SFBAL_HIGH_END_DEVICE=3 SFBAL_WEBKIT_DEFAULT = 4,
SFBAL_DEVICE_FORM_FACTOR =12  //Default: SFBAL_KEYPAD_DEVICE_TYPE = 10,SFBAL_HYBRID_DEVICE_TYPE = 11, SFBAL_TOUCH_DEVICE_TYPE  = 12 
SFBAL_DEVICE_GEO_LOCATION=1  //Default: Disable= 0, Enable = 1
SFBAL_SUPPORT_32_BACKINGSTOREGC=0 //Default: Disable= 0, Enable = 1

//NATIVE EDITOR CONFIGURATION

SFB_NATIVE_EDITOR = 3 //Default SFB_NATIVE_EDITOR_HARDKEY = 1,SFB_NATIVE_EDITOR_HYBRID_TOUCH = 2,SFB_NATIVE_EDITOR_OVERLAY = 3,SFB_NATIVE_EDITOR_HYBRID_OVERLAY = 4,SFB_NATIVE_EDITOR_TOUCH  = 5
// Do not overwrite the below two values in Wave and Wave37 REL branch. It should be seperated from Wave3. gangseok.lee 2011.11.12
SFB_NATIVE_EDITOR_EXPOSE_DELAY_TIMER = 1000
SFB_NATIVE_EDITOR_IME_EXPOSE_TIME = 130

//DYNAMIC SCROLL BAR

SFB_DYNAMIC_SCROLLBAR =1 // ENABLE = 1  Disable = 0 

SFB_ENABLE_VIDEO =1 // ENABLE = 1 DISABLE = 0

SFB_ENABLE_WEBGL = 0 //ENABLE = 1 DISABLE = 0

SFB_ENABLE_FAV_ICON = 1 //ENABLE = 1 DISABLE = 0

SELECTION_POINT_OFFSET =60  // 60 for WVGA , 40 for HVGA
SELECTION_BITMAP_OFFSETX =-18   // -18 for WVGA, -12 for HVGA
SELECTION_BITMAP_OFFSETY =-10 	// -10 for WVGA, -7 for HVGA
SFBAL_FOCUS_RING_COLOR_ALPHA =128
SFBAL_FOCUS_RING_COLOR_RED =255
SFBAL_FOCUS_RING_COLOR_GREEN =146
SFBAL_FOCUS_RING_COLOR_BLUE =0
SFBAL_SGL_FONT_SIZE_INCREMENT =1.0 // Incrementing the font by 18%, default value is 1.0 for osp
SFBAL_SGL_ARABIC_RESHAPERS_SUPPORT = 1 //by default arabic reshapers are enabled
SFBAL_SGL_LOAD_TTF_TO_MEMORY = 1 //by default ttf file will be loaded to memory
SFBAL_SGL_LOAD_TTF_TO_MEMORY_WHILE_BOOTING = 1 //by default ttf file will be loaded while booting
SFBAL_SGL_COMPLEX_TEXT_SUPPORT = 0 //by default complex text are disabled
SFBAL_SGL_IMAGE_CACHE_MEMORY_POOL_BUDGET = 15 //High End Device = 15MB, Mid End = 10MB, Low End = 5MB
SFBAL_SGL_ZOOM_FILTER_BITMAP = 1 // enable = 1, disable = 0
SFBAL_SGL_ZOOM_ANTI_ALIAS = 1 // enable = 1, disable = 0
SFBAL_SGL_LOAD_FILTER_BITMAP = 1 // enable = 1, disable = 0
SFBAL_SGL_ENABLE_ANTI_ALIASED_CLIP_PATH = 1 //// enable = 1, disable = 0
SFB_ENABLE_WEBKIT_GIF_DECODER=1 //enable = 1,disable=0
SFB_ENABLE_ANIMATION_GIF_IMAGES=1 //enable = 1,disable=0
SFB_ENABLE_WEBKIT_GIF_DECODER_MEM_LIMIT=1 //enable = 1, disable = 0
SFBAL_SGL_AGIF_MAX0_FRAMES = 40 //High End = 40, Mid End = 40, Low End = 25
SFBAL_SGL_AGIF_MAX0_RESOLUTION = 2500 //High End = 50 * 50, Mid End = 32*32, Low End = 32*32 
SFBAL_SGL_AGIF_MAX1_FRAMES = 25 //High End = 25, Mid End = 25, Low End = 20 
SFBAL_SGL_AGIF_MAX1_RESOLUTION = 10000; //High End = 100 * 100, Mid End = 40*40, Low End = 40*40 
SFBAL_SGL_AGIF_MAX2_FRAMES = 20 //High End = 20, Mid End = 20, Low End = 15
SFBAL_SGL_AGIF_MAX2_RESOLUTION = 22500; //High End = 150*150, Mid End = 50*50, Low End = 50*50 
SFBAL_SGL_AGIF_MAX3_FRAMES = 15 //High End = 15, Mid End = 15, Low End = 10
SFBAL_SGL_AGIF_MAX3_RESOLUTION = 40000; //High End = 200*200, Mid End = 75*75, Low End = 75*75
SFBAL_SGL_AGIF_MAX4_FRAMES = 5 //High End = 5, Mid End = 5, Low End = 5
SFBAL_SGL_AGIF_MAX4_RESOLUTION = 90000; //High End = 300*300, Mid End = 100*100, Low End = 100*100
SFBAL_SGL_AGIF_BUDGET = 10 //10=10MB
SFB_MAGNIFIER_DEFAULT_ZOOM_SCALE = 2.0 //magnifier zoom Scale
SFBAL_TEMP_ONE = 0; //temp value1
SFBAL_TEMP_TWO = 0; //temp value2
SFBAL_TEMP_THREE = 0; //temp value3
Interessant finde ich das hier:


// MEMORY Configuration - START

BAL_MAX_MEMORY_USAGE=80
BAL_BACKINGSTORE_MAX_MEMORY_USAGE=85
BAL_MAX_PLATFORM_ALLOCATE=4096988 //4 * 1024 * 1024
BAL_RESERVED_MEMORY_THRESHOLD=24117248 //23*1024/1024
BAL_MAX_IMAGE_BUFFER_SIZE=10485760 //10mb
BAL_MAX_IMAGE_CANVAS_BUFFER_SIZE=4194304 //4mb

vielleicht liese sich ja die BAL_MAX_MEMORY_USAGE auf 100 MB raufdrehen ohne stabilitätsverluste.

Oder dass:

//ENGINE DEVICE Configuration
BAL_UNLOAD_DLL_ALWAYS_ON_EXIT_FLAG=0
auf 1 ändern.
User avatar
sCion
mobile-Legend
Posts: 3375
Joined: Fri 22. Jul 2011, 07:12
Smartphone system: Windows
Netzbetreiber: Netzclub (o2)
BS: Windows 7 64bit
Location: Berlin
Contact:

Re: Dolfin Tuning

Post by sCion »

Ich habe daran auch schon gespielt... Das Problem ist, bei vielen Anwendungen kann ich nicht mehr nebenbei Browser, da zu wenig Speicherplatz vorhanden...
Allerdings .... Wobei die Änderungen an der _shp nichts gebracht haben. Beim Wave wird wohl die _osp benutzt.
Devices: Wave 3, Wave 1, Wave M, Tizen RD-PQ, Ativ S

Kein Support via PN.

Lead Developer of SciDev
AppsReader | Baby Count | LiveClock PRO | SMS|ER
larioteo

Re: Dolfin Tuning

Post by larioteo »

Prinzipiell Funktioniert es also,

Das Always Unload DLL immer den ganzen speicher wieder freigegeben?
User avatar
sCion
mobile-Legend
Posts: 3375
Joined: Fri 22. Jul 2011, 07:12
Smartphone system: Windows
Netzbetreiber: Netzclub (o2)
BS: Windows 7 64bit
Location: Berlin
Contact:

Re: Dolfin Tuning

Post by sCion »

Habe den Flag bisher übersehen, werde es am Wochenende mal probieren^^ Prinzipiell habe ich mit der Speicherfreigabe nach dem Beenden von Dolfin keine Probleme.
Devices: Wave 3, Wave 1, Wave M, Tizen RD-PQ, Ativ S

Kein Support via PN.

Lead Developer of SciDev
AppsReader | Baby Count | LiveClock PRO | SMS|ER
larioteo

Re: Dolfin Tuning

Post by larioteo »

OK berichte wenn du so weit bist. Ist interessant.
larioteo

Re: Dolfin Tuning

Post by larioteo »

Was ist den das hier?

http://bitsnoop.com/frappeopen-876901-1 ... 79093.html" onclick="window.open(this.href);return false;
adfree
mobile-Mastermind
Posts: 945
Joined: Tue 23. Aug 2011, 13:13

Re: Dolfin Tuning

Post by adfree »

Also die Torrent Dinger... Da waren wir irgendwie zu blöd die zu laden...

Also ich stell mich eh doof an mit Torrent, weil ich das nicht nutze...

Also wenn das einer hinbekommen hätte. Diese Source zu laden...


@ larioteo

Das der Integrity Check der *.so Dateien gefallen ist, weißt Du?

Das die GCE komprimierten ELF wieder zu ELF entpackt werden können?
Übrigens kann man auch ELF verwenden in bada 2...

Dolfin.so entpackt sind etwa:
23 MB


MfG
larioteo

Re: Dolfin Tuning

Post by larioteo »

Ich würde mich eher für die MemStatus.so interessieren und natürlich auch für die Dolfin.so kannst du mir da n bisschen helfen.

Natürlich weis ich es nicht war ja n halbes jahr überhaupt nicht mehr aktiv bei bada (leider aus privaten gründen)?

Das OS liegt mir noch immer am herzen hoffe noch immer das es mal opensource wird. Würde mich dafür sehr interressieren.
Post Reply