Profile image

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

109k hpgbproductions  3.1 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

    @Graingy Yeah kinda

    6 months ago
  • Profile image
    35.8k Graingy

    @WaterFlavouredSpitfires I feel that was Overload. This is more like the information age

    6 months ago
  • Profile image

    This is The SP Equivalent of the Information age (thanks for telling me graingy)

    6 months ago
  • Profile image
    59.0k TheMouse

    @hpgbproductions
    Ok, thanks.

    8 months 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 8 months ago
  • Profile image
    59.0k TheMouse

    @hpgbproductions
    How do you get to those generators?

    8 months ago
  • Profile image

    @hpgbproductions how can i get them?

    9 months ago
  • Profile image

    indeed

    9 months ago
  • Profile image
    59.0k TheMouse

    Cool!

    9 months 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 10 months ago
  • Profile image
    5,764 BARREND

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

    10 months ago
  • Profile image
    4,802 ccc12345

    @hpgbproductions thank you brother 🙏

    10 months ago
  • Profile image

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

    10 months ago
  • Profile image
    4,802 ccc12345

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

    10 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.

    10 months ago
  • Profile image

    @Skykid028 use the webpage by 11qazxc

    1.3 years ago
  • Profile image
    6,696 Skykid028

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

    1.3 years ago
  • Profile image
    26.7k ToeTips

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

    1.3 years 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 1.3 years ago
  • Profile image
    26.7k ToeTips

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

    1.3 years ago
  • Profile image

    @hpgbproductions oh okay

    1.4 years ago
  • Profile image

    @Yourlocalhuman set emission from the subassembly xml file

    1.4 years ago
  • Profile image

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

    1.4 years ago
  • Profile image
    13.5k LUPIN

    @UssrLENIN it seems its your luck😂

    1.4 years ago
  • Profile image

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

    1.4 years ago
  • Log in to see more comments