https://github.com/sebanisu/texturesplitter
Splits textures in 4 or 2 automaticly just drop files or folders into the exe.
https://github.com/sebanisu/texturesplitter
Last synced: 11 months ago
JSON representation
Splits textures in 4 or 2 automaticly just drop files or folders into the exe.
- Host: GitHub
- URL: https://github.com/sebanisu/texturesplitter
- Owner: Sebanisu
- Created: 2019-09-04T18:52:01.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-06T13:16:02.000Z (almost 5 years ago)
- Last Synced: 2025-04-02T03:19:48.378Z (about 1 year ago)
- Language: C#
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TextureSplitter
Splits textures in 4 or 2 automaticly just drop files or folders into the exe. Only works with PNG files
This works by using monogame.
If Square it splits in 4 even parts.
If Width is two times the Height, splits in 2 even parts.
This project uses [Monogame 3.7.1](https://github.com/MonoGame/MonoGame/releases/tag/v3.7.1)
To build on linux:
```sh
sudo apt update
sudo apt-get --assume-yes install nuget mono-complete mono-devel gtk-sharp3 ffmpeg
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
sudo apt-get --assume-yes install ttf-mscorefonts-installer
wget https://github.com/MonoGame/MonoGame/releases/download/v3.7.1/monogame-sdk.run
chmod +x monogame-sdk.run
sudo ./monogame-sdk.run --noexec --keep --target ./monogame
cd monogame
echo Y | sudo ./postinstall.sh
cd ..
nuget restore
msbuild
```