SantaExists Posted December 25, 2017 Share Posted December 25, 2017 (edited) I'm recently trying to create my own character based on Dleowolf's extended sample character. The link is So after I changed the "esctemplate"/"ESCTEMPLATE" in files and also filenames accordingly, when I try resume my world with this mod the game crashed. ---EDIT--- I now believe the problem is somehow my mod is not auto compiled. i.e. after I subscribed the mod (which I uploaded to steam) and run the game, there is still no zip files in anim folder which should be rendered, also all png files are still in png instead of turning in to .tex or .xml. So the problem now is probably why the game does not compile my mod...(I'm using a mac and mod tools from steam is installed). ---END EDIT--- Below is the part of the client_log for my mod: [00:01:43]: Frontend-Unloading mod 'all'. [00:01:48]: FrontendLoadMod workshop-1243067040 [00:01:48]: Could not load mod_config_data/modconfiguration_workshop-1243067040 [00:01:48]: Fontend-Loading mod: workshop-1243067040 (The Explorer) Version:0.0.0 [00:01:48]: Mod: workshop-1243067040 (The Explorer) Loading modworldgenmain.lua [00:01:48]: Mod: workshop-1243067040 (The Explorer) Mod had no modworldgenmain.lua. Skipping. [00:01:49]: Could not load mod_config_data/modconfiguration_workshop-1243067040 [00:01:49]: Network tick rate: U=15(2), D=0 [00:01:49]: ModWorkshop::CancelDownloads clearing all unfinished downloads [00:01:49]: About to start a server with the following settings: [00:01:49]: Dedicated: false [00:01:49]: Online: true [00:01:49]: Passworded: false [00:01:49]: ServerPort: 10999 [00:01:49]: SteamAuthPort: 8766 [00:01:49]: SteamMasterServerPort: 27016 [00:01:49]: ClanID: false [00:01:49]: ClanOnly: false [00:01:49]: ClanAdmin: false [00:01:49]: LanOnly: false [00:01:49]: FriendsOnly: true [00:01:49]: EnableAutosaver: true [00:01:49]: EncodeUserPath: true [00:01:49]: PVP: false [00:01:49]: MaxPlayers: 6 [00:01:49]: GameMode: survival [00:01:49]: OverridenDNS: [00:01:49]: PauseWhenEmpty: true [00:01:49]: IdleTimeout: 1800s [00:01:49]: VoteEnabled: false [00:01:49]: InternetBroadcasting: true [00:01:49]: Intent: cooperative [00:01:54]: Could not load mod_config_data/modconfiguration_workshop-1243067040 [00:01:54]: Online Server Started on port: 10999 [00:01:54]: Collecting garbage... [00:01:54]: lua_gc took 0.07 seconds [00:01:54]: ~ShardLuaProxy() [00:01:54]: ~ItemServerLuaProxy() [00:01:54]: ~InventoryLuaProxy() [00:01:54]: ~NetworkLuaProxy() [00:01:54]: ~SimLuaProxy() [00:01:54]: Cancelling LuaQueryCallback handle [12] [00:01:54]: ModWorkshop::CancelDownloads clearing all unfinished downloads [00:01:54]: lua_close took 0.10 seconds [00:01:54]: ReleaseAll [00:01:54]: ReleaseAll Finished [00:01:54]: cGame::StartPlaying [00:01:54]: LOADING LUA [00:01:54]: DoLuaFile scripts/main.lua [00:01:54]: DoLuaFile loading buffer scripts/main.lua [00:01:54]: taskgrouplist: default Together [00:01:54]: taskgrouplist: classic Classic [00:01:54]: taskgrouplist: cave_default Underground [00:01:54]: taskgrouplist: lavaarena_taskset The Forge [00:01:54]: running main.lua [00:01:54]: loaded modindex [00:01:54]: ModIndex: Beginning normal load sequence. [00:01:54]: ModIndex:GetModsToLoad inserting moddir, workshop-1243067040 [00:01:54]: Could not load mod_config_data/modconfiguration_workshop-1243067040 [00:01:54]: Loading mod: workshop-1243067040 (The Explorer) Version:0.0.0 [00:01:54]: Mod: workshop-1243067040 (The Explorer) Loading modworldgenmain.lua [00:01:54]: Mod: workshop-1243067040 (The Explorer) Mod had no modworldgenmain.lua. Skipping. [00:01:54]: Mod: workshop-1243067040 (The Explorer) Loading modmain.lua [00:01:54]: [string "scripts/util.lua"]:549: Could not find an asset matching anim/explorer.zip in any of the search paths. LUA ERROR stack traceback: =[C] in function 'assert' scripts/util.lua(549,1) in function 'resolvefilepath' scripts/mainfunctions.lua(114,1) in function 'resolve_fn' scripts/mainfunctions.lua(102,1) in function 'RegisterPrefabsImpl' scripts/mainfunctions.lua(128,1) in function 'RegisterPrefabs' scripts/mainfunctions.lua(157,1) in function 'LoadPrefabFile' scripts/main.lua(269,1) in function 'ModSafeStartup' scripts/main.lua(319,1) =[C] in function 'SetPersistentString' scripts/mainfunctions.lua(25,1) in function 'SavePersistentString' scripts/modindex.lua(77,1) =[C] in function 'GetPersistentString' scripts/modindex.lua(64,1) in function 'BeginStartupSequence' scripts/main.lua(318,1) in function 'callback' scripts/modindex.lua(539,1) =[C] in function 'GetPersistentString' scripts/modindex.lua(513,1) in function 'Load' scripts/main.lua(317,1) in main chunk [00:01:54]: [string "scripts/mainfunctions.lua"]:1023: variable 'global_error_widget' is not declared LUA ERROR stack traceback: =[C] in function 'error' scripts/strict.lua(23,1) scripts/mainfunctions.lua(1023,1) =[C] in function 'SetPersistentString' scripts/mainfunctions.lua(25,1) in function 'SavePersistentString' scripts/modindex.lua(77,1) =[C] in function 'GetPersistentString' scripts/modindex.lua(64,1) in function 'BeginStartupSequence' scripts/main.lua(318,1) in function 'callback' scripts/modindex.lua(539,1) =[C] in function 'GetPersistentString' scripts/modindex.lua(513,1) in function 'Load' scripts/main.lua(317,1) in main chunk [00:01:54]: DoLuaFile Error: (null) [00:01:54]: LuaError but no error string [00:01:54]: Error loading main.lua [00:01:54]: Failed mSimulation->Reset() [00:01:54]: Error during game restart! [00:01:54]: Assert failure 'BREAKPT:' at /Volumes/SSD/jenkins-buildmaster/workspace/DST_BuildGame_OSX/source/dontstarve/application.cpp(1754) [00:01:54]: ModWorkshop::CancelDownloads clearing all unfinished downloads [00:01:54]: Collecting garbage... [00:01:54]: lua_gc took 0.04 seconds [00:01:54]: ~ShardLuaProxy() [00:01:54]: ~ItemServerLuaProxy() [00:01:54]: ~InventoryLuaProxy() [00:01:54]: ~NetworkLuaProxy() [00:01:54]: ~SimLuaProxy() [00:01:54]: Cancelling LuaQueryCallback handle [13] [00:01:54]: Cancelling LuaQueryCallback handle [14] [00:01:54]: ModWorkshop::CancelDownloads clearing all unfinished downloads [00:01:55]: lua_close took 0.03 seconds [00:01:55]: ModWorkshop::CancelDownloads clearing all unfinished downloads [00:01:55]: [Steam] Auth ticket cancelled [00:01:55]: Manager - ORPHANED UNKNOWN RESOURCES: [00:01:55]: anim/structure_collapse_fx.zip - 1 [00:01:55]: anim/gems.zip - 6 [00:01:55]: anim/statue_ruins_small.zip - 4 [00:01:55]: anim/statue_ruins.zip - 4 [00:01:55]: anim/statue_ruins_small_gem.zip - 4 [00:01:55]: anim/nightmarefuel.zip - 1 [00:01:55]: anim/die.zip - 1 [00:01:55]: anim/statue_ruins_gem.zip - 4 [00:01:55]: anim/thulecite.zip - 1 [00:01:55]: anim/statue_ruins_fx.zip - 1 [00:01:55]: anim/marble.zip - 1 [00:01:55]: Manager - ORPHANED UNKNOWN RESOURCES: [00:01:55]: shaders/ui_yuv.ksh - 1 [00:01:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:01:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:01:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:01:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:01:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:01:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:01:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:01:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:01:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:01:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:01:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:01:55]: Manager - ORPHANED UNKNOWN RESOURCES: [00:01:55]: anim/statue_ruins_small_gem.zip:statue_ruins_small_gem--atlas-0.tex - 1 [00:01:55]: anim/thulecite.zip:thulecite--atlas-0.tex - 1 [00:01:55]: anim/gems.zip:gems--atlas-0.tex - 1 [00:01:55]: anim/statue_ruins.zip:statue_ruins--atlas-0.tex - 1 [00:01:55]: anim/structure_collapse_fx.zip:structure_collapse_fx--atlas-0.tex - 1 [00:01:55]: anim/nightmarefuel.zip:nightmarefuel--atlas-0.tex - 1 [00:01:55]: anim/statue_ruins_fx.zip:statue_ruins_fx--atlas-0.tex - 1 [00:01:55]: anim/statue_ruins.zip:statue_ruins--atlas-1.tex - 1 [00:01:55]: anim/statue_ruins_gem.zip:statue_ruins_gem--atlas-0.tex - 1 [00:01:55]: anim/marble.zip:marble--atlas-0.tex - 1 [00:01:55]: anim/die.zip:die--atlas-0.tex - 1 [00:01:55]: anim/statue_ruins_small.zip:statue_ruins_small--atlas-0.tex - 1 [00:01:55]: CurlRequestManager::ClientThread::Main() complete [00:01:55]: HttpClient2 discarded 0 callbacks. [00:01:55]: Shutting down Red parts are basically what differ from the original template log message. I'm not familiar with this type of error message so I hope some one could help me understand what's wrong there. I'll append my files here. Thanks. The_Explorer_DST.zip Edited December 25, 2017 by SantaExists Link to comment https://forums.kleientertainment.com/forums/topic/85801-mod-cuasing-dst-to-crash/ Share on other sites More sharing options...
Ricoom Posted December 28, 2017 Share Posted December 28, 2017 [00:01:54]: [string "scripts/util.lua"]:549: Could not find an asset matching anim/explorer.zip in any of the search paths. that seems to be the issue. that your asset is not being found. Link to comment https://forums.kleientertainment.com/forums/topic/85801-mod-cuasing-dst-to-crash/#findComment-988018 Share on other sites More sharing options...
MidrealmDM Posted December 29, 2017 Share Posted December 29, 2017 (edited) On 12/25/2017 at 12:43 PM, SantaExists said: I now believe the problem is somehow my mod is not auto compiled. i.e. after I subscribed the mod (which I uploaded to steam) and run the game, there is still no zip files in anim folder which should be rendered, also all png files are still in png instead of turning in to .tex or .xml. To autocompile your anim files you need to put your spriter file (probably "explorer.scml") and related folders/images in your exported folder. ...Steam\steamapps\common\Don't Starve Together\mods\<modname>\exported\ Run the game once, and it should auto compile, then you can go back in and remove/delete the contents of exported. To create .tex you will need need the TEXtool to convert a png to a .tex As for the xml - you have to manually create that yourself. You can use a simple text editor like wordpad, (I prefer notepad++) and save with an .xml extension. XML Spoiler <Atlas> <Texture filename="texfilename.tex" /> -- change texfilename to the name of the .tex file you are using <Elements> <Element name="texfilename.tex" u1="0.0078125" u2="0.9921875" v1="0.0078125" v2="0.9921875" />-- This is a little complicated, but easy to do, the numbers are a percentage of the image as measured in pixels Each number defines where the image you want begins and ends (this is especially important if using a .tex file with multiple images in it I forget which number is which location... I think u1 is left edge and u2 is the right, while v1 is the bottom* and v2 is the top *IIRC the percentage for the V measurments measure from the bottom up, but I may be wrong, I haven't messed with this in a while. </Elements> </Atlas> The above example is for a single image file of 128 pixels by 128 pixels For the first measurement you want to start at pixel 1 or 1/128 ( = 0.0078125 ) and end at pixel 127 (= 0.9921875) If the Tex file had four images of 64 x 64 each, you would start the first at 1/128 and end at 63/128 and start the second at 65/128 and end at 127/128 If using more than one image/element in a single tex file, just add as many element "<Element ... />" lines as you need after the first one Hope that all makes sense. Edited December 29, 2017 by MidrealmDM Link to comment https://forums.kleientertainment.com/forums/topic/85801-mod-cuasing-dst-to-crash/#findComment-988269 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now