PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

File Name Input Paradigm

So let's say you're in your full screen app, and you want to save a file. You are either saving over an existing file, or saving as a new file.

If you save over the existing file, of course it uses the same file name. But if you save as a new file, you are typically prompted to enter a new file name.

This presents a dilemma for full screen apps that can't use regular text input methods. So typically, we implement our own little keyboards. But if the user wants to use writing or graffiti, that still isn't a nice solution.

Here's an alternative I was considering. Instead of asking the user for a new filename, just invent one like "New File 3.sav". Tell the user that the new file has been saved under that name. If the user wants to rename it, they can do so in the file explorer.

This is a simple solution and quick to implement. It narrows the user's choice down to saving with the old filename, or saving with a new file name; but they don't get to pick the new file name ahead of time.

This paradigm also isn't an ideal solution to the problem, but it is perhaps worth considering.
How about not using filenames at all? You could save a screenshot with some information and display that for loading.
how about making a very simple MFC dialog based app that you can shell out to... after saving the file... in order to let the user change the name?

Or, use the current time/date in the filename so it would also be help determine which is which if you expect the user to rename it later.
Thierry: These aren't screenshots or saved games, but rather intermediate files my editor produces. It will be very useful to save works at various stages of progress. So names will be useful, I just need a relatively painless way of managing them.

Fast_rx: Yes putting the timestamp on the file is another nice way of identifying it.

Ultimately, I'll come up with a nice way of specifying the file name during the save, such as a fancy keyboard or some way of displaying a dialog. But until then, simpler methods such as this will have to suffice.

And for other apps, simpler methods such as this might be entirely acceptable.
Implementing a keyboard is easy & there are source samples available. I don't play many games but those I have mainly have soft keyboards. I note that Tower Mogul uses both keyboard and save game 'slots' which are like big buttons on screen but you want to save versions as the user goes along so maybe you could just give them a simple keyboard or an onscreen method for generating a file name.

I have not seen anyone giving handwriting support yet.
Yeah I just started working on my own keyboard.
I don't see the need of handwriting on filename entering, filenames are precise bit of writings that need carefully typing, so if you implement a simple keyboard that should do just fine.