When I think about trainers 3 things come to mind.. original chiptunes, nostalgic games on windows and imaginative unique art styles. funny enough there was a decent amount of programming hacks and tricks used but people rarely think of that nowadays.
I have created an example template application with just the chiptunes and a little bit of art included. I will not include any logic for cracking games or programs etc. this article is just focusing on the visual and music design for nostalgic and educational purposes.
Please se the GitHub link to the source code here.
Using a quick C# WinForms application I was able to automate the process. Here I have included a small demo project which may be useful on windows machines.
The Main function is as below:
A new process is started and Arguments are sent to the 7za.exe console application.
7za.exe can also be used in the CMD console as well as with scripting languages such as PowerShell or Batch.
A simple C#WinForm application which allows us to query IP addresses and returns the metadata associated with each queried IP address. This data is then displayed in a listView item. The default WinForms listView item has been replaced by the betterlistview control for a more aesthetically pleasing look.
INI files are mostly used in C++ and Delphi programming these days. Microsoft’s .Net framework focuses on XML-based config files not INI files. However it is still possible to read and write to INI files using C#. In this example I have created a very simple INI reader. It allows you to read/write to the config file ini_reader_writer_20xx-xx-xx.ini .
In this simple example I create a very simple DLL(Dynamic-link library) in C#. the library has to functions the first function is the Calculate method which allows us initiate a simple addition of the numbers in each numerical box.The second function is a logger to keep track of the addition problems we solve. The WriteLine method also shows us how we can write to and delete files in by calling methods from the dll_example_class_library.dll we compiled.
A simple method called Calculate just adds two numbers together using the dll_example_class_library.dll DLL’s help to keep code more organised and also allow us to change functionality of programs without recompiling the EXE .
After the DLL is compiled we can add it to our project by: right clicking Refrences, clicking add reference, clicking browse and selecting our DLL
In order for us to use the methods in our class it has to first be initiated. Once initiated we can start using the methods in our logic.
Dark themed control and docking library for .NET WinForms.
DarkUI is an attempt to create a simple, extensible control library which emulates the look and feel of popular tabbed document interfaces such as Visual Studio, Photoshop, WebStorm, and XCode. Originally just a collection of bug fixes and enhancements built on top of WinForms, it has now evolved in to a fully working docking and control library.
It’s an inspiring library displaying the power of Windows Forms.
The best way to learn how to use DarkUI is to check out the Example project included with the source code. It’ll show you how to use the majority of the forms, controls, and docking components.