accessing and modifying widgets within game archive
Moderator: Moderators
accessing and modifying widgets within game archive
just wondering how to edit widgets in a game archive and add or edit without having to compress it every time
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: accessing and modifying widgets within game archive
If you are a player wanting to write your own widgets - the widgets should go into "spring data dir"/luaui/widgets. Create it if it doesn't exist.
If you are a game dev wanting to make/edit a whole game - put the games files into a folder called MyGameName.sdd, and put that folder into your "spring data dir"/games.
If you are a game dev wanting to make/edit a whole game - put the games files into a folder called MyGameName.sdd, and put that folder into your "spring data dir"/games.
Re: accessing and modifying widgets within game archive
Can the spring VFS write function manipulate game archive files?
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: accessing and modifying widgets within game archive
No. (VFS functions are for reading, not for writing.)
Re: accessing and modifying widgets within game archive
The easiest way would be to switch off the widget of the game archive (by default with the F11 menu, but some games implement a custom widget list menu), and then work on a copy, with a slightly different name, unpacked in \LuaUI\Widgets\