Skip to content

Commit

Permalink
commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
EnviralDesign committed Apr 12, 2021
0 parents commit 0f7fea2
Show file tree
Hide file tree
Showing 98 changed files with 14,791 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

github: EnviralDesign
patreon: EnviralDesign
custom: https://www.paypal.com/donate?hosted_button_id=RP8EJAHSDTZ86
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
112 changes: 112 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump
.git.bfg-report

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# photoshop files
*.afphoto
*.psd


# automated local installations and dependancies
.py
.td
.tmp
*_Log.txt
GP/LIBRARY/PROJECTS/GeoPixProjectConfig.txt
GP/Assets/patreon/getPatrons.py
# *.gp

# Library items downloaded by the asset downloader

# fixture profiles json
GP/LIBRARY/**/*.json

# scene projects json
GP/LIBRARY/PROJECTS/**/*.gp

# 3d
GP/LIBRARY/**/*.obj
GP/LIBRARY/**/*.fbx
GP/LIBRARY/**/*.3DS
GP/LIBRARY/**/*.mb
GP/LIBRARY/**/*.blend
GP/LIBRARY/**/*.blend1

# audio
GP/LIBRARY/**/*.wav
GP/LIBRARY/**/*.mp3
GP/LIBRARY/**/*.ogg
GP/LIBRARY/**/*.aif
GP/LIBRARY/**/*.aiff
GP/LIBRARY/**/*.flac
GP/LIBRARY/**/*.m4a

# image
GP/LIBRARY/**/*.bmp
GP/LIBRARY/**/*.dds
GP/LIBRARY/**/*.dpx
GP/LIBRARY/**/*.exr
GP/LIBRARY/**/*.ffs
GP/LIBRARY/**/*.fit
GP/LIBRARY/**/*.fits
GP/LIBRARY/**/*.gif
GP/LIBRARY/**/*.hdr
GP/LIBRARY/**/*.jpeg
GP/LIBRARY/**/*.jpg
GP/LIBRARY/**/*.pic
GP/LIBRARY/**/*.png
GP/LIBRARY/**/*.swf
GP/LIBRARY/**/*.tga
GP/LIBRARY/**/*.tif
GP/LIBRARY/**/*.tiff

# movie
GP/LIBRARY/**/*.3gp
GP/LIBRARY/**/*.avi
GP/LIBRARY/**/*.flv
GP/LIBRARY/**/*.m2ts
GP/LIBRARY/**/*.m4v
GP/LIBRARY/**/*.mkv
GP/LIBRARY/**/*.mov
GP/LIBRARY/**/*.mp4
GP/LIBRARY/**/*.mpeg
GP/LIBRARY/**/*.mpg
GP/LIBRARY/**/*.mts
GP/LIBRARY/**/*.mxf
GP/LIBRARY/**/*.r3d
GP/LIBRARY/**/*.ts
GP/LIBRARY/**/*.webm
GP/LIBRARY/**/*.wmv

# td auto generated folders for imported assets
TDImportCache
Backup
GeoPix_2.0.[0-9]*.toe

# Windows shortcuts
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/windows


120 changes: 120 additions & 0 deletions FETCH_LIBRARY_ASSETS.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
:: turn off echo, so we only print intentional user messages.
@echo off

:: use this to break the script at this point, and not go any further
rem exit /b 1

:: change current working cmd directory to the root where batch executes from.
:: NOTE we might be able to nix this if we expand all our paths to absolute..
cd /d %~dp0

:: set this for proper variable expansion in for loops.
setlocal enableDelayedExpansion

:: wipe and reinit our log, with blank.
break>library_downloader_Log.txt

:: log some things
@echo.
@echo "=======================================">>library_downloader_Log.txt
@echo "====== BEGIN Library Fetch Script =====">>library_downloader_Log.txt
@echo "=======================================">>library_downloader_Log.txt
@echo "======================================="
@echo "====== BEGIN Library Fetch Script ====="
@echo "======================================="

:: Define the absolute path to the wget executable, bundled with GeoPix.
SET wget_executable_path=%~dp0GP\Utilities\wget.exe

:: Define the target directory for our LIBRARY downloads.
:: NOTE, this directory SHOULD exist already.
rem SET library_destination_directory=%~dp0.tmp
SET library_destination_directory=%~dp0GP\LIBRARY

:: define URL to the files.php script that returns our files_list data.
SET url_prefix=http://www.enviral-design.com/downloads/20_PREREQUISITES
SET files_list_url=%url_prefix%/files.php

:: Set the abs path to the files_list file. it might not exist yet.
SET file_list_path=%library_destination_directory%\file_list

:: Define some final variables
SET files_list_getter_string="%wget_executable_path%" -nv --show-progress -a library_downloader_Log.txt -P "%library_destination_directory%" "%files_list_url%"

:: Log some things.
@echo "2)--Downloading files list from remote server----">>library_downloader_Log.txt
@echo "2)--Downloading files list from remote server----"


:: Delete the file_list file, if it exists so we can re download a new one.
IF EXIST %file_list_path% (
del %file_list_path%
)

:: Download the file_list from the php query page.
start "" /WAIT /B %files_list_getter_string%

:: Log some things.
@echo "3)--Renaming downloaded file to 'files_list'----">>library_downloader_Log.txt
@echo "3)--Renaming downloaded file to 'files_list'----"

:: Rename the retrieved file to something more sensible for local file system.
REN "%library_destination_directory%\files.php" file_list

:: Log some things.
@echo "4)--Downloading any missing library assets'----">>library_downloader_Log.txt
@echo "4)--Downloading any missing library assets'----"



:: For each line (that isn't blank apparently?) do what's in the brackets.
for /f "tokens=* delims=" %%a in ('type "%file_list_path%"') do (

rem :: make a variable for this particular line of the file.
SET line=%%a

rem :: create full source URL to asset file on web.
SET source_url=%url_prefix%/!line!

rem :: create the absolute path to the file, that will be created locally after download.
SET dest_file_path_abs=!library_destination_directory!/!line!


rem :: do a find replace converting any forward slashes to back slashes.
SET dest_file_path_abs=!dest_file_path_abs:/=\!

rem :: update the variable to the parent directory of that file to be. this directory doesn't have to exist yet.
rem :: NOTE: remember we need to use quotes here, because some of the paths might have spaces in them.
for %%F in ("!dest_file_path_abs!") do SET dest_file_path_abs=%%~dpF

rem :: %%~dpF returns the parent folder, but with a trailing slash.
rem :: this command cuts off the last character which will be that slash.
SET dest_file_path_abs=!dest_file_path_abs:~0,-1!

rem :: assemble the entire getter string for the asset, that downloads it to it's proper place locally.
SET getter_exec_str="!wget_executable_path!" -nv --show-progress -a library_downloader_Log.txt -nc -P "!dest_file_path_abs!" "!source_url!"

rem :: we need to check and see if the line is a blank line with just a space in it, and skip the wget operation if so.
rem :: problem is.. we can't just test the !line! variable to a " " it doesn't work.. so work around was to encapsulate
REM :: the string between two random characters, and test that.. works for some reason.
if NOT "<!line!>" == "< >" (
start "" /WAIT /B !getter_exec_str!
)

)

:: Delete the files_list file after we're done with the downloading.
del "%library_destination_directory%\file_list"

:: Log some things.
@echo "5)--Finished fetching library assets!'----">>library_downloader_Log.txt
@echo "5)--Finished fetching library assets!'----"


:: log some things
@echo "=====================================">>library_downloader_Log.txt
@echo "====== END Library Fetch Script =====">>library_downloader_Log.txt
@echo "=====================================">>library_downloader_Log.txt
@echo "====================================="
@echo "====== END Library Fetch Script ====="
@echo "====================================="
Binary file added GP/Assets/Jura-VariableFont_wght.ttf
Binary file not shown.
Loading

0 comments on commit 0f7fea2

Please sign in to comment.