During development, sometimes Stella would crash, and for some reason
take the cheatfile contents with it. Now, at least, this should
occur very rarely, since cheats won't be changed most of the time.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1062 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
is redrawn, even if it's empty in rom browse mode. Disable the 'Go Up'
buttons when there's no parent directory (wasn't absolutely necessary,
but it gives some nice visual feedback).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1059 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
scripts, since the properties are now built in, and will never need a
global storage directory.
Reworked the ROM launcher again, by moving the 'Reload' button to the
Launcher options dialog (by popular request from the GP2X forums). The
'Go Up' button is now always present on the main launcher interface, but
is disabled when not in 'rom browse' mode.
Added a button to VideoDialog for the recently added 'tiadefaults'
functionality. It defaults to off, which is the current behaviour in
Stella. (De)selecting this item will require a ROM reload.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1058 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
region of the screen in a 9x9 grid (top/middle/bottom by left/center/right),
as well as the color of the message text.
Updated some strings on the ROM launcher, since it doesn't make sense
to 'Play' a directory.
Disabled display of 'Note' while in rom browse mode in the ROM launcher.
It ends up taking too much CPU time to parse all the ROMs in a directory
each time it changes, so there are now two options: (1) don't browse the
filesystem, and precompute the folder contents/see all the ROM info
or (2) browse the filesystem, allowing selection of folders, etc, but
not seeing ROM names and notes as defined in the properties file. For
performance reasons, it's going to have to be an either/or thing.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1056 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
TIA positioning, and instead use the defaults. It seems some people
would rather see the image exactly as it was produced on the 2600,
blank space and all. It defaults to off, which is the current
behaviour. Eventually I'll add a GUI option to toggle this.
Fixed issue with built-in properties as suggested by Kostas.
Fixed bug in Settings class where certain settings weren't being
recognized from the commandline.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1055 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
functionality. The new scheme is as follows:
- Per-user properties are stored in stella.pro, which is located in
system-specific directories (homedir for UNIX/POSIX systems, currentdir
for Win32 systems).
- Completely removed concept of a global properties file, since that
functionality is now included in Stella directly.
- Retained the ability to use an alternative properties file, in which
case the per-user one isn't used at all, and any entries in it override
the built-in defaults.
Removed all reference to 'system' vs. 'user' config files, for much the
same reasons as above. As above, config files are stored in
user-specific places depending on platform. There is no longer a
system-wide config file. This made sense when Stella didn't have built-in
defaults and relied on such a file, but that's no longer the case.
Sorry for any confusion this causes, but it was causing even more confusion
for users. And now we can distribute Stella has a single binary which
doesn't depend on any external files (but will still use them if they're
present).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1050 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Temporarily changed colour of hightlighted text from pure green to
pure blue for the GP2X port. The next major release (2.2) will have
a GUI palette selector for this.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1049 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
dimensions are larger than the current screen. In the process, this
restructuring will allow messages to be shown in states other than
emulation mode.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1047 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
for installation (it should no longer be included with release packages).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1039 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Cleaned up some errors in unzip code.
Removed some OSX stuff that didn't need to be in CVS.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1037 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
from within the Launcher options. The previous 'Reload' button now
serves a dual role. While in browse mode, the button is renamed as
'Go Up' and serves as a previous directory command. While not in browse
mode, it's renamed as 'Reload' and reloads the current file-to-propname
mapping.
Also added 'rombrowse' commandline argument (true/false) to select either
browse mode (true) or not (false).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1031 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
descends into that directory. Next I have to add a 'Go Up' button to
exit go in the other direction.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1025 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
the current ROM launcher functionality. When in this mode, the ROM
launcher listing will act as a filesystem browser; activating folders
(which are now indicated by surrounding '[]' characters) will enter the
folder, and activating ROMs will start playing the ROM. The major
difference in this new mode (vs. the current one) is that ROMs will
not be renamed according to their MD5SUM, but will be listed with
their real names (as they exist in the filesystem).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1024 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Settings API, this results in a stellarc file only being generated when
absolutely necessary, and saves on writes to flash-ram.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1023 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
I haven't compiled under Win32 yet, so it may still be broken.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1022 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
care of the bugs reported on AtariAge where joystick settings weren't
being saved to the plist file.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1020 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
settings will only be saved when they haven't changed from the defaults.
This is probably of limited use on ordinary systems, but is helpful
for smaller systems using flash-RAM as storage (WinCE/GP2X), since
multiple saves wears out the hardware quicker.
This breaks the OSX port; I'll fix it in a day or two. I'm hoping this
will resolve the issues of certain settings not being saved in OSX
as well.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1017 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
improved speed. The main stella.pro properties have been integrated
directly into Stella, so a properties file needn't be distributed with
the application any more. Support still exists for a system-wide
stella.pro and a per-user user.pro; however, Stella will work fine without
them.
Greatly reduced memory usage in properties storage by moving to an
enum-based key system (so string descriptors for keys are no longer
being stored). Eliminated parsing and construction of the internal
properties set by pre-parsing the data with a perl script (included
in the new 'src/tools' directory). This pre-parser constructs
a balanced binary search AVL tree in array format, so in the worst
case, the BST only has to look through 12 entries.
Fixed some string constructor issues, hopefully fixing compile problems
with the WinCE port.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1016 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
actually a deficiency in the GUI core, whereby joystick button events
were being translated to axis events, but the actual button events were
still being processed as well. Now, if a button has been translated by
pollEvent(), it is removed from further processing in the main event
loop.
Also cleaned up the DialogContainer event logic a little. Basically,
the code at that level should never do button to axis translation,
since that's port-specific and will be handled in the OSystemXXX class.
Fixed some errors in Makefile, where spaces were used instead of tabs.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1014 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba