Script to Swap Body Types

Generator Body Change Batch File
This is a Windows based BATCH file script, NOT a javascript plugin.

5.jpg
​

NEW Version 1.2

The batch file now has a limited GUI to control your installed body types. The instructions are similar, but now collected up into two main batch files. (Zip is attached at the bottom of the post.)

Version: 1.1

This addresses the issue of manually copying the body files around in the generator specifically for the "Beastmen Bodies," although it could be tweaked to handle a little more at a later time. Consider this a "beta" and subject to change (because it will get a few updates at least).

Make backups of everything before trying this script, also this was written on Windows-10, and should work down to Windows7.

Spoiler: ReadMe Instructions
Body Changer CMD (batch file)

Version: 1.1

Basic instructions:

---IMPORTANT---
BACK IT ALL UP NOW!
IF you are unsure back it up.
IF you ARE sure, zip the backup, and do it again!

a) Copy all of your body types into the type folders (human, leo, lizardman, etc.)
Example: backup copy the original SV_body_p01.png to the human/ folder

b) No second copy required, just make sure you have the right images in the base
body-type folder!

**note** the script requires the second copy to allow YOU to see what is in the
generator's subfolders just by looking. This is on purpose. This serves
the secondary purpose of allowing you to manually fix any copies that
may go wrong. And. Backups.

c) Copy each of the top level folders from this package into your "generator"
folder. So it should have a human, leo, werewolf direcory in the generator folder.

d) Click the batch file (the .cmd file) in the bodytype folder (human, etc), follow
any on screen prompts.
d-1. run the generator
d-2. win

Final note: You do not have to close RPG Maker MV to have changes take affect,
but you DO have to close the GENERATOR!

Changelog
Version 1.0: Initial Release
Version 1.1: Removed redundant folders, added support for Human-F and Heroine3 04Mar2019

Feel free to use and abuse this one, it doesn't even need credits (I mean, really, it's just a batch script to move files around.) Note: this archive has NO IMAGES, the ones described are from the Beastman pack - available from the RMW store!

Spoiler: Future Updates
To Do:
  • Reduce the number of file copy commands to get rid of the extra copy at the base of the Generator folder. (depends on user feedback)
  • Better / More descriptive text from the console window
  • Support for Community Developed Bodies? (depends on user feedback)

Spoiler: Steam Generator Recover
Just a quick note since Heroine Generator 3 put the female body parts at the base of the generator folder. Since this is a bit different than just downloading and extracting the files from RMW, I thought I would quickly go through the recovery method for the Steam version.

  • Rename the Generator folder something else, like "00-Generator-Original" (the double zero's will put it at the top of the file list in most cases)
  • Close any instances of MV
  • From Steam, right click on MV to bring up the context menu
  • Select "Properties"
  • From the properties window that appears, find the tab at the top "Local Files," and click that
  • Press the "Verify Integrity of Application Files..." button
  • Allow Steam to download the updates

This will provide you with a "vanilla" generator folder with the heroine3 body files at the base of the new generator folder, and the default male/female bodies within the directory tree. Copy any files you need from the new generator directory back to your working directory. Rename the new "generator" folder to something like "A-Generator-Default" or something meaningful to you, and rename your previous working directory back to "Generator."

Also this is a good way to make sure you always have a working generator to fall back on. Even if your Generator works perfectly, having a "clean" generator folder is nice to have!
Thank you for sharing this. Heroine3 did indeed come with a replacement body.
Will have to practice that one sooner than later it goes into the onion groove
Updated this file to no longer require the SV/TV/TVD folders within the scripts own directories. I will still make a copy in the "Generator" folder as well of any files you've used the batch file to install for your own verification purposes.

Updated to Include "Default Human Female Body" and "Heroine Generator 3 Body."

Updated the original post to include direction for recovering the "Heroine Generator 3" body if they were overwritten or deleted. (This is a Steam specific issue.)

@MMMm Heroine Generator 3 is now included here, thanks for the verify!
Is this a plugin?
I wish it was something so elegant, but it's a just a set of batch files. (Opted for .cmd instead of .bat due to substrings, and most notably preventing the file from being executed on antiquated computers.) TL;DR Nope, not a plugin!

I went with this location in the forums since it is very specific to MV; in particular, the generator. This was the best "quick" way to manage changing the body types due to the generator itself only using one body type per "tab."
Update coming soon. Just hammering out the details. Instead of droning on and on, I'll post an image of the next little update:
sample2.jpg

Sorry for the double post, but it's been a while since I've updated this thing. When this is ready to give out, I'll update the main post.

Original thread: https://forums.rpgmakerweb.com/threads/script-to-swap-body-types.106387/