Skip to main content

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

Sprite Sheet Slicer

A free, handy quick and easy sprite sheet slicer · By isometric8

wish: remove pre-loading mru file and pre-filling the 'Source image' field

A topic by BrocantyGames created 39 days ago Views: 30 Replies: 2
Viewing posts 1 to 2

wish: remove the pre-loading of the mru file and don't pre-fill the 'Source image' field

Why:
The app now first tries to pre-load the last used sprite sheet. Which is saved/logged in the ini logfile within the [mru] section. But in the case this file is missing, a warning message correctly pops up.
I'm not sure why it even tries to load a previous loaded sprite sheet, but maybe I'm overlooking something.
So maybe this pre-load previous sprite sheet function plus the pre-filling of the ' Source image' field can be removed?

Repro:
Given I have loaded a sprite sheet
When I close the app
And remove/relocate the sprite sheet
And reopen app
Then it first shows the error popup message: "Could not find file, '<path+filename>'.
When I click the popup OK button
Then the slicer app start correctly
But the mentioned path and file are loaded and shown in 'Source image' 

Expected behavior:
When I restart the app, it does not try to pre-load the last loaded sprite sheet (logged as mru), as the intention of restarting the app is to load and slice a new sprite sheet.

Misc:
Ini Logfile section app tries to load:

[mru]
filename=<path>\<filename.ext

Developer

I think when I was testing, I was constantly loading a spritesheet deep inside a folder structure of game assets and the repetitive navigating of folders made me think it would be a good idea to save the settings. But as you point out, it's not  really something a normal user would be doing.  Thanks for all your suggestions btw, I'll be updating the software accordingly.

Well, after posting this was actually thinking that it would be handy to have an option to save a 'default loading path' (which can be changed).
You might even be able to re-use the current mru (without the file+ext) but save it in another file, one which may hold even more save option in the near future as mentioned in an earlier post.

It would be nice to also add the current way of path loading when browsing for a source image (open last used folder) as an option, so the user can choose between 'last used folder' or his/her's default but changeable loading folder.