-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDetails-HOW-TO.cpp
More file actions
137 lines (94 loc) · 3.72 KB
/
Details-HOW-TO.cpp
File metadata and controls
137 lines (94 loc) · 3.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
TO-DO: Window/Menus
ControlBarScheme
Intro Map
** Mapped Images: will be searched only within a "MappedImages" or "INI" folder
** Experience Points Window: layout is only in GeneralsExpPoint.wnd; images are, eg:
GeneralsPowerMenu_China
Defined in: SCPurchasePowers512.INI
Found at: Data\INI\MappedImages\TextureSize_512
* These are loaded from Data/English/Art/Textures
----
Button Bevel/Emboss preset (Photoshop settings)
Style: Inner Bevel; Technique: Smooth
Depth: 80%
Direction: UpdateSize: 10px; Soften: 0px;
Angle: 127 deg; Use Global Light [x]
Altitude: 37 deg; Rest = default
// SCHEME TO SVG
--- General Info
Commandbar texture size: 4096 x 1024
ImagePart rect size: 3840 x 714
Image entries defined in: \Data\INI\MappedImages\HandCreated\HandCreatedMappedImages.INI
Eg: InGameUIGLABase
@ ControlBarScheme.ini
/* ImagePart
Position X:0 Y:1260
Size X:3839 Y:900
*/
@ HandCreatedMappedImages.INI
/* MappedImage InGameUIGLABase
Texture = SUCommandBar.tga
TextureWidth = 4096
TextureHeight = 1024
Coords = Left:0 Top:123 Right:3839 Bottom:1023 ;;Notice that Size Y = Bottom - Top
Status = NONE
End
*/
--- Commandline commands:
# Generate SVG
python scheme_to_svg.py --generate --scheme GLA8x6 --scheme-file INI/ControlBarScheme.ini
# Update Scheme from SVG
python scheme_to_svg.py --update --svg GLA8x6_scheme_NEW.svg --scheme GLA8x6 --scheme-file INI/ControlBarScheme.ini
python scheme_to_svg.py --updatenew --svg GLA8x6_scheme.svg --scheme America8x6 --scheme-file INI/ControlBarScheme.ini //outputs: ControlBarScheme_updated.ini
// WND to SVG
# Generate SVG from WND
python wnd_to_svg.py GenPowersShortcutBarUS.wnd --ini SAControlBar512.INI
python wnd_to_svg.py GeneralsExpPoints.wnd
(Defaults to MappedImages and Art/Textures).
1182 x 1293
# Generate WND back from SVG
python wnd_to_svg.py <file.wnd> --update --svg <file.svg> //-updatenew outputs a new file
python wnd_to_svg.py GenPowersShortcutBarUS.wnd --update --svg GenPowersShortcutBarUS_NEW.svg
python wnd_to_svg.py GeneralsExpPoints_NEW.wnd --update --svg GeneralsExpPoints_NEW.svg
python wnd_to_svg.py GeneralsExpPoints_labeled.wnd --update --svg GeneralsExpPoints_NEW.svg
python wnd_to_svg.py ControlBar.wnd --updatenew --svg ControlBar_NEW.svg
----
** Updated Files:
Data/INI/ControBarScheme.ini // Fullscreen: Screensize and main button placement, *factions
Window/ControlBar.wnd // Center-bottom: Controlbar item placement (*factions)
Window/GenPowersShortcutBarUS.wnd // Center-Right: powers shortcut bar
Window/GeneralsExpPoints.wnd // Center: Generals Points purchase panel
> Window/GenPowersShortcutBarChina.wnd
> Window/GenPowersShortcutBarGLA.wnd
> Window/GenPowersShortcutBarUS.wnd
> Window\ReplayControl.wnd
MapSelectMenu.wnd
MultiplayerLoadScreen.wnd | Mp_Loaduserinterface_00b.tga
GameInfoWindow.wnd
LanLobbyMenu.wnd
--
> Window\ControlBarPopupDescription.wnd
> Window\Diplomacy.wnd
> Window\InGameChat.wnd
> Window\DisconnectScreen.wnd
> Window\MessageBox.wnd
> Window\PopupBuddyListNotification.wnd
> Window\QuitMessageBox.wnd
> Window\QuitNoSave.wnd
! Window\Menu\SkirmishGameOptionsMenu.wnd
! Window\Menu\LanGameOptionsMenu.wnd
window\menus\lanmapselectmenu.wnd
window\menus\mapselectmenu.wnd
window\menus\skirmishmapselectmenu.wnd
---
Data\INI\HandCreatedMappedImages.INI
MappedImage MainMenuRuler { Texture = MainMenuRuleruserinterface.tga }
---
** Boss ProUI commandbar texture:
Ref Screen Resolution (4k) = 3840 x 2160
1.2 width x 0.9 height
** Gadget Parent Size (Black BG): 3434 x 1844 [@ 201 x 160]
Opt: 3432 x 1844 [@ 206 x 160]
"Line" Width = 3410
Blue BG tweak: Hue -25, Saturation -12
3840 x 697 out of 4096 x 1024 (texture size)