Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Commit b06f51f

Browse files
committed
Fixed database parser
1 parent 0848155 commit b06f51f

File tree

1 file changed

+5
-2
lines changed
  • Source/3DNUS_Material_Source/3DNUS Material Edition/3DNUS Material Edition

1 file changed

+5
-2
lines changed

Source/3DNUS_Material_Source/3DNUS Material Edition/3DNUS Material Edition/YLS.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,11 @@ public static YLS Import(String wat)
4545

4646
titl.id = Convert.ToUInt64(line[0], 16);
4747

48-
if (titl.id == 0x4013000001B02) line[3] = line[3].Replace("02-11-15 GPIO", "9.5.0-22");
49-
if (titl.id == 0x400102002CA00) line[3] = line[3].Replace("10-02-14 JPN", "9.1.0-20J");
48+
if (titl.id == 0x4013000001B02) line[3] = line[3].Replace("_GPIO", " GPIO").Replace("02-11-15 GPIO", "9.5.0-22");
49+
if (titl.id == 0x400102002CA00) line[3] = line[3].Replace("_JPN", " JPN").Replace("10-02-14 JPN", "9.1.0-20J");
50+
51+
if(line[1] == "TWN") line[3] = line[3].Replace("08-18-16_TWN_BeginScanning", "11.0.0-33T");
52+
5053

5154
Match mat = Regex.Match(line[3], @"(\d+)\.(\d+)\.(\d+)-(\d+)");
5255

0 commit comments

Comments
 (0)