|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001750||OpenClonk||Engine||public||2016-06-19 17:59||2016-06-28 11:56|
|Target Version||Fixed in Version|
|Summary||0001750: Load a list of definitions via command line call|
|Description||It would be cool if one could give a list of definitions to the command line call, which would load the given definitions additionally. That way you can keep your own stuff seperated from snapshots or out of the clonk directory and load additional object-definitions with the purpose of debugging.|
This is primary a Windmill feature-wish but could also be useful for certain people who start there editor games via command line.
|Tags||No tags attached.|
Last edited: 2016-06-19 18:19
To clarify: The given list consists of paths; I forgot to mention it and rereading the description feels weird without stating it.
|So you want a command-line switch which overrides the scenario definitions?|
|Overriding or extending. But overriding seems to be the most consistent solution as you have to list all definitions. If you simply add given definitions via command-line switch there might come up problems with the correct loading order.|
|Would adding the current working directory to the load path also solve your problem? This would allow launching the engine from a project directory without any further work.|
Yes, I actually meant it that way so you could add additional loading paths. This would make it easier for us as well.
Btw, this would mean that if a definition was not found in the path of the command-line switch that openclonk would still search for it in its main directory? I'm asking because Rage did not do this. (Which was always a little pain with repositories because you could not have an sub directory for the repository and always needed to copy scenarios and objects to the main directory or clone them directly into the main directory using svn)
Also, would it be possible to pass multiple paths to the command-line switch? (Because it is possible to create child workspaces in Windmill which should inherit definitions of their parent workspaces)
|2016-06-19 17:59||Apfelclonk||New Issue|
|2016-06-19 18:06||Apfelclonk||Note Added: 0005139|
|2016-06-19 18:19||Apfelclonk||Note Edited: 0005139||View Revisions|
|2016-06-20 20:29||Luchs||Note Added: 0005140|
|2016-06-20 20:32||Apfelclonk||Note Added: 0005141|
|2016-06-28 05:54||Luchs||Note Added: 0005170|
|2016-06-28 11:56||ClonkGeist||Note Added: 0005175|