Profile image

So Jundroo accidentally added 1 part custom images to the game...

105k hpgbproductions  2.5 years ago

*Notice: There are other image label generators nowadays. They may be easier to use and/or have better generation options for simple images. I encourage you to seek them out. Some generators (non-exhaustive list):

By abusing the "color" tags, I made a program that converts images to a Label. Tested with Beta 1.11.103.0, generated aircraft run on any platform.

Quick Guide

Running the program (release):
1. Go to the Releases page, download the latest version
2. Install .NET Core 3.1 Runtime (if you have updated Visual Studio 2019 or 2022, you should have a supported runtime)
3. Unzip the release version into anywhere in your Users folder, and run the EXE
4. If it does not work, you will need Visual Studio 2019 to build the software yourself
5. Drag images onto the command prompt window and the file path will be automatically pasted. Hit Enter to start creating your label.
6. Subassembly XML is placed on the desktop. Move into the SP subassembly folder to use it.

Supported Image Types:

BMP, GIF, EXIF, JPG, PNG, and TIFF

Preparing your image:
  • Get an image editor like GIMP
  • Crop out empty areas and scale down your image. If you don't know how small to make it, try 10,000 pixels across all images you want to add.
  • Remember, 1 pixel in the file = 1 square on the label
  • Aim for a solid-color shaded style to reduce the number of color changes.
  • Run the posterizing or dithering filters. If dithering, choose the method that generates a solid color, not patterns. In GIMP, that is the None dithering mode.
Usage information:
  • Avoid spamming the website with label posts, especially if you did not make the source images yourself.
  • Credit is not required.

GitHub repository ~ current: V1.1
- external script using .NET Core 3.1
- can only run on Windows due to the use of System.Drawing.Common.dll
- note that if you have SP on Mac or old version of Android, you may be able to transfer files from PC to your game



suisei.png (subassembly 66KB)


usaf.png (subassembly 42KB, 32KB with V1.1)

How it works:
- Use monospace and line height tags with the filled square character
- Color (with transparency) is set for each pixel, unless the previous pixel is the same color
- Writes a subassembly XML file with only the label part. This file is placed on the desktop with the name [image-name].xml

1.0 (211008) >

  • Initial release

1.1 (211009) >

  • [Optimization] Transparent pixels are now rendered as horizontal space (except for the rightmost pixel in an image, due to text alignment behavior)
  • [Source code] Character size is no longer "magic" and gets its own constant

(211018) >

  • [Source code] Some directories were removed, to hopefully prevent users installing into a Users folder they don't have

(211027) >

  • [Source code] Test for release as a portable EXE, which won't require Visual Studio to run. You still need the .NET Runtime.

1.1.1 (220125) >

  • [Fix] Fixed FileNotFoundException caused when quotes surround the input file path

1.1.2 (230129) >

  • [Fix] Fixed images generated as a single row when the device is using a decimal-comma locale

FAQ:

Can this be run on Mac/ Android/ web browsers?
No. However, you may port it to such platforms if you wish.
If you have SP on Mac or an old version of Android, you can transfer the sub-assembly XML from your PC to your game.

  • Log in to leave a comment
  • Profile image

    @hpgbproductions
    Ok, thanks.

    27 days ago
  • Profile image

    @Mousewithamachinegun123 @ARMAGEDONGeneral
    SPLC actually gets updated sometimes, so just go to PlanariaLab's account page to find the latest one. I just updated the link to ver 2
    11qazxc links to their program on their forum post

    +1 27 days ago
  • Profile image

    @hpgbproductions
    How do you get to those generators?

    28 days ago
  • Profile image

    @hpgbproductions how can i get them?

    one month ago
  • Profile image

    indeed

    one month ago
  • Profile image

    Cool!

    one month ago
  • Profile image

    @BARREND what do you mean
    also, i'm probably not going to update this program anymore, use 11qazxc's or PlanariaLab's generators instead

    +1 2 months ago
  • Profile image
    4,937 BARREND

    Why is it always show's half of the picture???

    2 months ago
  • Profile image
    4,069 ccc12345

    @hpgbproductions thank you brother 🙏

    2 months ago
  • Profile image

    @ccc12345 @Iranianforce313 there is a browser-based generator by 11qazxc, it's the easiest to use

    2 months ago
  • Profile image
    4,069 ccc12345

    Hello brother, I need a picture in the form of text for the game, can you help me?

    2 months ago
  • Profile image

    Hello brother, I hope you are not tired, is it possible for me to give you a picture and prepare it for me in the form of text, because I do not have a powerful PC and I do not understand these programs and I need it very much for my new project.

    2 months ago
  • Profile image

    @Skykid028 use the webpage by 11qazxc

    7 months ago
  • Profile image
    6,080 Skykid028

    Is there an android version where you can convert an image into code? Unfortunately I don't own any access to a PC

    7 months ago
  • Profile image
    23.3k ToeTips

    @hpgbproductions
    Okay I'll try it. If it works I'll let you know

    8 months ago
  • Profile image

    @ToeTips this software is windows only due to the use of a windows-specific library. You can try to see if wine can run the exe. Or use the following:
    PlanariaLab SPLC py source code version probably works on linux
    11qazxc HTML port, there is a link to their webpage

    +1 8 months ago
  • Profile image
    23.3k ToeTips

    Im guessing web browsers also mean chromebook, but mine has linux (sort of) will it work then?

    8 months ago
  • Profile image

    @hpgbproductions oh okay

    9 months ago
  • Profile image

    @Yourlocalhuman set emission from the subassembly xml file

    9 months ago
  • Profile image

    I used it, but it seems the pic is wayy to bright, any idea how to solve it?

    9 months ago
  • Profile image
    12.6k LUPIN

    @UssrLENIN it seems its your luck😂

    9 months ago
  • Profile image

    @LUPIN Ok 👌 nice.my phone is still too less power for this even 😂

    9 months ago
  • Profile image
    12.6k LUPIN

    @UssrLENIN well thanks but a minute ago I found a sit that do the same work but for android
    https://11qazxc.github.io/SPRASTER.html/

    9 months ago
  • Profile image

    @LUPIN unless u have VERY height end mobile this will always lagg

    9 months ago
  • Profile image

    @LUPIN bro this is too heavy for Android

    9 months ago
  • Log in to see more comments