Merge branch 'main' of git.indoodle.com:jason/joomer-efsw-bsz-monitoring
This commit is contained in:
commit
ef71225432
67
README.md
67
README.md
@ -8,31 +8,54 @@ Watch folder for images and flip them
|
|||||||
|
|
||||||
```
|
```
|
||||||
joomer-efsw-bsz-monitoring
|
joomer-efsw-bsz-monitoring
|
||||||
- drag and drop bszs into the current directory (same folder as exe file)
|
- drag and drop bszs into the test folder
|
||||||
- rendered image will be saved in the current directory as well
|
|
||||||
|
|
||||||
joomer-efsw-bsz-monitoring.exe
|
|
||||||
optional arguments
|
|
||||||
--watchdir:path
|
|
||||||
--width: resolution width
|
|
||||||
--height: resolution height
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# TODO
|
|
||||||
- make it work for linux version
|
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
```
|
```
|
||||||
learndir/
|
learndir/
|
||||||
└── joomer-efsw-bsz-monitoring/
|
└── joomer-efsw-bsz-monitoring/
|
||||||
└── bella_engine_sdk/
|
|
||||||
└──x64
|
└──x64
|
||||||
└──release
|
└──release
|
||||||
|
└──test
|
||||||
|
└──Linux
|
||||||
|
└──release
|
||||||
|
└──test
|
||||||
└── efsw
|
└── efsw
|
||||||
```
|
```
|
||||||
|
|
||||||
# TODO
|
## Ubuntu Linux
|
||||||
- work on linux version
|
|
||||||
|
|
||||||
|
Run terminal
|
||||||
|
```
|
||||||
|
# Install the following if not already installed
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install git
|
||||||
|
sudo apt install cmake
|
||||||
|
sudo apt install build-essential cmake # build-essential contains gcc,g++ and make
|
||||||
|
|
||||||
|
# create all the directories needed
|
||||||
|
mkdir learndir && cd learndir
|
||||||
|
mkdir efsw joomer-efsw-bsz-monitoring
|
||||||
|
|
||||||
|
# Build Entropia bsz System Watcher
|
||||||
|
cd efsw
|
||||||
|
git clone https://github.com/SpartanJ/efsw.git .
|
||||||
|
mkdir -p build
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
make -j$(nproc)
|
||||||
|
|
||||||
|
# Build joomer-efsw-bsz-monitoring
|
||||||
|
cd ../../joomer-efsw-bsz-monitoring
|
||||||
|
git clone https://git.indoodle.com/jason/joomer-efsw-bsz-monitoring.git .
|
||||||
|
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
|
||||||
|
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h
|
||||||
|
make all -j$(nproc)
|
||||||
|
mkdir bin/Linux/release/test
|
||||||
|
bin/Linux/release/joomer-efsw-bsz-monitoring
|
||||||
|
```
|
||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
- Download Visual Studio Community Edition
|
- Download Visual Studio Community Edition
|
||||||
@ -43,25 +66,25 @@ learndir/
|
|||||||
Run **x64 Native Tools Command Prompt for VS**
|
Run **x64 Native Tools Command Prompt for VS**
|
||||||
```
|
```
|
||||||
mkdir learndir && cd learndir
|
mkdir learndir && cd learndir
|
||||||
|
mkdir efsw joomer-efsw-bsz-monitoring
|
||||||
curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-win32.zip
|
|
||||||
tar -xf bella_engine_sdk-25.3.0-win32.zip
|
|
||||||
|
|
||||||
# Build Entropia bsz System Watcher
|
# Build Entropia bsz System Watcher
|
||||||
git clone https://github.com/SpartanJ/efsw.git
|
|
||||||
cd efsw
|
cd efsw
|
||||||
|
git clone https://github.com/SpartanJ/efsw.git .
|
||||||
cmake -B ./build
|
cmake -B ./build
|
||||||
cmake --build ./build --config Release -j%NUMBER_OF_PROCESSORS%
|
cmake --build ./build --config Release -j%NUMBER_OF_PROCESSORS%
|
||||||
|
|
||||||
# Build joomer-efsw-bsz-monitoring
|
# Build joomer-efsw-bsz-monitoring
|
||||||
cd ..
|
cd ../joomer-efsw-bsz-monitoring
|
||||||
git clone https://git.indoodle.com/jason/joomer-efsw-bsz-monitoring.git
|
git clone https://git.indoodle.com/jason/joomer-efsw-bsz-monitoring.git .
|
||||||
cd joomer-efsw-bsz-monitoring
|
|
||||||
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
|
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
|
||||||
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h
|
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h
|
||||||
msbuild joomer-efsw-bsz-monitoring.vcxproj /p:Configuration=release
|
msbuild joomer-efsw-bsz-monitoring.vcxproj /p:Configuration=release
|
||||||
|
|
||||||
|
# create test folder to put images in
|
||||||
|
mkdir x64\release\test
|
||||||
|
|
||||||
# run
|
# run
|
||||||
x64\release\joomer-efsw-bsz-monitoring.exe #--watchdir:path --width:640 --height:480 (optionally args)
|
x64\release\joomer-efsw-bsz-monitoring.exe
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
BIN
derby-car.bsz
Normal file
BIN
derby-car.bsz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user