Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Added minecraft tweaks. Rebranded.
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckDuckG0ose committed Oct 20, 2023
1 parent 9496e0d commit 677231a
Show file tree
Hide file tree
Showing 15 changed files with 67 additions and 103 deletions.
32 changes: 18 additions & 14 deletions Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"}
]
}
Expand All @@ -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:
Expand Down Expand Up @@ -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():
Expand Down Expand Up @@ -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")
Expand Down Expand Up @@ -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.")
Expand All @@ -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:
Expand Down Expand Up @@ -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 "))
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@



![Logo](https://i.imgur.com/dNwR4F6.png)
![Logo](images/Northstar_Logo.ico)

<a href="https://link-target.net/965133/peoject-frontier-support"><img src="https://discordapp.com/api/guilds/1130249899385028669/widget.png?style=banner3" alt="Discord Banner 3"/></a><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Redbull" height="41" width="174"></a>
# 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.


Expand Down Expand Up @@ -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.)
Expand All @@ -66,7 +66,7 @@ If you have an questions or issues I would love to help you. Email me at visualv

# FAQ
<details>
<summary>Q: How do I know if Frontier is safe?</summary>
<summary>Q: How do I know if Northstar is safe?</summary>
<br>
A: We keep our services clean. Where are the morals in stealing someones data?
<img width="500" src="images/Tweet.png"><img width="500" src="images/tweet1.png"><img width="500" src="images/tweet2.png">
Expand Down
Binary file modified __pycache__/debloat.cpython-311.pyc
Binary file not shown.
Binary file added __pycache__/minecraft.cpython-311.pyc
Binary file not shown.
Binary file modified __pycache__/modules.cpython-311.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion debloat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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...")
input("Thank you for choosing Northstar. Press any key to continue...")
29 changes: 0 additions & 29 deletions hone.txt

This file was deleted.

26 changes: 0 additions & 26 deletions honesponsor.py

This file was deleted.

Binary file added images/Northstar_Logo.ico
Binary file not shown.
Binary file added images/Northstar_Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 8 additions & 25 deletions logo.txt
Original file line number Diff line number Diff line change
@@ -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'
3 changes: 3 additions & 0 deletions logs.txt
Original file line number Diff line number Diff line change
@@ -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
29 changes: 29 additions & 0 deletions minecraft.py
Original file line number Diff line number Diff line change
@@ -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)
Loading

0 comments on commit 677231a

Please sign in to comment.