Skip to content

Commit

Permalink
New tool versions with fixed lob packing
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrdacor committed Sep 16, 2021
1 parent 65cf4a9 commit a71d615
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
<RepositoryUrl>https://github.com/Pyrdacor/Ambermoon</RepositoryUrl>
<RepositoryType>Github</RepositoryType>
<PackageTags>Ambermoon ADF Extract File Legacy Amiga Disk</PackageTags>
<Version>1.0.8</Version>
<Version>1.0.9</Version>
<RuntimeIdentifiers>win-x64;win-x86;linux-x64</RuntimeIdentifiers>
<Configurations>Debug;Release;ReleaseLinux</Configurations>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Ambermoon.Data.Legacy" Version="10.0.5" />
<PackageReference Include="Ambermoon.Data.Legacy" Version="10.0.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Authors>Robert Schneckenhaus</Authors>
<Description>Command line tool to edit map or NPC events.</Description>
<RuntimeIdentifiers>win-x64;win-x86;linux-x64</RuntimeIdentifiers>
<Version>1.0.8</Version>
<Version>1.0.9</Version>
<PackageProjectUrl>https://github.com/Pyrdacor/Ambermoon</PackageProjectUrl>
<RepositoryUrl>https://github.com/Pyrdacor/Ambermoon</RepositoryUrl>
<RepositoryType>Github</RepositoryType>
Expand All @@ -16,7 +16,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Ambermoon.Data.Legacy" Version="10.0.5" />
<PackageReference Include="Ambermoon.Data.Legacy" Version="10.0.9" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<Configurations>Debug;Release;ReleaseLinux</Configurations>
<Version>1.0.8</Version>
<Version>1.0.9</Version>
<Authors>Robert Schneckenhaus</Authors>
</PropertyGroup>

Expand All @@ -25,7 +25,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Ambermoon.Data.Legacy" Version="10.0.5" />
<PackageReference Include="Ambermoon.Data.Legacy" Version="10.0.9" />
<PackageReference Include="NAudio" Version="2.0.1" />
<PackageReference Include="SonicArranger" Version="1.0.7" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<Authors>Robert Schneckenhaus</Authors>
<Description>Command line tool to show and edit monster values of legacy Ambermoon game data.</Description>
<RuntimeIdentifiers>win-x64;win-x86;linux-x64</RuntimeIdentifiers>
<Version>1.0.8</Version>
<Version>1.0.9</Version>
<Configurations>Debug;Release;ReleaseLinux</Configurations>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Ambermoon.Data.Legacy" Version="10.0.5" />
<PackageReference Include="Ambermoon.Data.Legacy" Version="10.0.9" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions AmbermoonTools/AmbermoonPack/AmbermoonPack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<RepositoryType>Github</RepositoryType>
<PackageTags>Ambermoon Packer File Legacy Amiga Compression Encryption</PackageTags>
<RuntimeIdentifiers>win-x64;win-x86;linux-x64</RuntimeIdentifiers>
<Version>1.0.8</Version>
<Version>1.0.9</Version>
<Configurations>Debug;Release;ReleaseLinux</Configurations>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Ambermoon.Data.Legacy" Version="10.0.5" />
<PackageReference Include="Ambermoon.Data.Legacy" Version="10.0.9" />
</ItemGroup>

</Project>
3 changes: 2 additions & 1 deletion AmbermoonTools/AmbermoonPack/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,10 @@ static void Main(string[] args)
break;
}
}
catch
catch (Exception ex)
{
Console.WriteLine("Invalid source file for REPACK.");
Console.WriteLine("Error: " + ex.Message);
Environment.Exit(ERROR_INVALID_SOURCE_FILE);
return;
}
Expand Down
4 changes: 2 additions & 2 deletions AmbermoonTools/AmbermoonTextImport/AmbermoonTextImport.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<Authors>Robert Schneckenhaus</Authors>
<Description>Command line tool to export and import texts from/into legacy Ambermoon game data.</Description>
<RuntimeIdentifiers>win-x64;win-x86;linux-x64</RuntimeIdentifiers>
<Version>1.0.8</Version>
<Version>1.0.9</Version>
<Configurations>Debug;Release;ReleaseLinux</Configurations>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Ambermoon.Data.Legacy" Version="10.0.5" />
<PackageReference Include="Ambermoon.Data.Legacy" Version="10.0.9" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion AmbermoonTools/AmbermoonTextImport/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ static void Import(string gameDataPath, string file, string inputPath, List<Opti
data = textFiles.Select(f =>
{
var dataWriter = new Ambermoon.Data.Legacy.Serialization.DataWriter();
Ambermoon.Data.Legacy.Serialization.TextWriter.WriteTexts(dataWriter, f.Value, TrimCharsFromOptions(options));
Ambermoon.Data.Legacy.Serialization.TextWriter.WriteTexts(dataWriter, f.Value, TrimCharsFromOptions(options), true);
return new KeyValuePair<uint, byte[]>((uint)f.Key, dataWriter.ToArray());
}).ToDictionary(x => x.Key, x => x.Value);
}
Expand Down

0 comments on commit a71d615

Please # to comment.