Releases: ChauhanSai/Personal-Projects
textureMatrix
Texture Matrix
Texture Matrix is a Python script that creates a square matrix of textures to showcase for patch notes, blogs, social media, etc. Recommended for Minecraft Bedrock packs to emulate the visuals of Just Enough Items (JEI).
Usage: Easily create promotional images to showcase your texture work.
Downloading the script
Download the executable file attached to the GitHub release found here or download the source python files to run in CMD
craftingVisuals
Crafting Visualizer
Crafting Visualizer is a Python script that visualizes Minecraft Bedrock crafting recipes such that Crafting Table GUI images are created for use outside of Minecraft.
Usage: Create Crafting GUI images for your Minecrat Bedrock blocks and items.
Downloading the script
Download the executable file attached to the GitHub release found here or download the source python files to run in CMD
texturePackConvertor
Texture Pack Convertor
Texture Pack Convertor is a Python script that converts a Minecraft Bedrock texture pack to the Minecraft Java Edition file system. All textures are converted, with the exception of mobs, to match the structure and naming convention of Java Edition and zipped into a ready to use file for Minecraft 1.18.
Usage: Easily create texture packs for Bedrock and Java or convert an old Bedrock pack to work with Java.
Downloading the script
Download the executable file attached to the GitHub release found here or download the source python files to run in CMD
Using the 'CMD' Script
Place the script inside of a Bedrock Texture Pack Directory and run it. Running the script will allow you to choose a name for the pack. The program will begin by creating a temporary directory followed by the conversion. Please wait until the .zip is created.
colorWaves
colorWaves
colorWaves is a Python script that generates a grayscale and color histogram for any image.
Usage: Generate plotted and typed histograms for any chosen image.
Downloading the script
Download the executable file attached to the GitHub release found here or download the source python files to run in CMD
randomColors
Random Colors
Random Colors is a website that generates and displays random colors to use in any project.
Using the website
Web
This tool can be found hosted via GitHub Pages below. This is the best way to access the tool and generate colors. The generator provides you with the hex and RGB values for you to copy and use in any circumstance. To generate a new color, refresh the page or click on the previous hex or RGB value.
Download
A download for the website's HTML can be found attached to this release. While it is recommended to use the web version of this tool, you can open the HTML for local/offline use.
IFtoKML
IF to KML
IF to KML is a Python script that retrieves the flight information from Infinite Flight flight simulator and writes it to a KML file that can be viewed in Google Earth.
Usage: Generate 3D Flight Plans/Previews that can be viewed in Google Earth.
Downloading the script
Download the executable file attached to the GitHub release found here or download the source python files to run in CMD
Just run it! Running the script will connect to a running instance of Infinite Flight on your WiFi. It will ask you to input a interval for sending and receiving data from the sim. For slower aircraft and/or slower internet connection aim for a higher value(ex. 5 seconds) while 1 second will provide the best model. It will then prompt you to enter a starting point. Enter this point when and only when you are ready to start tracking. The script will then receive information from the sim every interval. When the flight is complete and you have parked, just press space a couple times to end the flight tracking and enter a stop point. The file will be saved to the directory of the script, named with the date and time of start.
Required modules (CMD Version)
Please be sure to have all the required python modules installed for the CMD:
- IFConnectOld
- datetime
- pytz
- keyboard
This is a tracked flight(KLGB-KNUC) previously recorded and opened in Google Earth Pro:
stripesGenerator
Stripes Generator
Stripes Generator is a website that allows you to create stripes faces for your Apple Watch S3 and older.
Using the website
Web
This tool can be found hosted via GitHub Pages below. This is the best way to access the tool and create your wallpapers. The powerful generator lets you customize your stripes to fit your needs, whether that means rotating it, moving it, or simply changing all the colors. Use the provided presets to get familiar with the tool or make a quick selection.
Download
A download for the website's HTML can be found attached to this release. While it is recommended to use the web version of this tool, you can open the HTML for local/offline use.
git-release-api
GIT Release API
git-release-api is a Python script that retrieves the information of a GitHub repo's releases. Also included is a download counter for a GitHub repository.
Usage: Using the data given from the API, counting the downloads of a GitHub repository's releases
Definition | Parameters | Usage | Return | File |
---|---|---|---|---|
getApi(a) | a - repo(string, GitHub repository <user>/<repo>/ ) |
Retrieves the GitHub API for a repo and writes it to git-api.json |
N/A | gitGetApi.py |
countDownloads(a, b) | a - repo(string, GitHub repository <user>/<repo>/ ), b - downloadCount(int, Starting download count) |
Automatically calls getApi(Retrieves the GitHub API for a repo and writes it to 'git-api.json') and counts the downloads for the repository | Returns the previous count(b) + current repo count | gitReleaseDownloads.py |
Downloading the script
Download the files attached to the GitHub release found here
Required modules
Please be sure to have all the required modules installed for the script to work as intended:
- urllib.request
- json
Using the script
Using gitReleaseDownloads.py
Running the script will prompt you to enter a GitHub repo. It will then retrieve the GitHub API and count the downloads for the specific repo. The script will ask you if you'd like to add another count from a different repo and can add them to the total count.
<user>/<repo>/ : ChauhanSai/Plasticator-Texture-Pack/
Successfully Retrieved URL
Successfully Connected API
Successfully Written JSON
Successfully Counted Downloads
Download Count: 18
Total Count: 18
from https://www.github.com/ChauhanSai/Plasticator-Texture-Pack/
Continue? Y/N: Y
<user>/<repo>/ : ChauhanSai/Cape-Pack/
Successfully Retrieved URL
Successfully Connected API
Successfully Written JSON
Successfully Counted Downloads
Download Count: 2
Total Count: 20
from https://www.github.com/ChauhanSai/Cape-Pack/
Continue? Y/N: N
Using the API
You can use the provided files and definitions to use the API for your own scripts. Keep in mind that using countDownloads() automatically calls getApi(). See the example file attached to see how you can use the API.
>>> import gitReleaseDownloads
>>>
>>> total = 0
>>>
>>> total = gitReleaseDownloads.countDownloads("ChauhanSai/Plasticator-Texture-Pack", total)
>>> total = gitReleaseDownloads.countDownloads("ChauhanSai/Cape-Pack", total)