Main Site | Forum | Rules | Downloads | Wiki | Features | Podcast

NLSC Forum

All issues regarding FshEd and the EA Graphics Editor. This section has been locked as support for EAGE and FshEd has basically been discontinued.
Topic locked

Problems using the import wizard and other stuff

Wed Apr 16, 2003 1:01 am

Hi, everyone. I hope Brien or someone else could help me with these.

I was making an updated jersey for NBA Live 2000 and almost everything worked fine. Unfortunely some numbers are badly distorted after using the wizard.

Someone said that you can't mess with the numbers and we have to use a jersey file with similar numbers to avoid it but not every custom jersey uses similar numbers and colors of NBA teams.

I made some tests and here is something I figured out:
- At least one of the graphics had its palette read in another pattern.
I read all RGB values from the colors on the palette of the BMP graphic (the one I was trying to put in the FSH file) and the RGB values in the resultant SHPI image and noticed the following pattern: every color was read like it was GBR or GBRA.
Examples:
The first color was R:1 G:0 B:0 O:0 (where O stands for opacity). The result was R:0 G:1 B:0 O:255.
Other color was R:10 G:5 B:0 O:0. The result was R:0 G:10 B:5 O:255
The blue color was lost every time or produced an opacity value different than 0.
When I try to change any color on the resultant palette every color changes too.

- Some images are imported with another kind of distortion. If the first color was the same as the example above and the resultant color would appear three or four slots dislocated but with the same configuration as the resultant color above. Any change using the Palette Workbench would have the same results described above.

After trying using different formats of graphics I used another tool for handling FSH files and I was able to find that the resultant images use the general palette instead of the BMP original palette.

Anyway, I'd like some help here and if anyone wants to, I could send the files I'm mentioning.

Finally, does someone know a software or graphic format that use the "BGRA" palette?

Thanks

airr@uol.com.br

Re: Problems using the import wizard and other stuff

Thu Apr 17, 2003 5:28 am

Alex Italo wrote:
After trying using different formats of graphics I used another tool for handling FSH files and I was able to find that the resultant images use the general palette instead of the BMP original palette.


Finally, does someone know a software or graphic format that use the "BGRA" palette?

Thanks


The windows Bitmap (bmp) is stored in the manner you describe "BGRA".

Unfortunately, the "A" is not really opacity, it was originally designated as "reserved". So, 99% of paint programs will set this value to zero (0) without asking you. For some time I would use EAGE to create opacity in the palette, but when I save the 8bpp image to file, I kept losing the transparency information.

There is no good workaround for this.... until now. I am creating a new app the will create 8bpp images from RGB images. If you supply an alpha channel, the program will transfer that information to the palettte as well. It will be saved directly to a fsh palette, thus, never being stored as a bmp.

Other paint programs can save palette information to a file. For example, you can do that in Paint Shop Pro. Paint Shop also allows you to work with paletted images. I have an older version of Adobe Photoshop, it does not work well with palettes, maybe the newer versions do.

Sorry if I didn't answer your question...
Topic locked