Unit Poser (modding tool or w/e) - Page 3

Unit Poser (modding tool or w/e)

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Re: Unit Poser (modding tool or w/e)

Post by PicassoCT »

This has been taken from us and assimilated by the Toolbox.. a spring-thing with lots of other nice tools.
9heart
Posts: 55
Joined: 16 Sep 2010, 16:14

Re: Unit Poser (modding tool or w/e)

Post by 9heart »

i have tried toolbox but get "circular dependency" error at launch. I have set depend var in modinfo to my development sdd in <>/spring/games dir.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Unit Poser (modding tool or w/e)

Post by gajop »

9heart wrote:i have tried toolbox but get "circular dependency" error at launch. I have set depend var in modinfo to my development sdd in <>/spring/games dir.
post your modinfo.lua
btw, which toolbox are you using (how are you getting it)?
mine getting updates often but may not be that stable atm (i should probably work a bit towards that...)
9heart
Posts: 55
Joined: 16 Sep 2010, 16:14

Re: Unit Poser (modding tool or w/e)

Post by 9heart »

http://pastebin.com/SsgjsmpL

which is from Toolbox.sdd i copied from the s44 tools repo
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Unit Poser (modding tool or w/e)

Post by gajop »

9heart wrote:http://pastebin.com/SsgjsmpL

which is from Toolbox.sdd i copied from the s44 tools repo
Hm, ok, well I would expect this to have been an .sdd, that is:
"Spring Tutorial Game.sdd".
Does your game also include anything as a dependency? Can you link its' modinfo.lua (and modinfo.lua of whatever else you are including in it)?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Unit Poser (modding tool or w/e)

Post by FLOZi »

Spring Tutorial Game probably depends on Spring Cursors, remove the dependency on Spring Cursors from either your ToolBox or your tutorial game modinfo.lua
9heart
Posts: 55
Joined: 16 Sep 2010, 16:14

Re: Unit Poser (modding tool or w/e)

Post by 9heart »

I cant seem to get this toolbox working. I removed the cursors.sdz error as flozi suggested, but now it crashes

"Error: Spring: Incorrect/Missing content: Archive "spring: 1944 svn s44main.sdd" not found"

here are mod files.
Attachments
games.zip
tutorial game setup with toolbox
(6.38 MiB) Downloaded 7 times
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Unit Poser (modding tool or w/e)

Post by gajop »

Well it works for me.. but are you 100% sure that's the Toolbox you are using ?
There may be another Toolbox, in a different directory (check games & mods), also try changing it's version to confirm you are using that one.
The reason I say this is because I think that the old Toolbox had spring 1944 as the default dependency.
9heart
Posts: 55
Joined: 16 Sep 2010, 16:14

Re: Unit Poser (modding tool or w/e)

Post by 9heart »

I fixed it by copying the mod folders to desktop, deleting the spring/games folder, running spring (confirm there are no games), then adding the SDDs back into spring/games directory 1 by 1.

something is buggy about the way spring was updating/checking my /games/ folder...
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Unit Poser (modding tool or w/e)

Post by FLOZi »

It's due to cache/ArchiveCache.lua not updating every engine-load for .sdd, so old dependencies are not cleared
9heart
Posts: 55
Joined: 16 Sep 2010, 16:14

Re: Unit Poser (modding tool or w/e)

Post by 9heart »

thx, so next time so an easier way to force update might be deleting cache directory?
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Unit Poser (modding tool or w/e)

Post by gajop »

usually it's not needed;
i think it only used to happen to me when i would just modify its' dependencies, without doing any other changes, but even that seems to work now on linux...
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Unit Poser (modding tool or w/e)

Post by FLOZi »

9heart wrote:thx, so next time so an easier way to force update might be deleting cache directory?
Only if you are changing dependencies as gajop says. Also if you want you can open ArchiveCache.lua and change/delete just the single entry relating to your game - it can take a while for Spring to generate a whole new one.
Post Reply

Return to “Game Development”