Skip to content

Instantly share code, notes, and snippets.

@yakumo-proj
Created January 9, 2022 04:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yakumo-proj/f9dfaed9aa9bf834d9310d52ba126a30 to your computer and use it in GitHub Desktop.
Save yakumo-proj/f9dfaed9aa9bf834d9310d52ba126a30 to your computer and use it in GitHub Desktop.
vroidcustomitem
syntax = "proto3";
import "google/protobuf/wrappers.proto";
//import "google/protobuf/any.proto";
package com.AlterCoord;
option csharp_namespace = "com.AlterCoord";
// Common  
message ColorRGBA {
float r = 1;
float g = 2;
float b = 3;
float a = 4;
};
//Common
message Name {
google.protobuf.StringValue userDefinedString = 1;
google.protobuf.StringValue localizationKey = 2;
string fallbackString = 4;
reserved 3, 5 to max;
};
message Texture {
string name = 1;
bytes image = 2;
};
message HeaderCommon {
message InitialInfo {
string objectId = 1;
string initialId = 2;
string initialRevision = 3;
};
uint32 schemaVersion = 1;
string fileName = 2;
string objectName = 4;
uint32 vroidDataVersion = 5;
Name name = 6;
InitialInfo initialInfo = 7;
reserved 3;
};
message TransferableBody {
string id = 1;
reserved 2, 3, 4, 5;
message Textures {
map<string, bytes> textureMap = 1;
};
Textures renderedTextures = 6;
};
// clothing_defs.bin file format
message Transferable {
HeaderCommon common = 1;
string categoryId = 2;
TransferableBody body = 3;
uint32 dataVersion = 4;
};
message TransferableGroup {
message TransRef {
string template = 1;
string id = 2;
bytes materialAndBlendshapes = 9;
};
HeaderCommon common = 1;
string categoryId = 2;
string groupEditType = 3;
repeated TransRef transItems = 4;
repeated TransRef materialAndBlendshapes = 5;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment