Mise à jour du dépôt en fonction du .gitignore
This commit is contained in:
parent
1f0f033fad
commit
4a59748e67
224 changed files with 6785 additions and 0 deletions
20
LandblockExtraction/DatEngine/CellEngine.cs
Normal file
20
LandblockExtraction/DatEngine/CellEngine.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using AC2RE.Definitions;
|
||||
|
||||
namespace LandblockExtraction.DatEngine {
|
||||
public class CellEngine {
|
||||
private DatReader cellReader;
|
||||
|
||||
public CellEngine() {
|
||||
cellReader = new(@"X:\DatFiles\cell_1.dat");
|
||||
}
|
||||
|
||||
public CLandBlockData? GetLandBlockData(uint id) {
|
||||
DataId dataId = new DataId(id);
|
||||
if (!cellReader.contains(dataId)) return null;
|
||||
using (var data = cellReader.getFileReader(dataId)) {
|
||||
CLandBlockData cLandBlockData = new(data);
|
||||
return cLandBlockData;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
47
LandblockExtraction/DatEngine/PortalEngine.cs
Normal file
47
LandblockExtraction/DatEngine/PortalEngine.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using AC2RE.Definitions;
|
||||
|
||||
namespace LandblockExtraction.DatEngine {
|
||||
public class PortalEngine {
|
||||
private readonly DataId TERRAINDESCID = new DataId(0x12000000);
|
||||
private readonly DataId SURFACEDESCID = new DataId(0x13000000);
|
||||
private readonly DataId LANDSCAPEID = new DataId(0x36000000);
|
||||
|
||||
private DatReader portalReader;
|
||||
|
||||
public CTerrainDesc cTerrainDesc { get; private set; }
|
||||
public CSurfaceDesc cSurfaceDesc { get; private set; }
|
||||
public LandScapeDefs landScapeDefs { get; private set; }
|
||||
|
||||
public PortalEngine() {
|
||||
portalReader = new(@"X:\DatFiles\portal.dat");
|
||||
InitTerrainDesc();
|
||||
InitSurfaceDesc();
|
||||
InitLandScapeDesc();
|
||||
}
|
||||
|
||||
public bool InitTerrainDesc() {
|
||||
if (!portalReader.contains(TERRAINDESCID)) return false;
|
||||
using (var data = portalReader.getFileReader(TERRAINDESCID)) {
|
||||
if (data == null) return false;
|
||||
cTerrainDesc = new(data);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
public bool InitSurfaceDesc() {
|
||||
if (!portalReader.contains(SURFACEDESCID)) return false;
|
||||
using (var data = portalReader.getFileReader(SURFACEDESCID)) {
|
||||
if (data == null) return false;
|
||||
cSurfaceDesc = new(data);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
public bool InitLandScapeDesc() {
|
||||
if (!portalReader.contains(LANDSCAPEID)) return false;
|
||||
using (var data = portalReader.getFileReader(LANDSCAPEID)) {
|
||||
if (data == null) return false;
|
||||
landScapeDefs = new(data);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
83
LandblockExtraction/LandBlockExtractor/LandBlockExtrator.cs
Normal file
83
LandblockExtraction/LandBlockExtractor/LandBlockExtrator.cs
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
using AC2RE.Definitions;
|
||||
using LandblockExtraction.DatEngine;
|
||||
using LandblockExtraction.Tools;
|
||||
using System.Numerics;
|
||||
|
||||
namespace LandblockExtraction.LandBlockExtractor {
|
||||
public class LandBlockExtrator {
|
||||
private PortalEngine portalEngine;
|
||||
private CellEngine cellEngine;
|
||||
|
||||
private readonly int NumberLandBlocks = 255;
|
||||
private readonly int BlockSize = 17;
|
||||
private readonly int cellSize = 8;
|
||||
|
||||
public LandBlockExtrator(PortalEngine portalEngine, CellEngine cellEngine) {
|
||||
this.portalEngine = portalEngine;
|
||||
this.cellEngine = cellEngine;
|
||||
}
|
||||
|
||||
public BlockStruct? GetBlock(int landX, int landY) {
|
||||
CellId landBlockId = new CellId((byte)landX, (byte)landY, 0xFF, 0xFF);
|
||||
var landBlock = cellEngine.GetLandBlockData(landBlockId.id);
|
||||
if (landBlock == null) return null;
|
||||
|
||||
return GenerateBlockStructByData(landBlock, landX, landY);
|
||||
}
|
||||
|
||||
public BlockStruct GenerateBlockStructByData(CLandBlockData blockData, int landX, int landY) {
|
||||
BlockStruct blockStruct = new BlockStruct();
|
||||
for (int y = 0; y < BlockStruct.BlockSize; y++) {
|
||||
for (int x = 0; x < BlockStruct.BlockSize; x++) {
|
||||
var indice = y * BlockStruct.BlockSize + x;
|
||||
blockStruct.verticesStruct.position[indice] = GenerateVertexPosition(landX, landY, x, y, blockData.heights[indice]);
|
||||
blockStruct.verticesStruct.color[indice] = GenerateVertexColor(blockData.cellInfos[indice]);
|
||||
blockStruct.verticesStruct.farcolor[indice] = GenerateVertexFarColor(blockData.cellInfos[indice]);
|
||||
blockStruct.GenerateIndices();
|
||||
}
|
||||
}
|
||||
|
||||
return blockStruct;
|
||||
}
|
||||
private Vector3 GenerateVertexPosition(int landx, int landy, int x, int y, byte height) {
|
||||
int tmpx = (landx * BlockSize + y) * cellSize;
|
||||
int tmpy = (BlockSize * NumberLandBlocks * cellSize) - ((landy * BlockSize + x) * cellSize) - 1;
|
||||
var newX = (tmpx - (NumberLandBlocks * BlockSize * cellSize / 2));
|
||||
var newY = (tmpy - ((NumberLandBlocks * BlockSize * cellSize) - (NumberLandBlocks * BlockSize * cellSize / 2) - 1));
|
||||
|
||||
return new Vector3(newX, portalEngine.landScapeDefs.landHeightTable[height], newY);
|
||||
}
|
||||
private Vector4 GenerateVertexColor(uint cellInfo) {
|
||||
var terrain = MathOperations.GetTerrainInCellInfo(cellInfo);
|
||||
|
||||
foreach (var terrainType in portalEngine.cTerrainDesc.terrains) {
|
||||
if (terrainType.terrainIndex == terrain) {
|
||||
foreach (var surfaceIndex in portalEngine.cSurfaceDesc.surfaces) {
|
||||
if (surfaceIndex.surfIndex == terrainType.surfaceInfo) {
|
||||
var color = surfaceIndex.terrainMaterials.First().vertexColor.First().vertexColor;
|
||||
return MathOperations.RGBAColorToVector4(color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return Vector4.One;
|
||||
}
|
||||
private Vector4 GenerateVertexFarColor(uint cellInfo) {
|
||||
var terrain = MathOperations.GetTerrainInCellInfo(cellInfo);
|
||||
|
||||
foreach (var terrainType in portalEngine.cTerrainDesc.terrains) {
|
||||
if (terrainType.terrainIndex == terrain) {
|
||||
foreach (var surfaceIndex in portalEngine.cSurfaceDesc.surfaces) {
|
||||
if (surfaceIndex.surfIndex == terrainType.surfaceInfo) {
|
||||
var color = surfaceIndex.terrainMaterials.First().vertexColor.First().farVertexColor;
|
||||
return MathOperations.RGBAColorToVector4(color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return Vector4.One;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
namespace LandblockExtraction.LandBlockExtractor {
|
||||
public class BlockStruct {
|
||||
public readonly static int BlockSize = 17;
|
||||
|
||||
public VerticesStruct verticesStruct;
|
||||
public int[] indices;
|
||||
|
||||
public BlockStruct() {
|
||||
verticesStruct = new VerticesStruct(BlockSize);
|
||||
indices = new int[(BlockSize - 1) * (BlockSize - 1) * 6];
|
||||
}
|
||||
public void GenerateIndices() {
|
||||
int index = 0;
|
||||
|
||||
for (int y = 0; y < BlockSize - 1; y++) {
|
||||
for (int x = 0; x < BlockSize - 1; x++) {
|
||||
// Indices des sommets du premier triangle
|
||||
indices[index++] = y * BlockSize + x;
|
||||
indices[index++] = (y + 1) * BlockSize + x;
|
||||
indices[index++] = y * BlockSize + x + 1;
|
||||
|
||||
// Indices des sommets du deuxième triangle
|
||||
indices[index++] = y * BlockSize + x + 1;
|
||||
indices[index++] = (y + 1) * BlockSize + x;
|
||||
indices[index++] = (y + 1) * BlockSize + x + 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
using System.Numerics;
|
||||
|
||||
namespace LandblockExtraction.LandBlockExtractor {
|
||||
public class VerticesStruct {
|
||||
public Vector3[] position { get; set; }
|
||||
public Vector4[] color { get; set; }
|
||||
public Vector4[] farcolor { get; set; }
|
||||
|
||||
public VerticesStruct(int blockSize) {
|
||||
position = new Vector3[blockSize * blockSize];
|
||||
color = new Vector4[blockSize * blockSize];
|
||||
farcolor = new Vector4[blockSize * blockSize];
|
||||
}
|
||||
|
||||
public float[] Vertices() {
|
||||
int length = position.Length;
|
||||
float[] vertices = new float[length * 11]; // 3 pour position, 4 pour color, et 4 pour farcolor
|
||||
for (int i = 0, vi = 0; i < length; i++, vi += 11) {
|
||||
vertices[vi] = position[i].X;
|
||||
vertices[vi + 1] = position[i].Y;
|
||||
vertices[vi + 2] = position[i].Z;
|
||||
vertices[vi + 3] = color[i].X;
|
||||
vertices[vi + 4] = color[i].Y;
|
||||
vertices[vi + 5] = color[i].Z;
|
||||
vertices[vi + 6] = color[i].W;
|
||||
vertices[vi + 7] = farcolor[i].X;
|
||||
vertices[vi + 8] = farcolor[i].Y;
|
||||
vertices[vi + 9] = farcolor[i].Z;
|
||||
vertices[vi + 10] = farcolor[i].W;
|
||||
}
|
||||
return vertices;
|
||||
}
|
||||
}
|
||||
}
|
||||
26
LandblockExtraction/LandblockExtraction.csproj
Normal file
26
LandblockExtraction/LandblockExtraction.csproj
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="AC2RE.Definitions">
|
||||
<HintPath>..\Libs\AC2RE.Definitions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AC2RE.Utils">
|
||||
<HintPath>..\Libs\AC2RE.Utils.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="AtlasMaker\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Magick.NET-Q16-AnyCPU" Version="13.6.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
187
LandblockExtraction/Tools/DDSHeader.cs
Normal file
187
LandblockExtraction/Tools/DDSHeader.cs
Normal file
|
|
@ -0,0 +1,187 @@
|
|||
using AC2RE.Definitions;
|
||||
|
||||
namespace LandblockExtraction.Tools;
|
||||
public static class DDSHeader {
|
||||
//MagicNumber for DDS file.
|
||||
private static readonly uint MAGICNUMBER = 0x20534444;
|
||||
//Length of header
|
||||
private static readonly int LENGTH = 125;
|
||||
public static byte[] Generate(RenderSurface renderSurface) {
|
||||
if (renderSurface.pixelFormat == PixelFormat.CUSTOM_RAW_JPEG) return renderSurface.sourceData;
|
||||
|
||||
DDS_HEADER header = genHeadStruct(renderSurface.pixelFormat, renderSurface.height, renderSurface.width);
|
||||
using (MemoryStream stream = new MemoryStream(LENGTH + renderSurface.sourceData.Length)) {
|
||||
stream.Write(BitConverter.GetBytes(MAGICNUMBER));
|
||||
stream.Write(BitConverter.GetBytes(header.dwSize));
|
||||
stream.Write(BitConverter.GetBytes((uint)header.dwFlags));
|
||||
stream.Write(BitConverter.GetBytes(header.dwHeight));
|
||||
stream.Write(BitConverter.GetBytes(header.dwWidth));
|
||||
stream.Write(BitConverter.GetBytes(header.dwPitchOrLinearSize));
|
||||
stream.Write(BitConverter.GetBytes(header.dwDepth));
|
||||
stream.Write(BitConverter.GetBytes(header.dwMipMapCount));
|
||||
foreach (var i in header.dwReserved1) stream.Write(BitConverter.GetBytes(i));
|
||||
stream.Write(BitConverter.GetBytes(header.ddspf.dwSize));
|
||||
stream.Write(BitConverter.GetBytes((uint)header.ddspf.dwFlags));
|
||||
stream.Write(BitConverter.GetBytes(header.ddspf.dwFourCC));
|
||||
stream.Write(BitConverter.GetBytes(header.ddspf.dwRGBBitCount));
|
||||
stream.Write(BitConverter.GetBytes(header.ddspf.dwRBitMask));
|
||||
stream.Write(BitConverter.GetBytes(header.ddspf.dwGBitMask));
|
||||
stream.Write(BitConverter.GetBytes(header.ddspf.dwBBitMask));
|
||||
stream.Write(BitConverter.GetBytes(header.ddspf.dwABitMask));
|
||||
stream.Write(BitConverter.GetBytes(header.dwCaps));
|
||||
stream.Write(BitConverter.GetBytes(header.dwCaps2));
|
||||
stream.Write(BitConverter.GetBytes(header.dwCaps3));
|
||||
stream.Write(BitConverter.GetBytes(header.dwCaps4));
|
||||
stream.Write(BitConverter.GetBytes(header.dwReserved2));
|
||||
stream.Write(renderSurface.sourceData);
|
||||
|
||||
return stream.ToArray();
|
||||
}
|
||||
}
|
||||
|
||||
private static DDS_HEADER genHeadStruct(PixelFormat format, uint height, uint width) {
|
||||
//I think always same each format?
|
||||
DDS_HEADER dDS_HEADER = new DDS_HEADER();
|
||||
dDS_HEADER.dwFlags |= DDSHeaderFlags.DDSD_CAPS | DDSHeaderFlags.DDSD_HEIGHT | DDSHeaderFlags.DDSD_WIDTH | DDSHeaderFlags.DDSD_PIXELFORMAT;
|
||||
|
||||
if (dDS_HEADER.dwFlags.HasFlag(DDSHeaderFlags.DDSD_HEIGHT)) dDS_HEADER.dwHeight = height;
|
||||
if (dDS_HEADER.dwFlags.HasFlag(DDSHeaderFlags.DDSD_WIDTH)) dDS_HEADER.dwWidth = width;
|
||||
|
||||
if (format == PixelFormat.DXT1) {
|
||||
dDS_HEADER.dwFlags |= DDSHeaderFlags.DDSD_LINEARSIZE;
|
||||
dDS_HEADER.dwPitchOrLinearSize = CalculateCompressedBlockSize(height, width, (uint)new byte[8].Length);
|
||||
}
|
||||
if (format == PixelFormat.DXT3 || format == PixelFormat.DXT2 || format == PixelFormat.DXT4 || format == PixelFormat.DXT5) {
|
||||
dDS_HEADER.dwFlags |= DDSHeaderFlags.DDSD_LINEARSIZE;
|
||||
dDS_HEADER.dwPitchOrLinearSize = CalculateCompressedBlockSize(height, width, (uint)new byte[16].Length);
|
||||
}
|
||||
|
||||
if (dDS_HEADER.dwFlags.HasFlag(DDSHeaderFlags.DDSD_PIXELFORMAT)) dDS_HEADER.ddspf = genPixelformatStruct(format);
|
||||
|
||||
return dDS_HEADER;
|
||||
}
|
||||
|
||||
private static DDS_PIXELFORMAT genPixelformatStruct(PixelFormat surface) {
|
||||
DDS_PIXELFORMAT dDS_PIXELFORMAT = new DDS_PIXELFORMAT();
|
||||
|
||||
switch (surface) {
|
||||
case PixelFormat.DXT1:
|
||||
case PixelFormat.DXT3:
|
||||
case PixelFormat.DXT4:
|
||||
case PixelFormat.DXT5:
|
||||
dDS_PIXELFORMAT.dwFlags |= DDSPixelformatFlags.DDPF_FOURCC;
|
||||
dDS_PIXELFORMAT.dwFourCC = (uint)surface;
|
||||
break;
|
||||
case PixelFormat.A8R8G8B8:
|
||||
dDS_PIXELFORMAT.dwFlags |= DDSPixelformatFlags.DDPF_ALPHAPIXELS | DDSPixelformatFlags.DDPF_RGB;
|
||||
dDS_PIXELFORMAT.dwRGBBitCount = 0x20;
|
||||
dDS_PIXELFORMAT.dwRBitMask = 0x00FF0000;
|
||||
dDS_PIXELFORMAT.dwGBitMask = 0x0000FF00;
|
||||
dDS_PIXELFORMAT.dwBBitMask = 0x000000FF;
|
||||
dDS_PIXELFORMAT.dwABitMask = 0xFF000000;
|
||||
break;
|
||||
case PixelFormat.R8G8B8:
|
||||
dDS_PIXELFORMAT.dwFlags |= DDSPixelformatFlags.DDPF_RGB;
|
||||
dDS_PIXELFORMAT.dwRGBBitCount = 0x18;
|
||||
dDS_PIXELFORMAT.dwRBitMask = 0x00FF0000;
|
||||
dDS_PIXELFORMAT.dwGBitMask = 0x0000FF00;
|
||||
dDS_PIXELFORMAT.dwBBitMask = 0x000000FF;
|
||||
break;
|
||||
case PixelFormat.A8:
|
||||
dDS_PIXELFORMAT.dwFlags |= DDSPixelformatFlags.DDPF_ALPHAPIXELS;
|
||||
dDS_PIXELFORMAT.dwRGBBitCount = 0x8;
|
||||
dDS_PIXELFORMAT.dwABitMask = 0xFF;
|
||||
break;
|
||||
default:
|
||||
dDS_PIXELFORMAT.dwFlags |= DDSPixelformatFlags.DDPF_FOURCC;
|
||||
break;
|
||||
}
|
||||
|
||||
return dDS_PIXELFORMAT;
|
||||
}
|
||||
public static uint CalculateCompressedBlockSize(uint height, uint width, uint blockSize) {
|
||||
return ((width + 3) / 4) * ((height + 3) / 4) * blockSize;
|
||||
}
|
||||
}
|
||||
|
||||
public struct DDS_HEADER {
|
||||
public uint dwSize;
|
||||
public DDSHeaderFlags dwFlags;
|
||||
public uint dwHeight;
|
||||
public uint dwWidth;
|
||||
public uint dwPitchOrLinearSize;
|
||||
public uint dwDepth;
|
||||
public uint dwMipMapCount;
|
||||
public uint[] dwReserved1;
|
||||
public DDS_PIXELFORMAT ddspf;
|
||||
public uint dwCaps;
|
||||
public uint dwCaps2;
|
||||
public uint dwCaps3;
|
||||
public uint dwCaps4;
|
||||
public uint dwReserved2;
|
||||
|
||||
public DDS_HEADER() {
|
||||
dwSize = 124; //Fixed on 124 octets
|
||||
dwFlags = 0;
|
||||
dwHeight = 0;
|
||||
dwWidth = 0;
|
||||
dwPitchOrLinearSize = 0;
|
||||
dwDepth = 0;
|
||||
dwMipMapCount = 0;
|
||||
dwReserved1 = new uint[11];
|
||||
foreach (var i in dwReserved1) dwReserved1[i] = 0x00000000;
|
||||
ddspf = new DDS_PIXELFORMAT();
|
||||
dwCaps = 0x1000;
|
||||
dwCaps2 = 0;
|
||||
dwCaps3 = 0;
|
||||
dwCaps4 = 0;
|
||||
dwReserved2 = 0;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
public struct DDS_PIXELFORMAT {
|
||||
public uint dwSize;
|
||||
public DDSPixelformatFlags dwFlags;
|
||||
public uint dwFourCC;
|
||||
public uint dwRGBBitCount;
|
||||
public uint dwRBitMask;
|
||||
public uint dwGBitMask;
|
||||
public uint dwBBitMask;
|
||||
public uint dwABitMask;
|
||||
|
||||
public DDS_PIXELFORMAT() {
|
||||
dwSize = 32; //Fixed on 32 octets
|
||||
dwFlags = 0;
|
||||
dwFourCC = 0;
|
||||
dwRGBBitCount = 0;
|
||||
dwRBitMask = 0;
|
||||
dwGBitMask = 0;
|
||||
dwBBitMask = 0;
|
||||
dwABitMask = 0;
|
||||
}
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum DDSHeaderFlags : uint {
|
||||
NONE = 0,
|
||||
DDSD_CAPS = 1 << 0, // 0x00000001
|
||||
DDSD_HEIGHT = 1 << 1, // 0x00000002
|
||||
DDSD_WIDTH = 1 << 2, // 0x00000004
|
||||
DDSD_PITCH = 1 << 3, // 0x00000008
|
||||
DDSD_PIXELFORMAT = 1 << 12, // 0x00001000
|
||||
DDSD_MIPMAPCOUNT = 1 << 17, // 0x00020000
|
||||
DDSD_LINEARSIZE = 1 << 19, // 0x00080000
|
||||
DDSD_DEPTH = 1 << 23, // 0x00800000
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum DDSPixelformatFlags : uint {
|
||||
NONE = 0,
|
||||
DDPF_ALPHAPIXELS = 1 << 0, // 0x00000001
|
||||
DDPF_ALPHA = 1 << 1, // 0x00000002
|
||||
DDPF_FOURCC = 1 << 2, // 0x00000004
|
||||
DDPF_RGB = 1 << 6, // 0x00000040
|
||||
DDPF_YUV = 1 << 9, // 0x00000200
|
||||
DDPF_LUMINANCE = 1 << 17, // 0x00020000
|
||||
}
|
||||
14
LandblockExtraction/Tools/ImageTools.cs
Normal file
14
LandblockExtraction/Tools/ImageTools.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using ImageMagick;
|
||||
|
||||
namespace LandblockExtraction.Tools;
|
||||
public static class ImageTools {
|
||||
public static byte[] DdsToPng(Stream stream) {
|
||||
using (IMagickImage image = new MagickImage(stream)) {
|
||||
image.Format = MagickFormat.Jpg;
|
||||
using (MemoryStream memoryStream = new MemoryStream()) {
|
||||
image.Write(memoryStream);
|
||||
return memoryStream.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
28
LandblockExtraction/Tools/MathOperations.cs
Normal file
28
LandblockExtraction/Tools/MathOperations.cs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
using AC2RE.Definitions;
|
||||
using System.Numerics;
|
||||
|
||||
namespace LandblockExtraction.Tools {
|
||||
public static class MathOperations {
|
||||
public static uint GetXLandblock(uint landblock) {
|
||||
return (landblock & 0xFF000000) >> 24;
|
||||
}
|
||||
public static uint GetYLandblock(uint landblock) {
|
||||
return (landblock & 0x00FF0000) >> 16;
|
||||
}
|
||||
public static uint GetTerrainInCellInfo(uint cellInfo) {
|
||||
return (cellInfo >> 0) & (0x7f);
|
||||
}
|
||||
public static uint GetRoadInCellInfo(uint cellInfo) {
|
||||
return (cellInfo >> 24) & (0xff);
|
||||
}
|
||||
public static uint GetColorInCellInfo(uint cellInfo) {
|
||||
return (cellInfo >> 16) & (0xff);
|
||||
}
|
||||
public static uint GetSceneInCellInfo(uint cellInfo) {
|
||||
return (cellInfo >> 7) & (0x1f);
|
||||
}
|
||||
public static Vector4 RGBAColorToVector4(RGBAColor color) {
|
||||
return new Vector4(color.r, color.g, color.b, color.a);
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
LandblockExtraction/bin/Debug/net7.0/AC2RE.Definitions.dll
Normal file
BIN
LandblockExtraction/bin/Debug/net7.0/AC2RE.Definitions.dll
Normal file
Binary file not shown.
BIN
LandblockExtraction/bin/Debug/net7.0/AC2RE.Utils.dll
Normal file
BIN
LandblockExtraction/bin/Debug/net7.0/AC2RE.Utils.dll
Normal file
Binary file not shown.
|
|
@ -0,0 +1,53 @@
|
|||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v7.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v7.0": {
|
||||
"LandblockExtraction/1.0.0": {
|
||||
"dependencies": {
|
||||
"AC2RE.Definitions": "1.0.0.0",
|
||||
"AC2RE.Utils": "1.0.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"LandblockExtraction.dll": {}
|
||||
}
|
||||
},
|
||||
"AC2RE.Definitions/1.0.0.0": {
|
||||
"runtime": {
|
||||
"AC2RE.Definitions.dll": {
|
||||
"assemblyVersion": "1.0.0.0",
|
||||
"fileVersion": "1.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"AC2RE.Utils/1.0.0.0": {
|
||||
"runtime": {
|
||||
"AC2RE.Utils.dll": {
|
||||
"assemblyVersion": "1.0.0.0",
|
||||
"fileVersion": "1.0.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"LandblockExtraction/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"AC2RE.Definitions/1.0.0.0": {
|
||||
"type": "reference",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"AC2RE.Utils/1.0.0.0": {
|
||||
"type": "reference",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
LandblockExtraction/bin/Debug/net7.0/LandblockExtraction.dll
Normal file
BIN
LandblockExtraction/bin/Debug/net7.0/LandblockExtraction.dll
Normal file
Binary file not shown.
BIN
LandblockExtraction/bin/Debug/net7.0/LandblockExtraction.pdb
Normal file
BIN
LandblockExtraction/bin/Debug/net7.0/LandblockExtraction.pdb
Normal file
Binary file not shown.
|
|
@ -0,0 +1,4 @@
|
|||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Ce code a été généré par un outil.
|
||||
// Version du runtime :4.0.30319.42000
|
||||
//
|
||||
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
|
||||
// le code est régénéré.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("LandblockExtraction")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("LandblockExtraction")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("LandblockExtraction")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Généré par la classe MSBuild WriteCodeFragment.
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
fcb85b1f1be3aecde831cdbd2e1d164333d97472cf0802e51f27acbf510e4597
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
is_global = true
|
||||
build_property.TargetFramework = net7.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = LandblockExtraction
|
||||
build_property.ProjectDir = C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
ae3225192e6b65595b6f193c5e16a86f86815259ffd4c9105f4aa585389a2823
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\bin\Debug\net7.0\LandblockExtraction.deps.json
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\bin\Debug\net7.0\LandblockExtraction.dll
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\bin\Debug\net7.0\LandblockExtraction.pdb
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\bin\Debug\net7.0\AC2RE.Definitions.dll
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\bin\Debug\net7.0\AC2RE.Utils.dll
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\obj\Debug\net7.0\LandblockExtraction.csproj.AssemblyReference.cache
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\obj\Debug\net7.0\LandblockExtraction.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\obj\Debug\net7.0\LandblockExtraction.AssemblyInfoInputs.cache
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\obj\Debug\net7.0\LandblockExtraction.AssemblyInfo.cs
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\obj\Debug\net7.0\LandblockExtraction.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\obj\Debug\net7.0\LandblockExtraction.csproj.CopyComplete
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\obj\Debug\net7.0\LandblockExtraction.dll
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\obj\Debug\net7.0\refint\LandblockExtraction.dll
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\obj\Debug\net7.0\LandblockExtraction.pdb
|
||||
C:\Users\Troispoils\Documents\GitHub\Map3DRendering\LandblockExtraction\obj\Debug\net7.0\ref\LandblockExtraction.dll
|
||||
BIN
LandblockExtraction/obj/Debug/net7.0/LandblockExtraction.dll
Normal file
BIN
LandblockExtraction/obj/Debug/net7.0/LandblockExtraction.dll
Normal file
Binary file not shown.
BIN
LandblockExtraction/obj/Debug/net7.0/LandblockExtraction.pdb
Normal file
BIN
LandblockExtraction/obj/Debug/net7.0/LandblockExtraction.pdb
Normal file
Binary file not shown.
BIN
LandblockExtraction/obj/Debug/net7.0/ref/LandblockExtraction.dll
Normal file
BIN
LandblockExtraction/obj/Debug/net7.0/ref/LandblockExtraction.dll
Normal file
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Users\\Troispoils\\Documents\\GitHub\\Map3DRendering\\LandblockExtraction\\LandblockExtraction.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\Troispoils\\Documents\\GitHub\\Map3DRendering\\LandblockExtraction\\LandblockExtraction.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\Troispoils\\Documents\\GitHub\\Map3DRendering\\LandblockExtraction\\LandblockExtraction.csproj",
|
||||
"projectName": "LandblockExtraction",
|
||||
"projectPath": "C:\\Users\\Troispoils\\Documents\\GitHub\\Map3DRendering\\LandblockExtraction\\LandblockExtraction.csproj",
|
||||
"packagesPath": "C:\\Users\\Troispoils\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\Troispoils\\Documents\\GitHub\\Map3DRendering\\LandblockExtraction\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Troispoils\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net7.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"dependencies": {
|
||||
"Magick.NET-Q16-AnyCPU": {
|
||||
"target": "Package",
|
||||
"version": "[13.6.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.100\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Troispoils\.nuget\packages\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\Troispoils\.nuget\packages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)magick.net-q16-anycpu\13.6.0\build\netstandard20\Magick.NET-Q16-AnyCPU.targets" Condition="Exists('$(NuGetPackageRoot)magick.net-q16-anycpu\13.6.0\build\netstandard20\Magick.NET-Q16-AnyCPU.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
192
LandblockExtraction/obj/project.assets.json
Normal file
192
LandblockExtraction/obj/project.assets.json
Normal file
|
|
@ -0,0 +1,192 @@
|
|||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net7.0": {
|
||||
"Magick.NET-Q16-AnyCPU/13.6.0": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Magick.NET.Core": "13.6.0"
|
||||
},
|
||||
"compile": {
|
||||
"lib/netstandard21/Magick.NET-Q16-AnyCPU.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard21/Magick.NET-Q16-AnyCPU.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"build": {
|
||||
"build/netstandard20/Magick.NET-Q16-AnyCPU.targets": {}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/linux-arm64/native/Magick.Native-Q16-arm64.dll.so": {
|
||||
"assetType": "native",
|
||||
"rid": "linux-arm64"
|
||||
},
|
||||
"runtimes/linux-musl-x64/native/Magick.Native-Q16-x64.dll.so": {
|
||||
"assetType": "native",
|
||||
"rid": "linux-musl-x64"
|
||||
},
|
||||
"runtimes/linux-x64/native/Magick.Native-Q16-x64.dll.so": {
|
||||
"assetType": "native",
|
||||
"rid": "linux-x64"
|
||||
},
|
||||
"runtimes/osx-arm64/native/Magick.Native-Q16-arm64.dll.dylib": {
|
||||
"assetType": "native",
|
||||
"rid": "osx-arm64"
|
||||
},
|
||||
"runtimes/osx-x64/native/Magick.Native-Q16-x64.dll.dylib": {
|
||||
"assetType": "native",
|
||||
"rid": "osx-x64"
|
||||
},
|
||||
"runtimes/win-arm64/native/Magick.Native-Q16-arm64.dll": {
|
||||
"assetType": "native",
|
||||
"rid": "win-arm64"
|
||||
},
|
||||
"runtimes/win-x64/native/Magick.Native-Q16-x64.dll": {
|
||||
"assetType": "native",
|
||||
"rid": "win-x64"
|
||||
},
|
||||
"runtimes/win-x86/native/Magick.Native-Q16-x86.dll": {
|
||||
"assetType": "native",
|
||||
"rid": "win-x86"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Magick.NET.Core/13.6.0": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"lib/netstandard21/Magick.NET.Core.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard21/Magick.NET.Core.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Magick.NET-Q16-AnyCPU/13.6.0": {
|
||||
"sha512": "yuRR9pMdf6DoQ0aa9u/CAANeaeMW4PxzCw4EMSm349/VLVa3bLv70hm2w6kQXpTpf+IPf2Th1+5AbcNA12sHrw==",
|
||||
"type": "package",
|
||||
"path": "magick.net-q16-anycpu/13.6.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"Magick.NET.icon.png",
|
||||
"Notice.linux-musl.txt",
|
||||
"Notice.linux.txt",
|
||||
"Notice.osx.txt",
|
||||
"Notice.win.txt",
|
||||
"build/netstandard20/Magick.NET-Q16-AnyCPU.targets",
|
||||
"docs/Readme.md",
|
||||
"lib/netstandard20/Magick.NET-Q16-AnyCPU.dll",
|
||||
"lib/netstandard20/Magick.NET-Q16-AnyCPU.xml",
|
||||
"lib/netstandard21/Magick.NET-Q16-AnyCPU.dll",
|
||||
"lib/netstandard21/Magick.NET-Q16-AnyCPU.xml",
|
||||
"magick.net-q16-anycpu.13.6.0.nupkg.sha512",
|
||||
"magick.net-q16-anycpu.nuspec",
|
||||
"runtimes/linux-arm64/native/Magick.Native-Q16-arm64.dll.so",
|
||||
"runtimes/linux-musl-x64/native/Magick.Native-Q16-x64.dll.so",
|
||||
"runtimes/linux-x64/native/Magick.Native-Q16-x64.dll.so",
|
||||
"runtimes/osx-arm64/native/Magick.Native-Q16-arm64.dll.dylib",
|
||||
"runtimes/osx-x64/native/Magick.Native-Q16-x64.dll.dylib",
|
||||
"runtimes/win-arm64/native/Magick.Native-Q16-arm64.dll",
|
||||
"runtimes/win-x64/native/Magick.Native-Q16-x64.dll",
|
||||
"runtimes/win-x86/native/Magick.Native-Q16-x86.dll"
|
||||
]
|
||||
},
|
||||
"Magick.NET.Core/13.6.0": {
|
||||
"sha512": "VHW7fxIM/5z0m7pm6XXkAqTTCg6DlvVyn6MS/DhJ1bwY9v8W27AdhYDWOLns2P9zkD0WR72YAXPlcVbbIBVW6A==",
|
||||
"type": "package",
|
||||
"path": "magick.net.core/13.6.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"Copyright.txt",
|
||||
"Magick.NET.icon.png",
|
||||
"docs/Readme.md",
|
||||
"lib/netstandard20/Magick.NET.Core.dll",
|
||||
"lib/netstandard20/Magick.NET.Core.xml",
|
||||
"lib/netstandard21/Magick.NET.Core.dll",
|
||||
"lib/netstandard21/Magick.NET.Core.xml",
|
||||
"magick.net.core.13.6.0.nupkg.sha512",
|
||||
"magick.net.core.nuspec"
|
||||
]
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"net7.0": [
|
||||
"Magick.NET-Q16-AnyCPU >= 13.6.0"
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\Troispoils\\.nuget\\packages\\": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\Troispoils\\Documents\\GitHub\\Map3DRendering\\LandblockExtraction\\LandblockExtraction.csproj",
|
||||
"projectName": "LandblockExtraction",
|
||||
"projectPath": "C:\\Users\\Troispoils\\Documents\\GitHub\\Map3DRendering\\LandblockExtraction\\LandblockExtraction.csproj",
|
||||
"packagesPath": "C:\\Users\\Troispoils\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\Troispoils\\Documents\\GitHub\\Map3DRendering\\LandblockExtraction\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Troispoils\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net7.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"dependencies": {
|
||||
"Magick.NET-Q16-AnyCPU": {
|
||||
"target": "Package",
|
||||
"version": "[13.6.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.100\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
LandblockExtraction/obj/project.nuget.cache
Normal file
11
LandblockExtraction/obj/project.nuget.cache
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "Qpb5GJsbpATaMM6x+8ls8LBnRs8xbmQdHBcQ9c+NaUAfHopyuH5R2jLwghH5f1df0rfONdea9gg14m/BbUiqSg==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\Troispoils\\Documents\\GitHub\\Map3DRendering\\LandblockExtraction\\LandblockExtraction.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\Troispoils\\.nuget\\packages\\magick.net-q16-anycpu\\13.6.0\\magick.net-q16-anycpu.13.6.0.nupkg.sha512",
|
||||
"C:\\Users\\Troispoils\\.nuget\\packages\\magick.net.core\\13.6.0\\magick.net.core.13.6.0.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue