diff --git a/Main.py b/Main.py index 788ddd3..ead564b 100644 --- a/Main.py +++ b/Main.py @@ -12,8 +12,8 @@ import ctypes import shutil import threading -from honesponsor import sponsor from softreboot import softreboot +from minecraft import minecraft_tweak from modules import maximize_command_prompt, boostdiscord, webbrowser, iprenew, spicetify, mssuninstall, run_robloxtweaks_cmd, windowssearch, smartscreen from modules import defrag import json @@ -138,7 +138,7 @@ def update_rich_presence(): "start": start_time, "large_image": "https://i.imgur.com/dNwR4F6.png", "small_image": "small_image_key", - "buttons": [{"label": "Github", "url": "https://github.com/VisualDeVenture/Frontier"}, + "buttons": [{"label": "Github", "url": "https://github.com/VisualDeVenture/Northstar"}, {"label": "Discord", "url": "https://discord.gg/GkhwF53JbF"} ] } @@ -160,7 +160,7 @@ def update_rich_presence(): def update(repo_url): local_version_file = "version.txt" repo_version_url = f"{repo_url}/raw/master/version.txt" - logger.info("Starting version checking squence") + logger.info("Starting version checking sequence") # Read the local version file with open(local_version_file, "r") as f: @@ -243,7 +243,7 @@ def noadmin(): We truly don't want to brick your pc. That's why we are asking you to relaunch the script with admin permissions. Thank you. ''')) - logger.critical("YOU ARE MISSING ADMIN PERMISSIONS. THIS IS NOT AN ERROR. DO NOT REPORT THIS TO FRONTIER DEVS.") + logger.critical("YOU ARE MISSING ADMIN PERMISSIONS. THIS IS NOT AN ERROR. DO NOT REPORT THIS TO NORTHSTAR DEVS.") input("Press enter to exit...") def uninstall_edge(): @@ -278,7 +278,7 @@ def logo(): f = open('logo.txt', 'r') print(crayons.yellow(f.read())) f.close() - print(crayons.blue(" Welcome to "), crayons.green("Frontier"), crayons.blue(". Uncover the power within. Put it to use.")) + print(crayons.blue(" Welcome to "), crayons.green("NORTHSTAR"), crayons.blue(". Uncover the power within. Put it to use.")) def logo_red(): os.system("cls") @@ -312,7 +312,7 @@ def warningmenu(): WE ARE NOT RESPONSIABLE FOR ANY DAMAGES DONE TO YOUR MACHINE. WE STRONGLY SUGGEST ON MAKING A RESTORE POINT. - FRONTIER IS STILL NOT PERFECT AND WE DONT HAVE A AUTOMATIC RESTORE POINT SYSTEM IN PLACE. \n THIS PROGRAM CANT KNOW IF ITS BEING RUN AS AN ADMIN OR NOT. IF YOU ARE NOT RUNNING IT AS AN AMIN IT MAY HAVE A CHANCE OF BRICKING YOUR SYSTEM. + NORTHSTAR IS STILL NOT PERFECT AND WE DONT HAVE A AUTOMATIC RESTORE POINT SYSTEM IN PLACE. \n THIS PROGRAM CANT KNOW IF ITS BEING RUN AS AN ADMIN OR NOT. IF YOU ARE NOT RUNNING IT AS AN AMIN IT MAY HAVE A CHANCE OF BRICKING YOUR SYSTEM. """)) countdown_timer(9) logger.info("This was users first launch. Take some stuff with a grain of salt.") @@ -325,8 +325,8 @@ def selectmode(): logo() # # print(f'\n \n') print(crayons.cyan(" [1.] General Purpose Tweak Menu [2.] Game Tweaks")) - print(" Menu of all General Purpose Input/Output Game tweaks hand picked by the Frontier") - print(" Tweaks made by the Frontier Devs team to get you the most performance when gaming ") + print(" Menu of all General Purpose Input/Output Game tweaks hand picked by the Northstar") + print(" Tweaks made by the Northstar Devs team to get you the most performance when gaming ") print(f'\n \n') try: @@ -365,6 +365,9 @@ def gametweaks(): print(" You must use this tweak every time roblox Boost your fps in Valorant using this tweak") print(" Updates to keep using it. this tweak must be ran every update to have effects") print(f'\n \n') + print(crayons.cyan(" [3.] Minecraft Tweak ")) + print(" Edits Minecraft's configuration to give you ") + print(" The most stable and smooth experience in Minecraft ") try: print(crayons.magenta(" [99.] back | [10.] Discord ")) @@ -378,8 +381,9 @@ def gametweaks(): run_robloxtweaks_cmd() logger.info("Tweaked Roblox.") elif action == 2: - print("Not enabled yet") - + tweakval() + elif action == 3: + minecraft_tweak() elif action == 99: break else: @@ -482,8 +486,8 @@ def fourthpage(): # . / . / . / print(f'\n \n') print(crayons.cyan(" [1.] Xbox DVR [2.] Better Windows Search [3.] Disable smartscreen ")) - print(" Disable Xbox DVR in order to free up more RAM Updates the registy and System32 file in order", crayons.red(" Not a smart decision but it imroves")) - print(" and CPU power. (Not tested on Windows 11) To help Windows search bar fin items more easly", crayons.red(" performance in game significantly ")) + print(" Disable Xbox DVR in order to free up more RAM Updates the registry and System32 file in order", crayons.red(" Not a smart decision but it improvers")) + print(" and CPU power. (Not tested on Windows 11) To help Windows search bar fin items more easily", crayons.red(" performance in game significantly ")) print(f'\n \n') print() try: @@ -700,7 +704,7 @@ def firstlaunch(): terminalsize = config_data.get('terminalsize', False) set_cmd_font_size(terminalsize) print(f"Font size updated to {terminalsize}") -os.system("title Project Frontier - Uncover your PC's full potential.") +os.system("title Northstar - Uncover your PC's full potential.") maximize_command_prompt() logger.info("Changed the window title.") lightmode = False @@ -709,7 +713,7 @@ def firstlaunch(): presence_thread.start() logger.info("Started rich presence.") selectmode() -update_repository("VisualDeVenture", "Frontier") +update_repository("VisualDeVenture", "Northstar") os.system("cls") try: diff --git a/README.md b/README.md index c85249a..d4e583c 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@ -![Logo](https://i.imgur.com/dNwR4F6.png) +![Logo](images/Northstar_Logo.ico) Discord Banner 3Buy Me A Redbull -# Frontier +# Northstar ## When your performance fails you, we come in clutch. Coming with 40+ tweaks to boost your pc performance both inside and outside of games. @@ -37,21 +37,21 @@ # Installation (Best part) - ## Compiled (.exe) - 1. Click [here](https://github.com/VisualDeVenture/Frontier/releases/latest) to open the latest compiled release. + 1. Click [here](https://github.com/VisualDeVenture/Northstar/releases/latest) to open the latest compiled release. 2. Download it and extract it. 3. Run "Main.exe" as an administrator 4. Enjoy your boosted performance - ## Raw code (.py/un-compiled) ### NOTE: If you are just a normal user I strongly advise **AGAINST** using this - 1. Clone the repository or click [here](https://github.com/VisualDeVenture/Frontier/archive/refs/tags/frontier0.0.9.zip) or go to the Frontier Github page and download the raw code + 1. Clone the repository or click [here](https://github.com/VisualDeVenture/Northstar) or go to the Northstar Github page and download the raw code - *Git clone command: `$ git clone https://github.com/VisualDeVenture/Frontier`* + *Git clone command: `$ git clone https://github.com/VisualDeVenture/Northstar`* 2. Install the required packages and libraries for the code to work properly *You can achieve this either by using `$ pip install -r requirements.txt` or by running Install_Requirements.bat* - 3. Run Debug_Window.exe as administrator or open a new Command prompt and navigate to theFrontier folder. + 3. Run Debug_Window.exe as administrator or open a new Command prompt and navigate to the Northstar folder. **If you used the Debug Window you can stop here.** 4. Use `$ Python main.py` (If the terminal crashes or displays any kind of error please make sure you are running your terminal as an administrator.) @@ -66,7 +66,7 @@ If you have an questions or issues I would love to help you. Email me at visualv # FAQ
-Q: How do I know if Frontier is safe? +Q: How do I know if Northstar is safe?
A: We keep our services clean. Where are the morals in stealing someones data? diff --git a/__pycache__/debloat.cpython-311.pyc b/__pycache__/debloat.cpython-311.pyc index 61a8b0f..71a6346 100644 Binary files a/__pycache__/debloat.cpython-311.pyc and b/__pycache__/debloat.cpython-311.pyc differ diff --git a/__pycache__/minecraft.cpython-311.pyc b/__pycache__/minecraft.cpython-311.pyc new file mode 100644 index 0000000..9b74f77 Binary files /dev/null and b/__pycache__/minecraft.cpython-311.pyc differ diff --git a/__pycache__/modules.cpython-311.pyc b/__pycache__/modules.cpython-311.pyc index 76b60f7..7d2cb3a 100644 Binary files a/__pycache__/modules.cpython-311.pyc and b/__pycache__/modules.cpython-311.pyc differ diff --git a/debloat.py b/debloat.py index f96e2ac..0d51c42 100644 --- a/debloat.py +++ b/debloat.py @@ -19,4 +19,4 @@ def debloat(): os.remove('debloat_script.bat') else: print(f"I couldnt debloat your pc. Something must be wrong.") - input("Thank you for choosing Frontier. Press any key to continue...") \ No newline at end of file + input("Thank you for choosing Northstar. Press any key to continue...") \ No newline at end of file diff --git a/hone.txt b/hone.txt deleted file mode 100644 index 5cf3f37..0000000 --- a/hone.txt +++ /dev/null @@ -1,29 +0,0 @@ - @@@@ - @@@@@@ - @@@@@@@@ - @@ @@@@@@@@@@ - @@@@@ @@@@@@@@@@@ - @@@@@@ @@@@@@@@@@@@ - @@@@@@@@@ @@@@@@@@@@@@ - @@@@@@@@@@& @@ @@@@@@@@@@@@ - @@@@@@@@@@ @@@@@@@@@ @@@@@@@@@@@@ - @ @@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@ Hey! Before we dive into optimization I just wanna give a huge shoutout to Hone and the amazing people at Hone. - @@@ @@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@ This is a continuation of HoneCTRL that was originaly developed by the - @@@@@ @@@@@@@@@@@@@@@@@@@ &@@@@@@@@@@@ People at AuraSide I.N.C. But we are not associated with AuraSide I.N.C. and this is a seperate project. - @@@@@@@ @@@@@@@@@@@@@@@@ @@@@@@@@@@@@ They were so amazing and let me borrow some of their code. They are really amazing and I suggest checking out their - @@@@@@@@@@ @@@@@ @@@@@@@@@@@ Hone app (https://Hone.gg) and their HoneCTRL project. You can join their Discord server to see what they are up to - @@@@@@@@@@@ ######### @@@@@@@@@ These days. https://discord.gg/Hone - @@@@@@@@@@@ ################## @@@@@@@ - @@@@@@@@@@@@ ################### @@@@ Once again a huge thank you to the amazing people at Hone and AuraSide I.N.C. <3 - @@@@@@@@@@@ ###################### @@@ - @@@@@@@@@@@@ ######################## - @@@@@@@@@@@ ######## ########## - @@@@@@@@@@@@ ########## - @@@@@@@@@@@@ ######## - @@@@@@@@@@@@ ###### - @@@@@@@@@@@@ #### - @@@@@@@@@ ## - @@@@@@@ - @@@@@& - @@@ - @ diff --git a/honesponsor.py b/honesponsor.py deleted file mode 100644 index 3d7f2e7..0000000 --- a/honesponsor.py +++ /dev/null @@ -1,26 +0,0 @@ -import os -import colorama -from colorama import Fore, Style - -# Initialize colorama -colorama.init() - -# Function to print text with "#" and specified words replaced by orange color -def print_colored_ascii(file_name): - file_path = os.path.join(os.path.dirname(__file__), file_name) - - with open(file_path, "r") as file: - ascii_text = file.read() - - colored_ascii = ( - ascii_text.replace("#", f"{Fore.YELLOW}#{Style.RESET_ALL}") - .replace("Hone", f"{Fore.YELLOW}Hone{Style.RESET_ALL}") - .replace("AuraSide I.N.C.", f"{Fore.YELLOW}AuraSide I.N.C.{Style.RESET_ALL}") - ) - - print(colored_ascii) - -def sponsor(): - # Replace "hone.txt" with the actual filename of your ASCII file - file_name = "hone.txt" - print_colored_ascii(file_name) diff --git a/images/Northstar_Logo.ico b/images/Northstar_Logo.ico new file mode 100644 index 0000000..4340c79 Binary files /dev/null and b/images/Northstar_Logo.ico differ diff --git a/images/Northstar_Logo.png b/images/Northstar_Logo.png new file mode 100644 index 0000000..8458fff Binary files /dev/null and b/images/Northstar_Logo.png differ diff --git a/images/banner.png b/images/banner.png index c1db2a5..71453f7 100644 Binary files a/images/banner.png and b/images/banner.png differ diff --git a/logo.txt b/logo.txt index c5e27b8..dbca250 100644 --- a/logo.txt +++ b/logo.txt @@ -1,25 +1,8 @@ - /%@@@@@@@@@( - /&@@&%#@@@@# - (&@@@@@@@@@@@@@@&( #@@@# - (@@@@@@@@@@@@@@@@@@@@@@@&( %@@@% - /&@@@@@@@@@@@@@@@@@@@@@@@@@@@/ /&@@@% - %@@@@@@@@@@@@@@@@@@@@@@@@@@@( %@@@@( - /&@@@@@@@@@@@@@@@@@@@@@@@@@@# #@@@@% - &@@@@@@@@@@@@@@@@@@@@@@@@@( #@@@@@% - /@@@@@@@@@@@@@@@@@@@@@@@@/ #@@@@@@@@/ - (@@@@@@@@@@@@@@@@@@@@@# &@@@@@@@@@@( - /@@@@@@@@@@@@@@@@@@&/ (@@@@@@@@@@@@@/ - #@@@@@@@@@@@@@@@( /%@@@@@@@@@@@@@@% - %@@@@@@@@@@&( #@@@@@@@@@@@@@@@@& - (@@@@@@%( #@@@@@@@@@@@@@@@@@@( - #@# /%( /%@@@@@@@@@@@@@@@@@@@# - #@@@@ (&@@@@@@@@@@@@@@@@@@@# - @@@@ (&@@@@@@&@@@@@@@@@@@%/ - @@@@@@@@@@@@@@%/ - (&@@@@@@%/ - - - - - - + + + + dBBBBb dBBBBP dBBBBBb dBBBBBBP dBP dBP.dBBBBP dBBBBBBP dBBBBBb dBBBBBb + dBP dB'.BP dBP BP BB dBP + dBP dBP dB'.BP dBBBBK' dBP dBBBBBP `BBBBb dBP dBP BB dBBBBK' + dBP dBP dB'.BP dBP BB dBP dBP dBP dBP dBP dBP BB dBP BB + dBP dBP dBBBBP dBP dB' dBP dBP dBP dBBBBP' dBP dBBBBBBB dBP dB' diff --git a/logs.txt b/logs.txt new file mode 100644 index 0000000..79fe5dc --- /dev/null +++ b/logs.txt @@ -0,0 +1,3 @@ +2023-10-20 19:22:05,758 - INFO - Changed the window title. +2023-10-20 19:22:05,760 - INFO - Started rich presence. +2023-10-20 19:22:16,381 - INFO - Selected GPTW diff --git a/minecraft.py b/minecraft.py new file mode 100644 index 0000000..4b36e49 --- /dev/null +++ b/minecraft.py @@ -0,0 +1,29 @@ +import os +def minecraft_tweak(): + # Set the Minecraft directory + mc_dir = os.path.join(os.getenv('APPDATA'), '.minecraft') + + # Check if Minecraft directory exists + if not os.path.exists(mc_dir): + print("Minecraft directory not found. Are you sure you have minecraft installed?") + exit() + + # Check if options.txt exists + options_file = os.path.join(mc_dir, 'options.txt') + if not os.path.exists(options_file): + print("options.txt not found.") + exit() + + # Make a backup of the original options.txt + os.system(f'copy {options_file} {os.path.join(mc_dir, "options.txt.bak")}') + + # Change settings in options.txt + with open(options_file, 'r') as file: + lines = file.readlines() + + with open(options_file, 'w') as file: + for line in lines: + if line.startswith('renderDistance'): + file.write('renderDistance:4\n') + else: + file.write(line) diff --git a/modules.py b/modules.py index 3d697a4..171f574 100644 --- a/modules.py +++ b/modules.py @@ -111,7 +111,7 @@ def spicetify(): from Main import logger logger.critical("UNABLE TO ACCESS POWERSHELL: ", e) from Main import countdown_timer - print(crayons.green("We spiced things up, to use spicetify open relaunch spotify. There will be a tab under your search button called Marketplace, we reccomend using the marketplace to install a plugin called 'adblock'. Thank you for using frontier.")) + print(crayons.green("We spiced things up, to use spicetify open relaunch spotify. There will be a tab under your search button called Marketplace, we reccomend using the marketplace to install a plugin called 'adblock'. Thank you for using Northstar.")) countdown_timer(15) exit(1)