454 Commits

Author SHA1 Message Date
Pieter Hulshoff
1cfdea1b87 Added additional files and information for default RetroFE setup for Aeon Nox layout. 2016-07-25 22:44:27 +02:00
Pieter Hulshoff
6b137563b6 Replaced Default 16x9 theme with Aeon Nox 16x9 theme. 2016-07-25 17:46:04 +02:00
Pieter Hulshoff
7472891663 Fixed playing of select sound when starting a game. 2016-07-24 09:18:31 +02:00
Pieter Hulshoff
6dd0654bad Renamed scrollingText to reloadableScrollingText to allow for later scrollingText feature that loads from a fixed file, and to improve consistency in naming. This will require all themes that use scrollingText to replace the tag with reloadableScrollingText. 2016-07-24 09:11:35 +02:00
Pieter Hulshoff
92b0ca41c3 Improved text alignment when text is larger than the allowed image width. 2016-07-23 11:05:48 +02:00
Pieter Hulshoff
d1263ccc92 Added animation support for containerX, containerY, containerWidth, and containerHeight. 2016-07-23 10:06:32 +02:00
Pieter Hulshoff
a3318ee1d5 Improved scaling of scrollingText for different resolutions. 2016-07-23 09:33:37 +02:00
Pieter Hulshoff
7aa78daf7c Fixed animation bug that prevented RetroFE from closing. 2016-07-22 16:30:10 +02:00
Pieter Hulshoff
fa44e571c9 Allow menu direction scroll change independent of the idle state of the menu. 2016-07-22 15:07:19 +02:00
Pieter Hulshoff
f98395cbcd Fixed single item menu scrolling selection bug caused by previous fix. 2016-07-22 14:49:59 +02:00
Pieter Hulshoff
c4c85fa9e8 Allow onHighlight animations to be interrupted by key presses. This should remove the "lag" people have been experiencing when scrolling through the menu. 2016-07-22 14:01:25 +02:00
Pieter Hulshoff
d3d4bdcd41 Added support for collection's info.conf file in addition to the settings.conf. This file should be used to provide additional system information, and will overwrite similar settings in settings.conf. This feature is merely intended to allow a user to keep the settings separated from the system information. 2016-07-20 15:30:23 +02:00
Pieter Hulshoff
46200f029d Added support for score and developer tags in the meta Hyperlist files, including printing as text and image.
If no developer tag is available, RetroFE will use the manufacturer tag in stead.
2016-07-20 15:03:12 +02:00
Pieter Hulshoff
92026576f9 Added support for default art. If the expected art cannot be found, RetroFE will search for default.png/jpg/mp4/... in stead. 2016-07-20 13:25:21 +02:00
Pieter Hulshoff
c363201510 Added support for container view windows. The additional attributes are containerX, containerY, containerWidth, and containerHeight.
These parameters define a rectangular area. All parts of the image that fall within that area are shown on screen; all parts that fall outside of that area are omitted.
2016-07-20 12:06:41 +02:00
Pieter Hulshoff
15aef92009 Increased support for common reloadableImage files for:
- numberButtons
- numberPlayers
- year
- title
- manufacturer
- genre
- ctrlType
- joyWays
- rating
These files, if supported, used to be in directories starting with _ in the collections directory, e.g. collections/_manufacturer. They should now be placed in collections/_common/medium_artwork/manufacturer etc.

Two modes were added to support this:
- mode="common"
- mode="commonlayout"
This last mode forces RetroFE to expect the files in the selected layout directory, so e.g. layouts/Aeon Nox 16x9/collections/_common/medium_artwork/manufacturer/.

So, where before you would use <reloadableImage type="manufacturer", you should now use <reloadableImage type="manufacturer" mode="common", and the files are expected in collections/_common/medium_artwork/manufacturer/ in stead of collections/_manufacturer. It may seem like more work, but at least it's a generic way for all common art to be handled.
2016-07-17 13:17:24 +02:00
Pieter Hulshoff
1689d570c2 Added launchEnter and launchExit commands around the launching of a game. The functions were already written; just not called. 2016-07-17 09:57:26 +02:00
Pieter Hulshoff
3e3c61cfc6 Fixed ever-spinning wheel bug when pressing next game + previous letter or previous game + next letter in swift succession. 2016-07-14 07:05:57 +02:00
Pieter Hulshoff
e6dad2945e Fixed scrolling text issues regarding startTime, endTime, and startPosition. 2016-07-07 21:12:00 +02:00
Pieter Hulshoff
5ce0568ec7 Fixed Windows compile errors. 2016-07-06 12:08:05 +02:00
Pieter Hulshoff
6a2ab3d2af Added support for scrolling text via the scrollingText tag. It uses the following extra attributes:
direction: horizontal | vertical
  horizontal scrolling will scroll over a single line.
  vertical scrolling will scroll multiple lines if the text does not fit inside the box.

alignment: left | right | centered | justified
  Defines the alignment of the vertical scrolling text inside the box.

scrollingSpeed:
  Defines the scrolling speed in pixels per second.

startPosition:
  Defines the horizontal starting position of the text compared to the left of the box.
  Defines the vertical starting position of the text compared to the top of the box.

startTime:
  Defines how many seconds the text will wait before it starts scrolling.

endTime:
  Defines how many seconds the text will take to reappear after it's done scrolling.
2016-07-06 09:39:08 +02:00
Pieter Hulshoff
ad93b0a93d Fixed width of replacement text for scrolling lists; it should not be wider than
the maximum width of the image it's replacing.
2016-06-29 15:30:18 +02:00
Pieter Hulshoff
822ce8d462 Added support for reloadableText type="collectionIndexSize". This will print
<selected item index>/<collection size>.
2016-06-29 14:24:43 +02:00
Pieter Hulshoff
4da301802b Fixed minor sound and animation issues when switching layout. 2016-06-29 13:41:42 +02:00
Pieter Hulshoff
efe9e323cc Added support for a <video> tag. This tag works similar to the <image> tag, but has an additional numLoops attribute to indicate the number of times the video should be looped. The default value is numLoops="1", and you can use numLoops="0" for infinite looping. 2016-06-26 14:02:25 +02:00
Pieter Hulshoff
ed07075360 Reload menu items when a game is removed from the favourites list. Resort the list(s) when a game is added or removed from the favourites list. 2016-06-25 11:42:36 +02:00
Pieter Hulshoff
da0fe6c299 Replaced numberPlayersRange, numberPlayersPlayers, and numberPlayersRangePlayers types with more general singlePrefix, single Postfix, pluralPrefix, and pluralPostfix attributes for reloadableText. This prints as follows:
printed text = 0: singlePrefix text pluralPostfix
printed text = 1: singlePrefix text singlePostfix
otherwise       : pluralPrefix text pluralPostfix
This allows support for themes in different languages or simply textual printing freedom.
2016-06-25 10:36:33 +02:00
Pieter Hulshoff
5bc67f72fb Fixed layer animations for non-menu items. 2016-06-24 11:00:29 +02:00
Pieter Hulshoff
62e9f7eaa3 Fixed reflectionAlpha support. 2016-06-24 09:39:34 +02:00
Pieter Hulshoff
dc74226a37 Reallocating menu sprites resets the animations, so animations should be called after reallocating the sprites. 2016-06-21 10:22:28 +02:00
Pieter Hulshoff
40391ad084 Fixed Windows compile warnings/errors. 2016-06-19 21:22:47 +02:00
Pieter Hulshoff
edf866f0c7 Check main layout directory if art cannot be found in the collection's layout directory. 2016-06-19 16:06:36 +02:00
Pieter Hulshoff
f1fe21843d Added support for image reflection via the following attributes:
reflection: top, bottom, left or right
reflectionDistance: distance between the image and the reflected image
reflectionScale: scaling of the image in the direction of the reflection
reflectionAlpha: transparency factor of the reflection
2016-06-17 11:01:08 +02:00
Pieter Hulshoff
a63c10ec5c Added uppercase/lowercase support for all reloadableText types. 2016-06-17 08:46:57 +02:00
Pieter Hulshoff
3e0b866ff5 Reduced page loading time by reducing the number of calls to
allocateSpritPoints.
2016-06-14 21:41:17 +02:00
Pieter Hulshoff
50148fa213 Added support for reloadableText attribute textFormat="uppercase" and
textFormat="lowercase" to print a reloadable string in uppercase or
lowercase format.
2016-06-12 10:37:26 +02:00
Pieter Hulshoff
12aadc729e Added support to allow all menus to be animated in stead of just the active
menu.  WARNING: this will probably require menu animations to be updated
with a menuIndex attribute for old themes to continue functioning correctly.
2016-06-12 09:51:56 +02:00
Pieter Hulshoff
b127b12b4e Added support for animation type "layer". 2016-06-12 09:25:24 +02:00
Pieter Hulshoff
ef81de1b1b Idle animations should not be interrupted if another type of animation is
requested that is not programmed for this component.
2016-06-12 09:11:42 +02:00
Pieter Hulshoff
933e7e2fdd Fixed maxWidth/maxHeight animation for menu items. The problem was that
menus animated the scaled width/height rather than the real width/height,
which caused their internal state to become corrupted, which showed when
the item was then animated using maxWidth/maxHeight.
2016-06-12 08:36:03 +02:00
Pieter Hulshoff
9d533fb2cc Corrected path for reloadable media in mode "layout". 2016-06-12 07:28:45 +02:00
Pieter Hulshoff
2a4b650c64 Cleaned up the animation code, and fixed several animation bugs. 2016-06-11 08:54:44 +02:00
Pieter Hulshoff
0c2b2e56f2 Added support for onEnter/onExit to the scrolling lists. 2016-06-10 18:30:14 +02:00
Pieter Hulshoff
e711049acb Added "onEnter" event trigger after the splashpage has been replaced by the
selected layout.
2016-06-10 16:19:00 +02:00
Pieter Hulshoff
0ed34b0688 Pushing a collection should not trigger a menuEnter event for the scrolling
list. These events should be handled separately.
2016-06-10 15:46:02 +02:00
Pieter Hulshoff
6af237ebbf Removed all old layouts. The default is to be changed/updated, and all
other layouts will be updated, and made available via the forums.
2016-06-10 13:54:32 +02:00
Pieter Hulshoff
208fa0c23b Fixed remembering last selected game and playlist. 2016-06-10 13:31:39 +02:00
Pieter Hulshoff
a55fd84d58 Added animation types maxWidth, maxHeight, and nop (no-operation; do
nothing).
Fixed onHighlightEnter and onHighlightExit animations, which were not
started at all.
2016-06-10 12:10:36 +02:00
Pieter Hulshoff
537322f9c0 Added support for layouts per collection. When switching collections,
RetroFE will look for layout.xml and corresponding art in the
collections/<collection name>/layout/ subdirectory of your chosen layout,
and load that layout if it is available.
2016-06-10 08:58:41 +02:00
Pieter Hulshoff
1157096f55 Added mode attribute "layout" and "systemlayout" to allow art to be loaded
from the layout directory rather than the collections directory. Their
standard counter modes are no mode attribute, and mode="system".
Example:
  no mode:       load collections/MAME/medium_artwork/video/mslug.mp4
  mode "layout": load layouts/<layout name>/collections/MAME/medium_artwork/video/mslug.mp4
Example:
  mode "system":       load collections/MAME/system_artwork/device.png
  mode "systemlayout": load layouts/<layout name>/collections/MAME/system_artwork/device.png
2016-06-08 13:32:23 +02:00