Skip to content

Commit 331e48d

Browse files
committed
remove STFS CON requirement
1 parent 7ff291d commit 331e48d

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

LibForge/ForgeToolGUI/Inspectors/ConversionInspector.cs

-4
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ private bool LoadCon(string filename)
5858
{
5959
using (var con = STFSPackage.OpenFile(GameArchives.Util.LocalFile(filename)))
6060
{
61-
if (con.Type != STFSType.CON)
62-
{
63-
throw new Exception($"File is not a CON file.");
64-
}
6561
var datas = PkgCreator.GetSongMetadatas(con.RootDirectory.GetDirectory("songs"));
6662
if (datas.Count > 0)
6763
{

LibForge/ForgeToolGUI/Inspectors/VRConversionInspector.cs

-4
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ private bool LoadCon(string filename)
6565
{
6666
using (var con = STFSPackage.OpenFile(GameArchives.Util.LocalFile(filename)))
6767
{
68-
if (con.Type != STFSType.CON)
69-
{
70-
throw new Exception($"File is not a CON file.");
71-
}
7268
var datas = PkgCreator.GetSongMetadatas(con.RootDirectory.GetDirectory("songs"));
7369
if (datas.Count > 0)
7470
{

0 commit comments

Comments
 (0)