Opened 14 months ago
Closed 11 months ago
#15797 closed defect (fixed)
M4: RIDDLE: Wrong palette for inventory etc.
| Reported by: | eriktorbjorn | Owned by: | Strangerke |
|---|---|---|---|
| Priority: | normal | Component: | Engine: M4 |
| Version: | Keywords: | ||
| Cc: | Game: | Riddle of Master Lu |
Description (last modified by )
Attachments (3)
Change History (9)
by , 14 months ago
| Attachment: | riddle_000.png added |
|---|
by , 14 months ago
| Attachment: | scummvm-riddle-1-00000.png added |
|---|
comment:1 by , 14 months ago
| Description: | modified (diff) |
|---|
comment:2 by , 12 months ago
by , 11 months ago
| Attachment: | scummvm-riddle-00001.png added |
|---|
comment:3 by , 11 months ago
I think it may simply be that we're setting up the wrong palette in engines/m4/riddle/gui/interface.cpp, the Interface::set_interface_palette() function. I tried capturing what palette DOSBox got (so it may be slightly off), and ended up with this instead:
gr_pal_set_RGB8(&myPalette[0], 0, 0, 0); gr_pal_set_RGB8(&myPalette[1], 0, 0, 0); gr_pal_set_RGB8(&myPalette[2], 36, 36, 36); gr_pal_set_RGB8(&myPalette[3], 69, 73, 69); gr_pal_set_RGB8(&myPalette[4], 101, 105, 101); gr_pal_set_RGB8(&myPalette[5], 130, 134, 130); gr_pal_set_RGB8(&myPalette[6], 162, 170, 162); gr_pal_set_RGB8(&myPalette[7], 199, 215, 207); gr_pal_set_RGB8(&myPalette[8], 235, 247, 231); gr_pal_set_RGB8(&myPalette[9], 130, 101, 60); gr_pal_set_RGB8(&myPalette[10], 142, 113, 73); gr_pal_set_RGB8(&myPalette[11], 154, 125, 89); gr_pal_set_RGB8(&myPalette[12], 166, 142, 105); gr_pal_set_RGB8(&myPalette[13], 174, 130, 113); gr_pal_set_RGB8(&myPalette[14], 199, 154, 130); gr_pal_set_RGB8(&myPalette[15], 227, 182, 142); gr_pal_set_RGB8(&myPalette[16], 255, 215, 158); gr_pal_set_RGB8(&myPalette[17], 97, 24, 36); gr_pal_set_RGB8(&myPalette[18], 81, 16, 24); gr_pal_set_RGB8(&myPalette[19], 69, 8, 16); gr_pal_set_RGB8(&myPalette[20], 56, 4, 12);
Which produced the following screenshot:
Which still isn't quite right. The "HANDLING STICK" text is still drawn in the wrong color. But it's a lot closer, at least.
comment:4 by , 11 months ago
Partially fixed in commit 7fcdfc21ea5d63eca2e0bbbb905d1a24ba378b16
But the text is similarly too dark
comment:6 by , 11 months ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.




Still happens on Debian daily build 480f3405, with the English version.