forked from parsiad/nexus-autodl
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Making the code buildable again as well as adding a little flair by adding an icon to it in the makefile Although I wasn't able to get it buildable on the latest version of Python I did figure out the install instructions after messing around the code for a few hours also removed the website components since in my opinion they were redundant and the task can be completed using the readme markdown
- Loading branch information
Showing
10 changed files
with
64 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
NAME:=nexus_autodl | ||
NAME := nexus_autodl | ||
|
||
ifeq ($(OS),Windows_NT) | ||
PATHSEP:=; | ||
PATHSEP := ; | ||
else | ||
PATHSEP:=: | ||
PATHSEP := : | ||
endif | ||
|
||
all: yapf lint mypy build | ||
# Update these paths with the correct paths to your Python executables | ||
PYTHON_EXEC := C:\Py37\python.exe | ||
YAPF_PATH := C:\py37\Scripts\yapf.exe | ||
MYPY_PATH := C:\py37\Scripts\mypy.exe | ||
BUILD_PATH := C:\py37\Scripts\pyinstaller.exe | ||
|
||
all: yapf mypy build | ||
|
||
build: $(NAME).py | ||
pyinstaller --clean -F --add-data 'templates$(PATHSEP)templates' $< | ||
$(BUILD_PATH) --clean -F --add-data 'templates$(PATHSEP)templates' --icon icon.ico $< | ||
|
||
clean: | ||
$(RM) -r build dist *.spec | ||
|
||
lint: $(NAME).py | ||
pylint --max-line-length 120 $< | ||
|
||
mypy: $(NAME).py | ||
mypy $< | ||
$(MYPY_PATH) $< | ||
|
||
yapf: $(NAME).py | ||
yapf -i --style style.yapf $< | ||
$(PYTHON_EXEC) $(YAPF_PATH) -i --style style.yapf $< | ||
|
||
.PHONY: build clean lint mypy yapf | ||
.PHONY: build clean mypy yapf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,41 @@ | ||
# Nexus AutoDL | ||
# Nexus AutoDL | ||
When utilizing [Nexus Mods](https://nexusmods.com/) for Game Modding, the typical procedure involves manually clicking the download button each time a new mod is added to the download queue. | ||
However, this manual process can become problematic when dealing with tools such as [Wabbajack](https://www.wabbajack.org/) or [Portmod](https://gitlab.com/portmod/portmod), which may involve numerous mods, potentially numbering in the hundreds or even thousands. | ||
|
||
<p align="center"> | ||
<img alt="Nexus AutoDL" src="https://raw.githubusercontent.com/parsiad/nexus-autodl/master/assets/img/logo.png"> | ||
</p> | ||
To address this issue, Nexus AutoDL serves as an autoclicker designed to streamline and automate this process. While Nexus AutoDL is active, it continuously monitors the screen for instances when a download button for a Nexus Mod(the "Slow Download" button) or Collections button from Vortex becomes visible. | ||
In such cases, Nexus AutoDL takes action by automatically clicking the download button, effectively removing the need for manual intervention. This automation significantly enhances the efficiency and convenience of the mod downloading experience. | ||
## Note | ||
Using a bot to download from Nexus is in direct violation of their TOS: | ||
|
||
When downloading mods from [Nexus Mods](https://nexusmods.com), you have to manually click on a download button every time a new mod is added to the queue. | ||
Since modlists supported by tools like [Wabbajack](https://www.wabbajack.org) and [Portmod](https://gitlab.com/portmod/portmod) often have tens or hundreds of mods, this can be very time consuming. | ||
Nexus AutoDL is an autoclicker (a.k.a., autodownloader, bot) that helps automate this process for you. | ||
Specifically, while Nexus AutoDL is running, any time a [mod](https://raw.githubusercontent.com/parsiad/nexus-autodl/master/assets/mod_download_page.jpg) or [collection](https://raw.githubusercontent.com/parsiad/nexus-autodl/master/assets/vortex_download_page.jpg) download page is visible on your screen, Nexus AutoDL will attempt to click the download button. | ||
> Attempting to download files or otherwise record data offered through our services (including but not limited to the Nexus Mods website and the Nexus Mods API) in a fashion that drastically exceeds the expected average, through the use of software automation or otherwise, is prohibited without expressed permission. Users found in violation of this policy will have their account suspended. | ||
Use this at your own risk. | ||
|
||
# Changelog | ||
added an icon to the exe | ||
changed code a little so as to make it buildable again | ||
updated readme with build instructions | ||
|
||
## Download | ||
Check [Releases](https://github.com/Kickskii/fork-NexusAutodl/releases) | ||
## BuildingNexus-AutoDL | ||
|
||
👉 [Visit the website](https://parsiad.github.io/nexus-autodl) 👈 to download | ||
install [Python 3.7](https://www.python.org/downloads/release/python-370/) | ||
#### upgrade pip | ||
```python -m pip install --upgrade pip``` | ||
#### Install required dependencies | ||
``` pip install yapf | ||
pip install mypy | ||
pip install pyinstaller | ||
pip install pillow | ||
pip install pyautogui | ||
pip install numpy | ||
pip install click | ||
pip install opencv-python==3.4.2.16 | ||
pip install opencv-contrib-python==3.4.2.16 | ||
python -m pip install types-Pillow | ||
``` | ||
install Make from [GnuWin32](https://sourceforge.net/projects/gnuwin32/files/make/3.81/) and add the executable to PATH | ||
navigate to folder with makefile and run in powershell | ||
```make all``` | ||
#### current requires python3.7 use opencv version 3.4.2.16 otherwise SIFT does not work could maybe fix using ORB function for newer OpenCV version |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters