inexorgame / vulkan-renderer

A new 3D game engine for Linux and Windows using C++20 and Vulkan API 1.3, in very early but ongoing development
https://inexor.org
MIT License
777 stars 34 forks source link

Add a .bat file in releases to start inexor-vulkan-renderer-example.exe easily #500

Closed IAmNotHanni closed 1 year ago

IAmNotHanni commented 1 year ago

Is your feature request related to a problem?

Most ordinary players don't want to launch inexor-vulkan-renderer-example.exe through console, as it needs to be launched from the root folder of the repository folder (or release folder). Cube2 solved this problem by adding a .bat file which allowed to start it easily.

Description

Another way to solve this would be to change the relative paths inside of the engine, but that's more work, needs discussion, and will take more time.

Alternatives

Keep it as it is (users would have to run it from console then)

Affected Code

none

Operating System

All Microsoft Windows operating systems

Additional Context

none

IAmNotHanni commented 1 year ago

I close this issue because latest changes to the automatic release generation (devel) makes it so that the executable is always in the root folder. When developing, the working folder is also set correctly. Anything further (like an asset system or folder search functions) can be discussed in the future.