Skip to content

Commit 455022a

Browse files
committed
Allow to browse files with no TexWizard installed
1 parent 679bc58 commit 455022a

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

Binary/Binary.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<TargetFramework>net6.0-windows</TargetFramework>
66
<UseWindowsForms>true</UseWindowsForms>
77
<ApplicationIcon>texwizard_packer.ico</ApplicationIcon>
8-
<Version>0.1</Version>
8+
<Version>0.11</Version>
99
<Authors>r033</Authors>
1010
<PublisherName>MaxHwoy, rx, avail, Sh2dow, NI240SX, nlgxzef and r033</PublisherName>
1111
<Description>Tool for editing TexWizard texture packs for Need for Speed games. Based on Binarius fork by nlgxzef of Binary tool by MaxHwoy.</Description>
1212
<Copyright>© 2026 MaxHwoy, rx, avail, Sh2dow, NI240SX, nlgxzef and r033. No rights reserved.</Copyright>
13-
<AssemblyVersion>0.1</AssemblyVersion>
14-
<FileVersion>0.1</FileVersion>
13+
<AssemblyVersion>0.11</AssemblyVersion>
14+
<FileVersion>0.11</FileVersion>
1515
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
1616
<Product>TexWizard Packer</Product>
1717
<AssemblyName>TexWizard Packer</AssemblyName>

Binary/IntroUI.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ private void LoadPackList()
346346
this.openFileButton.Enabled = false;
347347

348348
this.packList.Items.Clear();
349+
this.fileTreeView.Nodes.Clear();
349350

350351
string gamePath = this.gameDirPath.Text;
351352

@@ -361,6 +362,8 @@ private void LoadPackList()
361362
return;
362363
}
363364

365+
this.FillTreeView(gamePath, new string[] { ".bun", ".bin", ".lzc" });
366+
364367
if (!File.Exists(Path.Combine(gamePath, "scripts", "TexWizard.asi")))
365368
{
366369
this.packList.Items.Add("TexWizard.asi is not installed to this instance of the game. Please install it before proceeding.");
@@ -402,8 +405,6 @@ private void LoadPackList()
402405
{
403406
this.packList.SelectedIndex = 0;
404407
}
405-
406-
this.FillTreeView(gamePath, new string[] { ".bun", ".bin", ".lzc" });
407408
}
408409

409410
private void FillTreeView(string rootPath, string[] extensions)

0 commit comments

Comments
 (0)