Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/repinek/imgtofgc

Convert image to Fall Guys Creative Level!
https://github.com/repinek/imgtofgc

converter fall-guys fallguys fallguyscreative fgc

Last synced: 19 days ago
JSON representation

Convert image to Fall Guys Creative Level!

Awesome Lists containing this project

README

        

> [!IMPORTANT]
> This repository is no longer maintained. For an updated version with HEX color support and more, please use fork: [Loamfy fork](https://github.com/Loamfy/img2FGC_v2)

# ImgToFGC
Convert image to Fall Guys Creative Level!

NOTE: Although I don’t believe that you can get banned for this, but be careful!

## Examples





## Question and answers
Can I get banned using this?
> There has not been a single case of a player being banned for using mods/scripts, including creative ones. But in any case, the developer does not take responsibility, use it at your own risk!

I want to change the colors, but when I go to colors.json I see strange numbers
> These numbers are the color index.
If you want to find out the color index, there are two ways to do this:
- default method
1. Place floor
2. the floor is placed with index color 0, and each subsequent color is +1 to the index. That it, if you change the color 2 times then you get index 2
- via Unity Explorer
1. place floor
2. find it in Object Explorer. Its name is Placeable_Floor_Soft_Original(Clone) (or Placeable_Floor_Soft_Retro(Clone) if you are using the Digital theme)
3. Select it in the inspector, find the LevelEditorColourSwapParameter component
4. Select it, find the set_ColourSwapIndex method
5. Write an index from 0 to 19 (0 and below is the default color, the color above the index will be the last possible)

## Requirements
- For source code:
1. requirements.txt (pip install -r requirements.txt)
2. Python 3
- Exe version
1. FallGuysTools for load json map (not necessary if you know how to load map)

## Features
- Convert image to Fall Guys Creative
- Digital/Original Theme
- Delete white/black pixels
- Edit colors usage via json in BepInEx/plugins/FallGuysTools

## Usage
- With [FallGuysTools](https://discord.gg/MpGcpZT4pY)
1. Set config in GUI
2. Click "Generate Level"
3. After generation go to Load creative tab and click "Replace existing maps with level"
4. Open any map

- Without FallGuysTools
1. The config is stored in "\AppData\LocalLow\Mediatonic\FallGuys_client\output.txt", and looks like this:
```
path_to_file = path without ""
width = 75
height = 75
shouldDeleteBlackPixels = False/True
shouldDeleteWhitePixels = False/True
isDigital = False/True
```
2. Run ImgToFGC
3. After generation the map file will be saved in "AppData\LocalLow\Mediatonic\FallGuys_client\" with name "Img2FGC.json"
4. Now, you need to load this json file in to the game, good luck! (if you dont know how to do it, use FallGuysTools)

## Credits
- [@repinek](https://github.com/repinek) creator of this program
- [@FloyzI](https://github.com/floyzi) for creating mod and betatest