GP2Edit - Car bitmaps in crazy colours?

Here you can post questions about GP2, your favourite GP2 things and errorreports/problems!
Post Reply
Jake
GP2 Newbie
Posts: 2
Joined: 03.08.2012, 12:26

GP2Edit - Car bitmaps in crazy colours?

Post by Jake »

Hi guys,

I've got a slight problem with GP2Edit, every time I try to open a car bitmap it somehow ends up in a crazy mix of colours. Here's what is going on:

I've created a livery, and copy/pasted it over what I've just saved from the editor.
Image

It then saves in the required .BMP format, changing colours a little.
Image

It then suddenly does this when I open it in GP2Edit...and I don't know why.
Image

If somebody can point me in the right direction for this it would be much appreciated.

Cheers :)

User avatar
RacerBG
GP2 Pro
Posts: 999
Joined: 09.08.2010, 17:57
Location: Bulgaria

Re: GP2Edit - Car bitmaps in crazy colours?

Post by RacerBG »

There are more than 256 colors in this image. Im sure that you edited it in Windows Vista/7 or just forgot about the GP2 palette.

The easiest way for editing this bitmaps (and the others) is to use IrfanView. There is a option for importing palettes so everythging will be okay. :wink: Also remember to check the number of colors already in your bitmap.

User avatar
rremedio
GP2 Star
Posts: 1416
Joined: 14.01.2007, 15:05

Re: GP2Edit - Car bitmaps in crazy colours?

Post by rremedio »

Or you can use a copy of good old mspaint.exe from Windows XP. That's what I do (too stubborn to leave old habits).
"The Fox provides for himself. but God provides for the Lion" - The Marriage of Heaven and Hell by William Blake

Image

Jake
GP2 Newbie
Posts: 2
Joined: 03.08.2012, 12:26

Re: GP2Edit - Car bitmaps in crazy colours?

Post by Jake »

RacerBG wrote:There are more than 256 colors in this image. Im sure that you edited it in Windows Vista/7 or just forgot about the GP2 palette.

The easiest way for editing this bitmaps (and the others) is to use IrfanView. There is a option for importing palettes so everythging will be okay. :wink: Also remember to check the number of colors already in your bitmap.
I was given a .PAL file which works perfectly when imported into IrfanView. So my cars aren't getting the Hendrix-vomit treatment now...thanks chaps :)

User avatar
AD
GP2 Acc
Posts: 720
Joined: 12.09.2006, 15:02

Re: GP2Edit - Car bitmaps in crazy colours?

Post by AD »

Yes, this was caused by saving in another .bmp format than 256 colors.

Even with Pbrush / Paint, though, you do have to manually select a 256-color bitmap in the "Save As..." dialog, though.
1996 .. 2017 .. 21 years and counting ..

User avatar
rremedio
GP2 Star
Posts: 1416
Joined: 14.01.2007, 15:05

Re: GP2Edit - Car bitmaps in crazy colours?

Post by rremedio »

AD wrote:Yes, this was caused by saving in another .bmp format than 256 colors.

Even with Pbrush / Paint, though, you do have to manually select a 256-color bitmap in the "Save As..." dialog, though.
XP and earlier Mspaint may cause problems even if you select the correct number of colours if you created a new file. But editing on a copy of an existing bitmap never gave me problems and using the "Save as.." dialog too (and always had the correct number of colours automatically sellected).

But W7 paint is troubled even if you do everything right, as it seems to change colours very easily when copying/pasting.
"The Fox provides for himself. but God provides for the Lion" - The Marriage of Heaven and Hell by William Blake

Image

User avatar
AAS
GP2 Star
Posts: 1069
Joined: 08.09.2006, 17:19
Contact:

Re: GP2Edit - Car bitmaps in crazy colours?

Post by AAS »

rremedio wrote:Or you can use a copy of good old mspaint.exe from Windows XP. That's what I do (too stubborn to leave old habits).
Good idea =D>
Works perfect in Windows 8. =D>

User avatar
RacerBG
GP2 Pro
Posts: 999
Joined: 09.08.2010, 17:57
Location: Bulgaria

Re: GP2Edit - Car bitmaps in crazy colours?

Post by RacerBG »

AAS wrote:
rremedio wrote:Or you can use a copy of good old mspaint.exe from Windows XP. That's what I do (too stubborn to leave old habits).
Good idea =D>
Works perfect in Windows 8. =D>
Why you had changed your OS to this mobile device (Windows 8)? This is really poor move from Microsoft. :-"

User avatar
AAS
GP2 Star
Posts: 1069
Joined: 08.09.2006, 17:19
Contact:

Re: GP2Edit - Car bitmaps in crazy colours?

Post by AAS »

RacerBG wrote: Why you had changed your OS to this mobile device (Windows 8)? This is really poor move from Microsoft. :-"
While I was sick in bed, I got this (my first!) laptop.
Windows 8 was also already installed.
With the right settings and tools it looks and feels like xp or vista.
It starts quickly, runs reliably, most games will work fine.

User avatar
rremedio
GP2 Star
Posts: 1416
Joined: 14.01.2007, 15:05

Re: GP2Edit - Car bitmaps in crazy colours?

Post by rremedio »

Most complains I've read about Win8 are about the interface. But I've seen reports of it having a high (near 100%) compatibility with Win7 and running 30% faster when installed on the same computer. So I'm considering a switch.
"The Fox provides for himself. but God provides for the Lion" - The Marriage of Heaven and Hell by William Blake

Image

User avatar
RacerBG
GP2 Pro
Posts: 999
Joined: 09.08.2010, 17:57
Location: Bulgaria

Re: GP2Edit - Car bitmaps in crazy colours?

Post by RacerBG »

Im aware of it's perfomance but it's interface bugs me a lot.

User avatar
AD
GP2 Acc
Posts: 720
Joined: 12.09.2006, 15:02

Re: GP2Edit - Car bitmaps in crazy colours?

Post by AD »

For future reference, I'll just add a quick checklist here for people who want to pursue the IrfanView option, instead of using the trusted, old XP version of Paint to edit. A palette file with the correct settings can be imported into a new picture, once you've created one using an existing image that works. So:
  • open a .bmp file with correct 256x164x8 BPP colours (in doubt, save a .bmp file straight out of a carset in GP2Edit)
  • Image > Palette > Export Palette... (then save the .pal file)
  • copy the bitmap you've edited into IrfanView
  • Image > Palette > Import Palette... (then select the .pal file you've saved previously)
  • Save your new image as a .bmp file.
Alternatively, go the nerdy route, paste this into notepad and name it whateverworks.pal or something like that:

Code: Select all

JASC-PAL
0100
256
151 171 127
19 19 19
27 27 27
35 35 35
43 43 43
51 51 51
59 59 59
67 67 67
75 75 75
83 83 83
91 91 91
99 99 99
107 107 107
115 115 115
123 123 123
131 131 131
139 139 139
147 147 147
155 155 155
163 163 163
167 167 167
175 175 175
183 183 183
191 191 191
199 199 199
207 207 207
215 215 215
223 223 223
231 231 231
239 239 239
247 247 247
255 255 255
75 15 11
87 15 11
99 19 15
107 19 15
119 23 19
131 27 23
143 27 27
155 31 31
163 35 39
175 43 43
187 47 51
199 51 59
211 59 67
223 63 75
231 71 83
243 79 95
139 143 7
151 151 7
159 159 7
167 163 7
175 167 7
179 175 7
187 179 7
195 183 7
203 187 7
211 191 7
219 199 7
227 203 7
235 207 7
239 211 7
247 215 7
255 215 7
83 15 15
91 19 19
99 23 23
107 27 27
115 35 35
123 39 39
127 47 47
135 51 51
143 59 59
151 67 67
159 75 75
167 83 83
175 91 91
183 99 99
191 111 111
199 119 119
203 131 131
211 143 143
219 151 151
227 163 163
83 79 59
87 87 63
95 91 71
99 99 75
107 103 79
111 111 83
119 115 91
123 123 95
131 127 99
135 135 103
143 139 111
147 147 115
155 151 119
159 159 127
167 163 131
171 171 135
179 175 143
183 183 147
191 187 155
195 195 159
63 111 47
67 115 51
71 119 55
75 123 63
79 127 67
83 131 71
87 135 79
91 139 83
99 143 91
103 147 95
107 151 103
115 155 107
119 155 115
127 159 123
131 163 131
139 167 139
147 171 147
155 175 151
163 179 163
171 183 171
91 123 179
95 127 183
103 131 187
107 135 191
111 139 195
115 143 199
123 147 203
127 151 207
135 155 211
139 159 215
147 163 219
151 167 223
159 171 223
163 179 227
171 183 231
179 187 235
183 195 239
191 199 243
199 203 247
203 211 251
15 19 83
19 23 91
23 27 99
27 35 107
35 39 115
39 43 123
47 51 127
51 55 135
59 63 143
67 71 151
75 79 159
83 87 167
91 95 175
99 103 183
111 115 191
119 123 199
131 135 203
143 147 211
151 155 219
163 167 227
47 59 23
55 67 27
67 75 31
75 83 39
83 91 43
95 99 51
103 107 55
115 115 63
123 123 71
131 127 79
139 135 87
147 139 99
83 83 63
95 95 75
111 107 87
127 123 99
139 135 111
155 147 123
167 163 139
183 175 151
199 187 163
211 199 179
135 135 127
139 139 131
143 143 135
147 147 143
151 147 147
151 151 151
155 155 155
159 159 159
31 59 23
35 67 23
35 71 27
39 79 31
47 83 35
51 87 39
55 95 47
59 99 51
67 103 59
71 111 63
79 115 71
83 119 79
91 127 87
99 131 95
107 135 103
115 143 111
123 147 123
131 151 131
143 159 139
151 163 151
65 90 7
68 99 7
65 104 11
67 105 15
73 113 19
76 122 23
79 129 27
82 137 31
88 139 35
91 147 39
97 149 47
101 157 51
107 160 59
115 168 63
122 171 71
130 180 79
136 182 87
143 189 95
154 196 103
161 199 111
19 39 147
99 127 207
143 143 103
135 135 95
123 119 71
51 51 35
7 203 0
7 115 0
255 63 0
199 0 0
255 167 7
219 107 7
163 0 163
163 0 163
163 0 163
163 0 163
163 0 163
163 0 163
163 0 163
163 0 163
163 0 163
255 255 255
1996 .. 2017 .. 21 years and counting ..

Post Reply