From 6c6a5fb4ae4ffd0a46faefb386f60cf6c2cb0dd4 Mon Sep 17 00:00:00 2001 From: graffinpk12 Date: Thu, 16 Nov 2023 12:36:25 +0500 Subject: [PATCH] 1 --- Ivazowsky.uproject | 10 +- plugins/base64plugin/Resources/Icon128.png | Bin 6573 -> 0 bytes .../base64plugin/Private/base64plugin.cpp | 22 ---- .../Private/base64pluginBPLibrary.cpp | 106 ------------------ .../Source/base64plugin/Public/base64plugin.h | 14 --- .../Public/base64pluginBPLibrary.h | 36 ------ .../Source/base64plugin/base64plugin.Build.cs | 53 --------- plugins/base64plugin/base64plugin.uplugin | 23 ---- 8 files changed, 5 insertions(+), 259 deletions(-) delete mode 100644 plugins/base64plugin/Resources/Icon128.png delete mode 100644 plugins/base64plugin/Source/base64plugin/Private/base64plugin.cpp delete mode 100644 plugins/base64plugin/Source/base64plugin/Private/base64pluginBPLibrary.cpp delete mode 100644 plugins/base64plugin/Source/base64plugin/Public/base64plugin.h delete mode 100644 plugins/base64plugin/Source/base64plugin/Public/base64pluginBPLibrary.h delete mode 100644 plugins/base64plugin/Source/base64plugin/base64plugin.Build.cs delete mode 100644 plugins/base64plugin/base64plugin.uplugin diff --git a/Ivazowsky.uproject b/Ivazowsky.uproject index 89a2882c..36823621 100644 --- a/Ivazowsky.uproject +++ b/Ivazowsky.uproject @@ -295,19 +295,19 @@ }, { "Name": "createProcess", - "Enabled": true + "Enabled": false }, { "Name": "manageTextFile", - "Enabled": true + "Enabled": false }, { "Name": "JPrinter", - "Enabled": true + "Enabled": false }, { "Name": "EasyXMLParser", - "Enabled": true, + "Enabled": false, "MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/af98110080a4411a8eaf3b8e931b8655" }, { @@ -338,7 +338,7 @@ }, { "Name": "DLSS", - "Enabled": true, + "Enabled": false, "MarketplaceURL": "https://www.unrealengine.com/marketplace/en-US/product/nvidia-dlss" }, { diff --git a/plugins/base64plugin/Resources/Icon128.png b/plugins/base64plugin/Resources/Icon128.png deleted file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wnpC_cSzFxb`OG!z|W2+xK!JJ^8Mv{PD+JzAHMKun?s>zWgzbYbofw-Lg z9jvHF0jKI&=+OMH0=ldT@|0Reg8mCbpfvbl-ZCWbO%}`YGxhWXjk2+Uw!jM*P;FSd zrBPp3m;WZqz`!8)5FZ~u_pp@5%`p|Me}-dP$^;8DH)_peI-B^=IL zs>=?~Pf8+y-z>E{d!Fs6w!XdK#f<>V%fRc+=-dFzuInwF8skP(5)u+C6LQ=>HnP(~ zib@(P&`3k&Q>eh zq7S*_`$KZ<>FH@o|DSA0u0)-jGE#aHPynl|lhuBy05LH!(Cb-F=rHJhEr$H8ZSy$z z!MNoveRIGpZa!~-0z$oYFj>-nx3y&>DlX0>CPuYCQJ}1?P2e98pkrhdJu{;(Dk{pr z!4c;WveAta@pj#OpUVcb^KVX{D#{&(abc>@<$SH?88{hhv8eSo@ubQG71iz_B6so)J&QBjeDv$GyY zM|^QOpn@ZQBx=~y+^l0@P&Q*EQ1R#YZ&^o2cC7+w%@vYDP2=6{}e zQej6JYHn*CR5>EN3! zVBSzDlvhwt!C8BPikcdxsQARlFfJ)+B0}ixf1QA+q$1b@a4L3TY>cx$vQ=kw8yR z-(_|TR|a=Eb@%W5XC>i9$s{N^OA1=r`+R<%PPMoP_;@anMThSndm|%?hr4ra4GoPS z`39JTSm+H1L{vlsny|~l1|bpAWNppyBPI}`)~R4B@8<^g!+@%ymO>rOD*S%{n%-r^ diff --git a/plugins/base64plugin/Source/base64plugin/Private/base64plugin.cpp b/plugins/base64plugin/Source/base64plugin/Private/base64plugin.cpp deleted file mode 100644 index b57a2488..00000000 --- a/plugins/base64plugin/Source/base64plugin/Private/base64plugin.cpp +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -#include "base64plugin.h" - -#define LOCTEXT_NAMESPACE "Fbase64pluginModule" - -void Fbase64pluginModule::StartupModule() -{ - // This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module - -} - -void Fbase64pluginModule::ShutdownModule() -{ - // This function may be called during shutdown to clean up your module. For modules that support dynamic reloading, - // we call this function before unloading the module. - -} - -#undef LOCTEXT_NAMESPACE - -IMPLEMENT_MODULE(Fbase64pluginModule, base64plugin) \ No newline at end of file diff --git a/plugins/base64plugin/Source/base64plugin/Private/base64pluginBPLibrary.cpp b/plugins/base64plugin/Source/base64plugin/Private/base64pluginBPLibrary.cpp deleted file mode 100644 index 9c0588e8..00000000 --- a/plugins/base64plugin/Source/base64plugin/Private/base64pluginBPLibrary.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -#include "base64pluginBPLibrary.h" -#include "base64plugin.h" - -// Fill out your copyright notice in the Description page of Project Settings. - - -#include "Misc/Base64.h" -#include "Engine/TextureRenderTarget2D.h" -#include "ImageUtils.h" -#include "Math/Color.h" -#include "Misc/FileHelper.h" - -Ubase64pluginBPLibrary::Ubase64pluginBPLibrary(const FObjectInitializer& ObjectInitializer) - : Super(ObjectInitializer) -{ - -} - -TArray readRT(UTextureRenderTarget2D* TextureRenderTarget) { - TArray OutLDRValues; - TArray OutHDRValues; - - if (!TextureRenderTarget) - { - return OutLDRValues; - } - - FTextureRenderTarget2DResource* RTResource = (FTextureRenderTarget2DResource*)TextureRenderTarget->GameThread_GetRenderTargetResource(); - if (!RTResource) - { - return OutLDRValues; - } - - FReadSurfaceDataFlags ReadSurfaceDataFlags; - - FRenderTarget* RenderTarget = TextureRenderTarget->GameThread_GetRenderTargetResource(); - - const int32 NumPixelsToRead = TextureRenderTarget->SizeX * TextureRenderTarget->SizeY; - - switch (TextureRenderTarget->GetFormat()) - { - case PF_B8G8R8A8: - OutLDRValues.SetNumUninitialized(NumPixelsToRead); - if (!RenderTarget->ReadPixelsPtr(OutLDRValues.GetData(), ReadSurfaceDataFlags)) - { - return OutLDRValues; - } - break; - case PF_FloatRGBA: - OutHDRValues.SetNumUninitialized(NumPixelsToRead); - if (!RenderTarget->ReadLinearColorPixelsPtr(OutHDRValues.GetData(), ReadSurfaceDataFlags)) - { - - for (auto i : OutHDRValues) - { - OutLDRValues.Add(i.ToFColor(true)); - } - return OutLDRValues; - } - break; - - - default: - return OutLDRValues; - } - return OutLDRValues; -} - -void RTtoBytes(UTextureRenderTarget2D* TextureRenderTarget, TArray& DstData) -{ - if (TextureRenderTarget) { - TArray SrcData = readRT(TextureRenderTarget); - if (SrcData.Num() > 0) { - FImageUtils::CompressImageArray(TextureRenderTarget->SizeX, TextureRenderTarget->SizeY, SrcData, DstData); - } - } -} - -bool Ubase64pluginBPLibrary::bytesToBase64(const TArray& source, FString& out) { - if (source.Num() > 0) - { - out = FBase64::Encode(source); - return true; - } - - out = FString(); - return false; -} - -bool Ubase64pluginBPLibrary::fileToBase64(FString filePath, FString& out) { - TArray outArray; - if (FFileHelper::LoadFileToArray(outArray, *filePath)) { - //out=FBase64::Encode(outArray); - return bytesToBase64(outArray, out); - } - return false; - -} -bool Ubase64pluginBPLibrary::renderTargetToBase64(UTextureRenderTarget2D* RT, FString& out) { - TArray tempArr; - RTtoBytes(RT, tempArr); - return bytesToBase64(tempArr, out); -} - diff --git a/plugins/base64plugin/Source/base64plugin/Public/base64plugin.h b/plugins/base64plugin/Source/base64plugin/Public/base64plugin.h deleted file mode 100644 index fd24df09..00000000 --- a/plugins/base64plugin/Source/base64plugin/Public/base64plugin.h +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -#pragma once - -#include "Modules/ModuleManager.h" - -class Fbase64pluginModule : public IModuleInterface -{ -public: - - /** IModuleInterface implementation */ - virtual void StartupModule() override; - virtual void ShutdownModule() override; -}; diff --git a/plugins/base64plugin/Source/base64plugin/Public/base64pluginBPLibrary.h b/plugins/base64plugin/Source/base64plugin/Public/base64pluginBPLibrary.h deleted file mode 100644 index 920c7893..00000000 --- a/plugins/base64plugin/Source/base64plugin/Public/base64pluginBPLibrary.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright Epic Games, Inc. All Rights Reserved. - -#pragma once - -#include "Kismet/BlueprintFunctionLibrary.h" -#include "base64pluginBPLibrary.generated.h" - -/* -* Function library class. -* Each function in it is expected to be static and represents blueprint node that can be called in any blueprint. -* -* When declaring function you can define metadata for the node. Key function specifiers will be BlueprintPure and BlueprintCallable. -* BlueprintPure - means the function does not affect the owning object in any way and thus creates a node without Exec pins. -* BlueprintCallable - makes a function which can be executed in Blueprints - Thus it has Exec pins. -* DisplayName - full name of the node, shown when you mouse over the node and in the blueprint drop down menu. -* Its lets you name the node using characters not allowed in C++ function names. -* CompactNodeTitle - the word(s) that appear on the node. -* Keywords - the list of keywords that helps you to find node when you search for it using Blueprint drop-down menu. -* Good example is "Print String" node which you can find also by using keyword "log". -* Category - the category your node will be under in the Blueprint drop-down menu. -* -* For more info on custom blueprint nodes visit documentation: -* https://wiki.unrealengine.com/Custom_Blueprint_Node_Creation -*/ -UCLASS() -class Ubase64pluginBPLibrary : public UBlueprintFunctionLibrary -{ - GENERATED_UCLASS_BODY() -public: - UFUNCTION(BlueprintCallable,Category="base64Encoders") - static bool bytesToBase64(const TArray& source, FString & out); - UFUNCTION(BlueprintCallable, Category = "base64Encoders") - static bool fileToBase64(FString filePath, FString & out); - UFUNCTION(BlueprintCallable, Category = "base64Encoders") - static bool renderTargetToBase64(UTextureRenderTarget2D * RT, FString & out); -}; diff --git a/plugins/base64plugin/Source/base64plugin/base64plugin.Build.cs b/plugins/base64plugin/Source/base64plugin/base64plugin.Build.cs deleted file mode 100644 index e9abcf03..00000000 --- a/plugins/base64plugin/Source/base64plugin/base64plugin.Build.cs +++ /dev/null @@ -1,53 +0,0 @@ -// Some copyright should be here... - -using UnrealBuildTool; - -public class base64plugin : ModuleRules -{ - public base64plugin(ReadOnlyTargetRules Target) : base(Target) - { - PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; - - PublicIncludePaths.AddRange( - new string[] { - // ... add public include paths required here ... - } - ); - - - PrivateIncludePaths.AddRange( - new string[] { - // ... add other private include paths required here ... - } - ); - - - PublicDependencyModuleNames.AddRange( - new string[] - { - "Core", - // ... add other public dependencies that you statically link with here ... - } - ); - - - PrivateDependencyModuleNames.AddRange( - new string[] - { - "CoreUObject", - "Engine", - "Slate", - "SlateCore", - // ... add private dependencies that you statically link with here ... - } - ); - - - DynamicallyLoadedModuleNames.AddRange( - new string[] - { - // ... add any modules that your module loads dynamically here ... - } - ); - } -} diff --git a/plugins/base64plugin/base64plugin.uplugin b/plugins/base64plugin/base64plugin.uplugin deleted file mode 100644 index 79d55fe8..00000000 --- a/plugins/base64plugin/base64plugin.uplugin +++ /dev/null @@ -1,23 +0,0 @@ -{ - "FileVersion": 3, - "Version": 1, - "VersionName": "1.0", - "FriendlyName": "base64plugin", - "Description": "used for encode to base64 string of bytes, file or renderTarget", - "Category": "Other", - "CreatedBy": "Andron", - "CreatedByURL": "", - "DocsURL": "", - "MarketplaceURL": "", - "SupportURL": "", - "EngineVersion": "5.1.0", - "CanContainContent": false, - "Installed": true, - "Modules": [ - { - "Name": "base64plugin", - "Type": "Runtime", - "LoadingPhase": "PreLoadingScreen" - } - ] -} \ No newline at end of file