Download

(39) Rama's Extra Blueprint Nodes for You as a Plugin, No C++ Required!

**4 Nodes Contributed by n00854180t

Load Texture 2D From File!

Load Sound Wave From File!

Play Sound From File at Location

Play Sound Attached From File!**

Thanks n00854180t!

Rama

PS: All of this is up to 4.4 now!

Rama, you should contact Epic to change your forum name to Awesome. Or they should make a unique awesomeness banner for you!

@Rama - Jacky is right, you’re awesome!

Thanks for the credit - additional credits to Ehamloptiran for his DDS load to Texture2D example, and keru for his Ogg to SoundWave example, and of course you for your BP library plugin example :smiley:

I feel like I’m window shopping when I read through all these BP nodes.

I think his title suits him rather well actually!! :wink:

rama.PNG&stc=1

Hee heee!

Hee hee!

Thanks for the contributions!

I hope it is now clear to others that they are free to contribute nodes as well that I will maintain engine version to engine version!

:heart:

Rama

Get Screen Resolutions Now Works in Packaged Game

My Get Screen Resolution Nodes works in packaged games now!

In 4.3 the core function in C++ was not working in BP, but now it is! Epic fixed it!

Enjoy getting the screen resolutions of the end user’s hardware in your game now!

It is obtained from the user’s display adapter directly! No guessing or preset values!

:slight_smile:

d4117a7a04ee5f316cbeae35c6e681739e2c00f8.jpeg

Rama

Get OS Platform

Platforms you can check for:

**Windows
Mac
Linux

PS4
XBoxOne

iOS
Android

HTML5

WIN RT
WIN RT ARM**

Enjoy!

Rama

Feature Request

I really hate to be greedy, but at the same time this simple functionality would go miles for me.

Please implement a node for loading from a file. Similar to the one you have for writing to a file.

The plugin is Awesome - Thanks Rama!

I was wondering if anyone more knowledgable than me could help me with a small question?

I’m attempting to get the plugin to compile on an Android with a Tegra4. With the plugin enabled it won’t compile, but I can compile without it enabled. I don’t have a lot of tablet experience.

My engine version is 4.4.0

Any help is appreciated,

Thanks!
-Tad

*Edit - I figured out the problem - stupid me used a wrong version of the plugin when I pasted it into my temp project directory. If you see this problem with others, I’m pretty sure that’s what the problem was. Thanks for the great plugin.

-Tad

You mean loading a text file from hard disk?

I can do that!

I can even parse each line as a separate line in an array of strings, any preferences there?

Please confirm b4 I invest any time in it :slight_smile:

I am glad you got it figured out, and you are welcome!

Oh wow yes, parsing each line as a separate line in an array of strings would be absolutely perfect!

<3 you Rama. I really appreciate how much you contribute to this community and to me personally. (Whether you realize it or not :wink: )

You are the best Rama! :slight_smile:

@Rama - I’m currently trying to read image files out of a .zip archive. Right now I’m using a third party library (miniz), but it doesn’t handle the file IO properly for UE4’s purposes.

Is there a way to load in a ZIP and get all the files out of it/uncompress them in the engine somewhere? I’ve tried looking in the docs and API a lot, but all the archive related functionality is pretty opaque to me. I just need to know if there’s a way to do it with the engine classes, as right now I have it hacked to load the zip using the built in functionality (load to binary array ala your save/load system), and then use miniz’s initialization from memory, but it seems to fail somewhere along the way.

I’m not looking forward to rewriting the little library to use UE4’s file and memory functionality, but if there’s nothing in the engine for what I need to do (just load a zip, get a list of files, uncompress them to the head as binary data).

Any tips you could give me would be much appreciated - I’m going to be updating my TextureFromDisk functionality to handle other files than DDS, but I can’t test that until I get the zip loading working.

Edit: Miniz was failing because it was using the stock memcpy - but when I tried including something into miniz.c in order to get access to UE’s FMemory functions, it caused a bunch of compilation errors.

For now I’ve decided to rewrite this other library, JUnzip, with UE4 file IO classes, since it seems all of the libraries available rely on regular file/memory access.

Edit #2: Got it working :slight_smile: I’m going to be working on more advanced support and building out my comic book reader. I’ll probably release the zip plugin on the marketplace for a few bucks.

Hey Rama!

Love this plugin! We have been using since you first released it!

Just recently, (today really), we officially have a combination BP and C++ project going, as we discovered we needed C++ to the more trickier things we want to do. With the plugin installed though, Visual Studio is not able to compile the editor. I do know the source is given with the plugin, do we just copy the the contents on the source folder in your Plugin folder, so our project’s “Source” folder? Just looking for some clarification.

Thanks so much!

The plugin should be at Engine\Plugins\VictoryPlugin with the Source folder inside of that, then you just need to GenerateProjects.bat.

It seems that GenerateProjects.bat is an engine source only? We currently aren’t using the engine source. We added to plugin to C:\Programs Files\Unreal\Engine\Plugins and we are still getting compile issues.

We were making a BP only project, and used the “Add Code” functionality, which creates the Source folder in our project folder.

Well, if you’re actually needing to compile the editor, you will need the source version, yeah. It won’t work as far as I know by just converting a binary only content project to source, and just trying to compile that.

Edit: You should be able to just get the Github version, compile it, and then open your project in it as normal - it should see it in the list of projects. It may need conversion as it might not consider it the same version as whatever your project was set up against.

Hi there! I am glad you enjoy my plugin!

  1. “We added to plugin to C:\Programs Files\Unreal\Engine\Plugins and we are still getting compile issues.”

I recommend putting it in YourProject/Plugins, then try compiling again.

  1. “and used the “Add Code” functionality, which creates the Source folder in our project folder.”

I’d recommend making an actual C++ project if the above does not work!

Let us know how it goes!

Rama

PS: thanks for the forum help n00854180t !

I will work on this shortly!

Been quite busy lately :slight_smile:

Lot of C++ AI programming to do :slight_smile:

Rama

**New Node Release

Load String Array From Text File**

  1. Loads a String Array from a Text File, where each entry in the array is one line from the file!

  2. Option to specify that white space lines should be ignored, tested and working! (only checks spaces and newlines at moment)

  3. Returns the size of the String array that was created!

  4. Returns false if the file could not be opened

Picture:

Enjoy!

Rama

PS: re-download the plugin from the link in first post to get this update!

Node created as per this request: