Maybe it is better if I try to explain the tests I did to get a separate menu-graphic.
I'll do this by using a simple station code (just 2 platforms on either side of the track, no extra graphics for the "inbetween" platforms if you use drag&drop).
Code: Select all
10 * 4 01 04 01 04
11 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 10 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 10 40 64 122 -31 -91 normal chunked
12 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 90 40 64 122 -53 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 90 40 64 122 -53 -102 normal chunked
13 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 490 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 490 40 64 122 -31 -91 normal chunked
14 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 570 40 64 122 -9 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 570 40 64 122 -9 -102 normal chunked
15 * 62 00 04 02 01 00 08 "QC01" 09 02
F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
16 * 7 02 04 00 00 01 00 00
17 * 7 02 04 01 00 01 00 00
18 * 10 03 04 01 00 01 FE 01 00 00 00
19 * 37 04 48 FF 01 00 C5 "PLATFORM, no extra menugraphic" 00
20 * 26 04 48 FF 01 00 C4 "CargoStations: TEST" 00
If this eventually works, then I may be able to "translate" that into a cargo-aware station...
The various results look like this and after that I will show each code and differences I made for each test:
- Example378.png (121.46 KiB) Viewed 13074 times
The top one is the result when using the code without extra separate menugraphics.
*Test-1:
Code: Select all
21 * 4 01 04 01 04
22 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 10 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 10 40 64 122 -31 -91 normal chunked
23 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 90 40 64 122 -53 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 90 40 64 122 -53 -102 normal chunked
24 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 490 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 490 40 64 122 -31 -91 normal chunked
25 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 570 40 64 122 -9 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 570 40 64 122 -9 -102 normal chunked
//!!Warning (97): Set 00 defined by the previous Action 1 (sprite 21) has not been used.
26 * 4 01 04 01 02
27 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2250 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2250 12 64 46 -31 -15 normal chunked
28 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2330 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2330 12 64 46 -31 -15 normal chunked
29 * 62 00 04 02 01 01 08 "QC01" 09 02
F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
30 * 7 02 04 00 00 01 00 00
31 * 7 02 04 01 00 01 00 00
32 * 10 03 04 01 01 01 FE 01 00 00 00
33 * 36 04 48 FF 01 01 C5 "PLATFORM, menugraphic test 01" 00
34 * 26 04 48 FF 01 01 C4 "CargoStations: TEST" 00
I added the menugraphics by adding an extra Action-1
As you can see, NFOrenum gives a warning and indeed the ingame graphics are completely wrong
*Test-2:
Code: Select all
35 * 4 01 04 01 04
36 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 10 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 10 40 64 122 -31 -91 normal chunked
37 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 90 40 64 122 -53 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 90 40 64 122 -53 -102 normal chunked
38 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 490 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 490 40 64 122 -31 -91 normal chunked
39 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 570 40 64 122 -9 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 570 40 64 122 -9 -102 normal chunked
40 * 7 02 04 00 00 01 00 00
41 * 4 01 04 01 02
42 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2250 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2250 12 64 46 -31 -15 normal chunked
43 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2330 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2330 12 64 46 -31 -15 normal chunked
44 * 7 02 04 01 00 01 00 00
45 * 62 00 04 02 01 02 08 "QC01" 09 02
F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
46 * 10 03 04 01 02 01 FE 01 00 00 00
47 * 36 04 48 FF 01 02 C5 "PLATFORM, menugraphic test 02" 00
48 * 26 04 48 FF 01 02 C4 "CargoStations: TEST" 00
Placing the Action-2s after each Action-1 got rid of the NFOrenum warning.
Now the ingame graphics show up in the menu and the actual ingame graphics are a mess..
*Test-3:
Code: Select all
49 * 4 01 04 01 04
50 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 10 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 10 40 64 122 -31 -91 normal chunked
51 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 90 40 64 122 -53 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 90 40 64 122 -53 -102 normal chunked
52 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 490 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 490 40 64 122 -31 -91 normal chunked
53 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 570 40 64 122 -9 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 570 40 64 122 -9 -102 normal chunked
54 * 7 02 04 00 00 01 00 00
55 * 4 01 04 01 02
56 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2250 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2250 12 64 46 -31 -15 normal chunked
57 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2330 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2330 12 64 46 -31 -15 normal chunked
58 * 7 02 04 01 00 01 00 00
59 * 62 00 04 02 01 03 08 "QC01" 09 02
F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
60 * 10 03 04 01 03 01 FE 00 00 01 00
61 * 36 04 48 FF 01 03 C5 "PLATFORM, menugraphic test 03" 00
62 * 26 04 48 FF 01 03 C4 "CargoStations: TEST" 00
I switched ID-01 and ID-00 in the Action-3.
Now the right graphics show up ingame, but the menugraphics are messed up..
*Test-4:
Code: Select all
63 * 4 01 04 01 04
64 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 10 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 10 40 64 122 -31 -91 normal chunked
65 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 90 40 64 122 -53 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 90 40 64 122 -53 -102 normal chunked
66 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 490 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 490 40 64 122 -31 -91 normal chunked
67 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 570 40 64 122 -9 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 570 40 64 122 -9 -102 normal chunked
68 * 7 02 04 00 00 01 00 00
69 * 4 01 04 01 02
70 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2250 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2250 12 64 46 -31 -15 normal chunked
71 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2330 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2330 12 64 46 -31 -15 normal chunked
72 * 7 02 04 01 00 01 00 00
73 * 72 00 04 02 01 04 08 "QC01" 09 04
F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
31 04 00 80 80
32 04 00 80 80
74 * 10 03 04 01 04 01 FE 00 00 01 00
75 * 36 04 48 FF 01 04 C5 "PLATFORM, menugraphic test 04" 00
76 * 26 04 48 FF 01 04 C4 "CargoStations: TEST" 00
I added what I believe is the right code for getting menugraphics used via the spritesorter (so added that into Property-09 in the Action-0)
Everything is completely messed up...
*Test 5:
Code: Select all
77 * 4 01 04 01 04
78 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 10 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 10 40 64 122 -31 -91 normal chunked
79 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 90 40 64 122 -53 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 90 40 64 122 -53 -102 normal chunked
80 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 490 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 490 40 64 122 -31 -91 normal chunked
81 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 570 40 64 122 -9 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 570 40 64 122 -9 -102 normal chunked
82 * 7 02 04 00 00 01 00 00
83 * 4 01 04 01 02
84 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2250 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2250 12 64 46 -31 -15 normal chunked
85 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2330 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2330 12 64 46 -31 -15 normal chunked
86 * 7 02 04 01 00 01 00 00
87 * 72 00 04 02 01 05 08 "QC01" 09 04
F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
31 04 00 80 80
32 04 00 80 80
88 * 10 03 04 01 05 01 FE 01 00 00 00
89 * 36 04 48 FF 01 05 C5 "PLATFORM, menugraphic test 05" 00
90 * 26 04 48 FF 01 05 C4 "CargoStations: TEST" 00
I switched ID-01 and ID-00 back again, in the Action-3.
Now I get the right graphics in the menu!! But... ingame graphics still messed up...
I now wanted to try something else
*Test-6:
Code: Select all
91 * 4 01 04 01 06
92 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 10 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 10 40 64 122 -31 -91 normal chunked
93 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 90 40 64 122 -53 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 90 40 64 122 -53 -102 normal chunked
94 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 490 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 490 40 64 122 -31 -91 normal chunked
95 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 570 40 64 122 -9 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 570 40 64 122 -9 -102 normal chunked
96 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2250 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2250 12 64 46 -31 -15 normal chunked
97 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2330 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2330 12 64 46 -31 -15 normal chunked
98 * 62 00 04 02 01 06 08 "QC01" 09 02
F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
99 * 7 02 04 00 00 01 00 00
100 * 7 02 04 01 00 01 00 00
101 * 10 03 04 01 06 01 FE 01 00 00 00
102 * 36 04 48 FF 01 06 C5 "PLATFORM, menugraphic test 06" 00
103 * 26 04 48 FF 01 06 C4 "CargoStations: TEST" 00
I went back to the original code and added the menugraphics into the Action-1 (so just one Action-1)
Nothing happened, logical, as I just added some graphicspaths into Action-1, but I dont refer to those in the rest of the code.
So, next test.
*Test-7:
Code: Select all
104 * 4 01 04 01 06
105 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 10 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 10 40 64 122 -31 -91 normal chunked
106 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 90 40 64 122 -53 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 90 40 64 122 -53 -102 normal chunked
107 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 490 40 64 122 -31 -91 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 490 40 64 122 -31 -91 normal chunked
108 c:/grfcodec603/auzstations/gfx/template_regularplatform_8bpp_EMPTY.png 8bpp 570 40 64 122 -9 -102 normal chunked
| c:/grfcodec603/auzstations/gfx/template_regularplatform_32bpp.png 32bpp 570 40 64 122 -9 -102 normal chunked
109 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2250 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2250 12 64 46 -31 -15 normal chunked
110 c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_8bpp_EMPTY.png 8bpp 2330 12 64 46 -31 -15 normal chunked
| c:/grfcodec603/auzstations/gfx/template_rpa_7x7_2_32bpp.png 32bpp 2330 12 64 46 -31 -15 normal chunked
111 * 72 00 04 02 01 07 08 "QC01" 09 04
F4 03 00 00 00 00 00 10 05 03 2D 04 00 00 00 0B 00 10 05 03 2E 04 00 00 80
F3 03 00 00 00 00 00 05 10 03 2F 04 00 00 0B 00 00 05 10 03 30 04 00 00 80
31 04 00 80 80
32 04 00 80 80
112 * 7 02 04 00 00 01 00 00
113 * 7 02 04 01 00 01 00 00
114 * 10 03 04 01 07 01 FE 01 00 00 00
115 * 36 04 48 FF 01 07 C5 "PLATFORM, menugraphic test 07" 00
116 * 26 04 48 FF 01 07 C4 "CargoStations: TEST" 00
I added what I believe is the right code for getting menugraphics used via the spritesorter (so added that into Property-09 in the Action-0).
Again I get the right graphics in the menu, but ingame graphics are still messed up.
This is how far I got at the moment...
Test-5 and Test-7 are closest I think to the right result. I believe that I am just missing something that tells the spritesorter what graphics should be where ingame.
Either via extra Action-2s or extra properties in Action-0, or both....
Test-7 is even closer, as this happens when building a station using drag&drop (top one Test-5, bottom Test-7):
- Example379.png (62.8 KiB) Viewed 13074 times
So, can anyone help me to the right direction?
Is adding an extra Action-1 the way to go? Or should I just add the menu graphics in the Action-1 that already is there?
And then, what more is needed (Action-2s and/or properties Action-0)??