diff --git a/ChovySign-CLI/ChovySign-CLI.csproj.user b/ChovySign-CLI/ChovySign-CLI.csproj.user
new file mode 100644
index 0000000..ea87748
--- /dev/null
+++ b/ChovySign-CLI/ChovySign-CLI.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ <_LastSelectedProfileId>C:\Users\Li\Documents\git\Chovy-Sign-v2\ChovySign-CLI\Properties\PublishProfiles\FolderProfile.pubxml
+
+
\ No newline at end of file
diff --git a/ChovySign-CLI/Properties/PublishProfiles/FolderProfile.pubxml b/ChovySign-CLI/Properties/PublishProfiles/FolderProfile.pubxml
new file mode 100644
index 0000000..d1d5c25
--- /dev/null
+++ b/ChovySign-CLI/Properties/PublishProfiles/FolderProfile.pubxml
@@ -0,0 +1,19 @@
+
+
+
+
+ Release
+ Any CPU
+ bin\Release\
+ FileSystem
+ <_TargetId>Folder
+ net6.0
+ win-x64
+ true
+ true
+ true
+ true
+
+
\ No newline at end of file
diff --git a/ChovySign-CLI/Properties/PublishProfiles/FolderProfile.pubxml.user b/ChovySign-CLI/Properties/PublishProfiles/FolderProfile.pubxml.user
new file mode 100644
index 0000000..675644e
--- /dev/null
+++ b/ChovySign-CLI/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -0,0 +1,10 @@
+
+
+
+
+ True|2023-04-16T20:22:02.0531219Z;
+
+
+
\ No newline at end of file
diff --git a/PopsBuilder/Pops/DiscInfo.cs b/PopsBuilder/Pops/DiscInfo.cs
index ff0da81..84b601f 100644
--- a/PopsBuilder/Pops/DiscInfo.cs
+++ b/PopsBuilder/Pops/DiscInfo.cs
@@ -59,6 +59,7 @@ namespace GameBuilder.Pops
{
using (SparseStream systemCnfStream = cdReader.OpenFile("SYSTEM.CNF", FileMode.Open))
{
+ systemCnfStream.Seek(0x18, SeekOrigin.Begin);
using (StreamReader systemCnfReader = new StreamReader(systemCnfStream))
{
for (string? line = systemCnfReader.ReadLine(); line is not null; line = systemCnfReader.ReadLine())
diff --git a/PopsBuilder/Pops/PopsImg.cs b/PopsBuilder/Pops/PopsImg.cs
index 219dc93..680f84b 100644
--- a/PopsBuilder/Pops/PopsImg.cs
+++ b/PopsBuilder/Pops/PopsImg.cs
@@ -18,9 +18,9 @@ namespace GameBuilder.Pops
simple = new MemoryStream();
simpleUtil = new StreamUtil(simple);
- StartDat = NpDrmPsar.CreateStartDat(Resources.STARTDATPOPS);
- createSimpleDat();
- SimplePgd = generateSimplePgd();
+ this.StartDat = NpDrmPsar.CreateStartDat(Resources.STARTDATPOPS);
+ this.createSimpleDat();
+ this.SimplePgd = generateSimplePgd();
}
diff --git a/PopsBuilder/Pops/PsIsoImg.cs b/PopsBuilder/Pops/PsIsoImg.cs
index 742d1a6..740a3c7 100644
--- a/PopsBuilder/Pops/PsIsoImg.cs
+++ b/PopsBuilder/Pops/PsIsoImg.cs
@@ -46,7 +46,6 @@ namespace GameBuilder.Pops
compressor.CompressedIso.Seek(0x00, SeekOrigin.Begin);
compressor.CompressedIso.CopyTo(Psar);
- Psar.Seek(0x00, SeekOrigin.Begin);
if (isPartOfMultiDisc) return;
// write STARTDAT
@@ -59,8 +58,6 @@ namespace GameBuilder.Pops
// set STARTDAT location
Psar.Seek(0xC, SeekOrigin.Begin);
psarUtil.WriteInt64(startDatLocation);
-
- Psar.Seek(0x00, SeekOrigin.Begin);
}