Jump to content

5 Screenshots

About This File

Description:

The Stellaris Portrait File Generator (SPFG) is a powerful yet lightweight Java program specifically designed to handle the portrait file code for the mod Vanilla Framework Continued (hence the existence of a hardcoded futa field). Vanilla Framework handles over 6000 portraits spread over dozens of species, so it is not feasible to update the portrait files (the files found under Stellaris/gfx/portraits/portraits that define the images associated with a species) of that mod manually. The design of this program is highly optimized to reduce the amount of work a human user must put into managing large amounts of portraits. While it will take some initial effort to create the species files used by the program, once finished you can update hundreds of species’ codes at once with a few clicks. It uses special files called “species files” to store data about a Stellaris species. It uses another kind of file, templates, to determine how the portrait files are coded. Templates are easily interchangeable so can use a custom template to create code for any mod, though only male/female/futa genders are currently supported.

 

Requirements:

The sole requirement for this program is to have Java installed on your device. The program may not run if the Java installation is outdated, so if you have trouble running the executable try updating Java.

 

Compatibility:

This program is only supported for the Windows 10/11 operating systems. I do not know if it will work on other operating systems but I cannot provide any help if you want to try it.

 

Installation:

This program is as portable as it gets, it consists of a single executable file (Stellaris Portrait File Generator.jar). Simply download this executable and put it wherever you want it on your computer. To uninstall, just delete the executable.

 

How It Works:

The tiny 360KB download includes a detailed user manual, so if you are interested it is best to download SPFG and read the included PDF. This section will only go over the basic ideas.

 

The Portrait File Generator is very simple, it reads data from a special species file and uses it to fill out a template. Species files are text documents that store all the necessary data about a set of portraits to make a portrait file. Species files are specific to the SPFG and can be created using the Species File Maker included in the program. Templates are basically the code for a species file, except actual values are replaced with indicators such as NAME or MALES so that the file generator knows where to put the data. You can create your own templates and use them to create custom-coded portrait files. There is also support for bulk species files, files that are used to generate many portrait files at once from many different species files, so you can update your entire mod in a few clicks!

 

VF Kit:

The VF Kit contains the templates, species files, and bulk species files used to make Vanilla Framework Continued. They serve as an example of working files and anyone who wants to make their own version of VF is free to use them.

 

The template(s) included in the VF Kit will up to date, however they will usually be labelled for an old version of VF as I rarely need to make changes to the templates when updating the mod.

 

Source Code:

The source code is a copy of the Eclipse project the program was made in.

 

Java Issues:

Any issue preventing you from opening the program in the first place is likely an issue with Java rather than my program itself. While you are welcome to ask for help here, I lack the expertise to help with Java issues, so you will need to troubleshoot the problem yourself. If you look up the error message you receive, you should find several actions you can take to help resolve any possible issues with Java. You can also try opening the source code in Eclipse IDE, and either trying to compile the code into an executable jar file yourself or simply running it inside of Eclipse (It works the same whether launched from an executable or an IDE). I really wish I could help everyone more, but I'm simply not an expert Java troubleshooter, and you are in a better position to resolve your issue than I am.

 

Future additions:

I don't know what kind of demand there is for this sort of thing, so I'd like to get some community feedback to see if it would be worth expanding on. For example, I could add support for custom indicators so you could define groupings of portraits like "female general" or "futanari LV cow" for fancy mods that have different portraits for different jobs. The problem is that it's a pretty solid amount of work for what I expect is a very small potential user base, so if there is a feature you would like to see, comment about it, even if someone else has already requested it. This will help me gauge the level of interest in adding certain features.

 

Ideas:

  • Custom indicators allowing for custom portrait groups.
  • Showing a summary of the opened species file breaking down the number of portraits and species to help keep track of large mods.

Edited by ModderWhoModsThings


Other Files from ModderWhoModsThings


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use