Project Zomboid

Project Zomboid

Simple Character Export and Import [Build 41 MP Stable]
110 Comments
DoctorPopi 18 minutes ago 
@winni You asked that an eternity ago but I had the same question and found the exported character log in the root folder of "steam/steamapps/common/projectzomboid". I post that here in case anyone needs it !

Great mod, we never play without it on our server :)
Jeilko Jul 10 @ 2:26pm 
thanks bro, I'll continue your mod :)
Santillious  [author] Jul 10 @ 1:35pm 
yes you totally can continue working on this mod. you may mention me as someone who gave up and abandoned this mod :)
Jeilko Jul 10 @ 11:44am 
can I continue your mod? If you want, I'll leave the credits to you.
Jeilko Jul 10 @ 10:11am 
@Santillious are you going to give up? I really like your mod, one of the best and most underrated in the workshop. But if it's for personal reasons, that's fine, good luck.
Santillious  [author] Jul 9 @ 3:37am 
Well guys and gals, sorry for breaking your hopes but I will not support this mod anymore.
If anyone feels able to take it and keep it supported further - you are free to do so. Feel free to take all the code and do whatever you need with it.
Jeilko Jul 8 @ 11:09am 
please port the mod to b42, your mod is very good and i always played with it on b41.
Anxiety Mar 7 @ 12:03pm 
Thanks for the response. I didn't know you were using some vanilla save/load function. I assumed you'd written your own.
Santillious  [author] Mar 6 @ 8:41pm 
Thanks about mentioning "Keep Inventory & Respawn". I will... research it for some tricks to improve this mod.
But yet again, I'd like to wait for released version of B42 (not unstable) to fully dive into fixing my mod.
Santillious  [author] Mar 6 @ 8:41pm 
@Anxiety,
A few answers:
1 MB size limit is hardcoded by develepers for default character save/load procedure. And this mod uses that procedure so it inherits limitations.
Watched VHS and CDs aren't saved for the same issue - default save/load procedure. And yes, I have some thoughts about how to implement this, but that work may require way more work and time that it seems at first glance.
Adout duplicating recipes... again - that's how save/load works. When you use "import (load)" on existing character it just adds all recipes from file right into character without any checks. Yes, I can try and add some methods to check recipes before import to avoid duplicates, but yet again, it will require a lot of time to find all potential bugs like losing recipes or another duplications.
Can't say for sure about weight/nutrition. I had some issues with them but right now I can't recall all details.
Anxiety Mar 6 @ 2:46pm 
A few questions: Why is there a 1 MB size limit on import? Why aren't watched VHS and CDs saved, and does this include live Life & Living broadcasts? Why are duplicate recipes imported i.e. why don't you check you recipes the player already knows (maybe optionally remove ones the saved character doesn't know)? Is the character's weight and/or nutrition data (calories, protein, whatever) saved?

"Keep Inventory & Respawn" seems to save even more data than yours (e.g. zombie kills, watched VHS, even unspecified "mod data"). While I like that mod, I'd love to be able to transfer a character between maps, or into a fresh map. It looks like your mod can do that. I'm curious about the limitations though. You already mention not understanding the hair color issue.
Денчик Jan 25 @ 12:42pm 
Жалко.. notepad++ в половину позволяет открыть его но не без проблем (буквы с указанием параметра есть а цифр нет и заменены на "плашки" где написано "NUL/SOH/EOT/BEL и так далее). Я помню писал разрабам по поводу удаления своего же персонажа из каких-то внутренних библиотек сервера на котором он буквально воскресал из удалённых, что даже их удивило после просмотренного видео, но тоже результата не дало потому как программа попросту не загружалась)
Попробую потыкаться по вашей наводке, спасибо
Santillious  [author] Jan 25 @ 12:27pm 
Боюсь, редактирование файла не поможет. Его можно открыть через какой-нибудь hex editor (утилита для редактирования бинарных файлов). Я попробовал открыть такой файл и там ни слова о калориях, весе и других числовых значениях. Если честно, понятия не имею, как игра из такого неинформативного файла восстанавливает персонажа. Видимо, разработчики сделали какой-то чересчур хитрый архиватор/деархиватор (а этот мод использует именно стандартные методы сохранения персонажей).
Денчик Jan 25 @ 11:23am 
Возможно ли открыть файл и отредактировать некоторые параметры переноса? Столкнулся с неисправимой проблемой отображения калорий в виде "nan" и перенос персонажа на новое сохранение так же переносит и этот параметр. Не помогает даже дебаг мод просто потому что в нём нет возможности "дописать" параметр калорий (через nutrition tweaker отображает только вес). Исправить это недоразумение можно только убив персонажа и создать заново как говорил один из разрабов (Beard), но хотелось бы подобными манипуляциями избежать пересоздания персонажа.
Redeye Dec 19, 2024 @ 4:29pm 
hey can you check now? B42 came out. thx
Santillious  [author] Dec 8, 2024 @ 8:39am 
It should work.
There were no game updates since I tested it last time so I see no reasons for mod to break.
oswaldomm2 Dec 8, 2024 @ 8:28am 
Does it Still works?
娘们儿要战斗! Aug 11, 2024 @ 12:06am 
thanks :steamhappy:
Santillious  [author] Jul 26, 2024 @ 10:17pm 
I don't like the idea to load items from old character. The only good scenario i see for sthis is transfering character with all equipment from one game world to another in singleplayer game. But it may cause massive cheating problems on public servers with this mod (if anyone uses it...).
So my answer is 'no'. But I may consider making this possible as an option after next big game update... If I find myself able to do this.
娘们儿要战斗! Jul 26, 2024 @ 5:41pm 
love u ,and can u add a port to save the items with the old character? it will be coooool:steamhappy:
FIN Jul 3, 2024 @ 2:43pm 
Заработало при перезапуске мира)
Santillious  [author] Jul 3, 2024 @ 10:21am 
@FIN, должно работать. Как обычно, попробуй сделать сейв только с этим модом и попробовать открыть окно. Если сработает на таком сейве, значит конфликтует с каким-то модом из твоего сейва...
FIN Jul 3, 2024 @ 10:16am 
В уже созданном мире работает или нужно по новой ?
При нажатии на Home пишет "No function"
Версия legacy_41_78_7
Моды

Noir's Attachments
Equipment UI - Paper Doll Equipment Interface - CONTROLLER SUPPORTED!
They Knew
Weapon Condition Indicator [41.60+]
Brita's Armor Pack
Brita's Weapon Pack
Mod Options (Build 41)
Arsenal[26] GunFighter Mod [2.0]
More Weapon and Ammo Spawns
Seyanman May 4, 2024 @ 4:59am 
Is the Mod working on rented servers too when activated? Pressing every Button on my keyboard and the Menu doesn't pop up..
Santillious  [author] Apr 6, 2024 @ 12:11am 
yup. it works in multiplayer
King Alpha4108 Apr 5, 2024 @ 9:25am 
does this work in multiplayer?
Santillious  [author] Mar 1, 2024 @ 2:49am 
@RebelKillSwitch, can you give more details about problem with armor/gear from KATTAJ1 Military Packnot loading? I installed this pack, equipped some gear and tried to export-import character. And everything went fine: my current character got skills and perks from imported file and kept all equipment including gear from pack.

Tell me how it went wrong in your situation? Maybe you tried to export fully equipped character and then import him into another game? In that case gear won't be imported with character. Only skills/perks/recipes are being transferred...
RebelKillSwitch Dec 9, 2023 @ 12:10pm 
@Santillious after 42 is fine! thankyou for the mod I have been using this for a while!
Santillious  [author] Dec 8, 2023 @ 10:32pm 
Yeah, this mod has issues with loading non-vanilla gear slots for characters (it just ignores those equipments). I'll try to fix this issue or create a workaround but only after build 42 release...
RebelKillSwitch Dec 8, 2023 @ 5:16pm 
not loading armor/gear from KATTAJ1 Military Pack when equipped to character saved and loaded.
Aemi Daniels Nov 2, 2023 @ 4:51am 
THANK YOU THANK YOU THANK YOU TT_TT
JustinDaniels Aug 4, 2023 @ 5:26pm 
Thinking of getting this in addition to the Extraction Mod. Could make for a nice and handy "Post-Escape" run cycle. ^-^
Honorable Harbinger Aug 3, 2023 @ 9:55am 
Works like a charm :steamthumbsup:
winni Apr 20, 2023 @ 4:27am 
okay I think this might have been the problem, thank you so much for the help!
Love the mod btw! makes some of my friends actually want to play :28_zombie_28:
Santillious  [author] Apr 20, 2023 @ 3:53am 
How to prevent files from reaching 1mb - don't overuse import on one character.

It's kinda complicated. 'Import' feature adds all known recipes and read books to your current character without any filtering. When you creating a new character he know little amount of recipec and read no books. Exporting that character will result in about 16 kb file. If you export that character and then import him on the same character the next export file will be (16+16)=32 kb (roughly). And then 64, 128, 256 and so on. That's roughly counting.

So the problem appears only if you often using "import" for one character (to heal wounds or to clear illness for example). That's the price.

You should not encounter this problem if "import" feature used once on a freshly created character.
winni Apr 20, 2023 @ 3:43am 
and how do I prevent files from reaching 1mb?
winni Apr 20, 2023 @ 3:33am 
Hi where can I find the log? my character succesfully imports and I can play but when I join again it places me where i was before i imported, I have tried reinstalling the game, unsubscribing/ resubscribing to workshop and tried on multiple worlds and servers.
Santillious  [author] Apr 20, 2023 @ 3:07am 
@winni,
Are there any errors in the log when you try to import your character? That information can really help in fixing.
Also check the size of the file with your character in game folder. If the file size is more than 1 MB, then it's the end. Because standart "import" function can process only files that are less than 1 MB in size.
winni Apr 20, 2023 @ 2:36am 
Hey Santillious, whenever I import my character data it works but all gameplay past that isnt saved and when i log back into my dedicated server my character is stood where I pressed import, without having been imported and all progress since missing.
please help!
Justahuman Dec 10, 2022 @ 2:27am 
Santillious How is fixing it going?
Santillious  [author] Dec 3, 2022 @ 12:32am 
Sounds terrible... I'll try to find a way to fix this but no promises...
Justahuman Dec 2, 2022 @ 4:26pm 
Host could import and export characters just fine, other player could not see the new character only old one. When other person other than host tried to export there character locked there movement in place, then when other person than host tried to reload the game it bricked there computer. No errors popped up in the corner. So it general works for host but not for other person.
Santillious  [author] Dec 2, 2022 @ 1:18am 
@Justahuman,
Well, I haven't tested this mod for a long time now/ Maybe recent game update broke it...
As I understand, it works in singleplayer but doesn't work in multiplayer?
Say, in multiplayer game no one can load a character? Can host save/load characters? Is there a problem just for one player or there are problems for all? Are there any errors popped when trying to save or load?
Justahuman Dec 2, 2022 @ 1:11am 
Is this mod outdated because it does not appear to work in MP only in single player the other player can not see the character change?
1984 Honda Civic CRX May 8, 2022 @ 1:31pm 
Nevermind, had to go to the mod section of the MP configurations and remove the wait version.

Thank you for your help though.
Santillious  [author] May 8, 2022 @ 10:59am 
@1984 Honda Civic CRX,
First of all, give some more info about problem:
1) Which version of the game do you use (stable or unstable beta)?
2) Does game crash on launching server or after some actions made ingame?
3) Are there others mods enabled on the server?
3.1) Have you tried starting server with only this mod enabled? Does it crash?
4) Would be great to see last lines of the log file when game crashes. Sometimes it really helps to understand the problem.
1984 Honda Civic CRX May 7, 2022 @ 6:39pm 
I enabled this mod for MP and it keeps crashing the game. What do I do??
Godlyvexx May 1, 2022 @ 3:17pm 
Santillious, I think the issue is that when enabling the mod for the server, there are multiple places you have to enable the mod, and I did not realize that. Not only did I have to subscribe to the mod, I ALSO had to enable the mod in the game, and THEN had to enable the mod for that world specifically, in addition to the steps before. This isn't really explained anywhere, so it makes sense that so many people are having issues figuring this out.
Santillious  [author] May 1, 2022 @ 2:50am 
@HayMaker,
Right now I have no clue why it's not working for some people... I can only suggest some things to try to fix the problem...
1) Try creating a new game with only this mod enabled and check if Home key works.
- If it works this way, maybe it conflicts with some other mods in your save. You may try to find the problematic mod yourself or just give me your mod list for your save.
2) Also tell me which version of the game you are using? I'm checking on default stable version of the game and it works...
3) Try to fully reinstall the mod:
3.1) Find the mod folder (\Steam\steamapps\workshop\content\108600\2655563133)
3.2) Unsubscribe from this mod
3.3) Delete the mod folder if it exists after unsubscribing
3.4) Subscribe again and check for mod folder to appear again
3.5) Go into game and try your save again (you may need to add this mod again into your save)
HayMaker Apr 30, 2022 @ 11:37pm 
To me home key also doesn't work
I just came back after a long time and i died and so i tried to get my old save up but the window didn't come, nor i got the red error (It's enabled on my game [singleplayer])