Skip to content

Commit 32ad670

Browse files
committed
Uploaded v0.9.7
1 parent cb57da2 commit 32ad670

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+4349
-3384
lines changed

‎README.md‎

Lines changed: 66 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
<!--
2+
/\ \ \__ _| |_ _ __ ___ /\/\ __ _ ___ _ __ ___
3+
/ \/ / _` | __| '__/ _ \ / \ / _` |/ __| '__/ _ \
4+
/ /\ / (_| | |_| | | (_) | / /\/\ \ (_| | (__| | | (_) |
5+
\_\ \/ \__,_|\__|_| \___/ \/ \/\__,_|\___|_| \___/
6+
27
Thanks for downloading Natro Macro!
38
4-
To run the macro, just extract the folder and open 'NATRO_MACRO.exe'!
9+
To start the macro, just open 'START.bat'!
10+
11+
If you need help or want to discuss, join our Discord server!
512
6-
If you need help or just want to discuss, join our Discord at .gg/natromacro!
13+
Feel free to give us a Star on GitHub!
714
8-
IMPORTANT: Make sure you are only downloading from an official source!
9-
The only official sources are our GitHub page (https://github.com/NatroTeam/NatroMacro)
10-
and our Discord server (https://discord.gg/natromacro)
15+
IMPORTANT:
16+
Make sure you are only downloading from an official source!
17+
The only official sources are:
18+
- our GitHub page (https://github.com/NatroTeam/NatroMacro)
19+
- our Discord server (https://discord.gg/natromacro)
1120
1221
>>> IGNORE BELOW THIS LINE <<<
1322
-->
@@ -16,68 +25,93 @@ and our Discord server (https://discord.gg/natromacro)
1625

1726
<!-- logo banner -->
1827
<picture>
19-
<source width="200px" media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/NatroTeam/.github/main/profile/assets/banners/natro-logo-dark.svg"> <!-- dark theme (white text) -->
20-
<img src="https://raw.githubusercontent.com/NatroTeam/.github/main/profile/assets/banners/natro-logo-light.svg"> <!-- light theme (black text) -->
28+
<source width="200px" media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/NatroTeam/.github/main/profile/assets/banners/natro-logo-light.svg"> <!-- light theme (black text) -->
29+
<img src="https://raw.githubusercontent.com/NatroTeam/.github/main/profile/assets/banners/natro-logo-dark.svg"> <!-- dark theme (light text) -->
2130
</picture>
2231
<br>
2332

24-
<!-- shields -->
25-
[![][github-release-shield]][github-release-link]
33+
<!-- shields and contents -->
34+
[![][latest-release-shield]][latest-release-link]
35+
[![][downloads-shield]][downloads-link]
2636
[![][discord-shield]][discord-link]
2737
[![][roblox-shield]][roblox-link]
2838
<br>
29-
An open-source Bee Swarm Simulator macro written in AutoHotkey!
30-
39+
An open-source Bee Swarm Simulator macro written in AutoHotkey!<br>
3140
</div>
3241

3342

34-
## ️ Installation
43+
<a name="installation"><h2>🛠️ Installation</h2></a>
3544

36-
1. Download the latest version from [here][latest-release-link]
37-
2. Right click Natro_Macro_vX.X.X.zip and click 'Extract All...'
38-
3. Open the extracted folder and run 'NATRO_MACRO.exe'
45+
1. Download `Natro_Macro_v#.#.#.zip` from the [latest release][latest-release-link]
46+
2. Open `Natro_Macro_v#.#.#` and double-click the folder inside
47+
3. Run `START.bat` and wait for the macro to load
3948

4049

41-
## 🫂 Community
50+
<a name="community"><h2>🌎 Community</h2></a>
4251

43-
__Join our official [Discord server][discord-link]!__ This is where you can connect with the community, get immediate pings for macro updates, and download custom patterns, paths, and themes.
52+
[**Join us on Discord!**][discord-link]
4453

45-
If Natro Macro helped you, let us know by giving it a ⭐ $\color{yellow}{\textsf{Star}}$ on GitHub!
54+
This is where you can connect with the community, access guides and help channels, and download custom patterns, paths, and themes!
4655

47-
<a href="https://github.com/NatroTeam/NatroMacro/stargazers">
56+
Discord is our main platform for troubleshooting and update news!
57+
58+
<a href="https://discord.gg/natromacro">
4859
<picture>
49-
<source media="(prefers-color-scheme: dark)" srcset="https://reporoster.com/stars/dark/NatroTeam/NatroMacro"> <!-- dark theme -->
50-
<img src="https://reporoster.com/stars/NatroTeam/NatroMacro"> <!-- light theme -->
60+
<source media="(prefers-color-scheme: light)" srcset="http://invidget.switchblade.xyz/natromacro?theme=light"> <!-- light theme -->
61+
<img alt="discord-invite-widget" width=500 src="http://invidget.switchblade.xyz/natromacro"> <!-- dark theme -->
5162
</picture>
5263
</a>
5364

5465

55-
## ⌨️ Contributing
66+
<a name="contributing"><h2>⌨️ Contributing</h2></a>
67+
68+
Natro Macro is an open-source project. We greatly appreciate all contributions, whether you are helping us fix bugs or suggesting new features. If you want to get started, read our [Contributing Guidelines][contributing-link] first.
69+
70+
- **Bugs**: If you find an issue or run into an error message while using the macro, please create a [bug report][bug-report-link].
71+
- **Suggestions**: If you have an idea for a feature that you'd like to see in the macro, please submit a [suggestion][suggestion-link].
72+
73+
For discussions, please join us on [Discord][discord-link] instead!
74+
5675

57-
Natro Macro is an open-source project. We greatly appreciate all contributions, whether you are helping us fix bugs or suggesting new features. If you want to get started, give our [Contributing Guidelines][contributing-link] a read.
76+
<a name="credits"><h2>💝 Credits</h2></a>
5877

59-
- Bugs: If you find an issue or run into an error message while using the macro, please create a [bug report][bug-report-link].
60-
- Suggestions: If you have an idea for a feature that you'd like to see in the macro, please submit a [suggestion][suggestion-link].
78+
Natro Macro wouldn't be possible without the help and inspiration of many extraordinary individuals.<br>
79+
We want to show our gratitude to all of you, so please check out our [list of credits][credits-link]!
6180

62-
For discussion, please join us on our [Discord server][discord-link] instead.
81+
Thank you all for your hard work and support!
6382

6483

65-
<details><summary><h4>📝 License</h4></summary>
84+
<a name="stars"><h2>🌠 Stars</h2></a>
6685

86+
If Natro Macro helped you, let us know by giving it a ⭐ $\color{yellow}{\textsf{Star}}$ on GitHub!<br>
87+
You can do this by scrolling up and clicking the Star button at the top of the page!
88+
89+
<a href="https://github.com/NatroTeam/NatroMacro/stargazers">
90+
<picture>
91+
<source media="(prefers-color-scheme: light)" srcset="http://reporoster.com/stars/NatroTeam/NatroMacro"> <!-- light theme -->
92+
<img alt="stargazer-widget" src="http://reporoster.com/stars/dark/NatroTeam/NatroMacro"> <!-- dark theme -->
93+
</picture>
94+
</a>
95+
96+
97+
<a name="license"><details><summary><h4>📝 License</h4></summary></a>
6798
Copyright © 2022-2023 [Natro Team][github-profile-link]<br>
6899
This project is licensed under [GNU GPL v3.0](./LICENSE.md)
69100

70101
</details>
71102

72103
<!-- links -->
73-
[github-release-shield]: https://img.shields.io/github/v/release/NatroTeam/NatroMacro?style=flat-square&logo=github&logoColor=white&labelColor=black&color=2674DA
74-
[github-release-link]: https://github.com/NatroTeam/NatroMacro/releases
75-
[roblox-shield]: https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgroups.roblox.com%2Fv1%2Fgroups%2F16490149&query=%24.memberCount&suffix=%20members&style=flat-square&logo=roblox&logoColor=white&label=roblox&labelColor=black&color=EC2F2D
104+
[latest-release-shield]: https://img.shields.io/github/v/release/NatroTeam/NatroMacro?logo=github&logoColor=white&labelColor=black&color=faa125
105+
[latest-release-link]: https://github.com/NatroTeam/NatroMacro/releases/latest
106+
[downloads-shield]: https://img.shields.io/github/downloads/NatroTeam/NatroMacro/total?label=downloads&labelColor=black&color=40ca53&logo=data:image/svg%2bxml;base64,PHN2ZwogICB2aWV3Qm94PSIwIDAgMjQgMjQiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgICBmaWxsPSIjZmZmIgogICAgIGQ9Ik0gMTIsMC4yMDk2MTUxNSBBIDExLjc5MDM4NSwxMS43OTAzODUgMCAxIDAgMjMuNzkwMzg1LDEyIDExLjc5MDM4NSwxMS43OTAzODUgMCAwIDAgMTIsMC4yMDk2MTUxNSBaIE0gOS4zMDAwMDE5LDkuOTgzODQ0MiAxMC44MjA5NjIsMTEuNTE2NTk0IFYgNC45MjU3NjkxIGggMi4zNTgwNzYgViAxMS41MTY1OTQgTCAxNC42OTk5OTgsOS45OTU2MzQ2IDE2LjM2MjQ0MiwxMS42NTgwNzkgMTIsMTYuMDIwNTIxIDcuNjI1NzY3MiwxMS42NTgwNzkgWiBNIDE2LjcxNjE1NCwxOS4wNzQyMzEgSCA3LjI4Mzg0NjEgdiAtMi4zNTgwNzcgaCA5LjQzMjMwNzkgeiIKICAgICAvPgo8L3N2Zz4K
107+
[downloads-link]: https://github.com/NatroTeam/NatroMacro/releases
108+
[roblox-shield]: https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgroups.roblox.com%2Fv1%2Fgroups%2F16490149&query=%24.memberCount&suffix=%20members&logo=roblox&logoColor=white&label=roblox&labelColor=black&color=dc3544
76109
[roblox-link]: https://www.roblox.com/groups/16490149/Natro-Macro
77-
[discord-shield]: https://img.shields.io/discord/1012610056921038868?style=flat-square&logo=discord&logoColor=white&label=discord&labelColor=black&color=5865F2
110+
[discord-shield]: https://img.shields.io/discord/1012610056921038868?logo=discord&logoColor=white&label=discord&labelColor=black&color=5865f2
78111
[discord-link]: https://discord.gg/natromacro
79-
[latest-release-link]: https://github.com/NatroTeam/NatroMacro/releases/latest
80112
[contributing-link]: https://github.com/NatroTeam/.github/blob/main/CONTRIBUTING.md
113+
[credits-link]: https://github.com/NatroTeam/.github/blob/main/CREDITS.md
81114
[bug-report-link]: https://github.com/NatroTeam/NatroMacro/issues/new?assignees=&labels=bug%2Cneeds+triage&projects=&template=bug.yml
82115
[suggestion-link]: https://github.com/NatroTeam/NatroMacro/issues/new?assignees=&labels=suggestion%2Cneeds+triage&projects=&template=suggestion.yml
83116
[github-profile-link]: http://github.com/NatroTeam
117+
[discord-banner-link]: https://invidget.switchblade.xyz/natromacro

‎START.bat‎

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<!-- : Begin batch script
2+
@echo off
3+
setlocal EnableDelayedExpansion
4+
cd %~dp0
5+
6+
:: IF script and executable exist, run the macro
7+
if exist "submacros\natro_macro.ahk" (
8+
if exist "submacros\AutoHotkeyU32.exe" (
9+
if not [%~3]==[] (
10+
set /a "delay=%~3" 2>nul
11+
echo Starting Natro Macro in !delay! seconds.
12+
<nul set /p =Press any key to skip . . .
13+
timeout /t !delay! >nul
14+
)
15+
start "" "%~dp0submacros\AutoHotkeyU32.exe" "%~dp0submacros\natro_macro.ahk" %*
16+
exit
17+
) else (set "exe_missing=1")
18+
)
19+
20+
:: ELSE try to find .zip in common directories, extract, and run the macro
21+
for /f "delims=#" %%E in ('"prompt #$E# & for %%E in (1) do rem"') do set "\e=%%E"
22+
set cyan=%\e%[96m
23+
set green=%\e%[92m
24+
set purple=%\e%[95m
25+
set red=%\e%[91m
26+
set yellow=%\e%[93m
27+
set reset=%\e%[0m
28+
29+
if "%exe_missing%" == "1" (
30+
echo %red%Could not find submacros\AutoHotkeyU32.exe^^!%reset%
31+
echo %red%This is most likely due to a third-party antivirus deleting the file:%reset%
32+
echo %red% 1. Disable any third-party antivirus software ^(or add the Natro Macro folder as an exception^)%reset%
33+
echo %red% 2. Re-extract the macro and check that AutoHotkeyU32.exe exists in 'submacros' folder%reset%
34+
echo %red% 3. Run START.bat%reset%
35+
echo:
36+
echo %red%Note: Both Natro Macro and AutoHotkey are safe and work fine with Microsoft Defender^^!%reset%
37+
echo %red%Join our Discord server for support: discord.gg/natromacro%reset%
38+
echo:
39+
<nul set /p "=%red%Press any key to exit . . . %reset%"
40+
pause >nul
41+
exit
42+
)
43+
44+
for %%a in (".\..") do set "grandparent=%%~nxa"
45+
if not [!grandparent!] == [] (
46+
for /f "tokens=1,* delims=_" %%a in ("%grandparent%") do set "zip=%%b"
47+
if not [!zip!] == [] (
48+
call set str=%%zip:*.zip=%%
49+
call set zip=%%zip:!str!=%%
50+
echo %cyan%Looking for !zip!...%reset%
51+
cd %USERPROFILE%
52+
for %%a in ("Downloads","Downloads\Natro Macro","Desktop","Documents","OneDrive\Downloads","OneDrive\Downloads\Natro Macro","OneDrive\Desktop","OneDrive\Documents") do (
53+
if exist "%%~a\!zip!" (
54+
echo %cyan%Found in %%~a^^!%reset%
55+
echo:
56+
57+
echo %purple%Extracting %USERPROFILE%\%%~a\!zip!...%reset%
58+
for /f delims^=^ EOL^= %%g in ('cscript //nologo "%~f0?.wsf" "%USERPROFILE%\%%~a" "%USERPROFILE%\%%~a\!zip!"') do set "folder=%%g"
59+
echo %purple%Extract complete^^!%reset%
60+
echo:
61+
62+
echo %yellow%Deleting !zip!...%reset%
63+
del /f /s /q "%USERPROFILE%\%%~a\!zip!" >nul
64+
echo %yellow%Deleted successfully^^!%reset%
65+
echo:
66+
67+
echo %green%Unzip complete^^! Starting Natro Macro in 10 seconds.%reset%
68+
<nul set /p =%green%Press any key to skip . . . %reset%
69+
timeout /t 10 >nul
70+
start "" "%USERPROFILE%\%%~a\!folder!\submacros\AutoHotkeyU32.exe" "%USERPROFILE%\%%~a\!folder!\submacros\natro_macro.ahk"
71+
exit
72+
)
73+
)
74+
) else (echo %red%Error: Could not determine name of unextracted .zip^^!%reset%)
75+
) else (echo %red%Error: Could not find Temp folder of unextracted .zip^^! ^(.bat has no grandparent^)%reset%)
76+
77+
echo %red%Unable to automatically extract Natro Macro^^!%reset%
78+
echo %red% - If you have already extracted, you are missing important files, please re-extract.%reset%
79+
echo %red% - If you have not extracted, you may have to manually extract the zipped folder.%reset%
80+
echo %red%Join our Discord server for support: discord.gg/natromacro%reset%
81+
echo:
82+
<nul set /p "=%red%Press any key to exit . . . %reset%"
83+
pause >nul
84+
exit
85+
86+
----- Begin wsf script --->
87+
<job><script language="VBScript">
88+
set fso = CreateObject("Scripting.FileSystemObject")
89+
set objShell = CreateObject("Shell.Application")
90+
set FilesInZip = objShell.NameSpace(WScript.Arguments(1)).items
91+
for each folder in FilesInZip
92+
WScript.Echo folder
93+
next
94+
objShell.NameSpace(WScript.Arguments(0)).CopyHere FilesInZip, 20
95+
set fso = Nothing
96+
set objShell = Nothing
97+
</script></job>

0 commit comments

Comments
 (0)