- Mar 19, 2020
- 2,199
- 2,835
If you don't mind -- what custom look are you talking about, and what specific morph? I then might be able to test it any maybe find a solution.does anyone here knows how to use a private morph?
If you don't mind -- what custom look are you talking about, and what specific morph? I then might be able to test it any maybe find a solution.does anyone here knows how to use a private morph?
Unless you have not read this answer a multiple times in this thread already, and seen the Mods clear warning, not to request assets in this thread, I suggest you read the forum rules, and post assets requests in the Asset Request section of the forum...Good morning. please share this plugin. VAM Translations 1.1
Currently the following languages are provided:
German, French, Spanish, Italian, Portugese, Polish, Czech.
Excuse me, please! I'll be more careful next timeUnless you have not read this answer a multiple times in this thread already, and seen the Mods clear warning, not to request assets in this thread, I suggest you read the forum rules, and post assets requests in the Asset Request section of the forum
import os
import json
import zipfile
# Look for .zip and .var files in the current directory
zip_files = [f for f in os.listdir('.') if f.endswith('.zip') or f.endswith('.var')]
# Store the old and new filenames in a list
renamed_files = []
# Iterate over the .zip and .var files
for file_name in zip_files:
# Open the file
with zipfile.ZipFile(file_name) as zf:
# Check if the file contains a "meta.json" file
if 'meta.json' in zf.namelist():
# Read the "meta.json" file
with zf.open('meta.json') as f:
meta = json.load(f)
# Extract the "packageName" and "creatorName" values
package_name = meta['packageName']
creator_name = meta['creatorName']
# Construct the new filename
new_filename = f"{creator_name}.{package_name}.1.var"
# Check if the new filename is already in the list of zip files
if new_filename in zip_files:
print(f"Skipping {new_filename}, it already exists in the list of zip files.")
else:
# Add the old and new filenames to the list
renamed_files.append((file_name, new_filename))
# Show the old and new filenames together
for old_filename, new_filename in renamed_files:
print(f"{old_filename} >> {new_filename}")
# Prompt the user before renaming the files
confirm = input("Rename all files? (y/n): ")
if confirm.lower() == 'y':
for old_filename, new_filename in renamed_files:
os.rename(old_filename, new_filename)
If anyone else is annoyed by Kemono's .var downloads, I asked chatGPT to whip this basic python zip renamer up. It can fix badly named .var/.zip files by looking for the intended name inside the meta.json. I did not find a way to extract the correct file version so all renamed files will end in ".1.var" so be careful in case that's important.
Python:import os import json import zipfile # Look for .zip and .var files in the current directory zip_files = [f for f in os.listdir('.') if f.endswith('.zip') or f.endswith('.var')] # Store the old and new filenames in a list renamed_files = [] # Iterate over the .zip and .var files for file_name in zip_files: # Open the file with zipfile.ZipFile(file_name) as zf: # Check if the file contains a "meta.json" file if 'meta.json' in zf.namelist(): # Read the "meta.json" file with zf.open('meta.json') as f: meta = json.load(f) # Extract the "packageName" and "creatorName" values package_name = meta['packageName'] creator_name = meta['creatorName'] # Construct the new filename new_filename = f"{creator_name}.{package_name}.1.var" # Check if the new filename is already in the list of zip files if new_filename in zip_files: print(f"Skipping {new_filename}, it already exists in the list of zip files.") else: # Add the old and new filenames to the list renamed_files.append((file_name, new_filename)) # Show the old and new filenames together for old_filename, new_filename in renamed_files: print(f"{old_filename} >> {new_filename}") # Prompt the user before renaming the files confirm = input("Rename all files? (y/n): ") if confirm.lower() == 'y': for old_filename, new_filename in renamed_files: os.rename(old_filename, new_filename)
Oh for sure. I would say give it a shot with chatGPT, it should be able to extend this with the functionality you want if you describe it well enough. In my case, I don't usually have the previous version so it hasn't been a big deal.I'm not too familiar with python, so i can't confirm/test it myself, but i suspect there should be a way to use the old filename ending in {version#}.var to append the existing version name.
I don't have that specific look/morph, so I will use a different morph to explain the steps, and hopefully you can reproduce them with your morph, ok?Do you have any idea how to use them?
before you Download just copy the Filename from the Link, then rightclick the Link to start DL, in the Download window replace the *.zip Filename with your copied Filename, saveI downloaded the Alpacalabs Scene from Komono, but the file was Zip extension. I changed that extension to Var, but it is not recognized by Vam package manager. Can anyone help me?
Are you sure you needed to rename it? It could be a folder you need to unzip and the var is inside of it. If you share the link to the page someone can help you, otherwise we are just guessing.I downloaded the Alpacalabs Scene from Komono, but the file was Zip extension. I changed that extension to Var, but it is not recognized by Vam package manager. Can anyone help me?
thanks for reply. Unfortunately theres no var file inside. The zip file structure is like a var file. So I just renamed zip to var, but it's not working. Here is a one of link :Are you sure you needed to rename it? It could be a folder you need to unzip and the var is inside of it. If you share the link to the page someone can help you, otherwise we are just guessing.
You need to follow the Var-File-Naming-Convention:thanks for reply. Unfortunately theres no var file inside. The zip file structure is like a var file. So I just renamed zip to var, but it's not working. Here is a one of link :You must be registered to see the links
Thanks a lot. I didnt put '.' and created file name my own lol. Thanks again!You need to follow the Var-File-Naming-Convention:
<Creator>.<Name>.<Version>.var
You must be registered to see the linksvar
is NOT a valid var Filename!
A bug, as far as I can tell. Sometimes reloading the texture worked for me. Remember the file path, remove texture, add texture. Sometimes only a hard reset worked.Hey folks, in some scenes, when I click on Female Atom-->Appearence-->Select Appearance. And then choosing the apperance of some other model(girl), sometimes, not always, but sometimes, in some scenes it does not import correctly the genitals textures, as you may see on a screenshot. Maybe somebody can advise on how can I fix that? View attachment 2423030