Skip to content

Commit a07ff25

Browse files
authored
Remove unimplemented switches
1 parent fd0c456 commit a07ff25

File tree

1 file changed

+47
-49
lines changed

1 file changed

+47
-49
lines changed

src/main.c

Lines changed: 47 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -32,61 +32,59 @@ int _fltused;
3232
#define VERSION "1.2.0.0"
3333

3434
const char *g_helpString = ""
35-
"DS Texture Converter command line utility version " VERSION "\n"
36-
"\n"
37-
"Usage: ptexconv <option...> image [option...]\n"
38-
"\n"
39-
"Global options:\n"
40-
" -gb Generate BG (default)\n"
41-
" -gt Generate texture\n"
42-
" -o Specify output base name\n"
43-
" -ob Output binary (default)\n"
44-
" -oc Output as C header file\n"
45-
" -d <n> Use dithering of n% (default 0%)\n"
46-
" -cm <n> Limit palette colors to n, regardless of bit depth\n"
47-
" -s Silent\n"
48-
" -h Display help text\n"
49-
"\n"
50-
"BG Options:\n"
51-
" -b <n> Specify output bit depth {4, 8}\n"
52-
" -p <n> Use n palettes in output (Only valid for 4bpp)\n"
53-
" -pb <n> Use palette base index n (Only valid for 4bpp)\n"
54-
" -cc <n> Compress characters to a maximum of n (default is 1024)\n"
55-
" -cn No character compression\n"
56-
" -ns Do not output screen data\n"
57-
" -od Output as DIB (disables character compression)\n"
58-
" -nx No tile flip X\n"
59-
" -ny No tile flip Y\n"
60-
"\n"
61-
"Texture Options:\n"
62-
" -f Specify format {palette4, palette16, palette256, a3i5, a5i3, tex4x4, direct}\n"
63-
" -ot Output as NNS TGA\n"
64-
" -fp Specify fixed palette file\n\n"
35+
"DS Texture Converter command line utility version " VERSION "\n"
36+
"\n"
37+
"Usage: ptexconv <option...> image [option...]\n"
38+
"\n"
39+
"Global options:\n"
40+
" -gb Generate BG (default)\n"
41+
" -gt Generate texture\n"
42+
" -o Specify output base name\n"
43+
" -ob Output binary (default)\n"
44+
" -oc Output as C header file\n"
45+
" -d <n> Use dithering of n% (default 0%)\n"
46+
" -cm <n> Limit palette colors to n, regardless of bit depth\n"
47+
" -s Silent\n"
48+
" -h Display help text\n"
49+
"\n"
50+
"BG Options:\n"
51+
" -b <n> Specify output bit depth {4, 8}\n"
52+
" -p <n> Use n palettes in output (Only valid for 4bpp)\n"
53+
" -pb <n> Use palette base index n (Only valid for 4bpp)\n"
54+
" -cc <n> Compress characters to a maximum of n (default is 1024)\n"
55+
" -cn No character compression\n"
56+
" -ns Do not output screen data\n"
57+
" -od Output as DIB (disables character compression)\n"
58+
"\n"
59+
"Texture Options:\n"
60+
" -f Specify format {palette4, palette16, palette256, a3i5, a5i3, tex4x4, direct}\n"
61+
" -ot Output as NNS TGA\n"
62+
" -fp Specify fixed palette file\n\n"
6563
"";
6664

6765
const char *texHeader = ""
68-
"///////////////////////////////////////\n"
69-
"// \n"
70-
"// %s\n"
71-
"// Generated %d/%d/%d %d:%02d %cM\n"
72-
"// Format: %s\n"
73-
"// Colors: %d\n"
74-
"// Size: %dx%d\n"
75-
"// \n"
76-
"///////////////////////////////////////\n\n"
66+
"///////////////////////////////////////\n"
67+
"// \n"
68+
"// %s\n"
69+
"// Generated %d/%d/%d %d:%02d %cM\n"
70+
"// Format: %s\n"
71+
"// Colors: %d\n"
72+
"// Size: %dx%d\n"
73+
"// \n"
74+
"///////////////////////////////////////\n\n"
7775
"";
7876

7977
const char *bgHeader = ""
80-
"///////////////////////////////////////\n"
81-
"// \n"
82-
"// %s\n"
83-
"// Generated %d/%d/%d %d:%02d %cM\n"
84-
"// Bit depth: %d\n"
85-
"// Palettes: %d\n"
86-
"// Palette base: %d\n"
87-
"// Size: %dx%d\n"
88-
"// \n"
89-
"///////////////////////////////////////\n\n"
78+
"///////////////////////////////////////\n"
79+
"// \n"
80+
"// %s\n"
81+
"// Generated %d/%d/%d %d:%02d %cM\n"
82+
"// Bit depth: %d\n"
83+
"// Palettes: %d\n"
84+
"// Palette base: %d\n"
85+
"// Size: %dx%d\n"
86+
"// \n"
87+
"///////////////////////////////////////\n\n"
9088
"";
9189

9290
void getDate(int *month, int *day, int *year, int *hour, int *minute, int *am) {

0 commit comments

Comments
 (0)