Mark, if you're reading this, the OSX port will need to be fixed as well.
The changes are trivial.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@344 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
used even when it should have been. OSX and Windows users would never
see this, since those ports don't (yet) have any concept of user vs.
system files. The OSX and Windows ports will have to be updated though,
because of changes in the Settings class.
Changed the code in SettingsUNIX::fileExists() to only check for the
existence of a file, not whether you can write to it. This is what
the name implies.
Bumped the version number to 1.4.2_cvs.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@343 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
directory is now searched for *all* files, no matter what they're called.
Bumped the version number to 1.4.1 in the main dialog.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@335 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
should hopefully take care of NTSC/PAL issues and the cut-off screen
problems in some PAL games.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@332 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
should work just as well as the one from the official SDL website, since
very few changes were required for Stelladaptor detection.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@331 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
makes use of switch/case statements instead of the slower if/elseif
structure. Hopefully this will fix event problems some users were
experiencing.
The Control or Alt button can actually now be used in event remapping.
Due to the old event handling, the Control key could be assigned to
an event but would never actually be usable.
Removed the option to remap the exit event (for now), since I haven't
figured out a way to remap it *back* to 'Escape' if that mapping is
ever removed.
Added beginning of support for Stella to automatically determine the
correct framerate based on ROM format type. The final version of this
will probably wait until Stella 1.5.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@329 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
quite a few people. The only problem is that if you ever erase the 'Escape'
mapping for Event::Quit, there's no way to add it back, since while in menu
remap mode, the Escape key is used to erase an entry. It can't be assigned
to any event. So if you erase it, you'll have to delete the stellarc/
stella.ini file. I can see this generating quite a few questions ...
Reworked the sound code for PAL games. Now they sound just as good as NTSC.
Still TODO is research the correct speed for playing PAL games, since 60 fps
seems too fast.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@328 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
filenames to be saved exactly how they're present in the stella.pro file.
Originally I added it since some OS don't like spaces in filenames. But
since there are also other weird characters in the names (like
parenthesis and # symbols), it doesn't make sense to only remove spaces.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@327 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
is much less invasive and stands a better chance of being integrated into
the main SDL codebase.
This fixes a problem with Windows 98 users not being able to use Stella
(oops).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@326 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
if it didn't have an entry in the stella.pro file.
It never ends ...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@325 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
That's it. I'm off to make source and binary images for Linux and Windows.
If there are any more bugs (and I'm sure there are :), they'll be fixed in
Stella 1.4.1.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@321 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
by actual name, instead of by driver name. This is required for
automatic Stelladaptor detection. Also added a README explaining
how to rebuild the SDL source to include this patch (required by GPL).
Since Linux, Mac, and other SDL variants work out of the box wrt
input device naming, I consider this an SDL/Windows bug, and this
patchfile is a workaround. Hopefully, future versions of SDL will
incorporate the patch.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@319 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
copyright information.
Fixed the bug in StellaX where pressing the close button in the title
bar would not call the MainDlg::Quit() method (and hence not save
certain settings and free some memory).
Cleaned up the formatting of most of the source code, which was honestly
in such a sorry state that parts of it were difficult to read.
Got rid of CSimpleString class and references that were no longer used.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@318 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Various code cleanups. I REALLY HATE Hungarian notation.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@317 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
like the next release will be on July 17 (or I'll have to edit all these
files again).
Ran the various PNG images through pngcrush, which squeezed them
down a little. Every little bit helps.
Included the latest version of my personal stella.pro file. It seems that
the original maintainer for this file has gone MIA, so I guess that's
*yet another* thing I'll be maintaining ...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@308 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
All that's left is the inclusion of Mac OSX specific information.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@305 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
or Rarity columns in the game listview. The currently selected sort column
is also saved, and then used when StellaX starts again.
The current width of columns is also saved, and reused when StellaX starts
again.
Still TODO is get the titlebar close button to 'hook' into the
MainDlg::Quit() method, so that it works the same way as pressing
the 'Exit' button or pressing 'Alt-F4'. Right now, pressing the close
button in the titlebar bypasses the Quit() method, and AFAICT also
the freeing of any memory. This bug seems to have been present in StellaX
since the beginning.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@304 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
anyway, and some of it has been in an uncompilable state for almost
4 years!
All future Windows development will be on the StellaX GUI, and even
that may eventually disappear if the same functionality is integrated
into Stella itself.
So, for any Windows developers reading this, all Win32 development
occurs in the src/win32 directory.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@303 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
I'm adding to it, since the other options can be toggled within the emulation.
All I have to figure out is how to fix scrolling down in a integer-box making
the number get bigger. It's a confirmed bug, and the VC++ docs say that
it's counterintuitive but that's the way it works. Damn, I really hate Windows.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@301 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Manufacturer, Rarity, Note, etc).
Since the loading of the metadata is slow, I added a cachefile
for the gamelist (named 'stellax.cache'). If this file is present,
the gamelist is created based on the contents of the cachefile.
This is quite fast, since no stella.pro parsing or ROM loading
is done. The cache file is recreated each time a full reload is
done.
Pressing the 'Reload' button always forces a full reload (not from
cache), so this is useful if you change the ROM directory (or add
ROMs). Still TODO is add a check to see if the ROM dir has had
any files added to it since last time you ran StellaX, and do a
full reload.
Got rid of the filename field in the game listview. Now only show
'Cartridge Name', 'Cartridge Manufacturer' and 'Cartridge Rarity'.
If some game doesn't have an entry in the stella.pro file, its
filename will be shown as cartridge name.
Still TODO are add sorting/permanent resizing options to the column
headers in the listview, and add options to the Config Page. It's
getting close, folks.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@300 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
it in the PropertiesSet class, since it made more sense there.
This also allows the use of Properties and PropertiesSet classes in
StellaX without needing to bring in the Console class (and everything
associated with it).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@299 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
all the whitespace in line, first split the line into key/value pairs
(split by '=' sign), then trim whitespace from beginning and end of both
the key and the value.
This fixes the bug where settings that must contain spaces (pathnames)
are garbled when they have internal spaces removed.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@298 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
now activated when Stella is built with DEVELOPER_SUPPORT is the ability
to change Xstart, Ystart, Width, and Height. Specifically, the ability
to change NTSC/PAL mode, toggle different palettes, and save/merge changes
into the properties file is now standard in all ports, and is *not* strictly
a developer-only thing. So that means that people who use a version of
Stella compiled without DEVELOPER_SUPPORT won't really miss much (the above
features are used by very few people).
Removed the commandline arguments -Dxxx, since they haven't worked for quite
some time anyway, and I doubt that many people really use them. Besides,
there are still keyboard shortcuts to do the same thing. To any developers
who don't want to see these things disappear; the next version of Stella
will include a debugger, and _that's_ the proper place to put those things.
Removed starting and ending '|' characters from the -listrominfo output,
since parsers have an easier time when those are present only _between_
elements, not at the beginning and end.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@297 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
The 'Browse for ROM directory' button now works, so you can change ROM
directories while within StellaX.
Added a 'Reload' button to the main dialog, so that when you change the
ROM dir, you can immediately reload the directory (instead of having to
quit and restart the app).
Added quotes around romnames; previously, names with spaces would cause
problems.
Removed old 'beta-testers' and 'thanks to' info from the Help dialog,
since it's over 4 years old and none of those people helped me :)
Still TODO is parse stella.pro info (so you can see romname, ms5sum, rarity,
manufacturer, and notes from the GUI), add a gamelist cache mode (so the
stella.pro and roms don't have to be accessed each time you start the
emulator, only when the romdir has changed), and add more options to the
config dialog.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@296 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
and SettingsWin32 classes, since they both did the same thing, and
placed the method in the Settings class itself (ifdef'ed out for
OSX). It was done this way when core was still in flux and each port
didn't support all the same options. Since the core is now unified,
it didn't make sense to have a separate usage() method for each port.
Added the '-listrominfo' argument (can only be called from the commandline,
not set with the INI file). This returns selected info from the stella.pro
file and exits immediately. It returns data in the form of:
# of roms (first line)
MD5|Name|Rarity|Manufacturer|Note (# of roms lines) ...
This makes it much easier for GUI frontends to interface with Stella,
since all stella.pro parsing is now done within Stella itself.
Added various print() methods to Properties and PropertiesSet to
facilitate the above '-listrominfo' argument.
Fixed a bug in PropertiesSet::size(); it always returned 0.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@295 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
executable when you select 'Play' in the GUI.
Still todo are add more options to the config page, figure out why the
'Browse ROM Dir' button doesn't work, and have StellaX parse the
stella.pro file (so you can see romname, manufacturer, notes, etc).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@294 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Added Snapshot and OpenGL support to the Stella VC7 project files.
Snapshot support will require the PNG and ZLIB development files,
and OpenGL will require the OpenGL32 development files. I haven't
hardcoded any of these into the project; you must have the relevant
files set up in Visual C++ itself (through default search paths, etc)
I'll be keeping the ability to compile Stella with the makefile
(through MinGW), since the resulting binary from MinGW seems to work
a little better than the one from VC7. VC7 support was added strictly
for those developers who wish to work on Stella using a GUI dev
environment.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@293 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba