Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi David. 

This message is probably a long shot, but I am taking my chances here. 

I've managed compiling the engine and all the tools (I've unpacked the .cpk files, using FilePacker - to see how to use it). I can run the game from VS2022, so that is all fine. 

However I am curious, what is the pipeline for adding new content to the game? Like new models, animations, (sounds) etc. 

What I've found out so far, that is somehow I should export the assets from Blender into XML format , and then I could convert it into cms, using the MeshCompiler.  I found an xmlmeshexport.py file for Blender (243) in Zeta, so I took that version  of Blender (quite old) and managed to export the basic cube into .mesh format. However I have no clue how should I convert .mesh to cms. The MeshConverter expects an .XML file as an input, but I haven't found any XML exporter for Blender 243 (or any Blender actually), besides of yours. Or maybe I am completely misunderstanding the process? I didn't find any related info in the Editor documentation for Neon Struct on the Steam page (btw, thank you for that doc. it is amazingly helpful.)

P.S. Sorry for my English. 


A fan of Eldritch and NS,

Phariax


 

(1 edit)

Hi Phariax,

Most of the pipeline is automated through the Projects/Main/Tools/bake.py script. You'll need to edit that to point at your paths (see BLENDER_DIR, PYTHON_DIR, etc.) and there might be some other headaches—looking at it again, I see this was written for Python 2 and there's a few things to change if you use Python 3 (print 'foo' becomes print('foo'), mainly). It also expects Cygwin to be installed, for the cp and mv commands.

If you can get that script working, then you should be able to drop new .blend files into Projects/Main/Raw/Meshes, and then bake.py will invoke Blender on the command line and export the mesh to /Intermediate/Meshes (using that xmlmeshexport.py exporter). Then it will run MeshCompiler to convert that into the custom .cms format.

None of this is documented, because the engine was never really meant for anyone but me. But I'm happy to help if you've got any other questions!

David

Edit: To answer the question directly, the .mesh file is the XML file that MeshCompiler expects.