Wednesday, November 22, 2017

File Trimmer (subData)

Recently I was asked to make a program which copies files in a directory but for each file copied skip the first 0x1000 bytes. I thought yeah sure I can do that lol. I went ahead and worked on it and decided to add a feature. The ability to specify the size instead of a fixed value of 0x1000. The other requirement was that he wanted it to be a drag and drop application and because of that you cant really enter command line args via drag and drop so I thought I'd repeat what I've done before for one of my other programs. I used the file name of the executable to determine the length of bytes to skip.

So if I wanted to say skip 255 bytes I would rename the executable to TRIMxff.exe or TRIMxFF.exe

This has the added bonus of making copies of the TRIMx program all with different lengths to skip and when you want to just conveniently drag and drop your file over the respective one.

The processed files will appear in the same location as their originals with the string "TRIM_" leading the original file name.

DOWNLOAD: https://www.mediafire.com/file/9eh5hzmhm0wkrnm/TRIMx.exe

Friday, November 17, 2017

MonoGame 3.6 VisualBasic template for Visual Studios 2017

A while back while working on my game I was on Visual Studios 2015 I used a template that I found for VB since MonoGame dropped support for VB. Fast forward a little bit and I'm now on Visual Studios 2017 and MonoGame 3.6. I went to look for that template file since I lost it between reinstalling Windows multiple times but couldn't find it so I figured 'how hard could it be to just make the template', since the template I was using was converted from the C# template. Turns out it isn't hard at all.


Here is a download link to the template: http://www.mediafire.com/file/zga4e5a54m465pa/Windows.VB.zip
To install it just place the Windows.VB.zip file to "\Documents\Visual Studio 2017\Templates\ProjectTemplates\Visual Basic\MonoGame" creating any folders that are needed.