Meatcorps.Engine.Assets.Packager 0.1.16

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Meatcorps.Engine.Assets.Packager --version 0.1.16
                    
NuGet\Install-Package Meatcorps.Engine.Assets.Packager -Version 0.1.16
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meatcorps.Engine.Assets.Packager" Version="0.1.16" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Meatcorps.Engine.Assets.Packager" Version="0.1.16" />
                    
Directory.Packages.props
<PackageReference Include="Meatcorps.Engine.Assets.Packager" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Meatcorps.Engine.Assets.Packager --version 0.1.16
                    
#r "nuget: Meatcorps.Engine.Assets.Packager, 0.1.16"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Meatcorps.Engine.Assets.Packager@0.1.16
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Meatcorps.Engine.Assets.Packager&version=0.1.16
                    
Install as a Cake Addin
#tool nuget:?package=Meatcorps.Engine.Assets.Packager&version=0.1.16
                    
Install as a Cake Tool

Meatcorps.Engine.Assets.Packager

Meatcorps.Engine.Assets.Packager This is the asset packager system

Add this to your csproj to enable asset packaging

    <PropertyGroup>
        <MSBuildWarningsAsMessages>High</MSBuildWarningsAsMessages>
        <ConsoleLoggerParameters>verbosity=detailed</ConsoleLoggerParameters>
    </PropertyGroup>
    
    <UsingTask TaskName="AssetPackageTask"
               AssemblyFile="$(ProjectDir)\bin\$(Configuration)\net8.0\Meatcorps.Engine.Assets.Packager.dll" />

    <Target Name="AssetPackageTask"
            AfterTargets="Build"
            Condition="'$(Configuration)' == 'Release'">

        <AssetPackageTask
                GameAssemblyPath="$(TargetPath)"
                ProjectDirectory="$(ProjectDir)"
                OutputPath="$(OutputPath)" />
    </Target>

Add AssetConfig.cs to your project

using Meatcorps.Engine.Assets.Interfaces;
using Meatcorps.Engine.Core.Interfaces.Security;
using Meatcorps.Engine.Core.Security.Sinks;

namespace YourAmazingGame;

public class AssetConfig: IAssetPackagerConfig
{
    public IEncryptDecryptSink EncryptDecryptSink => new AesResourceSink("CHANGETHIS!!!!");
    public List<AssetPack> AssetPacks => new List<AssetPack>(
    [
        new AssetPack
        {
            EncryptDecryptSink = null,
            Name = "Asset.pak",
            RelativePath = "Assets"
        }
    ]);
}

Add this to your project.cs

RaylibAssetsModule.Load(new AssetConfig());

Then when in release mode it package everything inside the Assets folder in to Assets.pak

License

MIT License
See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.17-preview.19 38 2/25/2026
0.1.17-preview.18 37 2/25/2026
0.1.17-preview.17 37 2/24/2026
0.1.16 89 2/20/2026
0.1.15 88 2/14/2026
0.1.14 87 2/14/2026
0.1.13 83 2/14/2026
0.1.11 86 2/14/2026
0.1.10 82 2/14/2026
0.1.9 96 1/12/2026
0.1.8 95 1/11/2026
0.1.7 96 1/10/2026
0.1.6 91 1/10/2026
0.1.5 92 1/10/2026
0.1.4 100 1/4/2026
0.1.0 96 1/4/2026