macsen rufus
11-12-2007, 14:04
Hi Axel - Although you can run Mithel from the JAR or the BAT, I always use the batch file - this allocates a LOT of memory for the application and ensures it can handle the large map files easily (ie the LUKUPMAP2.LBM). When you first use Mithel, you will need to save a colourtable for future use. The best way to do this is by taking one from a pre-existing map:
a) run the BAT
b) this will open a dos window and your dialog box
c) browse to Mediaeval/textures/campmap
d) open either LUKUPMAP or LUKUPMAP2.LBM - this is the "overlay" map that tells the game where the provinces and borders are (use one from a VI install for an up to date index)
e) then SAVE the colour table (from the top left drop-down menu) - this creates a file called "colortable.ct" and is the only one Mithel will look for. If for any reason you need to make LBMs with a different colour table (like unit icons or pre-battle map images), you will need to manually remove/rename this file, replace it with the one you want, and change it back when you're finished. A small limitation, but one you need to know about!
f) now that you have your colour table saved, you can make your new map, load it into Mithel, then use the LOAD COLOUR TABLE command to ensure your new map has the correct LBM colours indexed. There is also a feature to check the colour table, and also to display the colour table as Caravel mentioned.
I can't really help you with UltimatePaint as I don't actually use it, except to browse LBM images. Personally I am a Photoshop fan, so that's what I use :2thumbsup:
The overall method is slightly different, depending on whether you are editing an existing LUKUP or making a new one from scratch. Either way I work in Photoshop on a 256 colour BMP file. As this is an indexed format you can also save colourtables, but would need to set one up first (either item-by-item, editting each colour by RGB values, or I can send you one :2thumbsup: as you REALLY don't want to enter 256 different sets of RGB values...)
Although PS preserves the colourtable in BMPs, Mithel doesn't load it, so you still need to load the Mithel colourtable once you've opened the file. The down side is that Mithel cannot SAVE to BMP format - so if you want to make a BMP to edit, you'd first need to save it to PNG (not JPG - too lossy), then open this with Photoshop, change mode to indexed and load the correct colour table - this should snap all the colours to the right RGB values. At this point save it as a 256 BMP, and keep it as your reference/working copy. Once you have a BMP of the map as you want it to be, save it and use Mithel to convert to LBM format. You'll need to do some name changes, moving around etc afterwards, but that's basically it.
If you are making a totally new map from LMM then this will output a BMP file for you, so just use that (good as LMM is you will almost certainly need to make some "fine-detail" edits). This will be properly indexed already, so long as you have the VI version of the colourtable for LMM to use..... (again I can let you have one if you go that route). If you are drawing one from scratch, then obviously you create and save it as a BMP.
One further point to confuse you with, as me and Caravel have the exact opposite practices - for my part I always work on the LUKUP (ie smaller version) map, and use this to generate the double sized LUKUP2 version. The reason being that every single pixel blown up becomes four new identical ones - but going the opposite way you risk the graphics prog trying to divide a single pixel into two - this can result in it either removing features (if your image is tightly indexed) or creating new colours (if your image is in RGB mode) unless and I guess this is how Caravel works (but correct me if I'm wrong) you ensure that your minimum line width and pen size is 2 pixels. Again it's just a matter of deciding your method and sticking with it.
:bow:
If you do want to make your Photoshop colour table the hard way, here's an extract from the file I used for LMM:
// **** NEW MAP ****
// Just a palette table, defining -
//
// a) a palette number (0-255)
// b) 3 values (RGB) for the colour associated with the palette number
//
// This palette of RGB colours is used in association with the table
// "LookupTable.txt". The numbers 000 to 255 relate directly to the
// Land/Border colours and the Sea colours defined in "LookupTable.txt".
//
// Note: the values in this table have been extracted from the palette
// contained in the MTW file 'LukMap2.lbm'.
// 001 143,63,63
000 255,0,255
001 0,255,255
002 147,67,67
003 155,71,71
004 163,79,79
005 171,83,83
006 179,91,91
007 187,99,99
008 195,103,103
009 199,111,111
010 207,119,119
011 215,123,123
012 223,131,131
013 231,139,139
014 239,147,147
015 247,155,155
016 123,111,91
017 127,115,95
018 135,123,103
019 143,131,111
020 151,139,119
021 159,143,123
022 167,151,131
023 175,159,139
024 183,167,147
025 187,171,155
026 195,179,163
027 203,183,167
028 211,195,179
029 219,203,187
030 227,211,195
031 235,219,203
032 51,115,23
033 55,119,27
034 63,127,27
035 71,135,35
036 79,143,39
037 87,151,43
038 95,155,47
039 103,163,55
040 115,171,59
041 123,179,67
042 131,187,71
043 143,191,79
044 151,199,83
045 163,207,91
046 171,215,99
047 183,223,107
048 131,0,0
049 139,0,0
050 147,0,0
051 155,0,0
052 163,0,0
053 171,0,0
054 179,0,0
055 187,0,0
056 195,0,0
057 203,0,0
058 211,0,0
059 219,0,0
060 227,0,0
061 235,0,0
062 247,0,0
063 255,0,0
064 27,27,115
065 31,31,123
066 35,35,131
067 43,43,143
068 51,47,151
069 59,55,159
070 67,63,171
071 75,71,179
072 83,79,187
073 91,87,199
074 99,99,207
075 111,107,215
076 119,115,227
077 131,127,235
078 143,139,243
079 155,151,255
080 131,131,35
081 139,139,35
082 147,147,39
083 155,155,39
084 163,163,43
085 171,171,43
086 179,179,47
087 187,187,47
088 195,195,51
089 203,203,55
090 211,211,55
091 219,219,59
092 227,227,59
093 235,235,59
094 247,247,63
095 255,255,67
096 83,67,115
097 91,71,123
098 99,79,131
099 107,87,143
100 115,95,151
101 123,99,159
102 131,107,171
103 139,115,179
104 147,123,187
105 155,131,199
106 163,139,207
107 175,147,215
108 183,155,227
109 191,163,235
110 199,175,243
111 211,183,255
112 135,99,51
113 143,103,55
114 151,111,59
115 159,119,63
116 167,127,67
117 175,135,71
118 183,147,75
119 191,155,79
120 199,163,83
121 207,171,87
122 215,179,91
123 223,187,99
124 231,199,103
125 239,207,107
126 247,215,111
127 255,227,119
128 63,107,63
129 67,111,67
130 75,119,75
131 83,123,83
132 87,131,87
133 95,139,95
134 103,143,103
135 111,151,111
136 119,155,119
137 127,163,127
138 139,171,139
139 147,175,147
140 155,183,155
141 167,187,167
142 175,195,175
143 187,203,187
144 119,67,67
145 123,71,71
146 131,79,79
147 135,83,83
148 143,91,91
149 147,99,99
150 155,107,107
151 159,115,115
152 167,123,123
153 171,131,131
154 179,139,139
155 183,147,147
156 191,159,159
157 199,167,167
158 203,175,175
159 211,187,187
160 107,63,107
161 111,67,111
162 119,75,119
163 127,83,127
164 131,87,131
165 139,95,139
166 147,103,147
167 151,111,151
168 159,119,159
169 167,127,167
170 171,139,171
171 179,147,179
172 187,155,187
173 191,167,191
174 199,175,199
175 207,187,207
176 63,107,107
177 67,111,111
178 75,119,119
179 83,123,123
180 87,131,131
181 95,139,139
182 103,143,143
183 111,151,151
184 119,155,155
185 127,163,163
186 139,171,171
187 147,175,175
188 155,183,183
189 167,187,187
190 175,195,195
191 187,203,203
192 67,67,111
193 71,71,115
194 79,79,123
195 83,83,127
196 91,91,135
197 99,99,139
198 107,107,147
199 115,115,151
200 123,123,159
201 131,131,163
202 139,139,171
203 147,147,175
204 159,159,183
205 167,167,191
206 175,175,195
207 187,187,203
208 171,91,19
209 175,95,23
210 179,99,31
211 187,107,35
212 191,111,43
213 199,119,51
214 203,127,59
215 207,146,67
216 215,139,75
217 219,147,83
218 227,155,91
219 231,163,103
220 235,171,111
221 243,179,119
222 247,183,131
223 255,195,143
224 119,71,51
225 127,75,55
226 135,87,63
227 143,95,71
228 155,103,79
229 163,111,87
230 171,119,95
231 179,131,103
232 191,139,115
233 199,151,123
234 207,159,135
235 219,171,143
236 227,179,155
237 235,191,167
238 243,203,179
239 255,215,191
240 107,107,107
241 115,115,115
242 123,123,123
243 131,131,131
244 139,139,139
245 151,151,151
246 159,159,159
247 167,167,167
248 175,175,175
249 183,183,183
250 195,195,195
251 0,255,255
252 0,255,255
253 0,255,255
254 0,255,255
255 239,239,239
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.