MoonPhase 1.2 : Эльфы : Форум |
Страница 7 из 10: « 1 ... 3 4 5 6 [7] 8 9 10 » |
Grinvich11: |
30.11.08, 14:24 |
SEVENI, в MoonPhase.ini убери точку с запятой и напиши папку, где картинки хранятся. Вот эта строчка: ;[MOON_DIR]: 50x50_trans |
lisaus: |
30.11.08, 15:56 |
координаты отсчитываются от центра экрана. вверх и вправо - это '+' влево и вниз - это '-' у меня экран 176х220 и значения следовательно будут по оси X и Y в диапазоне -088 до +088 |
eddmund: |
30.11.08, 21:28 |
SEVENI, everything you need to know is described in the ReadMe - see section "Configuration": There is no configuration required. However, if a configuration file "MoonPhase.ini" is present in the "roal" sub directory of %DIR_INI%, it will be read. If desired, the following options can be set there: Код: ; Time zone offset from UTC. Format: "+hh:mm" or "-hh:mm". Defaults to "+00:00". ; Examples: "-12:00" (U.S. Minor Outlying Islands), "+01:00" (Austria), ; "+05:45" (Nepal), "+14:00" (Kiribati) [TZ_OFFSET]: +00:00 ; The hemisphere of your location. Defaults to "0" which means the northern ; hemisphere. Change to "1" if you are living on the southern hemisphere. [HEMISPHERE]: 0 [HEMISPHERE]: 1 ; The x and y coordinates of the moon image's center. The origin of the ; underlying coordinate system (0, 0) is the center of the standby screen area. ; Format: "+xxx" (to move the image to the right / upwards) ; or "-xxx" (to move the image to the left / downwards). ; Both values default to "+000". Thus, the moon is displayed in the center of the ; standby screen area per default. [CENTER_X]: +000 [CENTER_X]: +050 [CENTER_Y]: +000 [CENTER_Y]: -025 ; An alternative name of the directory within %DIR_INI%/roal/moon_images/ ; containing the moon phase images (25 .png files representing a view from ; 0 to 360° every 15°). Defaults to "50x50_trans" which is the shipped directory ; containg 50x50 pixel images with a transparent background. [MOON_DIR]: 50x50_black [MOON_DIR]: 50x50_trans [MOON_DIR]: 70x70_black [MOON_DIR]: 16x16_trans ; People living southern of the equator should set [HEMISPHERE] to 1, so the waxing moon grows from the left to the right and vice-versa. [ Edited by eddmund в 4.12.08 11:46 ] |
jamesbond22: |
01.12.08, 13:10 |
eddmund, i wait for bcfg configuration Sometimes when i run elf then appear this message. Why? |
Grinvich11: |
01.12.08, 13:30 |
Sometimes when run elf from the daemons then appear this message. But all files are present |
eddmund: |
01.12.08, 13:38 |
jamesbond22, regarding bcfg see post #58. Regarding the "Error at registering image!" error: I haven't seen this yet on my phone. This error *should* never occur. If it occurs, however, the ElfLib's REQUEST_IMAGEHANDLER_INTERNAL_REGISTER function produced an error_code. You can view the source of this C code in the source of ImageTest 1.0.4, within the function imageRegister. I don't know why there was an error_code. Maybe you have loaded too many Elves at the same time, but I'm really not sure. |
jamesbond22: |
01.12.08, 13:43 |
eddmund писал: Maybe you have loaded too many Elves at the same time, but I'm really not sure. maybe... Because i have loaded 14 elfs. |
eddmund: |
01.12.08, 14:25 |
Grinvich11, since the moon images directory is wrong in your error message (something like "50x50_black...x..." instead of just "50x50_black") it seems that the [MOON_DIR] option in your modified MoonPhase.ini file cannot be read properly. Ensure there is nothing after 50x50_black on the [MOON_DIR] line and add an extra newline. And save the .ini file as ASCII with DOS-like line endings. |
Grinvich11: |
03.12.08, 23:50 |
eddmund, thank you for a help. When i add an extra newline. All began to work. Thanks for elf |
eddmund: |
05.12.08, 02:03 |
MoonPhase 1.1 has just been released. Код: v1.1 (2008-12-05) + The new Moon phases are calculated with an accuracy better than one minute. + New option [SCREEN_WANDERING] to enable wandering of the Moon across the screen. + The default Moon images directory has been changed to "50x50_black". [ Edited by eddmund в 5.12.08 01:43 ] Прикрепленный к сообщению файл: MoonPhase-50-100-50%-northern.png (16.45 kb; 15 hits) Скачать файл MoonPhase-50-100-50%-southern.png (17.12 kb; 85 hits) Скачать файл |
Страница 7 из 10: « 1 ... 3 4 5 6 [7] 8 9 10 » |
URL этой темы: https://mobilefree.justdanpo.ru/newbb_plus/viewtopic.php?topic_id=3512&start=60 © 2005-2018 supertrubka.org |