Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Custom Game.exe Source Code

Status
Not open for further replies.
This is cool:
NRpC5GI.png


So now I can look into my plan of having OpenGL target given RPG Maker 'Pictures' as a frame-buffer for rendering.
 
I should make a new thread about the OpenGL stuff as it's a separate project to the custom Game.exe source code.

EDIT: Actually, where would I make a thread about this? Can't find a section that would suit it...

Is there scripts in development?

Anyway, for now:
battleworldrpg.net/hbgames/GLtest2.zip

Load up the game (Uses a custom Game.exe, so warning about that) and talk to the girl, she'll show a picture that will quickly be replaced with an OpenGL frame buffer

That is a very basic OpenGL test, what it does is replace the update for any game picture with the draw call that is inside the custom Game.exe (Or xiGame.exe, I left that one in there :U)

It's VERY rough and basic, at the moment it just draws that triangle with the 3 vertices set to colours that have an alpha of 0.5f.

To repeat; the plan is make it so you can target any game picture as if it's a 3D buffer, draw your crap to it and then display it using picture as you want, from this we can start looking into post-processing shaders (FXAA in RPG Maker, haha) and cool screen-space effects like zoom in with a bilinear filter (At the moment I have it set to nearest neighbour filtering).
 
EDIT: Actually, where would I make a thread about this? Can't find a section that would suit it...
I'm not too sure... so I'll leave it up to you to decide if you want it in scripts, programming, projects or completed games.

I mean, we have a few things (Dargor's FF for example) that could fit together, but not enough to fill a board I don't think.

It's "extending RPG Maker" I guess.
 
I'll make a thread in Projects in Development then, I plan to make a sort of API for doing post-processing rather than a complete scripting system.


Nice to have got everything working, though
CqZoiom.png
 
The link is down, could you update it ? Also, would there be a way to have a custom Game.exe for RPG Maker XP ? Would this one work if I adapt it ?

Thanks for your work !
 
The original website is gone now.

Writing custom Game.exe's isn't as useful as one would think, it may be better to go the way of making custom DLL's.

Sorry!

In the future I may make a cleaner version of this tutorial
 
natinusala":2gn5nsoc said:
Actually I would like to edit the icon, get rid of Game.ini and add a launcher before the actual game, is that possible ?
You could achieve this by having another launcher application that launches the normal game.exe when you click "play" or something.

You could even parse command line arguments to Game.exe from the launcher so you could prevent a player booting the game from Game.exe directly or you could parse in arguments depending on the settings given in the custom launcher.
 
If you are familiar with the Win32 API and its RGSS class you can get command line arguments with this;
Ruby:
getCommandLine_f = Win32API.new( "Kernel32", "GetCommandLine", "", "P" )

startupString = getCommandLine_f.call
That will return the startup string, you'll need to do split the startupString into the components to get the arguments.

Once you split it up into multiple strings, you just need to match your given argument to one of those strings and that's how you know if it exists.

It should be in order too, so you can test for a key and presume the next string is the value for that key.
 
terabin":1v5dze2r said:
Can you make a new link? plis.
I will make a new download when I improve this project. At the moment I think too many people are using my Game.exe source code without enough programming knowledge to know what to do with it, so I'd rather re-write it so it is more friendly for people to use and remove the current version in the meantime.

Like I said to others before, it is very likely that you are able to get the behaviour you want without having to create your own binary.

On that note, I am going to lock this thread.


If you want a feature and you don't know if it needs a script or an event please make a thread in RPG Maker Support viewforum.php?f=247 and we can help you there.
If it does seem like a custom Game.exe is the solution to a need, then someone may make one for you based on what you need.
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top