Author Topic: Graphics and palettes  (Read 465 times)

0 Members and 1 Guest are viewing this topic.

Offline Kanchelskis

  • YSoccer team graphic
  • RES
  • *
  • Posts: 67
Graphics and palettes
« on: 08 January 2018, 16:08:38 »
Hi there,
I could manage to edit some sprites to have a Boca/Sampdoria shirt style using the hooped one.
Then, forcing with an HEX editor the team data files, I've found that going ahead the usual ten main colours, SWOS uses some transparencies and grays and skin colours.
Do you know in which file the pal information of the sprites are stored? It could be fine to add some colours (purple and pink) replacing gray and using the other gray..
Hope someone can help me  :P

Offline zlatko

  • TRIAL
  • Posts: 8
Re: Graphics and palettes
« Reply #1 on: 10 May 2018, 00:51:54 »
Palettes are contained within the executable. There are many tables all over the place, depending on what you wish to do.
Each player sprite undergoes color conversion before the game. They have 16 colors in total, of which 4 can be custom. Colors get changed in the following manner:
Code: [Select]

 0 - \
 1 - +- no change
 2 - |
 3 - /
 4 - skin color (dark shade)
 5 - skin color (middle shade)
 6 - skin color (light shade)
 7 - changed to zero
 8 - no change
 9 - hair color (middle shade)
10 - basic shirt color
11 - shirt stripes color (gets exchanged with 10 in case of vertical stripes)
12 - hair color (dark shade)
13 - hair color (light shade)
14 - shorts color
15 - socks color

(0 = transparent)
« Last Edit: 11 May 2018, 01:03:49 by zlatko »