Custom BeamNG Launcher

Discussion in 'Programming' started by Willfa, Jan 8, 2024.

  1. Willfa

    Willfa
    Expand Collapse

    Joined:
    Aug 17, 2023
    Messages:
    160
    Beam-Launcher
    Hello people! I have made a beamNG mod that runs as an EXE
    I am going to fix a couple things in the next update but feel free to download it as it is.


    upload_2024-2-3_22-58-28.png
    Here is a Photo of the launcher as of 10.11.23. Changes Will have been made since.
    Here is a GitHub link (contains the source code and some assets):
    https://github.com/Beam-Launcher/Launcher-Code

    Here is the website and Download page:
    https://beam-launcher.github.io/

    Please give feedback on it. I have worked on this for a while and want to improve it. if you have something terrible to say, don't say it. It isn't nice for me or anyone else to read. no one wants complete negativity

    Update 0.3:
    • New customising features
    • Languages
    • Themes
    • Text colours
    • Email button
    • Website button
    • New icon improvements
     
    #1 Willfa, Jan 8, 2024
    Last edited: Feb 4, 2024
  2. PowerstrokeHD

    PowerstrokeHD
    Expand Collapse

    Joined:
    Feb 5, 2021
    Messages:
    2,598
    I don't see why you wouldn't be able to. If need be you can always upload to google drive.
     
  3. Willfa

    Willfa
    Expand Collapse

    Joined:
    Aug 17, 2023
    Messages:
    160
    ok thanks. I'll post it on here and if that gets taken down on google drive
     
  4. vulcan-dev

    vulcan-dev
    Expand Collapse

    Joined:
    Jan 28, 2017
    Messages:
    245
    I wouldn't recommend that, and it's probably not allowed anyway. And even if you did, I doubt anyone would just download and run it.
    Pop it on Github or some other place instead (including the source), that way people can verify it's safe before just running it lol :)
     
  5. Willfa

    Willfa
    Expand Collapse

    Joined:
    Aug 17, 2023
    Messages:
    160
    I have a github link and I know to post source code. but I really just want to show that I have made a small thing
    --- Post updated ---
    Update is in progress RN
    --- Post updated ---
    upload_2024-2-3_22-24-57.png

    Started to create the new UI. opinions? (I will try not to post too much)
    --- Post updated ---
    upload_2024-2-3_22-25-40.png
    --- Post updated ---
    Adding some cusomisiation: Got themes, Light, Dark, and Dark blue
    --- Post updated ---
    I'm going to add a way to save the theme since I want to make entirely custom themes at some point. might require a lot of work. but for now, enjoy this
    --- Post updated ---
    The "Text colour" button works properly. I have added it back into the main program. BTW, should I add a language option (by that I mean British English/american fake thing)
    --- Post updated ---
    upload_2024-2-3_22-57-34.png

    Done it for you

    upload_2024-2-3_22-57-48.png
    --- Post updated ---
    If anyone can help with some american words that change please tell me. I never have bothered to learn anything other than colour and color
    --- Post updated ---
    upload_2024-2-3_23-17-33.png
    --- Post updated ---
    Added spanish language to some buttons. Ill finish it later as Im tired
     

    Attached Files:

    • upload_2024-2-3_22-26-56.png
    • Screenshot2024-02-03222630.png
    • Screenshot2024-02-03222623.png
  6. vulcan-dev

    vulcan-dev
    Expand Collapse

    Joined:
    Jan 28, 2017
    Messages:
    245
    Launcher-Code/Form1.vb at main · Beam-Launcher/Launcher-Code (github.com)
    Why are all the paths hardcoded? To get the game path, you should:
    1. Find the steam path via the registry (look it up on Google)
    2. "Parse" steamlibraryfolders.vdf in the Steam path to get all the Steam install paths. From this, you can get the path (example: "G:\\SteamLibrary") and then check if that path + "BeamNG.drive\\Bin64\\BeamNG.drive.x64.exe" exists, if it does then there you go, that's the path.

    To get the latest version, you can resolve the path for "latest.lnk" in the BeamNG directory.
    --- Post updated ---
    I would give you an example of how to do it, but I don't have it for VB, only C++.
    After a quick search, I found this: vb.net - Find steam games folder - Stack Overflow
    Might be useful for you
     
  7. Willfa

    Willfa
    Expand Collapse

    Joined:
    Aug 17, 2023
    Messages:
    160
    The "Text colour" button works properly. I have added it back into the main program. BTW, should i
    ah thanks. I'll look at it tomorrow since I will actually sleep now.
    --- Post updated ---
    explain it:

    is the "appmanifest_000000.acf" the right one (0 instead of a proper number juts for here)
    --- Post updated ---
    its in the folder C:\Program Files (x86)\Steam\steamapps
    --- Post updated ---
    I can't find latest.INK anywhere
    is it in the same directory as programfiles (x86)
    --- Post updated ---
    Forget everything i just said, the issue I now face is that it launches the official launcher

    Rather than going straight to the game, it launches the official one
    --- Post updated ---
    idk if its possible to bypass
    that is really why I hard coded it
     
    • Like Like x 1
  8. Nazu

    Nazu
    Expand Collapse

    Joined:
    Dec 22, 2021
    Messages:
    1,296
    what is the purpose of this
     
    • Agree Agree x 1
  9. Willfa

    Willfa
    Expand Collapse

    Joined:
    Aug 17, 2023
    Messages:
    160
    Forget everything i just said, the issue I now face is that it launches the official launcher

    Rather than going straight to the game, it launches
    its just to have a different looking startup menu before actually loading the game.
     
  10. Willfa

    Willfa
    Expand Collapse

    Joined:
    Aug 17, 2023
    Messages:
    160
    What if, I could make an install script that replaces the official beamNG launcher with my one.
     
  11. Inventor-Bug

    Inventor-Bug
    Expand Collapse

    Joined:
    Jun 4, 2022
    Messages:
    143
    Cool!
     
  12. vulcan-dev

    vulcan-dev
    Expand Collapse

    Joined:
    Jan 28, 2017
    Messages:
    245
    I would give you an example of how to do it, but I don't have it for VB, only C++.
    I wouldn't recommend this, you could mess things up very easily. And it launches the official launcher because you're using steam://run/. You will want to automatically find the actual path of the executable and then launch that
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice