Skinning HowTo/Revert 1.20 to a Classic look/ja

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

このページは1.20以前のビューア状態へと1.20のビューアのXMLとビューアアートワークを戻すためのものです。あなたがクラシックビューアルックを再構築を完了するのに必要な、いくつかのステップがあります。*ノート* これは進行中の作業です。改定履歴を見ましょう。あなたが素早く簡単な手段をとりたいなら、ページの最下までスキップして、ファイルを取りましょう。

Classic Skin for 1.20

改定履歴

  • McCabe Maxsted 06:59, 12 April 2008 (PDT) : 四角に丸いボタン表示が表示するのを修正。アートワークパッケージの消失ファイルをアップデート。
  • McCabe Maxsted 03:43, 12 April 2008 (PDT) : colors.xmlのパーセルと時間の色を修正。

XMLファイルの編集

都合のいいことに、私はここに必要なアップデートされたXMLファイルをアップロードしていました。しかしながら、あなたが自身で変更したい場合は、ここに変更する必要のあるファイルとパラメータがあります。

colors.xml

このファイルはビューアの大部分の色を操作します。<settings version = "101">と</settings>の間に以下をコピーペーストします。

<!-- WINDOWS -->
<TitleBarFocusColor value="255, 255, 255, 30" />	<!-- Focused window title bar highlight, no equivalent for unfocused windows -->
<FloaterFocusBorderColor value="0, 0, 0, 80" />
<FloaterUnfocusBorderColor value="0, 0, 0, 80" />
<FocusBackgroundColor value="62, 62, 62, 255" />	<!-- Background color of focused floaters -->
<DefaultBackgroundColor value="62, 62, 62, 140" />	<!-- Background color for unfocused floaters -->
<ColorDropShadow value="0, 0, 0, 200" />		<!-- The drop shadow behind windows and menus -->
<DefaultHighlightDark value="26, 26, 26, 255" />
<DefaultHighlightLight value="115, 132, 155, 255" />
<DefaultShadowDark value="26, 26, 26, 255" />
<DefaultShadowLight value="0, 0, 0, 255" />

<!-- LABELS -->
<LabelDisabledColor value="147, 169, 213, 77" />
<LabelSelectedColor value="255, 255, 255, 255" />
<LabelSelectedDisabledColor value="164, 190, 237, 128" />
<LabelTextColor value="147, 169, 213, 255" />

<!-- BUTTONS -->
<ButtonLabelColor value="220, 220, 220, 255" /> 	<!-- Text labels for buttons, like the "OK" text -->
<ButtonLabelSelectedColor value="220, 220, 220, 255" />
<ButtonLabelDisabledColor value="147, 169, 213, 200" />
<ButtonLabelSelectedDisabledColor value="164, 190, 237, 200" />
<ButtonSelectedBgColor value="62, 62, 62, 255" />
<ButtonSelectedColor value="255, 255, 255, 255" />
<ButtonUnselectedBgColor value="62, 62, 62, 255" />
<ButtonUnselectedFgColor value="255, 255, 255, 255" />
<ButtonBorderColor value="239, 156, 0, 255" />
<ButtonColor value="255, 255, 255, 255" /> 		<!-- Blended with button art, usually left as opaque white -->
<ButtonImageColor value="255, 255, 255, 255" /> 	<!-- Blended with button art, usually left as opaque white -->

<!-- SLIDERS -->
<SliderDisabledThumbColor value="0, 0, 0, 255" />
<SliderThumbCenterColor value="183, 184, 188, 255" />
<SliderThumbOutlineColor value="0, 0, 0, 255" />
<SliderTrackColor value="30, 30, 30, 255" />

<!-- TEXTFIELDS -->
<TextBgFocusColor value="200, 209, 204, 255" />		<!-- Text field background when receiving input (focused) -->
<TextBgReadOnlyColor value="62, 62, 62, 160" />	        <!-- Text field background when read-only -->
<TextBgWriteableColor value="200, 209, 204, 230" />	<!-- Text field background when not receiving input (unfocused) -->
<TextCursorColor value="0, 0, 0, 255" />
<TextFgColor value="0, 0, 0, 255" />
<TextFgReadOnlyColor value="255, 255, 255, 200" />
<TextFgTentativeColor value="0, 0, 0, 255" />
<TextEmbeddedItemReadOnlyColor value="58, 147, 242, 255" />	<!-- i.e. About Land name that you don't own -->
<TextEmbeddedItemColor value="0, 0, 128, 255" />
<TextDefaultColor value="0, 20, 0, 255"/>
  
<!-- LISTBOXES -->
<ScrollBgReadOnlyColor value="200, 209, 204, 255" />
<ScrollBgWriteableColor value="200, 209, 204, 255" />
<ScrollBGStripeColor value="100, 100, 100, 40" />
<ScrollDisabledColor value="128, 128, 128, 204" />
<ScrollSelectedBGColor value="100, 100, 188, 150" />
<ScrollSelectedFGColor value="0, 0, 0, 204" />	            <!-- Text color -->
<ScrollUnselectedColor value="0, 0, 0, 204" />	            <!-- Text color -->
<ScrollHighlightedColor value="183, 184, 188, 128" />	    <!-- Hover color -->
<ScrollbarThumbColor value="60, 76, 124, 255" />
<ScrollbarTrackColor value="153, 154, 158, 255" />

<!-- MENUS -->
<MenuBarBgColor value="62, 62, 62, 255" />
<MenuBarGodBgColor value="62, 128, 62, 255" />
<MenuNonProductionGodBgColor value="0, 128, 0, 255" />
<MenuNonProductionBgColor value="128, 0, 0, 255" />
<MenuDefaultBgColor value="0, 0, 0, 255" />
<MenuItemDisabledColor value="133, 133, 164, 128" />        <!-- Menu text color; also text color for pie menus and treeviews (like Inventory) -->
<MenuItemEnabledColor value="255, 255, 255, 255" />         <!-- Menu text color; also text color for pie menus and treeviews (like Inventory) -->
<MenuItemHighlightBgColor value="183, 184, 188, 100" />
<MenuItemHighlightFgColor value="255, 255, 255, 255" />	    <!-- Highlighted menu text color; also treeview node selection highlight -->
<MenuPopupBgColor value="0, 0, 0, 255" />

<!--  PIE MENUS -->
<PieMenuBgColor value="62, 62, 62, 150" />
<PieMenuLineColor value="0, 0, 0, 128" />
<PieMenuSelectedColor value="183, 184, 188, 77" />

<!-- TOOLTIPS -->
<ToolTipBgColor value="183, 184, 188, 200" />
<ToolTipBorderColor value="171, 212, 245, 255" />
<ToolTipTextColor value="0, 0, 0, 255" />

<!-- NOTIFICATION POP-UPS -->
<NotifyBoxColor value="58, 147, 242, 255" />
<NotifyTextColor value="0, 0, 0, 255" />
<NotifyCautionBoxColor value="254, 209, 118, 255" /> 	<!-- the background color of caution permissions prompts -->
<NotifyCautionWarnColor value="0, 0, 0, 255" /> 	<!-- the foreground color of the special title text in caution permissions prompts -->
<GroupNotifyBoxColor value="70, 170, 255, 255" />
<GroupNotifyTextColor value="0, 30, 60, 255" />

<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->
<ChatHistoryBgColor value="0, 0, 0, 0" />
<ChatHistoryTextColor value="255, 255, 255, 255" />
<IMHistoryBgColor value="0, 30, 80, 200" />
<IMHistoryTextColor value="255, 255, 255, 255" />

<!-- IN-WORLD SELECTION -->
<SilhouetteParentColor value="255, 255, 0, 255" />
<SilhouetteChildColor value="32, 106, 196, 255" />
<HighlightParentColor value="171, 212, 245, 255" />
<HighlightChildColor value="171, 212, 245, 255" />
<HighlightInspectColor value="255, 0, 255, 255" />

<!-- EDIT MODE GRID -->
<GridFocusPointColor value="255, 255, 255, 128" />
<GridlineColor value="255, 255, 255, 255" />
<GridlineBGColor value="235, 235, 255, 200" />
<GridlineShadowColor value="0, 0, 0, 80" />

<!-- PROPERTY LINES -->
<PropertyColorAvail value="0, 0, 0, 0" />
<PropertyColorGroup value="0, 184, 184, 102" />
<PropertyColorOther value="255, 0, 0, 102" />
<PropertyColorSelf value="0, 255, 0, 102" />
<PropertyColorForSale value="255, 128, 0, 102" />
<PropertyColorAuction value="128, 0, 255, 102" />	<!-- Match the color on the world map -->

<!-- MINI-MAP -->
<NetMapBackgroundColor value="0, 0, 0, 77" />
<NetMapYouOwnAboveWater value="0, 255, 255, 255" />
<NetMapYouOwnBelowWater value="0, 200, 200, 255" />
<NetMapGroupOwnAboveWater value="255, 0, 255, 255" />
<NetMapGroupOwnBelowWater value="200, 0, 200, 255" />
<NetMapOtherOwnAboveWater value="60, 60, 60, 255" />
<NetMapOtherOwnBelowWater value="30, 30, 30, 255" />

<!-- HELP WINDOW -->
<HelpBgColor value="200, 209, 204, 255" />
<HelpFgColor value="0, 0, 0, 255" />
<HelpScrollTrackColor value="183, 184, 188, 255" />
<HelpScrollThumbColor value="80, 96, 124, 255" />
<HelpScrollHighlightColor value="115, 132, 155, 255" />
<HelpScrollShadowColor value="0, 0, 0, 255" />

<!-- MISC -->
<AvatarNameColor value="251, 175, 93, 255" /> 		<!-- Text color of avatar nametags -->
<FocusColor value="239, 156, 0, 255" /> 		<!-- Color of the glow around UI controls with keyboard focus -->
<FloaterButtonImageColor value="239, 156, 0, 255" /> 	<!-- The floater buttons (like the close box) are white images that receive this color. -->
<ButtonCautionImageColor value="255, 255,  255, 255" />	<!-- Match the caution dialog buttons to the default -->
<HealthTextColor value="255, 255, 255, 255" />
<MapAutopilotColor value="255, 128, 0, 255" />
<ContextSilhouetteColor value="239, 156, 0, 255" />	<!-- For "context" highlighting, i.e. pie menu -->
<ScriptBgReadOnlyColor value="100, 100, 100, 255" />
<ParcelTextColor value="144, 165, 208, 255" />		<!-- Parcel name on menu bar, normal state -->
<ParcelHoverColor value="255, 255, 255, 255" />		<!-- Parcel name on menu bar, hover state -->
<TimeTextColor value="255, 255, 255, 255" />		<!-- SL Time on menu bar -->
<BalanceTextColor value="0, 255, 0, 255" />		<!-- Linden dollar balance on menu bar -->
<HealthTextColor value="255, 255, 255, 255" />		<!-- Damage meter text on menu bar -->
<GroupOverTierColor value="110, 15, 15, 255" />		<!-- Warning text in Group Info window -->
<FilterBackgroundColor value="0, 0, 20, 255" />         <!-- Matching region of Inventory search text -->
<FilterTextColor value="255, 200, 70, 255" />
<InventoryItemSuffixColor value="120, 70, 55, 255" />
<InventorySearchStatusColor value="0, 0, 0, 255" />
<ConsoleBackground value="0, 0, 0, 255" />

<!-- Alert box colors -->
<AlertBoxColor value="62, 62, 62, 255" />
<AlertTextColor value="147, 169, 213, 255" />
<AlertCautionBoxColor value="254, 209, 118, 255" />	<!-- Background color of caution alerts -->
<AlertCautionTextColor value="0, 0, 0, 255" />		<!-- Foreground color of the special title text in caution alerts -->

textures.xml

このファイルは手が込んでいて、そのままいれてもDazzleグラフィック以前ではうまく動きません。(colors.xmlの変更と潰れて(不恰好)しまったボタンのアートワークを入れ替えます)1.20以前のボタン形状に戻すには、textures.xmlファイルを編集して以下のとおりに変えます。

以下のscale_rectの値を<scale_rect left="12" top="15" right="112" bottom="13" />に変えます。

button_disabled_32x128.tga
button_enabled_32x128.tga
button_enabled_selected_32x128.tga

以下のscale_rectの値を<scale_rect left="13" top="32" right="105" bottom="0" />に変えます。

toolbar_btn_enabled.tga
toolbar_btn_disabled.tga
toolbar_btn_selected.tga

以下のscale_rectの値を<scale_rect left="0" top="32" right="32" bottom="0" />に変えます。

flyout_btn_right.tga
flyout_btn_right_disabled.tga
flyout_btn_right_selected.tga

以下のscale_rectの値を<scale_rect left="6" top="12" right="122" bottom="2" />に変えます。

flyout_btn_left.tga
flyout_btn_left_disabled.tga
flyout_btn_left_selected.tga

floater_tools.xml

作成アイコンの大きさを変えたら、あなたがこのtools.xmlファイル内の、レイアウトをかえるために必要なクラシックアイコンを使います。SecondLifeReleaseCandidate\skins\xui\[Language]フォルダに移動し、floater_tools.xml内の< !-- Create panel -- >と< !-- Land panel -- >の間を全て削除します。そしてこれと置き換えます。

	<button bottom="-75" follows="left|top" font="SansSerif" halign="center" height="24"
	     image_disabled="object_cube.tga"
	     image_disabled_selected="object_cube_active.tga"
	     image_selected="object_cube_active.tga" image_unselected="object_cube.tga"
	     label="" label_selected="" left="4" mouse_opaque="true" name="ToolCube"
	     scale_image="TRUE" width="24" tool_tip="Cube"/>
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_prism.tga"
	     image_disabled_selected="object_prism_active.tga"
	     image_selected="object_prism_active.tga"
	     image_unselected="object_prism.tga" label="" label_selected=""
	     left_delta="23" mouse_opaque="true" name="ToolPrism" scale_image="TRUE"
        tool_tip="Prism" width="24" />
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_pyramid.tga"
	     image_disabled_selected="object_pyramid_active.tga"
	     image_selected="object_pyramid_active.tga"
	     image_unselected="object_pyramid.tga" label="" label_selected=""
	     left_delta="23" mouse_opaque="true" name="ToolPyramid" scale_image="TRUE"
 tool_tip="Pyramid" width="24" />
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_tetrahedron.tga"
	     image_disabled_selected="object_tetrahedron_active.tga"
	     image_selected="object_tetrahedron_active.tga"
	     image_unselected="object_tetrahedron.tga" label="" label_selected=""
	     left_delta="23" mouse_opaque="true" name="ToolTetrahedron"
	     scale_image="TRUE" tool_tip="Tetrahedron" width="24" />
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_cylinder.tga"
	     image_disabled_selected="object_cylinder_active.tga"
	     image_selected="object_cylinder_active.tga"
	     image_unselected="object_cylinder.tga" label="" label_selected=""
	     left_delta="23" mouse_opaque="true" tool_tip="Cylinder" name="ToolCylinder" scale_image="TRUE"
	     width="24" />
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_hemi_cylinder.tga"
	     image_disabled_selected="object_hemi_cylinder_active.tga"
	     image_selected="object_hemi_cylinder_active.tga"
	     image_unselected="object_hemi_cylinder.tga" label="" label_selected=""
	     left_delta="23" mouse_opaque="true" name="ToolHemiCylinder"
	     scale_image="TRUE" tool_tip="Hemicylinder" width="24" />
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_cone.tga"
	     image_disabled_selected="object_cone_active.tga"
	     image_selected="object_cone_active.tga" image_unselected="object_cone.tga"
	     label="" label_selected="" left_delta="23" mouse_opaque="true"
	     name="ToolCone" scale_image="TRUE" tool_tip="Cone" width="24" />
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_hemi_cone.tga"
	     image_disabled_selected="object_hemi_cone_active.tga"
	     image_selected="object_hemi_cone_active.tga"
	     image_unselected="object_hemi_cone.tga" label="" label_selected=""
	     left_delta="23" mouse_opaque="true" name="ToolHemiCone" scale_image="TRUE"
      tool_tip="Hemicone" width="24" />
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_sphere.tga"
	     image_disabled_selected="object_sphere_active.tga"
	     image_selected="object_sphere_active.tga"
	     image_unselected="object_sphere.tga" label="" label_selected=""
	     left_delta="23" mouse_opaque="true" name="ToolSphere" scale_image="TRUE"
	     width="24" tool_tip="Sphere" />
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_hemi_sphere.tga"
	     image_disabled_selected="object_hemi_sphere_active.tga"
	     image_selected="object_hemi_sphere_active.tga"
	     image_unselected="object_hemi_sphere.tga" label="" label_selected=""
	     left_delta="23" mouse_opaque="true" name="ToolHemiSphere"
	     scale_image="TRUE" tool_tip="Hemisphere" width="24" />
	<button bottom_delta="-23" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_torus.tga"
	     image_disabled_selected="object_torus_active.tga"
	     image_selected="object_torus_active.tga"
	     image_unselected="object_torus.tga" label="" label_selected="" left="4"
	     mouse_opaque="true" name="ToolTorus" scale_image="TRUE" tool_tip="Torus" width="24" />
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_tube.tga"
	     image_disabled_selected="object_tube_active.tga"
	     image_selected="object_tube_active.tga" image_unselected="object_tube.tga"
	     label="" label_selected="" left_delta="23" mouse_opaque="true"
	     name="ToolTube" scale_image="TRUE" tool_tip="Tube" width="24" />
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_ring.tga"
	     image_disabled_selected="object_ring_active.tga"
	     image_selected="object_ring_active.tga" image_unselected="object_ring.tga"
	     label="" label_selected="" left_delta="23" mouse_opaque="true"
	     name="ToolRing" scale_image="TRUE" tool_tip="Ring" width="24" />
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_tree.tga"
	     image_disabled_selected="object_tree_active.tga"
	     image_selected="object_tree_active.tga" image_unselected="object_tree.tga"
	     label="" label_selected="" left_delta="23" mouse_opaque="true"
	     name="ToolTree" scale_image="TRUE" tool_tip="Tree" width="24" />
	<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
	     height="24" image_disabled="object_grass.tga"
	     image_disabled_selected="object_grass_active.tga"
	     image_selected="object_grass_active.tga"
	     image_unselected="object_grass.tga" label="" label_selected=""
	     left_delta="23" mouse_opaque="true" name="ToolGrass" scale_image="TRUE"
	     tool_tip="Grass" width="24" />
	<check_box bottom="-117" control_name="CreateToolKeepSelected" follows="left|top"
	     font="SansSerifSmall" height="16" initial_value="false"
	     label="Keep Tool Selected" left="4" mouse_opaque="true"
	     name="checkbox sticky" width="128" />
	<check_box bottom_delta="-15" control_name="CreateToolCopySelection" follows="left|top"
	     font="SansSerifSmall" height="16" initial_value="false"
	     label="Copy Selection" left_delta="0" mouse_opaque="true"
	     name="checkbox copy selection" width="134" />
	<check_box bottom_delta="-15" control_name="CreateToolCopyCenters" follows="left|top"
	     font="SansSerifSmall" height="16" initial_value="true" label="Center Copy"
	     left_delta="20" mouse_opaque="true" name="checkbox copy centers"
	     width="134" />
	<check_box bottom_delta="-15" control_name="CreateToolCopyRotates" follows="left|top"
	     font="SansSerifSmall" height="16" initial_value="false" label="Rotate Copy"
	     left_delta="0" mouse_opaque="true" name="checkbox copy rotates" width="134" />

私はen-us版を使っていることに注意してください。ほかの言語では、上記と同じ値を使っている、言語フォルダ内のfloater_tools.xmlを編集します。

ビューアアートワーク

最初から始める

ビューアアートワークのほとんどはソースの流用です。Source_archiveに向かって、1.9.1.4 アートワークファイルをダウンロードします。linden\indra\newview\skins\texturesで、.tgaか.j2c (Jpeg2000ファイル)の両方のクラシックスキン用の過半数のアートワークファイルを見つけるでしょう。全てがUUIDで命名されており、textures.xmlの中でそれらの項目と一致する、適切なファイル名で名称変更する必要があるでしょう。(これには長い時間を要するはずです。あなたが名称変更する必要のある316のファイルがあります。)あなたがUUIDファイル名で使用しようとして、textures.xmlをUUIDで編集する場合、動かないでしょう。

ほとんどのファイルは、.tgaに変換される必要もまたあります。

16d032e8-817b-4368-8a4e-b7b947ae3889.j2c から tab_top_selected_blue.tga
1ed83f57-41cf-4052-a3b4-2e8bb78d8191.j2c から tab_top_blue.tga
1097dcb3-aef9-8152-f471-431d840ea89e.j2c から tab_left.tga
bea77041-5835-1661-f298-47e2d32b7a70.j2c から tab_left_selected.tga
bf0a8779-689b-48c3-bb9a-6af546366ef4.j2c から tab_bottom_blue.tga
c001d8fd-a869-4b6f-86a1-fdcb106df9c7.j2c から tab_bottom_selected_blue.tga
d8faf8cb-ee6e-b0b5-abd9-bde873ad3461.j2c から toolbar_btn_enabled.tga
f8124d60-2875-c358-7847-2acb63e5400c.j2c から toolbar_btn_disabled.tga
1eddba75-b682-110a-104e-6cdcce616a25.j2c から toolbar_btn_selected.tga

ツールバーのヘルプアイコンは読み込みで決めうちされています。テクスチャフォルダから以下を削除します。

icn_toolbar_build.tga
icn_toolbar_fly.tga
icn_toolbar_inventory.tga
icn_toolbar_map.tga
icn_toolbar_minimap.tga
icn_toolbar_search.tga
icn_toolbar_snapshot.tga

これらのファイルは正確には表示されず、16x16に縮められるはずです。

ptt_lock_off.tga
ptt_lock_on.tga

これらのファイルはあなた自身で作る必要があります。

toolbar_tab.tga
flyout_btn_left.tga
flyout_btn_left_selected.tga
flyout_btn_left_disabled.tga
flyout_btn_right_disabled.tga

flyout_but_leftsが128x24か確かめます。

クラシックアートワークファイルのダウンロード

このステップを飛ばしたいなら(私はそうすることをお勧めします)、私はあなたのために全ビューアアートワークを名称変更して、zipファイルで添付しました。ここからダウンロード可能です。

インストールする

一度あなたは上記のリンクされたXMLとアートワークファイルをダウンロードするか、自身で作ったら、インストールは簡単です。あなたのスキンとapp_settings フォルダをバックアップして、次を行います。

  • \SecondLifeReleaseCandidate\app_settings\ に colors.xml をコピーします。
  • \SecondLifeReleaseCandidate\skins\xui\[Language] を floater_tools.xml にコピーします。
  • \SecondLifeReleaseCandidate\skins\textures から 全icn_toolbar_* ファイルを削除します。
  • \SecondLifeReleaseCandidate\skins\textures に textures.xml をコピーします。
  • \SecondLifeReleaseCandidate\skins\textures (be sure to "Replace all") に全アートワークをコピーします。
  • Second Lifeを再起動します。

おめでとう、あなたは今Dazzleでクラシックスキンです。

既知の問題

  • スクロールバーのコーナの丸めが欠けています。
  • ログインページはしばらくDazzleの背景を表示します。