ASCII GAME PROJECT - CMD Console

Job ID: 30705758

Budget: $250 – $750 USD

I've been working on my game for some time and need a certain feature to be automated when the game loads. I need someone who understands C++, the dll Kernel32.lib and could help integrate it using Pure Basic.

Info about my game application:

My game uses ASCII graphics and heavily manipulates the CMD console window. As of right now the only way I can get my custom font file working is to modify the registry.

Here is the specific entry :
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont

Once I create a entry for it and load the font into the fonts folder it becomes selective in the list of fonts within the command console. I do not want people who play my game to do this manually as they could easily mess up their system. I would love to have this happen once automatically then the game is loaded. This would involve the application writing information to a config.txt file. If the file does not exist is creates one within the directory to store the settings.

There would need to be a simple check asking the user what operating system they use. Because of the different structure of Windows XP through 10 the code may need to be modified accordingly to handle the references. It shouldn't be too difficult as basic kernel32.lib I think its still included in all versions of Windows. I've had some success in manipulating the console directory by importing the kernel32.lib". But I do not understand it well enough to take it beyond changing the default size and setting the font from the standard set of fonts.

The language this project uses is PureBasic. You will need to download the free version to compile the code. https://www.purebasic.com/
I have found out that PureBasic can run external programs via: https://www.purebasic.com/documentation/process/runprogram.html

Alternately, you may be able to use PureBasic's GetEnvironmentVariable function to check if a variable you want is set (let's say it's called 'CustomConsoleFontInstalled')?
If it is set, do nothing and proceed norm. I must also admit I am a novice coder. I'm much more of a designer/artist that has took an interest in code. I am not sure of any commercial aspect to this project yet its more for my own personal satisfaction right now. But to my surprise ASCII type games have made a comeback on Steam so that could happen in the future.

If the budget isn't enough let me know and we can discuss that further. I would like to hire someone to work with long term.