Skip to content

Commit

Permalink
Codie dump
Browse files Browse the repository at this point in the history
  • Loading branch information
craftycodie committed Jun 3, 2024
1 parent f6b1e58 commit 871bc90
Show file tree
Hide file tree
Showing 113 changed files with 4,817 additions and 138 deletions.
2 changes: 1 addition & 1 deletion Sunrise-BlfTool.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.6.33815.320
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sunrise-BlfTool", "WarthogInc\Sunrise-BlfTool.csproj", "{D384184C-6B48-4200-A980-0BCC218AE011}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SunriseBlfTool", "WarthogInc\SunriseBlfTool.csproj", "{D384184C-6B48-4200-A980-0BCC218AE011}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
4 changes: 2 additions & 2 deletions WarthogInc/BlfChunks/Author.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using Sewer56.BitStream;
using Sewer56.BitStream.ByteStreams;
using Sunrise.BlfTool.Extensions;
using SunriseBlfTool.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WarthogInc.BlfChunks
namespace SunriseBlfTool.BlfChunks
{
class Author : IBLFChunk
{
Expand Down
2 changes: 1 addition & 1 deletion WarthogInc/BlfChunks/BLFChunkHeader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Threading.Tasks;

namespace WarthogInc.BlfChunks
namespace SunriseBlfTool.BlfChunks
{
class BLFChunkHeader
{
Expand Down
4 changes: 2 additions & 2 deletions WarthogInc/BlfChunks/BLFChunkReader.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
using Sewer56.BitStream;
using Sewer56.BitStream.ByteStreams;
using SunriseBlfTool.BlfChunks;
using SunriseBlfTool.BlfChunks.ChunkNameMaps;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WarthogInc.BlfChunks
namespace SunriseBlfTool.BlfChunks
{
public class BLFChunkReader
{
Expand Down
2 changes: 1 addition & 1 deletion WarthogInc/BlfChunks/BLFChunkWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Text;
using System.Threading.Tasks;

namespace WarthogInc.BlfChunks
namespace SunriseBlfTool.BlfChunks
{
class BLFChunkWriter
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using Sunrise.BlfTool;
using System;
using System;
using System.Collections.Generic;
using WarthogInc.BlfChunks;

namespace SunriseBlfTool.BlfChunks
namespace SunriseBlfTool.BlfChunks.ChunkNameMaps
{
public abstract class AbstractBlfChunkNameMap
{
Expand Down
34 changes: 34 additions & 0 deletions WarthogInc/BlfChunks/ChunkNameMaps/Halo3/BlfChunkNameMap06481.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SunriseBlfTool.BlfChunks.ChunkNameMaps.Halo3
{
public class BlfChunkNameMap06481 : AbstractBlfChunkNameMap
{
public BlfChunkNameMap06481()
{
RegisterChunks();
}

private void RegisterChunks()
{
RegisterChunk<StartOfFile>();
RegisterChunk<EndOfFile>();
RegisterChunk<HopperConfigurationTable2>();
RegisterChunk<MatchmakingHopperDescriptions1>();
RegisterChunk<Author>();
RegisterChunk<GameSet1>();
RegisterChunk<MatchmakingHopperStatistics>();
RegisterChunk<PackedGameVariant2>();
}

public override string GetVersion()
{
return "06481";
}
}

}
47 changes: 47 additions & 0 deletions WarthogInc/BlfChunks/ChunkNameMaps/Halo3/BlfChunkNameMap08117.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
using SunriseBlfTool.BlfChunks.ChunkNameMaps;
using SunriseBlfTool.BlfChunks;
using SunriseBlfTool;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class BlfChunkNameMap08117 : AbstractBlfChunkNameMap
{
public static BlfChunkNameMap08117 singleton = new BlfChunkNameMap08117();

public BlfChunkNameMap08117()
{
RegisterChunks();
}

private void RegisterChunks()
{
RegisterChunk<StartOfFile>();
RegisterChunk<EndOfFile>();
RegisterChunk<HopperConfigurationTable8>();
RegisterChunk<MatchmakingHopperDescriptions1>();
RegisterChunk<UserBanhammer>();
RegisterChunk<Author>();
RegisterChunk<ServiceRecordIdentity>();
RegisterChunk<GameSet1>();
RegisterChunk<Manifest>();
RegisterChunk<MatchmakingTips>();
RegisterChunk<MatchmakingBanhammerMessages>();
RegisterChunk<MapManifest>();
RegisterChunk<MatchmakingHopperStatistics>();
RegisterChunk<ContentHeader>();
RegisterChunk<FileQueue>();
RegisterChunk<UserPlayerData>();
RegisterChunk<RecentPlayers>();
RegisterChunk<MachineNetworkStatistics>();
RegisterChunk<MessageOfTheDay>();
RegisterChunk<MultiplayerPlayers>();
}

public override string GetVersion()
{
return "08117";
}
}
48 changes: 48 additions & 0 deletions WarthogInc/BlfChunks/ChunkNameMaps/Halo3/BlfChunkNameMap08172.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SunriseBlfTool.BlfChunks.ChunkNameMaps.Halo3
{
public class BlfChunkNameMap08172 : AbstractBlfChunkNameMap
{
public static BlfChunkNameMap08172 singleton = new BlfChunkNameMap08172();

public BlfChunkNameMap08172()
{
RegisterChunks();
}

private void RegisterChunks()
{
RegisterChunk<StartOfFile>();
RegisterChunk<EndOfFile>();
RegisterChunk<HopperConfigurationTable8>();
RegisterChunk<MatchmakingHopperDescriptions2>();
RegisterChunk<UserBanhammer>();
RegisterChunk<Author>();
RegisterChunk<ServiceRecordIdentity>();
RegisterChunk<GameSet2>();
RegisterChunk<Manifest>();
RegisterChunk<MatchmakingTips>();
RegisterChunk<MatchmakingBanhammerMessages>();
RegisterChunk<MapManifest>();
RegisterChunk<MatchmakingHopperStatistics>();
RegisterChunk<ContentHeader>();
RegisterChunk<FileQueue>();
RegisterChunk<UserPlayerData>();
RegisterChunk<RecentPlayers>();
RegisterChunk<MachineNetworkStatistics>();
RegisterChunk<MessageOfTheDay>();
RegisterChunk<MultiplayerPlayers>();
}

public override string GetVersion()
{
return "08172";
}
}

}
47 changes: 47 additions & 0 deletions WarthogInc/BlfChunks/ChunkNameMaps/Halo3/BlfChunkNameMap10015.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SunriseBlfTool.BlfChunks.ChunkNameMaps.Halo3
{
public class BlfChunkNameMap10015 : AbstractBlfChunkNameMap
{
public BlfChunkNameMap10015()
{
RegisterChunks();
}

private void RegisterChunks()
{
RegisterChunk<StartOfFile>();
RegisterChunk<EndOfFile>();
RegisterChunk<HopperConfigurationTable9>();
RegisterChunk<MatchmakingHopperDescriptions2>();
RegisterChunk<UserBanhammer>();
RegisterChunk<Author>();
RegisterChunk<ServiceRecordIdentity>();
RegisterChunk<MessageOfTheDayPopup>();
RegisterChunk<GameSet3>();
RegisterChunk<Manifest>();
RegisterChunk<MatchmakingTips>();
RegisterChunk<MatchmakingBanhammerMessages>();
RegisterChunk<MapManifest>();
RegisterChunk<MatchmakingHopperStatistics>();
RegisterChunk<ContentHeader>();
RegisterChunk<FileQueue>();
RegisterChunk<UserPlayerData>();
RegisterChunk<RecentPlayers>();
RegisterChunk<MachineNetworkStatistics>();
RegisterChunk<MessageOfTheDay>();
RegisterChunk<MultiplayerPlayers>();
}

public override string GetVersion()
{
return "10015";
}
}

}
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using Sunrise.BlfTool;
using System;
using System;
using System.Collections.Generic;
using WarthogInc.BlfChunks;

namespace SunriseBlfTool.BlfChunks
namespace SunriseBlfTool.BlfChunks.ChunkNameMaps.Halo3
{
public class BlfChunkNameMap12070 : AbstractBlfChunkNameMap
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;

namespace SunriseBlfTool.BlfChunks.ChunkNameMaps.Halo3
{
public class BlfChunkNameMap13895 : AbstractBlfChunkNameMap
{
public static BlfChunkNameMap13895 singleton = new BlfChunkNameMap13895();

public BlfChunkNameMap13895()
{
RegisterChunks();
}

private void RegisterChunks()
{
RegisterChunk<StartOfFile>();
RegisterChunk<EndOfFile>();
RegisterChunk<UserBanhammer>();
RegisterChunk<Author>();
///RegisterChunk<ServiceRecordIdentity>(); // osri instead of srid.
RegisterChunk<MessageOfTheDayPopup>();
RegisterChunk<Manifest>();
RegisterChunk<MatchmakingTips>();
RegisterChunk<MatchmakingBanhammerMessages>();
RegisterChunk<MapManifest>();
//RegisterChunk<NetworkConfiguration>();
RegisterChunk<ContentHeader>();
RegisterChunk<FileQueue>();
RegisterChunk<UserPlayerData>();
RegisterChunk<RecentPlayers>();
RegisterChunk<MachineNetworkStatistics>();
RegisterChunk<MessageOfTheDay>();
RegisterChunk<MultiplayerPlayers>();
RegisterChunk<MatchmakingOptions>();
}

public override string GetVersion()
{
return "13895";
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SunriseBlfTool.BlfChunks.ChunkNameMaps.HaloOnline
{
public class BlfChunkNameMap106708 : AbstractBlfChunkNameMap
{
public BlfChunkNameMap106708()
{
RegisterChunks();
}

private void RegisterChunks()
{
RegisterChunk<StartOfFile>();
RegisterChunk<EndOfFile>();
RegisterChunk<HopperConfigurationTable11>();
RegisterChunk<MatchmakingHopperDescriptions3>();
RegisterChunk<UserBanhammer>();
RegisterChunk<Author>();
RegisterChunk<ServiceRecordIdentity>();
RegisterChunk<MessageOfTheDayPopup_PC>();
RegisterChunk<NagMessage>();
RegisterChunk<GameSet6>();
RegisterChunk<Manifest>();
RegisterChunk<MatchmakingTips>();
RegisterChunk<MatchmakingBanhammerMessages>();
RegisterChunk<MapManifest>();
RegisterChunk<MatchmakingHopperStatistics_PC>();
RegisterChunk<PackedGameVariant10>();
RegisterChunk<PackedMapVariant>();
RegisterChunk<ContentHeader>();
RegisterChunk<FileQueue>();
RegisterChunk<UserPlayerData>();
RegisterChunk<RecentPlayers>();
RegisterChunk<MachineNetworkStatistics>();
RegisterChunk<MessageOfTheDay>();
RegisterChunk<MultiplayerPlayers>();
RegisterChunk<MatchmakingOptions>();
}

public override string GetVersion()
{
return "106708";
}
}

}
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
using Sunrise.BlfTool;
using System;
using System;
using System.Collections.Generic;
using WarthogInc.BlfChunks;

namespace SunriseBlfTool.BlfChunks
namespace SunriseBlfTool.BlfChunks.ChunkNameMaps.HaloReach
{
public class BlfChunkNameMap_reach_12065 : AbstractBlfChunkNameMap
public class BlfChunkNameMap_12065 : AbstractBlfChunkNameMap
{
public static BlfChunkNameMap_reach_12065 singleton = new BlfChunkNameMap_reach_12065();
public static BlfChunkNameMap_12065 singleton = new BlfChunkNameMap_12065();

public BlfChunkNameMap_reach_12065()
public BlfChunkNameMap_12065()
{
RegisterChunks();
}
Expand Down
8 changes: 4 additions & 4 deletions WarthogInc/BlfChunks/ContentHeader.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
using Sewer56.BitStream;
using Newtonsoft.Json;
using Sewer56.BitStream;
using Sewer56.BitStream.ByteStreams;
using Sunrise.BlfTool.Extensions;
using SunriseBlfTool.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace WarthogInc.BlfChunks
namespace SunriseBlfTool.BlfChunks
{
class ContentHeader : IBLFChunk
{
Expand Down
Loading

0 comments on commit 871bc90

Please sign in to comment.