-
Notifications
You must be signed in to change notification settings - Fork 9
/
dxPmdxConverter.rc
146 lines (137 loc) · 9.23 KB
/
dxPmdxConverter.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
#include "resource.h"
#include "afxres.h"
IDI_MYICON1 ICON "wnds32.ico"
1 24 "dxPmdxConverter.manifest"
STRINGTABLE
MOVEABLE PURE LOADONCALL DISCARDABLE
BEGIN
IDS_SUCCESS, "Success"
IDS_SUCMSG, "Conversion was successful."
IDS_ERROR, "Error"
IDS_WARNING, "Warning"
IDS_WARNMSG, "Convert performed \nwith minor errors.\nSee the log for details."
IDS_TOTALTIME, "Total time of conversion: %ld ms."
IDS_ERROPENREAD, "The file can not be opened for reading."
IDS_ERRWRONGFORMAT, "Wrong input file format."
IDS_ERRMEMALLOC, "Could not allocate enough memory."
IDS_ERRWRONGREAD, "Read count error. Bad file?"
IDS_ERROPENWRITE, "The file can not be opened for writing."
IDS_STA_WAITFILE, "Waiting for file"
IDS_STA_READING, "Reading input file"
IDS_STA_WRMATER, "Writing output: Materials"
IDS_STA_WRVERTEX, "Writing output vertexes"
IDS_STA_WRFACES, "Writing output: Faces"
IDS_STA_CONVEND, "Converting completed"
IDS_STA_MATNOTEX, "Texture file does not exists:"
IDS_STA_TEXCONVERT, "Converting textures from BMP to PNG:"
IDS_STA_SPH, "Dynamic texture. Will be displayed incorrectly:"
IDS_STA_ARCHIVEEND, "Archiving completed"
END
IDD_MAINDIALOG DIALOG MOVEABLE PURE LOADONCALL DISCARDABLE 0,0,260,125
STYLE DS_FIXEDSYS|DS_SETFONT|DS_CENTER|WS_POPUP|WS_VISIBLE|WS_SYSMENU|WS_CAPTION
EXSTYLE WS_EX_CONTEXTHELP|WS_EX_ACCEPTFILES
CAPTION "dxPmdxConverter 1.1"
FONT 8, "Ms Shell Dlg"
BEGIN
CONTROL "Input file:",IDC_STATIC,"STATIC",SS_LEFT|WS_CHILD|WS_GROUP|WS_VISIBLE ,5,7,35,8
CONTROL "Please, choose a file...",IDC_INPUTEDIT,"EDIT",ES_READONLY|ES_LEFT|WS_CHILD|WS_BORDER|WS_TABSTOP|WS_VISIBLE|WS_DISABLED ,40,5,160,14
CONTROL "Choose",IDC_CHOOSEBUTTON,"BUTTON",BS_DEFPUSHBUTTON|BS_VCENTER|BS_CENTER|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,205,5,50,14
CONTROL "Output:",IDC_STATIC,"STATIC",SS_LEFT|WS_CHILD|WS_GROUP|WS_VISIBLE ,5,24,24,8
CONTROL "OBJ",IDC_RADIOOBJ,"BUTTON",BS_AUTORADIOBUTTON|BS_LEFT|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,40,24,27,10
CONTROL "MQO",IDC_RADIOMQO,"BUTTON",BS_AUTORADIOBUTTON|BS_LEFT|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,70,24,27,10
CONTROL "BMP->PNG",IDC_TEXCONVERT,"BUTTON",BS_AUTOCHECKBOX|BS_LEFT|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,105,25,48,8
CONTROL "TGZ",IDC_DOARCHIVE,"BUTTON",BS_AUTOCHECKBOX|BS_LEFT|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,162,25,28,8
CONTROL "",IDC_COMBOPREC,"COMBOBOX",CBS_DROPDOWNLIST|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,230,23,24,13
CONTROL "Precision:",IDC_STATIC,"STATIC",SS_LEFT|WS_CHILD|WS_GROUP|WS_VISIBLE ,195,25,30,8
CONTROL "",IDC_PROGRESSBAR,"msctls_progress32",WS_CHILD|WS_VISIBLE ,5,39,194,16
CONTROL "Convert",IDC_CONVERTBUTTON,"BUTTON",BS_DEFPUSHBUTTON|BS_VCENTER|BS_CENTER|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,205,39,50,16
CONTROL "",IDC_LOGRICH,"RichEdit",WS_CHILD|WS_BORDER|WS_VSCROLL|WS_TABSTOP|WS_VISIBLE|0x844,5,59,250,61
END
IDD_ABOUTDIALOG DIALOG MOVEABLE PURE LOADONCALL DISCARDABLE 0, 0, 189, 151
STYLE DS_FIXEDSYS |DS_SETFONT |DS_MODALFRAME |DS_CENTER |WS_POPUP |WS_VISIBLE |WS_SYSMENU |WS_CAPTION
CAPTION "About"
FONT 8, "Ms Shell Dlg"
BEGIN
CONTROL "dxPmdxConverter",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,43,4,140,8
CONTROL "Simple PMD/PMX to OBJ/MQO converter.",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,43,15,140,8
CONTROL "Icon",IDC_ICONPIC,"STATIC",SS_REALSIZEIMAGE |SS_CENTERIMAGE |SS_ICON |WS_CHILD |WS_VISIBLE ,5,8,32,32
CONTROL "Author: Dmitry Hrabrov a.k.a. DeXPeriX",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,43,25,140,8
CONTROL "https://github.com/DeXP/dxPmdxConverter",IDC_GITLINK,"STATIC",SS_NOTIFY |SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,43,36,140,8
CONTROL "Q: Do I need 'BMP->PNG' checked on?",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,52,177,8
CONTROL "A: This option may fix some transparency issues.",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,63,177,8
CONTROL "Q: What is 'TGZ'? Results archiever?",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,79,177,8
CONTROL "A: Tar.gz archive. Can be opened in 7-Zip etc.",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,89,177,8
CONTROL "Q: What is 'Precision'?",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,105,177,8
CONTROL "A: The number of decimal places.",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,115,177,8
CONTROL "Made especially for:",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,131,125,8
CONTROL "http://OneMangaDay.dexp.in/tutorials/",IDC_TUTLINK,"STATIC",SS_NOTIFY |SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,141,125,8
CONTROL "OK",IDC_AOKBUT,"BUTTON",BS_DEFPUSHBUTTON |BS_VCENTER |BS_CENTER |WS_CHILD |WS_TABSTOP |WS_VISIBLE ,135,131,50,14
END
LANGUAGE LANG_RUSSIAN, 1
STRINGTABLE
MOVEABLE PURE LOADONCALL DISCARDABLE
BEGIN
IDS_SUCCESS, "Óñïåõ"
IDS_SUCMSG, "Êîíâåðòèðîâàíèå ïðîøëî óñïåøíî."
IDS_ERROR, "Îøèáêà"
IDS_WARNING, "Ïðåäóïðåæäåíèå"
IDS_WARNMSG, "Êîíâåðòèðîâàíèå âûïîëíåíî ñ\níåçíà÷èòåëüíûìè îøèáêàìè.\nÑì. ëîã äëÿ ïîäðîáíîñòåé."
IDS_TOTALTIME, "Îáùåå âðåìÿ êîíâåðòèðîâàíèÿ: %ld ìñ."
IDS_ERROPENREAD, "Íåâîçìîæíî îòêðûòü ôàéë äëÿ ÷òåíèÿ."
IDS_ERRWRONGFORMAT, "Äàííûé ôîðìàò âõîäíîãî ôàéëà íå ïîääåðæèâàåòñÿ."
IDS_ERRMEMALLOC, "Íå óäàëîñü âûäåëèòü äîñòàòî÷íî ïàìÿòè."
IDS_ERRWRONGREAD, "Îøèáêà ÷òåíèÿ. Ïëîõîé ôàéë?"
IDS_ERROPENWRITE, "Íåâîçìîæíî îòêðûòü ôàéë äëÿ çàïèñè."
IDS_STA_WAITFILE, "Îæèäàíèå ôàéëà"
IDS_STA_READING, "×òåíèå âõîäíîãî ôàéëà"
IDS_STA_WRMATER, "Çàïèñü: Ìàòåðèàëû"
IDS_STA_WRVERTEX, "Çàïèñü ãåîìåòðèè"
IDS_STA_WRFACES, "Çàïèñü: èíäåêñû"
IDS_STA_CONVEND, "Êîíâåðòèðîâàíèå çàâåðøåíî"
IDS_STA_MATNOTEX, "Ôàéë òåêñòóðû íå ñóùåñòâóåò:"
IDS_STA_TEXCONVERT, "Êîíâåðòèðîâàíèå òåêñòóð èç BMP â PNG:"
IDS_STA_SPH, "Äèíàìè÷åñêèå òåêñòóðû. Áóäóò îòîáðàæåíû íåêîððåêòíî:"
IDS_STA_ARCHIVEEND, "Àðõèâèðîâàíèå çàâåðøåíî"
END
LANGUAGE LANG_RUSSIAN, 1
IDD_MAINDIALOG DIALOG MOVEABLE PURE LOADONCALL DISCARDABLE 0, 0, 260, 125
STYLE DS_FIXEDSYS|DS_SETFONT|DS_CENTER|WS_POPUP|WS_VISIBLE|WS_SYSMENU|WS_CAPTION
EXSTYLE WS_EX_CONTEXTHELP|WS_EX_ACCEPTFILES
CAPTION "dxPmdxConverter 1.1"
FONT 8, "Ms Shell Dlg"
BEGIN
CONTROL "Íà âõîäå:",IDC_STATIC,"STATIC",SS_LEFT|WS_CHILD|WS_GROUP|WS_VISIBLE ,5,7,35,8
CONTROL "Ïîæàëóéñòà, âûáåðèòå ôàéë...",IDC_INPUTEDIT,"EDIT",ES_READONLY|ES_LEFT|WS_CHILD|WS_BORDER|WS_TABSTOP|WS_VISIBLE|WS_DISABLED ,41,5,159,14
CONTROL "Âûáðàòü",IDC_CHOOSEBUTTON,"BUTTON",BS_DEFPUSHBUTTON|BS_VCENTER|BS_CENTER|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,205,5,50,14
CONTROL "Ôîðìàò:",IDC_STATIC,"STATIC",SS_LEFT|WS_CHILD|WS_GROUP|WS_VISIBLE ,5,25,30,8
CONTROL "OBJ",IDC_RADIOOBJ,"BUTTON",BS_AUTORADIOBUTTON|BS_LEFT|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,40,25,27,8
CONTROL "MQO",IDC_RADIOMQO,"BUTTON",BS_AUTORADIOBUTTON|BS_LEFT|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,70,25,27,8
CONTROL "BMP->PNG",IDC_TEXCONVERT,"BUTTON",BS_AUTOCHECKBOX|BS_LEFT|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,105,25,48,8
CONTROL "TGZ",IDC_DOARCHIVE,"BUTTON",BS_AUTOCHECKBOX|BS_LEFT|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,162,25,28,8
CONTROL "",IDC_COMBOPREC,"COMBOBOX",CBS_DROPDOWNLIST|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,230,23,24,13
CONTROL "Òî÷íîñòü:",IDC_STATIC,"STATIC",SS_LEFT|WS_CHILD|WS_GROUP|WS_VISIBLE ,193,25,34,8
CONTROL "",IDC_PROGRESSBAR,"msctls_progress32",WS_CHILD|WS_VISIBLE ,5,39,194,16
CONTROL "Âûïîëíèòü",IDC_CONVERTBUTTON,"BUTTON",BS_DEFPUSHBUTTON|BS_VCENTER|BS_CENTER|WS_CHILD|WS_TABSTOP|WS_VISIBLE ,205,39,50,16
CONTROL "",IDC_LOGRICH,"RichEdit",WS_CHILD|WS_BORDER|WS_VSCROLL|WS_TABSTOP|WS_VISIBLE|0x844,5,59,250,61
END
LANGUAGE LANG_RUSSIAN, 1
IDD_ABOUTDIALOG DIALOG MOVEABLE PURE LOADONCALL DISCARDABLE 0, 0, 189, 151
STYLE DS_FIXEDSYS |DS_SETFONT |DS_MODALFRAME |DS_CENTER |WS_POPUP |WS_VISIBLE |WS_SYSMENU |WS_CAPTION
CAPTION "Î ïðîãðàììå"
FONT 8, "Ms Shell Dlg"
BEGIN
CONTROL "dxPmdxConverter",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,43,4,140,8
CONTROL "Êîíâåðòåð PMD/PMX â OBJ/MQO.",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,43,15,140,8
CONTROL "Icon",IDC_ICONPIC,"STATIC",SS_REALSIZEIMAGE |SS_CENTERIMAGE |SS_ICON |WS_CHILD |WS_VISIBLE ,5,8,32,32
CONTROL "Àâòîð: Õðàáðîâ Äìèòðèé a.k.a. DeXPeriX",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,43,25,140,8
CONTROL "https://github.com/DeXP/dxPmdxConverter",IDC_GITLINK,"STATIC",SS_NOTIFY |SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,43,36,140,8
CONTROL "Â: Êîãäà âêëþ÷àòü êîíâåðòèðîâàíèå 'BMP->PNG'?",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,52,177,8
CONTROL "A: Êîãäà åñòü ïðîáëåìû ñ ïðîçðà÷íîñòüþ òåêñòóð.",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,63,177,8
CONTROL "Q: ×òî òàêîå 'TGZ'? Àðõèâàòîð ðåçóëüòàòà?",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,79,177,8
CONTROL "A: Tar.gz àðõèâ. Ìîæåò áûòü îòêðûò 7-Zip è ò.ä.",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,89,177,8
CONTROL "Q: ×òî òàêîå 'Òî÷íîñòü'?",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,105,177,8
CONTROL "A: Êîëè÷åñòâî çíàêîâ ïîñëå çàïÿòîé.",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,115,177,8
CONTROL "Ñäåëàíî ñïåöèàëüíî äëÿ:",IDC_STATIC,"STATIC",SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,131,125,8
CONTROL "http://OneMangaDay.dexp.in/tutorials/",IDC_TUTLINK,"STATIC",SS_NOTIFY |SS_LEFT |WS_CHILD |WS_GROUP |WS_VISIBLE ,5,141,125,8
CONTROL "OK",IDC_AOKBUT,"BUTTON",BS_DEFPUSHBUTTON |BS_VCENTER |BS_CENTER |WS_CHILD |WS_TABSTOP |WS_VISIBLE ,135,131,50,14
END