Skip to content

Commit 26de723

Browse files
committed
Update dependencies for 1.0
1 parent 70d2a54 commit 26de723

File tree

9 files changed

+16
-10
lines changed

9 files changed

+16
-10
lines changed

000-ModManager/Config/XUi_Menu/windows.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
</window>
156156
</append>
157157

158-
<setattribute xpath="/windows/window[@name='loadingScreen']/label[@name='lblText']" name="anchor_bottom">#cam,0,40</setattribute>
158+
<setattribute xpath="/windows/window[@name='loadingScreen']/rect[@name='tips_enabled']/label[@name='lblText']" name="anchor_bottom">#cam,0,40</setattribute>
159159

160160
<append xpath="/windows/window[@name='loadingScreen']">
161161
<label name="lblTextMods" depth="6" anchor_left="#cam,0,20" anchor_right="#cam,1,-20" anchor_bottom="#cam,0,10" anchor_top="#cam,0,40" font_size="24" justify="left" spacing_y="5" text="{modlisttext}" />

Source/Mod/Mod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public bool Load()
106106

107107
if (this.instance == null)
108108
{
109-
this.instance = global::Mod.LoadFromFolder(this.Info.Path);
109+
this.instance = global::Mod.LoadDefinitionFromFolder(this.Info.Path);
110110
ThreadManager.RunCoroutineSync(ModManager.LoadPatchStuff(false));
111111
}
112112

Source/Mod/ModListCompatChecker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private static void SaveModList()
168168

169169
[HarmonyPatch(typeof(XUiC_SavegamesList.ListEntry))]
170170
[HarmonyPatch(MethodType.Constructor)]
171-
[HarmonyPatch(new Type[] { typeof(string), typeof(string), typeof(DateTime), typeof(WorldState) })]
171+
[HarmonyPatch(new Type[] { typeof(string), typeof(string), typeof(DateTime), typeof(WorldState), typeof(string), typeof(string), typeof(string) })]
172172
class XUiC_SavegamesListListEntryHook
173173
{
174174
static void Postfix(XUiC_SavegamesList.ListEntry __instance)

Source/ModManager.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
</PropertyGroup>
3434
<ItemGroup>
3535
<Reference Include="0Harmony">
36-
<HintPath>..\Dependencies\7DaysToDieServer_Data\Managed\0Harmony.dll</HintPath>
36+
<HintPath>..\Dependencies\Mods\0_TFP_Harmony\0Harmony.dll</HintPath>
3737
<Private>False</Private>
3838
</Reference>
3939
<Reference Include="Assembly-CSharp">
@@ -44,6 +44,10 @@
4444
<HintPath>..\Dependencies\7DaysToDieServer_Data\Managed\LogLibrary.dll</HintPath>
4545
<Private>False</Private>
4646
</Reference>
47+
<Reference Include="NGUI">
48+
<HintPath>..\Dependencies\7DaysToDieServer_Data\Managed\NGUI.dll</HintPath>
49+
<Private>False</Private>
50+
</Reference>
4751
<Reference Include="System" />
4852
<Reference Include="System.Core" />
4953
<Reference Include="System.Xml.Linq" />

Source/UI/XUiC_ModSettingSelector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void UpdateModSetting(ModManagerModSettings.BaseModSetting modSetting)
7474
this.textLabel.IsVisible = true;
7575
this.label.IsVisible = false;
7676
this.button.ViewComponent.IsVisible = true;
77-
this.button.Label = (this.modSetting as ModManagerModSettings.ButtonModSetting).GetButtonText();
77+
this.button.Text = (this.modSetting as ModManagerModSettings.ButtonModSetting).GetButtonText();
7878
this.button.Enabled = IsEnabled();
7979

8080
return;

Source/UI/XUiC_ModsListModSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@ private void UpdateTabs()
123123
var tabEntry = ModManagerModSettings.modSettingsInstances[this.mod].settingTabs.ElementAt(index);
124124
ModManagerModSettings.ModSettingTab tab = tabEntry.Value;
125125

126-
settingsTabs.GetTabButton(tabIndex).Label = Localization.Get(tab.nameUnlocalized);
126+
settingsTabs.GetTabButton(tabIndex).Text = Localization.Get(tab.nameUnlocalized);
127127
settingsTabs.GetTabButton(tabIndex).ViewComponent.IsVisible = true;
128128

129129
tabIndex++;
130130
}
131131

132132
while(tabIndex < settingsTabs.TabCount)
133133
{
134-
settingsTabs.GetTabButton(tabIndex).Label = "";
134+
settingsTabs.GetTabButton(tabIndex).Text = "";
135135
settingsTabs.GetTabButton(tabIndex).ViewComponent.IsVisible = true;
136136
settingsTabs.GetTabButton(tabIndex).Enabled = false;
137137

setup-dev-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echo "Extracting DepotDownloader"
77
unzip "DepotDownloader-linux-x64.zip"
88
echo "Downloading Latest Binaries"
99
sudo chmod 777 ./DepotDownloader
10-
sudo ./DepotDownloader -app 294420 -filelist "../setup-filelist.txt" -dir "../Dependencies"
10+
sudo ./DepotDownloader -app 294420 -beta ${1:-Public} -filelist "../setup-filelist.txt" -dir "../Dependencies"
1111
echo "Dependencies successfully downloaded"
1212
echo "Cleaning up"
1313
cd "../"

setup-dev-win.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@ECHO off
2+
IF "%~1"=="" (SET branch=Public) ELSE (SET branch=%1)
23
ECHO Setting up dependencies
34
ECHO Downloading DepotDownloader
45
mkdir "temp"
@@ -7,7 +8,7 @@ curl -JL "https://github.com/SteamRE/DepotDownloader/releases/latest/download/De
78
ECHO Extracting DepotDownloader
89
tar -xf "DepotDownloader-windows-x64.zip"
910
ECHO Downloading Latest Binaries
10-
DepotDownloader.exe -app 294420 -filelist ../setup-filelist.txt -dir ../Dependencies
11+
DepotDownloader.exe -app 294420 -beta %branch% -filelist ../setup-filelist.txt -dir ../Dependencies
1112
ECHO Dependencies successfully downloaded
1213
ECHO Cleaning up
1314
cd ../

setup-filelist.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
regex:7DaysToDieServer_Data\/Managed\/(.*)dll
1+
regex:7DaysToDieServer_Data\/Managed\/(.*)dll
2+
regex:Mods\/0_TFP_Harmony\/(.*)dll

0 commit comments

Comments
 (0)