Upload from upload_mods.ps1

This commit is contained in:
Nathaniel Cosford
2025-06-04 16:13:24 +09:30
commit 148805dbfc
16 changed files with 556 additions and 0 deletions

45
Config/Localization.txt Normal file
View File

@@ -0,0 +1,45 @@
Key,File,Type,UsedInMainMenu,NoTranslate,english,Context / Alternate Text,german,latam,french,italian,japanese,koreana,polish,brazilian,russian,turkish,schinese,tchinese,spanish
quartzSettingGeneral,UI,Menu,x,,General
quartzSettingGeneralTooltip,UI,Menu,x,,General settings for Quartz
quartzSettingDebug,UI,Menu,x,,Debug
quartzSettingDebugTooltip,UI,Menu,x,,Debugging settings for Quartz
quartzSettingTextResolution,UI,Menu,x,,Text Resolution
quartzSettingTextResolutionTooltip,UI,Menu,x,,"Sets the Text resolution. If set to high, may cause flickering of the UI every so often"
quartzSettingDebugMode,UI,Menu,x,,Debug Mode
quartzSettingDebugModeTooltip,UI,Menu,x,,Enables or disable Quartz debug mode
quartzSettingKeybinding,UI,Menu,x,,Key Bindings
quartzSettingInputInventoryKeybindingTooltip,UI,Menu,x,,Inventory Player Key Bindings
quartzSettingInputLockedSlots,UI,Menu,x,,Lock Slots
quartzSettingInputLockedSlotsTooltip,UI,Menu,x,,Locks or Unlocks inventory slot when the slot is clicked on
quartzSettingInputMinimapKeybindingTooltip,UI,Menu,x,,Minimap Player Key Bindings
quartzSettingInputMinimapToggle,UI,Menu,x,,Toggle Minimap
quartzSettingInputMinimapToggleTooltip,UI,Menu,x,,Toggle the minimap on or off
quartzSettingInputMinimapZoomIn,UI,Menu,x,,Zoom In
quartzSettingInputMinimapZoomIn2,UI,Menu,x,,Minimap Zoom In
quartzSettingInputMinimapZoomInTooltip,UI,Menu,x,,Zooms in on the minimap
quartzSettingInputMinimapZoomOut,UI,Menu,x,,Zoom Out
quartzSettingInputMinimapZoomOut2,UI,Menu,x,,Minimap Zoom Out
quartzSettingInputMinimapZoomOutTooltip,UI,Menu,x,,Zooms out on the minimap
quartzSettingMinimap,UI,Menu,x,,Minimap
quartzSettingMinimapTooltip,UI,Menu,x,,Settings related to the minimap. Only applies for UI mods that use's Quartz' minimap backend
quartzSettingMinimapShow,UI,Menu,x,,Show Minimap
quartzSettingMinimapShowTooltip,UI,Menu,x,,Shows or hides the minimap if there is a minimap in the ingame UI
quartzSettingMinimapIconsShow,UI,Menu,x,,Show Minimap Icons
quartzSettingMinimapIconsShowTooltip,UI,Menu,x,,Show or hide the minimap icons
quartzSettingMinimapTextShow,UI,Menu,x,,Show Icon Names
quartzSettingMinimapTextShowTooltip,UI,Menu,x,,Show or Hide the icons Names on the minimap
quartzSettingMinimapIconsOnlyShow,UI,Menu,x,,Show Minimap Only Icons
quartzSettingMinimapIconsOnlyShowTooltip,UI,Menu,x,,Show or Hide minimap only icons, these icons only show up on the minimap and not on the main map
quartzSettingMinimapRotateWithPlayer,UI,Menu,x,,Rotate With View
quartzSettingMinimapRotateWithPlayerTooltip,UI,Menu,x,,Rotates the minimap to follow the player's view, so the player is always facing to the top of the minimap
quartzSettingMinimapIconScale,UI,Menu,x,,Minimap Icons Scale
quartzSettingMinimapIconScaleTooltip,UI,Menu,x,,Adjusts the scale of the icons on the minimap
quartzSettingMinimapIconOpacity,UI,Menu,x,,Minimap Icon Opacity
quartzSettingMinimapIconOpacityTooltip,UI,Menu,x,,Adjusts the opacity of the icons on the minimap
quartzSettingMinimapTextureOpacity,UI,Menu,x,,Minimap Texture Opacity
quartzSettingMinimapTextureOpacityTooltip,UI,Menu,x,,Adjusts the minimap texture opacity
quartzUiSpriteWindowHeader,UI,Menu,x,,UIAtlas Sprites
quartzXuiExport,UI,Menu,x,,Export Sprites
quartzXuiExplorer,UI,Menu,x,,Open Export Folder
quartzTooltipShowModSprites,UI,Menu,x,,Switch to show modded UIAtlas sprites

22
Config/XUi/windows.xml Normal file
View File

@@ -0,0 +1,22 @@
<Quartz name="XUi/windows.xml">
<!--/*Copyright 2022 Christopher Beda
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.*/-->
<!-- Crispness Fix -->
<setattribute xpath="/windows/window[@name='chatoutput']//textlist[@name='txtOutput']" name="crispness">OnDesktop</setattribute>
<setattribute xpath="/windows/window[@name='chat']//textfield[@name='txtInput']" name="crispness">OnDesktop</setattribute>
</Quartz>

View File

@@ -0,0 +1,32 @@
<Quartz name="XUi_Common/controls.xml">
<!--/*Copyright 2022 Christopher Beda
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.*/-->
<!-- Crispness Fix -->
<setattribute xpath="/controls/textfield[@crispness='Never']" name="crispness">OnDesktop</setattribute>
<!-- UiAtlas Entry-->
<append xpath="/controls">
<Quartz_UiAtlas_Entry>
<rect depth="1" height="${height}" width="${width}" style="hover" disabled_font_color="[disabledLabelColor]" enabled_font_color="[labelColor]" controller="${controller}" visible="{hasentry}">
<sprite depth="3" name="backgroundMain" sprite="menu_empty2px" height="${1+height}" pos="2,0" width="${width-4}" color="[black]" type="sliced" fillcenter="false" />
<sprite depth="2" name="background" color="[darkGrey]" pos="2,0" width="${width-4}" type="sliced" />
<sprite depth="4" name="sprite" pos="10,-5" width="100" height="100" sprite="{sprite}" type="simple" />
<label depth="4" name="spriteName" pos="120,-10" width="${width-130}" height="32" text="{spriteName}" font_size="16" justify="left" pivot="topleft" overflow="ResizeHeight"/>
</rect>
</Quartz_UiAtlas_Entry>
</append>
</Quartz>

View File

@@ -0,0 +1,64 @@
<Quartz name="XUi_Common/styles.xml">
<!--/*Copyright 2022 Christopher Beda
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.*/-->
<append xpath="/styles">
<Fonts type="Fonts" name="NGUIFonts">
</Fonts>
<Fonts type="Fonts" name="UnityFonts">
</Fonts>
<Fonts type="Fonts" name="OSFonts">
</Fonts>
</append>
<append xpath="/styles/global">
<!-- QuartzUI GLOBAL colors. -->
<style_entry name="quartz_scrollbar_background" value="0,0,0" /> <!-- This entry sets the color for: GLOBAL Scrollview scrollbar background -->
<style_entry name="quartz_scrollbar_background_hover" value="7,7,7" /> <!-- This entry sets the color for: GLOBAL Scrollview scrollbar background hover (mouseover) -->
<style_entry name="quartz_scrollbar_handler" value="128,128,128" /> <!-- This entry sets the color for: GLOBAL Scrollview scrollbar handler -->
<style_entry name="quartz_scrollbar_handler_hover" value="255,255,255" /> <!-- This entry sets the color for: GLOBAL Scrollview scrollbar handler hover (mouseover) -->
</append>
<!-- Views default styles-->
<append xpath="/styles">
<style type="curvedlabel">
<style_entry name="color" value="[labelColor]"/>
<style_entry name="font_face" value="ReferenceFont"/>
<style_entry name="font_size" value="28"/>
<style_entry name="justify" value="left"/>
<style_entry name="effect" value="none"/>
<style_entry name="pivot" value="topleft"/>
<style_entry name="text" value=""/>
<style_entry name="upper_case" value="false" />
<style_entry name="crispness" value="OnDesktop" />
</style>
<style type="animatedsprite">
<style_entry name="atlas" value="UIAtlas"/>
<style_entry name="sprite" value="[default_sprite]"/>
<style_entry name="color" value="[white]"/>
</style>
</append>
<!-- Crispness Fix -->
<append xpath="/styles/style[@type='label' and count(@*)=1]">
<style_entry name="crispness" value="OnDesktop" />
</append>
<append xpath="/styles/style[@type='textlist' and count(@*)=1]">
<style_entry name="crispness" value="OnDesktop" />
</append>
</Quartz>

View File

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8" ?>
<Quartz name="XUi_Menu/windows.xml">
<!--/*Copyright 2023 Christopher Beda
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.*/-->
<append xpath="/windows">
<window name="UiSpritesWindow" anchor="CenterCenter" pos="-600,375" width="1185" height="780" cursor_area="true" controller="Quartz.Debugging.UiAtlasList, Quartz" clear_selection_on_open="false" clear_searchtext_on_open="true">
<!-- Header -->
<panel name="header" pos="0,0" height="43" depth="1" backgroundspritename="ui_game_panel_header" bordercolor="[black]" borderthickness="3" >
<label style="header.name" name="windowheader" pos="10,-6" width="550" text_key="quartzUiSpriteWindowHeader" />
<button depth="1" name="btnShowModSprites" style="icon32px, press, hover" pivot="center" pos="1169, -21" sprite="ui_game_symbol_electric_switch" tooltip_key="quartzTooltipShowModSprites" sound="[paging_click]" />
</panel>
<rect name="spriteList" pos="0,-50" height="656" width="1185">
<sprite depth="8" name="border" sprite="menu_empty3px" color="[black]" type="sliced" fillcenter="false" />
<sprite depth="0" name="backgroundMain" pos="1,-1" height="654" width="1183" sprite="menu_empty3px" color="[mediumGrey]" type="sliced" fillcenter="true" />
<rect depth="4" name="searchControls" height="44" pos="0,-0">
<sprite depth="8" name="backgroundMain" sprite="menu_empty" color="[black]" type="sliced" fillcenter="false" />
<sprite depth="4" name="searchIcon" style="icon30px" pos="5,-22" sprite="ui_game_symbol_search" pivot="Left"/>
<textfield name="searchInput" depth="5" pos="40,-22" width="550" height="30" pivot="Left" search_field="true" />
</rect>
<scrollbar name="scrollbar" depth="6" pos="1177,-348" width="12" height="610" padding="4" foregroundname="handler" backgroundname="background" pivot="center" globalopacitymod="1.8">
<button name="handler" sprite="quartz_scrollbar_handler" pivot="center" hovercolor="[quartz_scrollbar_handler_hover]" color="[quartz_scrollbar_handler]" defaultcolor="[quartz_scrollbar_handler]" hoverscale="1" />
<button name="background" sprite="quartz_scrollbar_background" pivot="center" hovercolor="[quartz_scrollbar_background_hover]" color="[quartz_scrollbar_background]" defaultcolor="[quartz_scrollbar_background]" hoverscale="1" sound_play_on_press_down="[paging_click]" />
</scrollbar>
<scrollview name="scrollview" depth="5" pos="2,-44" width="1172" height="609" scrollbar="scrollbar" reset_position="true" over_scroll="false" scroll_speed="2.5">
<grid name="list" rows="{#Round(spriteCount/4,0) + 1}" cols="4" pos="0,-44" cell_width="293" cell_height="110" repeat_content="true" arrangement="horizontal" >
<Quartz_UiAtlas_Entry width="293" height="110" controller="ListEntry`1[[Quartz.Debugging.XUiC_UiAtlasList+ListEntry, Quartz]]"/>
</grid>
</scrollview>
</rect>
<rect pos="0, -720">
<simplebutton name="btnBack" depth="3" pos="0, 0" width="200" height="36" font_size="40" caption_key="xuiBack" upper_case="true" />
<simplebutton name="btnExport" depth="3" pos="910, 0" pivot="right" width="200" height="40" font_size="32" caption_key="quartzXuiExport" visible="true" upper_case="true" />
<simplebutton name="btnExplorer" depth="3" pos="1185, 0" pivot="right" width="250" height="40" font_size="32" caption_key="quartzXuiExplorer" upper_case="true" />
</rect>
</window>
</append>
</Quartz>

24
Config/XUi_Menu/xui.xml Normal file
View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
<Quartz name="XUi_Menu/xui.xml">
<!--/*Copyright 2023 Christopher Beda
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.*/-->
<append xpath="/xui/ruleset[@name='default']" >
<window_group name="quartzUiSprites">
<window name="UiSpritesWindow" />
</window_group>
</append>
</Quartz>

26
Config/blocks.xml Normal file
View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8" ?>
<Quartz name="blocks.xml">
<!--/*Copyright 2023 Christopher Beda
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.*/-->
<!--Add Required Tools to the Campfire Workstation's workstation property-->
<append xpath="/blocks/block[@name='campfire']/property[@class='Workstation']">
<property name="RequiredTools" value="toolCookingPot,toolCookingGrill,toolBeaker"/>
</append>
<!--Add Required Tools to the Forge Workstation's workstation property-->
<append xpath="/blocks/block[@name='forge']/property[@class='Workstation']">
<property name="RequiredTools" value="toolBellows,toolAnvil,toolForgeCrucible"/>
</append>
</Quartz>