• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Auto reject uploading incorrectly named packages

RandomVAMUser

Well-known member
Joined
Dec 21, 2020
Messages
746
Solutions
13
Reactions
762
Imo this could improve overall quality of hub-hosted content.
In the past unaware users removed version or renamed entire package.

So if user is trying to upload .var format that doesn't follow correct naming scheme: <creator> . <package name> . <version> . var
automatically reject it. This should auto reject packages like package.var, creator.package.var, creator.package.1(1).var

Maybe go few steps further:

-reject fake .vars without meta
-check expected creator & package name from meta inside package, reject if creator and package name are not the same
-reject/prevent uploading same version again as resource update (if creator and package names are the same)
-auto reject uploading archives that contain .var before extension? creator.package.1.var.zip, xxx.var.rar, xxx.var.7z, etc...
-auto reject .vac files (when comparing to vars, old vac packages by nature create more mess inside client and most (if not all) users are on version 1.19+ to support vars)

Some examples:
kmsktx.Simple_Headband.var (no version) --> broken reference link https://hub.virtamate.com/resources/nadia.4900/dependencies

Wishfullsoul.bath.var (no version)

THICC.Valencia_K.2.var.zip with THICC.Valencia_K.2.var folder inside

fake var package (no meta.json)

I couldn't find any examples of fully renamed packages, I have seen them before.
 
Here's another. This is actually a "naked" scene file renamed and posted as a var. Copied into saves/scene, it actually works.
 
Back
Top Bottom