/data/rus/settings/menu.dat |
---|
4,7 → 4,6 |
à 䨪 > /@3 |
¢ãª ¨ ¢¨¤¥® > /@4 |
§à ¡®âª > /@5 |
¬ã«ïâ®àë > /@6 |
¨á⥬ > /@7 |
ä¨á > /@10 |
¥âì > /@11 |
48,6 → 47,7 |
㤨®¯«¥¥à AC97SND /sys/media/ac97snd |
¨¤¥®¯«¥¥à Fplay /kolibrios/media/fplay |
Midi-¯«¥¥à /sys/media/midamp |
¥â᪮¥ ¯¨ ¨® /sys/media/piano |
#5 **** §à ¡®âª **** |
¯ ª®¢é¨ª KPack /sys/kpack |
Flat Assembler /sys/develop/fasm |
67,7 → 67,6 |
ScummVM /kolibrios/emul/scummvm |
ZSNES Super Nintendo /kolibrios/emul/zsnes |
#7 **** ¨á⥬ **** |
¨á⥬ ï ¯ ¥«ì /sys/syspanel |
©«®¢ë¥ ¬¥¥¤¦¥àë > /@8 |
¯¥æ. ¢®§¬®¦®á⨠> /@9 |
«¥¤ àì /sys/calendar |
75,6 → 74,7 |
¨àâã «ìë¥ ¤¨áª¨ /sys/tmpdisk |
®á®«ì SHELL /sys/shell |
®åà ¥¨¥ ®¡à § /sys/rdsave |
¨á⥬ ï ¯ ¥«ì /sys/syspanel |
#8 **** ¨á⥬ -> ©«®¢ë¥ ¬¥¥¤¦¥àë **** |
KFAR /sys/File Managers/kfar |
fNav /sys/File Managers/fNav/fNav |
109,6 → 109,7 |
â¥à¥â § £àã§ç¨ª /sys/network/downloader |
¥ªáâ®¢ë© ¡à 㧥à /sys/network/webview |
#14 **** §®¥ **** |
¬ã«ïâ®àë > /@6 |
®§¤ ¨¥ áªà¨è®â®¢ /sys/scrshoot |
«®£®¢ë¥ ç áë /sys/demos/aclock |
¡«¨æ ¥¤¥«¥¥¢ /sys/period |
/programs/cmm/lib/obj/libimg.h |
---|
194,6 → 194,11 |
} |
//NOTICE: DO NOT FORGET TO INIT libio AND libimg!!! |
#ifdef LANG_RUS |
#define TEXT_FILE_SAVED_AS "'File saved as " |
#else |
#define TEXT_FILE_SAVED_AS "' ©« á®åà ¥ ª ª " |
#endif |
:void save_image(dword _image_pointer, _w, _h, _path) |
{ |
char save_success_message[4096+200]; |
219,7 → 224,7 |
} |
else { |
if (CreateFile(encoded_size, encoded_data, _path) == 0) { |
strcpy(#save_success_message, "'File saved as "); |
strcpy(#save_success_message, TEXT_FILE_SAVED_AS); |
strcat(#save_success_message, _path); |
strcat(#save_success_message, "' -O"); |
notify(#save_success_message); |
/programs/fs/unimg/fat12.c |
---|
329,7 → 329,7 |
this->rootDirectory = this->firstFat + this->numberOfFats |
* this->sectorsPerFat * this->bytesPerSector; |
this->dataRegion = this->rootDirectory + this->maxRootEntries * 32; |
con_printf("Bytes per sector: %d\n", this->bytesPerSector); |
con_printf("\nBytes per sector: %d\n", this->bytesPerSector); |
con_printf("Sectors per claster: %d\n", this->sectorsPerClaster); |
con_printf("Reserver sector count: %d\n", this->reservedSectorCount); |
con_printf("Number of FATs: %d\n", this->numberOfFats); |
338,7 → 338,7 |
con_printf("Sectors per FAT: %d\n", this->sectorsPerFat); |
con_printf("First FAT: %d\n", this->firstFat); |
con_printf("Root directory: %d\n", this->rootDirectory); |
con_printf("Data region: %d\n", this->dataRegion); |
con_printf("Data region: %d\n\n", this->dataRegion); |
return 1; |
} |
373,7 → 373,7 |
*fileNameDelim = '/'; |
} |
} |
con_printf("Extracting \"%s\"\n", outputPath->data); |
con_printf("Extracting %s\n", outputPath->data); |
if (!(fp = fopen(outputPath->data, "wb"))) { perror(NULL); } |
fwrite(data, 1, size, fp); |
fclose(fp); |
383,7 → 383,6 |
int main(int argc, char **argv) { |
Fat12 fat12 = { 0 }; |
char *imageFile = NULL; |
390,17 → 389,20 |
String outputFolder = { 0 }; |
int exit = 0; |
if (con_init_console_dll()) return -1; |
con_set_title("UnImg - kolibri.img file unpacker"); |
char app_title[] = "UnImg - kolibri.img file unpacker"; |
if (con_init_console_dll_param(-1, -1, -1, 350, app_title)) return -1; |
if (argc < 2) { |
con_write_asciiz("Usage: unimg \"/path/to/kolibri.img\" \"/optional/extract/path\" [-e]"); |
con_write_asciiz("-e\tExit on success"); |
con_write_asciiz(" Usage:\n"); |
con_write_asciiz(" unimg \"/path/to/kolibri.img\" \"/optional/extract/path\" [-e]\n"); |
con_write_asciiz(" where optional key [-e] is exit on success"); |
con_exit(0); |
return -1; |
} else { |
imageFile = argv[1]; |
con_printf("File: %s\n", imageFile); |
} |
imageFile = argv[1]; |
outputFolder.capacity = 4096; |
outputFolder.data = malloc(outputFolder.capacity); |
407,7 → 409,10 |
//! ACHTUNG: possible buffer overflow, is 4096 enough in KolibriOS? |
if (argc >= 3 && argv[2][0] != '-') strcpy(outputFolder.data, argv[2]); |
else strcpy(outputFolder.data, "/TMP0/1/KOLIBRI.IMG"); |
else { |
strcpy(outputFolder.data, "/tmp0/1"); |
strcat(outputFolder.data, strrchr(imageFile, '/')); |
} |
outputFolder.length = strlen(outputFolder.data); |
/programs/fs/unimg/make.bat |
---|
1,2 → 1,2 |
kos32-tcc fat12.c -lck -o unimg.kex |
kos32-tcc fat12.c -lck -o unimg |
@pause |
/programs/fs/unimg/unimg |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/programs/system/test/trunk/test.asm |
---|
94,15 → 94,11 |
draw_window: |
;mcall 48,3,sys_colors,40 |
mcall 12,1 |
mcall 0,<200,292>,<200,230>,0x14FFFFFF,,tlabel |
mov eax,8 ; function 8 : define and draw button |
mov ebx,32*65536+10 ; [x start] *65536 + [x size] |
mov ecx,75*65536+10 ; [y start] *65536 + [y size] |
mov edx,2 ; button id |
mov esi,0x6888B8 ; button color RRGGBB |
mcall 0,<200,370>,<200,295>,0x14FFFFFF,,tlabel |
mcall 8, <36,15>, <88,15>, 2, 0x6888B8 |
.newb: |
mcall |
add ecx,20*65536 |
add ecx,26*65536 |
inc edx |
cmp edx,9 |
jb .newb |
109,7 → 105,7 |
cld |
mov ebx,26*65536+37 ; draw info text with function 4 |
mov ecx,0x000000 |
mov ecx,0x10000000 |
mov edx,text |
mov esi,40 |
116,7 → 112,7 |
mov eax,4 |
.newline: |
mcall |
add ebx,10 |
add ebx,13 |
add edx,40 |
cmp [edx],byte 'x' |
jnz .newline |