From 548993553afeeae291ac820c471f4423b8557239 Mon Sep 17 00:00:00 2001 From: minjaesong Date: Wed, 6 Oct 2021 17:50:23 +0900 Subject: [PATCH] more savegame ideas --- SAVE_FORMAT.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/SAVE_FORMAT.md b/SAVE_FORMAT.md index 93b2930c0..893c2bcaa 100644 --- a/SAVE_FORMAT.md +++ b/SAVE_FORMAT.md @@ -7,12 +7,12 @@ The main game directory is composed of following directories: ``` .Terrarum + Players - - , TVDA { actor JSON, optional textures and sprite defs } + - , TVDA { (-1) player JSON, (-2) optional spritedef, (-3) optional spritedef-glow, (-1025) sprite-bodypart-name-to-entry-number-map.properties, (1+) optional textures and sprite defs } + Shared - , TEVD { * } - + Worlds - - , TVDA { WriteWorld, actors JSON, chunk data, screenshot.tga.gz taken by the last player } + - , TVDA { WriteWorld, actors (mainly fixtures) JSON, chunk data, screenshot.tga.gz taken by the last player } ``` (TEVD stands for Terrarum Virtual Disk spec version 3, TVDA stands for spec version 254; both have MAGIC header of `TEVd`) @@ -21,11 +21,16 @@ The main game directory is composed of following directories: 1. Player ID must not be strictly 9545698 (0x91A7E2) 1. Use classname `net.torvald.terrarum.modulebasegame.gameactors.IngamePlayer` to check -2. Each world has to be uniquely identifiable - 1. Use GUID, World Name, etc. +2. Each World and Player has to be uniquely identifiable via GUID 3. `ActorNowPlaying` must be drawn on top of other actors of same RenderOrder +## To-dos After the Initial Implementation ## + +1. Modify Savegame Crackers and Disk Crackers to work with the new scheme +2. Create Player Creator Tool for avatar-makers + ## Goals ## -1. Allows multiple players share same world -2. Makes multiplayer possible +1. Allow multiple players share the same world +2. Make multiplayer possible +3. Make Players distributable (like VRChat avatars)