Attract-Mode Support Forum

Attract-Mode Project => Announcements => Topic started by: raygun on November 19, 2017, 07:21:31 PM

Title: Version 2.3 Released
Post by: raygun on November 19, 2017, 07:21:31 PM
After a bit of a hiatus, we are back on track and pleased to announce a new release of Attract-Mode.  This release captures all the various features and bugfixes that have been added to the project in the past 10 months.

Full changelog is below, downloads available at: http://attractmode.org/download.html

A note for Windows users: the default Attract-Mode binary is now compiled as a Windows GUI application.  If you prefer the previous behaviour where Attract-Mode runs with a windows console window, use the "console" version Attract-Mode instead.

# Changelog #

## Commits from v2.2.1 to v2.3.0

### Andrew Mickelson (47 commits)

* Bump to version 2.3
* Added --loglevel and --logfile commandline options
* [Windows] Switched Attract-Mode to a Windows GUI app
* Issue #381 - fixed crash when using Shader.Empty
* Joystick mapping must now be done manually from Config->Controls->Joystick Mappings
* Fix handling of conflicting input mappings in configuration mode
* [rpi] Removed assumption that rasberry pi always uses GLES
* Initial addition of Direct X Video Acceleration (Windows) and VAAPI (Linux) support
* Issue #372 - Added plugin to change display on joystick input
* [Attrac-Man] Fixed ghost and player UI movement around the "Ghost House"
* Update look of Attrac-Man layout
* Updated config so that Joystick slots can be mapped to specific named devices
* added "Insert Game" command
* Added UI functionality to edit shortcuts
* Only use CRC matching on rom 10 megs or less when scraping
* Initial support for shortcut navigation and multiple level menus
* Tweak to https://github.com/mickelson/attract/commit/7a7afa5ba58b8d7d6f9eb2e607fb476d1334be18 to fix last launch saving
* Added some missing bound checks when loading state
* [linux] Issue #343 - don't leave zombies when exit hotkey is used
* Disable further FE navigation when launch game sound is playing
* Issue #333 - don't replay launch sound if in the process of launching a game
* Added nomargin Text attribute to layout documentation
* Issue #329 - smarter redrawing of surfaces
* Fixed multimonitor bug (Fix provided by Mike Balfour)
* Update Attrac-Man layout to use artwork fades
* Enable animated gifs
* [windows] Fix "Fill Screen Mode" on Win10
* [linux] Issue #318 - fix compile on Linux with older SFML versions
* [linux] reduced delay when launching emulator in "Fullscreen Mode"
* [windows] Issue #296 - fix for white screen flicker on game launch and exit
* Fix extensions in default dolphin configuration
* [windows] Added NvOptimusEnablement and AmdPowerXpressRequestHighPerformance exports
* The "edit game" action will now edit the display settings when used on the displays menu
* Removed unnecessary video frame queuing, simplifying code
* Issue #304 - hyperspin overlayoffset fix (patch from joyrider3774)
* Changed sleep timer for smoother animation
* Added scraping of mame artwork from adb.arcadeitalia.net
* Fixed "scrape mamedb.com" and "scrape overview" option loading/saving
* Issue #297 - fix hidden displays causing wrong selection in "displays menu"
* Use mamedb.blu-ferret.co.uk for mamedb scraping
* Updated Italian translation (P. Ghezzo)
* Added screensaver options to run commands when starting or stopping "blank screen" mode
* Fixed key handling to return from screensaver.  Fix build with NO_SWF=1 option
* Added blank screen (low power mode) setting to default screensaver.
* Added config option for confirmation prompt on exit

### Benjamin Hodgetts (1 commits)

* Save location in the playlist when launching a game

### CosmicDan (3 commits)

* "Hide Console" option should only be for Windows (whoops)
* Add $PROGDIR variable/expansion for substituting program directory in path leadings
* Add 'Hide Console' option to General settings

### Dat1AZNBanana (1 commits)

* Added more file types for Dolphin roms

### djrobx (1 commits)

* Fix bug where wheel doesn't scroll down or right if you move the trackball slowly . (#322)

### Ferdinand Thiessen (3 commits)

* Extlibs: Fixed nonvoid function without return value in gameswf. (#321)
* [linux] Added appdata file (#319)
* Makefile: Fix install target for mac and some linux distros

### Minjae Song (3 commits)

* Korean localisation

### Radek Dutkiewicz (4 commits)

* Fixed bluring of small fonts in X axis when textbox has a fractional width
* Fixed 1 pixel offset
* tp.cpp whitespace cleanup
* fe.Textbox improvements

### willems davy (2 commits)

* Try to correct positions for some themes with certain swf artwork
* Fix zorder + implement zorder related below tag
Title: Re: Version 2.3 Released
Post by: kent79 on November 19, 2017, 08:43:57 PM
NO.1 Thank you  :D
Title: Re: Version 2.3 Released
Post by: progets on November 19, 2017, 10:01:08 PM
Thanks raygun!
Title: Re: Version 2.3 Released
Post by: jedione on November 20, 2017, 07:19:41 AM
yes.......giffs   thanks raygun
Title: Re: Version 2.3 Released
Post by: 8bitsdeep on November 20, 2017, 07:25:05 AM
Woohoo!


Hmm, when I press back on the Display Menu, I get a menu of all my displays that isn't accepting any directional input.  Any way to disable this?  I preferred the exit prompt.
Title: Re: Version 2.3 Released
Post by: qqplayer on November 20, 2017, 08:31:59 AM
Thanks
Title: Re: Version 2.3 Released
Post by: liquid8d on November 20, 2017, 08:46:05 AM
Thank you!  ;D
Title: Re: Version 2.3 Released
Post by: estefan3112 on November 20, 2017, 01:50:42 PM
Whar about us MacOS users? Any chance for an upgrade? I am quite dependent on AM on my Mac because it just rocks! Thanks and cheers!
Title: Re: Version 2.3 Released
Post by: keilmillerjr on November 20, 2017, 02:36:19 PM
Whar about us MacOS users? Any chance for an upgrade? I am quite dependent on AM on my Mac because it just rocks! Thanks and cheers!

Me too. Mac users need a bug fix for the issue were layouts are cut off at the bottom when in windowed mode.
Title: Re: Version 2.3 Released
Post by: raygun on November 20, 2017, 08:04:44 PM
Hmm, when I press back on the Display Menu, I get a menu of all my displays that isn't accepting any directional input.  Any way to disable this?  I preferred the exit prompt.

Not sure why the menu wouldn't be accepting any directional input, but when you go to Config->Controls->Back, what is set as the default action for your Back button?
Title: Re: Version 2.3 Released
Post by: raygun on November 20, 2017, 08:11:56 PM
Whar about us MacOS users? Any chance for an upgrade? I am quite dependent on AM on my Mac because it just rocks! Thanks and cheers!

Me too. Mac users need a bug fix for the issue were layouts are cut off at the bottom when in windowed mode.

Unfortunately the Mac builds were coming from h0tw1r3d's buildbot and it went down a while back.  I don't have access to a mac that works atm.  If you are set up to compile attract-mode on a Mac I believe the scripts in https://github.com/mickelson/attract/tree/master/util/osx (https://github.com/mickelson/attract/tree/master/util/osx) automate the creation of an app bundle... if anyone can help out with a Mac build please contact me it would be much appreciated!

Title: Re: Version 2.3 Released
Post by: estefan3112 on November 20, 2017, 10:32:05 PM
More than happy to help (if I can), I sent you a PM. Cheers!
Title: Re: Version 2.3 Released
Post by: kent79 on November 20, 2017, 11:42:16 PM
Anyone can make a rpi 2.3 image? Thanks  :)
Title: Re: Version 2.3 Released
Post by: xbs on November 21, 2017, 12:28:39 AM
Thank you all devs.
Title: Re: Version 2.3 Released
Post by: bundangdon on November 21, 2017, 04:13:22 AM
Fantastic work! Thank you very much for all your hard work and dedication :)
Title: Re: Version 2.3 Released
Post by: protocolgeorge on November 21, 2017, 07:12:05 PM
Thanks...Awesome Work!!  Best Frontend Of There!!
Title: Re: Version 2.3 Released
Post by: dukpoki on November 21, 2017, 09:23:17 PM
Thanks for all the hard work!  I especially appreciate the inclusion of hw acceleration.   But I have good news and bad news regarding that functionality to report.  Even with HW mode on, 60 fps videos still have midway lag and some just plain freeze now.  But on the plus side, overall with HW mode on, at least the videos in general (all the one's that work) are very snappy so it makes the whole gui smoother and faster in transitions.  I seriously thought the inclusion of HW mode would fix the 60 fps lagging issues but no it didn't.  Really baffling honestly.  Some EMUMOVIE 60fps rips work (though it starts to lag later in the vid) but other one's just freeze up.  Even the snap's i've frapped+encoded myself via Avidemux freeze up.  In the end though, I just ended up batch converting all the 60 frame vids to 30.  I wasn't thrilled I had to re-encode but it's all done now and now everything works without a hitch.  And when I have more time I'm going to mess around with GIFS!

BTW, what is the difference in Windows "Console Version" vs the plain one in the downloads page?

Edit:  I take back the positive part of HW mode.  I switched back to software and it's much snappier/faster.  I'm pretty sure there's something wrong with HW mode (at least for me) and that would explain why even with HW mode the 60 fps videos were crapping out.
Title: Re: Version 2.3 Released
Post by: 8bitsdeep on November 27, 2017, 06:49:37 AM
Hmm, when I press back on the Display Menu, I get a menu of all my displays that isn't accepting any directional input.  Any way to disable this?  I preferred the exit prompt.

Not sure why the menu wouldn't be accepting any directional input, but when you go to Config->Controls->Back, what is set as the default action for your Back button?

Back (Exit).  I assume the parenthesis is the default action?



Title: Re: Version 2.3 Released
Post by: khaleelnajjar on November 28, 2017, 10:36:15 AM
Since I updated both retroarch and attract mode, FBA core stopped working on attractmode, it works from retroarch interface, and every other core works with same settings and args, including FBA2012. The only core that stopped working is FBA.

I'm going crazy. This is my main arcade setup and now it is ruined.
Title: Re: Version 2.3 Released
Post by: unclewilly on November 29, 2017, 06:07:53 AM
If i update to this attract mode version,  will i loose my config displays and romlists?
Title: Re: Version 2.3 Released
Post by: BadFurDay on November 29, 2017, 08:13:09 AM
If i update to this attract mode version,  will i loose my config displays and romlists?

I'd backup the romlists and attract.cfg before updating. It shouldn't affect them but better safe than sorry.
Title: Re: Version 2.3 Released
Post by: BadFurDay on November 29, 2017, 08:15:28 AM
This version isn't working for me on the Pi. It tries to start but always gives a segmentation fault. I dont know of anyway to downgrade so i dont lose my work either so been a bit in limbo. Got another card and I did a fresh install of Retropie then installed Attract Mode through the Retropie Setup and this works but is only version 2.2.1. Any help is appreciated.
Title: Re: Version 2.3 Released
Post by: XC-3730C on December 03, 2017, 01:40:25 PM
Any plans for an Android version?
Title: Re: Version 2.3 Released
Post by: keilmillerjr on December 04, 2017, 01:19:10 PM
Tried compiling on mac and getting error. I installed brew and dependancies, and then run make from directory. Any ideas?

Code: [Select]
Keils-iMac:attract keiljr$ make
flags: -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf  -DUSE_SWRESAMPLE
Compiling obj/fe_base.o...
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:21:
In file included from extlibs/gameswf/base/image.h:14:
In file included from extlibs/gameswf/base/container.h:73:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ext/hash_map:203:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1252:46: error:
      declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float       fmax(float __lcpp_x, float ...
                                             ^
extlibs/gameswf/base/utility.h:87:14: note: target of using declaration
inline float    fmax(float a, float b) { if (a < b) return b; else return a; }
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1249:9: note:
      using declaration
using ::fmax;
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1276:46: error:
      declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float       fmin(float __lcpp_x, float ...
                                             ^
extlibs/gameswf/base/utility.h:86:14: note: target of using declaration
inline float    fmin(float a, float b) { if (a < b) return a; else return b; }
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1273:9: note:
      using declaration
using ::fmin;
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1391:46: error:
      declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float       log2(float __lcpp_x) _NOEXC...
                                             ^
extlibs/gameswf/base/utility.h:105:14: note: target of using declaration
inline float    log2(float f) { return logf(f) / LN_2; }
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1388:9: note:
      using declaration
using ::log2;
        ^
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:21:
In file included from extlibs/gameswf/base/image.h:14:
In file included from extlibs/gameswf/base/container.h:73:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ext/hash_map:213:5: warning:
      Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>
      [-W#warnings]
#   warning Use of the header <ext/hash_map> is deprecated.  Migrate to ...
    ^
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:23:
extlibs/gameswf/base/tu_gc.h:147:4: warning: 'operator new[]' should not return
      a null pointer unless it is declared 'throw()' [-Wnew-returns-null]
                        return NULL;
                        ^
2 warnings and 3 errors generated.
make: *** [obj/fe_base.o] Error 1
Title: Re: Version 2.3 Released
Post by: retrogam3 on December 05, 2017, 09:37:25 AM
Thanks for this...Fixed a ton of issues for me and is running super fast! ;D
Title: Re: Version 2.3 Released
Post by: mahuti on December 05, 2017, 12:50:17 PM
Tried compiling on mac and getting error. I installed brew and dependancies, and then run make from directory. Any ideas?

Code: [Select]
    ^
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:23:
extlibs/gameswf/base/tu_gc.h:147:4: warning: 'operator new[]' should not return
      a null pointer unless it is declared 'throw()' [-Wnew-returns-null]
                        return NULL;
                        ^
2 warnings and 3 errors generated.
make: *** [obj/fe_base.o] Error 1

I just wanted to confirm I have this same problem compiling on a mac.
Title: Re: Version 2.3 Released
Post by: estefan3112 on December 05, 2017, 12:56:33 PM
Great news - Attract Mode starts compiling on the Mac! Thanks to Andrew's great work!
https://github.com/mickelson/attract/issues/390
Right now this makes the trick:
make NO_SWF=1
Tonight I did a manual update of my MacOS app as well as the data in the .attract folder - and it works! See the screenshot in the above post! I understand that Andrew will also try to sort out this last obstacle. I still have to figure out how to create the Mac bundle.
 :D ;D
Title: Re: Version 2.3 Released
Post by: keilmillerjr on December 05, 2017, 06:21:09 PM
Thank you guys for the help! With lots of warning, I did it!

Attached (https://www.dropbox.com/s/o2y9evilb07d5ex/attract-v2.3.0-12.dmg?dl=0) is attract-v2.3.0-12.dmg compiled on 10.11.4 with Xcode 7.3.1.

Here’s how I did it:

prerequisites
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)“
  *note* updated instruction newer than step 1. in Compile.md
$ brew update
$ brew install pkg-config ffmpeg sfml libarchive

make binary
$ git clone https://github.com/mickelson/attract.git
$ cd attract
$ make NO_SWF=1
  *note* may also make without additional param by uncommenting line 51 in Makefile

make bundle
$ util/osx/create-pkg.sh NO_SWF=1

continued onto next post due to exceeding maximum allowed character length
Title: Re: Version 2.3 Released
Post by: keilmillerjr on December 05, 2017, 06:22:26 PM
continued from previous post due to exceeding maximum allowed character length

make binary output
Code: [Select]
Keils-iMac:attract keiljr$ make NO_SWF=1
flags: -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DUSE_SWRESAMPLE -DNO_SWF
Compiling obj/fe_base.o...
Compiling obj/fe_info.o...
Compiling obj/fe_input.o...
Compiling obj/fe_romlist.o...
Compiling obj/fe_settings.o...
Compiling obj/scraper_xml.o...
Compiling obj/scraper_general.o...
Compiling obj/scraper_net.o...
Compiling obj/fe_config.o...
Compiling obj/fe_presentable.o...
Compiling obj/fe_present.o...
Compiling obj/sprite.o...
Compiling obj/fe_image.o...
Compiling obj/fe_sound.o...
Compiling obj/fe_shader.o...
src/fe_shader.cpp:84:12: warning: 'setParameter' is deprecated
      [-Wdeprecated-declarations]
                m_shader.setParameter( name, x );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:554:26: note: 'setParameter' has
      been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x);
                         ^
src/fe_shader.cpp:93:12: warning: 'setParameter' is deprecated
      [-Wdeprecated-declarations]
                m_shader.setParameter( name, x, y );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:562:26: note: 'setParameter' has
      been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x, ...
                         ^
src/fe_shader.cpp:102:12: warning: 'setParameter' is deprecated
      [-Wdeprecated-declarations]
                m_shader.setParameter( name, x, y, z );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:570:26: note: 'setParameter' has
      been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x, ...
                         ^
src/fe_shader.cpp:111:12: warning: 'setParameter' is deprecated
      [-Wdeprecated-declarations]
                m_shader.setParameter( name, x, y, z, w );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:578:26: note: 'setParameter' has
      been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x, ...
                         ^
src/fe_shader.cpp:120:12: warning: 'setParameter' is deprecated
      [-Wdeprecated-declarations]
                m_shader.setParameter( name, sf::Shader::CurrentTexture );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:626:26: note: 'setParameter' has
      been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, CurrentTe...
                         ^
src/fe_shader.cpp:133:13: warning: 'setParameter' is deprecated
      [-Wdeprecated-declarations]
                        m_shader.setParameter( name, *texture );
                                 ^
/usr/local/include/SFML/Graphics/Shader.hpp:618:26: note: 'setParameter' has
      been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, const Tex...
                         ^
6 warnings generated.
Compiling obj/fe_overlay.o...
src/fe_overlay.cpp:1575:9: warning: 'setColor' is deprecated
      [-Wdeprecated-declarations]
        cursor.setColor( tp->getColor() );
               ^
/usr/local/include/SFML/Graphics/Text.hpp:177:26: note: 'setColor' has been
      explicitly marked deprecated here
    SFML_DEPRECATED void setColor(const Color& color);
                         ^
1 warning generated.
Compiling obj/fe_window.o...
Compiling obj/tp.o...
src/tp.cpp:71:14: warning: 'setColor' is deprecated [-Wdeprecated-declarations]
                m_texts[i].setColor( c );
                           ^
/usr/local/include/SFML/Graphics/Text.hpp:177:26: note: 'setColor' has been
      explicitly marked deprecated here
    SFML_DEPRECATED void setColor(const Color& color);
                         ^
src/tp.cpp:76:20: warning: 'getColor' is deprecated [-Wdeprecated-declarations]
        return m_texts[0].getColor();
                          ^
/usr/local/include/SFML/Graphics/Text.hpp:285:34: note: 'getColor' has been
      explicitly marked deprecated here
    SFML_DEPRECATED const Color& getColor() const;
                                 ^
2 warnings generated.
Compiling obj/fe_text.o...
Compiling obj/fe_listbox.o...
Compiling obj/fe_vm.o...
Compiling obj/zip.o...
Compiling obj/main.o...
src/main.cpp:365:10: warning: taking the absolute value of unsigned type 'bool'
      has no effect [-Wabsolute-value]
                                && ( std::abs( sf::Joystick::getAxisPosition(
                                     ^
src/main.cpp:365:10: note: remove the call to 'abs' since unsigned values cannot
      be negative
                                && ( std::abs( sf::Joystick::getAxisPosition(
                                     ^~~~~~~~
src/main.cpp:561:36: warning: 'capture' is deprecated
      [-Wdeprecated-declarations]
  ...sf::Image sshot_img = window.capture();
                                  ^
/usr/local/include/SFML/Graphics/RenderWindow.hpp:140:27: note: 'capture' has
      been explicitly marked deprecated here
    SFML_DEPRECATED Image capture() const;
                          ^
2 warnings generated.
Compiling obj/fe_util_osx.o...
Compiling obj/fe_net.o...
Compiling obj/media.o...
src/media.cpp:534:15: warning: 'refcounted_frames' is deprecated
      [-Wdeprecated-declarations]
                        codec_ctx->refcounted_frames = 1;
                                   ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note:
      'refcounted_frames' has been explicitly marked deprecated here
    int refcounted_frames;
        ^
src/media.cpp:539:14: warning: 'avcodec_decode_video2' is deprecated
      [-Wdeprecated-declarations]
                        int len = avcodec_decode_video2( codec_ctx, raw_frame,
                                  ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4993:5: note:
      'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
    ^
src/media.cpp:706:17: warning: 'refcounted_frames' is deprecated
      [-Wdeprecated-declarations]
                                        codec_ctx->refcounted_frames = 1;
                                                   ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note:
      'refcounted_frames' has been explicitly marked deprecated here
    int refcounted_frames;
        ^
src/media.cpp:711:16: warning: 'avcodec_decode_video2' is deprecated
      [-Wdeprecated-declarations]
                                        int len = avcodec_decode_video2...
                                                  ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4993:5: note:
      'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
    ^
src/media.cpp:718:35: warning: 'pkt_pts' is deprecated
      [-Wdeprecated-declarations]
  ...raw_frame->pts = raw_frame->pkt_pts;
                                 ^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/frame.h:302:13: note: 'pkt_pts'
      has been explicitly marked deprecated here
    int64_t pkt_pts;
            ^
src/media.cpp:1020:73: warning: 'codec' is deprecated
      [-Wdeprecated-declarations]
  ...*codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
                                                           ^
/usr/local/Cellar/ffmpeg/3.4/include/libavformat/avformat.h:893:21: note:
      'codec' has been explicitly marked deprecated here
    AVCodecContext *codec;
                    ^
src/media.cpp:1075:73: warning: 'codec' is deprecated
      [-Wdeprecated-declarations]
  ...*codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
                                                           ^
/usr/local/Cellar/ffmpeg/3.4/include/libavformat/avformat.h:893:21: note:
      'codec' has been explicitly marked deprecated here
    AVCodecContext *codec;
                    ^
src/media.cpp:1232:23: warning: 'refcounted_frames' is deprecated
      [-Wdeprecated-declarations]
                m_audio->codec_ctx->refcounted_frames = 1;
                                    ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note:
      'refcounted_frames' has been explicitly marked deprecated here
    int refcounted_frames;
        ^
src/media.cpp:1241:13: warning: 'avcodec_decode_audio4' is deprecated
      [-Wdeprecated-declarations]
                int len = avcodec_decode_audio4( m_audio->codec_ctx, fra...
                          ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4944:5: note:
      'avcodec_decode_audio4' has been explicitly marked deprecated here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
    ^
9 warnings generated.
mkdir -p obj/expat
Compiling obj/expat/xmlparse.o...
extlibs/expat/xmlparse.c:1568:18: warning: implicit conversion from enumeration
      type 'enum XML_Status' to different enumeration type 'enum XML_Error'
      [-Wenum-conversion]
        result = XML_STATUS_SUSPENDED;
               ~ ^~~~~~~~~~~~~~~~~~~~
extlibs/expat/expat.h:51:30: note: expanded from macro 'XML_STATUS_SUSPENDED'
#define XML_STATUS_SUSPENDED XML_STATUS_SUSPENDED
                             ^~~~~~~~~~~~~~~~~~~~
extlibs/expat/xmlparse.c:1578:18: warning: implicit conversion from enumeration
      type 'enum XML_Status' to different enumeration type 'enum XML_Error'
      [-Wenum-conversion]
        result = XML_STATUS_OK;
               ~ ^~~~~~~~~~~~~
extlibs/expat/expat.h:49:23: note: expanded from macro 'XML_STATUS_OK'
#define XML_STATUS_OK XML_STATUS_OK
                      ^~~~~~~~~~~~~
extlibs/expat/xmlparse.c:1608:12: warning: implicit conversion from enumeration
      type 'enum XML_Error' to different enumeration type 'enum XML_Status'
      [-Wenum-conversion]
    return result;
    ~~~~~~ ^~~~~~
3 warnings generated.
Compiling obj/expat/xmlrole.o...
Compiling obj/expat/xmltok.o...
Archiving obj/libexpat.a...
mkdir -p obj/squirrel
Compiling obj/squirrel/sqapi.o...
Compiling obj/squirrel/sqbaselib.o...
Compiling obj/squirrel/sqfuncstate.o...
Compiling obj/squirrel/sqdebug.o...
Compiling obj/squirrel/sqlexer.o...
Compiling obj/squirrel/sqobject.o...
Compiling obj/squirrel/sqcompiler.o...
Compiling obj/squirrel/sqstate.o...
Compiling obj/squirrel/sqtable.o...
Compiling obj/squirrel/sqmem.o...
Compiling obj/squirrel/sqvm.o...
Compiling obj/squirrel/sqclass.o...
Archiving obj/libsquirrel.a...
mkdir -p obj/sqstdlib
Compiling obj/sqstdlib/sqstdblob.o...
Compiling obj/sqstdlib/sqstdio.o...
Compiling obj/sqstdlib/sqstdstream.o...
Compiling obj/sqstdlib/sqstdmath.o...
Compiling obj/sqstdlib/sqstdstring.o...
Compiling obj/sqstdlib/sqstdaux.o...
Compiling obj/sqstdlib/sqstdsystem.o...
Compiling obj/sqstdlib/sqstdrex.o...
Archiving obj/libsqstdlib.a...
mkdir -p obj/audiolib
Compiling obj/audiolib/ALCheck.o...
Compiling obj/audiolib/AudioDevice.o...
Compiling obj/audiolib/Listener.o...
Compiling obj/audiolib/SoundSource.o...
Compiling obj/audiolib/SoundStream.o...
Archiving obj/libaudio.a...
Creating executable: attract

continued onto next post due to exceeding maximum allowed character length
Title: Re: Version 2.3 Released
Post by: keilmillerjr on December 05, 2017, 06:23:02 PM
continued from previous post due to exceeding maximum allowed character length

make bundle output
Code: [Select]
Keils-iMac:attract keiljr$ /Users/keiljr/Projects/attract/util/osx/create-pkg.sh
flags: -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf  -DUSE_SWRESAMPLE
rm -f obj/*.o obj/expat/*.o obj/squirrel/*.o obj/sqstdlib/*.o obj/audiolib/*.o obj/gsbaselib/*.o obj/gameswflib/*.o obj/gameswflib/gameswf_as_classes/*.o obj/*.a obj/*.res *~ core
flags: -DDATA_PATH=\"../config/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf  -DUSE_SWRESAMPLE
Compiling obj/fe_base.o...
Compiling obj/fe_file.o...
Compiling obj/fe_util.o...
Compiling obj/fe_util_sq.o...
Compiling obj/fe_cmdline.o...
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:21:
In file included from extlibs/gameswf/base/image.h:14:
In file included from extlibs/gameswf/base/container.h:73:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ext/hash_map:203:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:19:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1252:46: error:
      declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float       fmax(float __lcpp_x, float ...
                                             ^
extlibs/gameswf/base/utility.h:87:14: note: target of using declaration
inline float    fmax(float a, float b) { if (a < b) return b; else return a; }
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1249:9: note:
      using declaration
using ::fmax;
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1276:46: error:
      declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float       fmin(float __lcpp_x, float ...
                                             ^
extlibs/gameswf/base/utility.h:86:14: note: target of using declaration
inline float    fmin(float a, float b) { if (a < b) return a; else return b; }
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1273:9: note:
      using declaration
using ::fmin;
        ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1391:46: error:
      declaration conflicts with target of using declaration already in scope
inline _LIBCPP_INLINE_VISIBILITY float       log2(float __lcpp_x) _NOEXC...
                                             ^
extlibs/gameswf/base/utility.h:105:14: note: target of using declaration
inline float    log2(float f) { return logf(f) / LN_2; }
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:1388:9: note:
      using declaration
using ::log2;
        ^
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:21:
In file included from extlibs/gameswf/base/image.h:14:
In file included from extlibs/gameswf/base/container.h:73:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ext/hash_map:213:5: warning:
      Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>
      [-W#warnings]
#   warning Use of the header <ext/hash_map> is deprecated.  Migrate to ...
    ^
In file included from src/fe_base.cpp:34:
In file included from extlibs/gameswf/gameswf/gameswf.h:23:
extlibs/gameswf/base/tu_gc.h:147:4: warning: 'operator new[]' should not return
      a null pointer unless it is declared 'throw()' [-Wnew-returns-null]
                        return NULL;
                        ^
2 warnings and 3 errors generated.
make: *** [obj/fe_base.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR in /Users/keiljr/Projects/attract/util/osx/create-pkg.sh : line 55 exit code 2
Keils-iMac:attract keiljr$ /Users/keiljr/Projects/attract/util/osx/create-pkg.sh NO_SWF=1
flags: -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf  -DUSE_SWRESAMPLE
rm -f obj/*.o obj/expat/*.o obj/squirrel/*.o obj/sqstdlib/*.o obj/audiolib/*.o obj/gsbaselib/*.o obj/gameswflib/*.o obj/gameswflib/gameswf_as_classes/*.o obj/*.a obj/*.res *~ core
flags: -DDATA_PATH=\"../config/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/local/Cellar/ffmpeg/3.4/include -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DUSE_SWRESAMPLE -DNO_SWF
Compiling obj/fe_base.o...
Compiling obj/fe_file.o...
Compiling obj/fe_util.o...
Compiling obj/fe_util_sq.o...
Compiling obj/fe_cmdline.o...
Compiling obj/fe_info.o...
Compiling obj/fe_input.o...
Compiling obj/fe_romlist.o...
Compiling obj/fe_settings.o...
Compiling obj/scraper_xml.o...
Compiling obj/scraper_general.o...
Compiling obj/fe_presentable.o...
Compiling obj/fe_present.o...
Compiling obj/sprite.o...
Compiling obj/fe_image.o...
Compiling obj/fe_sound.o...
Compiling obj/fe_shader.o...
src/fe_shader.cpp:84:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
                m_shader.setParameter( name, x );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:554:26: note: 'setParameter' has been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x);
                         ^
src/fe_shader.cpp:93:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
                m_shader.setParameter( name, x, y );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:562:26: note: 'setParameter' has been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x, float y);
                         ^
src/fe_shader.cpp:102:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
                m_shader.setParameter( name, x, y, z );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:570:26: note: 'setParameter' has been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z);
                         ^
src/fe_shader.cpp:111:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
                m_shader.setParameter( name, x, y, z, w );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:578:26: note: 'setParameter' has been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, float x, float y, float z, float w);
                         ^
src/fe_shader.cpp:120:12: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
                m_shader.setParameter( name, sf::Shader::CurrentTexture );
                         ^
/usr/local/include/SFML/Graphics/Shader.hpp:626:26: note: 'setParameter' has been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, CurrentTextureType);
                         ^
src/fe_shader.cpp:133:13: warning: 'setParameter' is deprecated [-Wdeprecated-declarations]
                        m_shader.setParameter( name, *texture );
                                 ^
/usr/local/include/SFML/Graphics/Shader.hpp:618:26: note: 'setParameter' has been explicitly marked deprecated here
    SFML_DEPRECATED void setParameter(const std::string& name, const Texture& texture);
                         ^
6 warnings generated.
Compiling obj/fe_overlay.o...
src/fe_overlay.cpp:1575:9: warning: 'setColor' is deprecated [-Wdeprecated-declarations]
        cursor.setColor( tp->getColor() );
               ^
/usr/local/include/SFML/Graphics/Text.hpp:177:26: note: 'setColor' has been explicitly marked deprecated here
    SFML_DEPRECATED void setColor(const Color& color);
                         ^
1 warning generated.
Compiling obj/fe_window.o...
Compiling obj/tp.o...
src/tp.cpp:71:14: warning: 'setColor' is deprecated [-Wdeprecated-declarations]
                m_texts[i].setColor( c );
                           ^
/usr/local/include/SFML/Graphics/Text.hpp:177:26: note: 'setColor' has been explicitly marked deprecated here
    SFML_DEPRECATED void setColor(const Color& color);
                         ^
src/tp.cpp:76:20: warning: 'getColor' is deprecated [-Wdeprecated-declarations]
        return m_texts[0].getColor();
                          ^
/usr/local/include/SFML/Graphics/Text.hpp:285:34: note: 'getColor' has been explicitly marked deprecated here
    SFML_DEPRECATED const Color& getColor() const;
                                 ^
2 warnings generated.
Compiling obj/fe_text.o...
Compiling obj/fe_listbox.o...
Compiling obj/fe_vm.o...
Compiling obj/zip.o...
Compiling obj/fe_config.o...
Compiling obj/scraper_net.o...
Compiling obj/fe_net.o...
Compiling obj/media.o...
src/media.cpp:534:15: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
                        codec_ctx->refcounted_frames = 1;
                                   ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note: 'refcounted_frames' has been explicitly marked deprecated here
    int refcounted_frames;
        ^
src/media.cpp:539:14: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
                        int len = avcodec_decode_video2( codec_ctx, raw_frame,
                                  ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4993:5: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
    ^
src/media.cpp:706:17: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
                                        codec_ctx->refcounted_frames = 1;
                                                   ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note: 'refcounted_frames' has been explicitly marked deprecated here
    int refcounted_frames;
        ^
src/media.cpp:711:16: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
                                        int len = avcodec_decode_video2( codec_ctx, raw_frame,
                                                  ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4993:5: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
    ^
src/media.cpp:718:35: warning: 'pkt_pts' is deprecated [-Wdeprecated-declarations]
                                                raw_frame->pts = raw_frame->pkt_pts;
                                                                            ^
/usr/local/Cellar/ffmpeg/3.4/include/libavutil/frame.h:302:13: note: 'pkt_pts' has been explicitly marked deprecated here
    int64_t pkt_pts;
            ^
src/media.cpp:1020:73: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                        AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
                                                                                             ^
/usr/local/Cellar/ffmpeg/3.4/include/libavformat/avformat.h:893:21: note: 'codec' has been explicitly marked deprecated here
    AVCodecContext *codec;
                    ^
src/media.cpp:1075:73: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                        AVCodecContext *codec_ctx = m_imp->m_format_ctx->streams[stream_id]->codec;
                                                                                             ^
/usr/local/Cellar/ffmpeg/3.4/include/libavformat/avformat.h:893:21: note: 'codec' has been explicitly marked deprecated here
    AVCodecContext *codec;
                    ^
src/media.cpp:1232:23: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
                m_audio->codec_ctx->refcounted_frames = 1;
                                    ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:2694:9: note: 'refcounted_frames' has been explicitly marked deprecated here
    int refcounted_frames;
        ^
src/media.cpp:1241:13: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]
                int len = avcodec_decode_audio4( m_audio->codec_ctx, frame, &got_frame, packet );
                          ^
/usr/local/Cellar/ffmpeg/3.4/include/libavcodec/avcodec.h:4944:5: note: 'avcodec_decode_audio4' has been explicitly marked deprecated here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
    ^
9 warnings generated.
Compiling obj/expat/xmlparse.o...
extlibs/expat/xmlparse.c:1568:18: warning: implicit conversion from enumeration type 'enum XML_Status' to different enumeration type 'enum XML_Error' [-Wenum-conversion]
        result = XML_STATUS_SUSPENDED;
               ~ ^~~~~~~~~~~~~~~~~~~~
extlibs/expat/expat.h:51:30: note: expanded from macro 'XML_STATUS_SUSPENDED'
#define XML_STATUS_SUSPENDED XML_STATUS_SUSPENDED
                             ^~~~~~~~~~~~~~~~~~~~
extlibs/expat/xmlparse.c:1578:18: warning: implicit conversion from enumeration type 'enum XML_Status' to different enumeration type 'enum XML_Error' [-Wenum-conversion]
        result = XML_STATUS_OK;
               ~ ^~~~~~~~~~~~~
extlibs/expat/expat.h:49:23: note: expanded from macro 'XML_STATUS_OK'
#define XML_STATUS_OK XML_STATUS_OK
                      ^~~~~~~~~~~~~
extlibs/expat/xmlparse.c:1608:12: warning: implicit conversion from enumeration type 'enum XML_Error' to different enumeration type 'enum XML_Status' [-Wenum-conversion]
    return result;
    ~~~~~~ ^~~~~~
3 warnings generated.
Compiling obj/expat/xmlrole.o...
Compiling obj/expat/xmltok.o...
Compiling obj/squirrel/sqapi.o...
Compiling obj/squirrel/sqbaselib.o...
Compiling obj/squirrel/sqfuncstate.o...
Compiling obj/squirrel/sqdebug.o...
Compiling obj/squirrel/sqlexer.o...
Compiling obj/squirrel/sqobject.o...
Compiling obj/squirrel/sqcompiler.o...
Compiling obj/squirrel/sqstate.o...
Compiling obj/squirrel/sqtable.o...
Compiling obj/squirrel/sqmem.o...
Compiling obj/squirrel/sqvm.o...
Compiling obj/squirrel/sqclass.o...
Compiling obj/sqstdlib/sqstdblob.o...
Compiling obj/sqstdlib/sqstdio.o...
Compiling obj/sqstdlib/sqstdstream.o...
Compiling obj/sqstdlib/sqstdmath.o...
Compiling obj/sqstdlib/sqstdstring.o...
Compiling obj/sqstdlib/sqstdaux.o...
Compiling obj/sqstdlib/sqstdsystem.o...
Compiling obj/sqstdlib/sqstdrex.o...
Compiling obj/audiolib/ALCheck.o...
Compiling obj/audiolib/AudioDevice.o...
Compiling obj/audiolib/Listener.o...
Compiling obj/audiolib/SoundSource.o...
Compiling obj/audiolib/SoundStream.o...
Archiving obj/libexpat.a...
Archiving obj/libsquirrel.a...
Archiving obj/libsqstdlib.a...
Archiving obj/libaudio.a...
Compiling obj/fe_util_osx.o...
Compiling obj/main.o...
src/main.cpp:365:10: warning: taking the absolute value of unsigned type 'bool' has no effect [-Wabsolute-value]
                                && ( std::abs( sf::Joystick::getAxisPosition(
                                     ^
src/main.cpp:365:10: note: remove the call to 'abs' since unsigned values cannot be negative
                                && ( std::abs( sf::Joystick::getAxisPosition(
                                     ^~~~~~~~
src/main.cpp:561:36: warning: 'capture' is deprecated [-Wdeprecated-declarations]
                                                sf::Image sshot_img = window.capture();
                                                                             ^
/usr/local/include/SFML/Graphics/RenderWindow.hpp:140:27: note: 'capture' has been explicitly marked deprecated here
    SFML_DEPRECATED Image capture() const;
                          ^
2 warnings generated.
Creating executable: attract
/libsfml-window.2.4.dylib
/libsfml-system.2.4.dylib
/libsfml-system.2.4.dylib
/libsfml-system.2.4.dylib
...
created: /Users/keiljr/Projects/attract/attract-v2.3.0-12.dmg
Title: Re: Version 2.3 Released
Post by: keilmillerjr on December 05, 2017, 07:05:45 PM
ShLt. I didn’t actually try running the bundle. We have a problem.

Code: [Select]
Keils-iMac:~ keiljr$ cd /Applications/Attract.app/Contents/MacOS
Keils-iMac:MacOS keiljr$ /Applications/Attract.app/Contents/MacOS/attract
objc[57392]: Class SFApplication is implemented in both /usr/local/lib/libsfml-window.2.4.dylib and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib. One of the two will be used. Which one is undefined.
objc[57392]: Class SFApplicationDelegate is implemented in both /usr/local/lib/libsfml-window.2.4.dylib and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib. One of the two will be used. Which one is undefined.
objc[57392]: Class SFOpenGLView is implemented in both /usr/local/lib/libsfml-window.2.4.dylib and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib. One of the two will be used. Which one is undefined.
objc[57392]: Class SFSilentResponder is implemented in both /usr/local/lib/libsfml-window.2.4.dylib and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib. One of the two will be used. Which one is undefined.
objc[57392]: Class SFWindow is implemented in both /usr/local/lib/libsfml-window.2.4.dylib and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib. One of the two will be used. Which one is undefined.
objc[57392]: Class SFBlackView is implemented in both /usr/local/lib/libsfml-window.2.4.dylib and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib. One of the two will be used. Which one is undefined.
objc[57392]: Class SFWindowController is implemented in both /usr/local/lib/libsfml-window.2.4.dylib and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib. One of the two will be used. Which one is undefined.
objc[57392]: Class SFViewController is implemented in both /usr/local/lib/libsfml-window.2.4.dylib and /Applications/Attract.app/Contents/libs/libsfml-window.2.4.2.dylib. One of the two will be used. Which one is undefined.
Attract-Mode v2.3.0-12 (OSX, SFML 2.4)
avcodec 57.107.100 / avformat 57.83.100 / swscale 4.8.100 / swresample 2.9.100

Config: /Users/keiljr/.attract/attract.cfg

*** Initializing display: 'NeoGeo'
 - Loaded master romlist 'mame' in 176 ms (147 entries kept, 10 discarded)
 - Constructed 10 filters in 0 ms (1470 comparisons)
Segmentation fault: 11

Title: Re: Version 2.3 Released
Post by: estefan3112 on December 06, 2017, 03:13:02 AM
Same segfault here. What worked for me wasanually copying the new binary into the 2.2.0 App container and replacing the confit data in .attract with the newly compiled data. Far from perfect, however running  :D.
Title: Re: Version 2.3 Released
Post by: keilmillerjr on December 06, 2017, 05:00:14 AM
Same segfault here. What worked for me wasanually copying the new binary into the 2.2.0 App container and replacing the confit data in .attract with the newly compiled data. Far from perfect, however running  :D.

Used a hex editor to compare bin and bin inside bundle, and they are not the same. create-pkg.sh line 73 is not copying the bin correctly. Not sure why. Manually copying it within the finder works, but it has to be something stupid. I’ll look into it some more tonight.
Title: Re: Version 2.3 Released
Post by: estefan3112 on December 06, 2017, 01:15:00 PM
I can confirm this and manually modified the dmg by adding the running binary to it.
The compressed image is ready for download and install.
Here it is  ;D.

https://drive.google.com/file/d/1Gjt-YKvH97lt78biQuBdtxTU9W8B6Bba/view?usp=sharing

If this successfully installs with Mac users, it would be great to know!
Not the most elegant way, but we are getting somewhere!
Cheers!
Title: Re: Version 2.3 Released
Post by: keilmillerjr on December 06, 2017, 02:15:48 PM
I am still wondering what is going on though.

I changed line 73 of create-pig.sh to move the file (mv) instead of copying it, and the resulting binary inside the bundle inside the dmg is still altered. Maybe something to do with making the dmg?
Title: Re: Version 2.3 Released
Post by: kent79 on December 08, 2017, 06:24:09 PM
Dear raygun

I find some issue on version 2.3. The image width is something wrong. All images width can't cover the screen

You may try to download my theme to look at this issue.
http://forum.attractmode.org/index.php?topic=1824.0

Below is example:

local flw = fe.layout.width;

Version 2.2 or before
local topBar = fe.add_image("white.png",0, 0, flw, 25 )
--------------------------------------

Version 2.3
local topBar = fe.add_image("white.png",0, 0, flw + 1, 25 )
Title: Re: Version 2.3 Released
Post by: cosmo on December 10, 2017, 02:37:38 AM
i'm having a segmentation fault trying to compile AM on the Raspberry Pi. Am i doing something wrong?
Code: [Select]
cd ~
mkdir develop

sudo apt-get install cmake libflac-dev libogg-dev libvorbis-dev libopenal-dev libjpeg62-turbo-dev libfreetype6-dev  libudev-dev libfontconfig1-dev

cd ~/develop
git clone --depth 1 https://github.com/mickelson/sfml-pi sfml-pi
mkdir sfml-pi/build;cd sfml-pi/build
cmake .. -DSFML_RPI=1 -DEGL_INCLUDE_DIR=/opt/vc/include -DEGL_LIBRARY=/opt/vc/lib/libEGL.so -DGLES_INCLUDE_DIR=/opt/vc/include -DGLES_LIBRARY=/opt/vc/lib/libGLESv1_CM.so
sudo make install
sudo ldconfig

cd ~/develop
git clone --depth 1 git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure --enable-mmal --disable-debug --enable-shared
make
sudo make install
sudo ldconfig

cd ~/develop
git clone --depth 1 https://github.com/mickelson/attract attract
cd attract
make USE_GLES=1
sudo make install

Everything compiles fine, but AM gives a segmentation fault and dont work.  :-\

If i install it from the experimental packages on retropie, it works, but it doesn't have mmal hardware acceleration. Any help?  :P
Title: Re: Version 2.3 Released
Post by: Omamez on December 11, 2017, 06:41:27 PM
I get same issue as Cosmo when compiling AM on Raspberrry pi it doesnt work
Title: Re: Version 2.3 Released
Post by: Enverex on December 18, 2017, 03:26:04 AM
Regarding 2.3, has anyone successfully used VAAPI acceleration for videos? It's displaying blank or garbage for me.
Title: Re: Version 2.3 Released
Post by: raygun on December 18, 2017, 07:36:13 PM
i'm having a segmentation fault trying to compile AM on the Raspberry Pi. Am i doing something wrong?
Code: [Select]
cd ~
mkdir develop

sudo apt-get install cmake libflac-dev libogg-dev libvorbis-dev libopenal-dev libjpeg62-turbo-dev libfreetype6-dev  libudev-dev libfontconfig1-dev

cd ~/develop
git clone --depth 1 https://github.com/mickelson/sfml-pi sfml-pi
mkdir sfml-pi/build;cd sfml-pi/build
cmake .. -DSFML_RPI=1 -DEGL_INCLUDE_DIR=/opt/vc/include -DEGL_LIBRARY=/opt/vc/lib/libEGL.so -DGLES_INCLUDE_DIR=/opt/vc/include -DGLES_LIBRARY=/opt/vc/lib/libGLESv1_CM.so
sudo make install
sudo ldconfig

cd ~/develop
git clone --depth 1 git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure --enable-mmal --disable-debug --enable-shared
make
sudo make install
sudo ldconfig

cd ~/develop
git clone --depth 1 https://github.com/mickelson/attract attract
cd attract
make USE_GLES=1
sudo make install

Everything compiles fine, but AM gives a segmentation fault and dont work.  :-\

If i install it from the experimental packages on retropie, it works, but it doesn't have mmal hardware acceleration. Any help?  :P

For the very last step, try this instead:

Code: [Select]
sudo make install USE_GLES=1
Title: Re: Version 2.3 Released
Post by: BadFurDay on December 19, 2017, 02:43:35 PM
i'm having a segmentation fault trying to compile AM on the Raspberry Pi. Am i doing something wrong?
Code: [Select]
cd ~
mkdir develop

sudo apt-get install cmake libflac-dev libogg-dev libvorbis-dev libopenal-dev libjpeg62-turbo-dev libfreetype6-dev  libudev-dev libfontconfig1-dev

cd ~/develop
git clone --depth 1 https://github.com/mickelson/sfml-pi sfml-pi
mkdir sfml-pi/build;cd sfml-pi/build
cmake .. -DSFML_RPI=1 -DEGL_INCLUDE_DIR=/opt/vc/include -DEGL_LIBRARY=/opt/vc/lib/libEGL.so -DGLES_INCLUDE_DIR=/opt/vc/include -DGLES_LIBRARY=/opt/vc/lib/libGLESv1_CM.so
sudo make install
sudo ldconfig

cd ~/develop
git clone --depth 1 git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure --enable-mmal --disable-debug --enable-shared
make
sudo make install
sudo ldconfig

cd ~/develop
git clone --depth 1 https://github.com/mickelson/attract attract
cd attract
make USE_GLES=1
sudo make install

Everything compiles fine, but AM gives a segmentation fault and dont work.  :-\

If i install it from the experimental packages on retropie, it works, but it doesn't have mmal hardware acceleration. Any help?  :P

For the very last step, try this instead:

Code: [Select]
sudo make install USE_GLES=1

This worked for me, thanks!
Title: Re: Version 2.3 Released
Post by: cosmo on December 23, 2017, 03:54:28 AM
Works perfectly! Thank you very much!
Title: Re: Version 2.3 Released
Post by: Thorvald on December 25, 2017, 12:48:56 PM
Hot damn!   Multi Monitor now works!   It finally displays the Marquee's in the second monitor when moving through the menu.

Awesome!
Title: Re: Version 2.3 Released
Post by: keilmillerjr on January 25, 2018, 06:29:08 PM
Mac os x compile. v2.3.0-32 with SWF support, 100% error free, and a dmg file that works. Yay! The only thing I didn’t do was create an Application folder alias in the dmg. I couldn’t get the icon to line up perfectly, so my OCD said to forget it. Github source is still no bueno with the create-pkg.sh script. But at least we finally have a perfectly working mac os x compile!

attract-v2.3.0-32-fixed.dmg (https://www.dropbox.com/s/vt2aqfe7b0kdtg3/attract-v2.3.0-32-fixed.dmg?dl=0)
Title: Re: Version 2.3 Released
Post by: RetroMacGamer on January 29, 2018, 08:25:24 PM
Thanks for the link keilmillerjr.

This is the error I'm getting, anything I can do to fix it?

Last login: Tue Jan 30 14:47:10 on ttys001
Alexs-MacBook:~ alexmacbook$ /Applications/Attract.app/Contents/MacOS/attract
dyld: Library not loaded: /usr/local/opt/sfml/lib/libsfml-graphics.2.4.dylib
  Referenced from: /Applications/Attract.app/Contents/MacOS/attract
  Reason: image not found
Abort trap: 6
Alexs-MacBook:~ alexmacbook$

Cheers
Title: Re: Version 2.3 Released
Post by: keilmillerjr on January 31, 2018, 10:30:28 AM
Thanks for the link keilmillerjr.

This is the error I'm getting, anything I can do to fix it?

Last login: Tue Jan 30 14:47:10 on ttys001
Alexs-MacBook:~ alexmacbook$ /Applications/Attract.app/Contents/MacOS/attract
dyld: Library not loaded: /usr/local/opt/sfml/lib/libsfml-graphics.2.4.dylib
  Referenced from: /Applications/Attract.app/Contents/MacOS/attract
  Reason: image not found
Abort trap: 6
Alexs-MacBook:~ alexmacbook$

Cheers

Sorry. :-[ I’m working on it. I did’t notice the error because I have sfml library installed. Thank you for reporting it. I hope we can get this package straightened out soon.
Title: Re: Version 2.3 Released
Post by: RetroMacGamer on February 01, 2018, 01:18:31 AM
Thanks  ;)  Happy to do any further testing
Title: Re: Version 2.3 Released
Post by: originalhammer on May 03, 2018, 08:29:56 AM
Thanks for this great program. I wonder would there be any possibility of having a snap or flatpak version on linux systems? this format allows any system with flatpak and snap support to install and take advantage of this excellent program without having to worry about dependencies because they are installed together with the program and do not create incompatibilities with the system.
Title: Re: Version 2.3 Released
Post by: zpaolo11x on May 07, 2018, 09:04:24 AM
Mac os x compile. v2.3.0-32 with SWF support, 100% error free, and a dmg file that works.

Wow I missed this post: I got my 2.3.0.17 from "Mame on modern Macs" and it works but only with homebrew libraries. Does this dmg still require homebrew? And is the "32" a revision number or it stands for 32 bit?
Title: Re: Version 2.3 Released
Post by: keilmillerjr on May 07, 2018, 12:29:30 PM
Mac os x compile. v2.3.0-32 with SWF support, 100% error free, and a dmg file that works.

Wow I missed this post: I got my 2.3.0.17 from "Mame on modern Macs" and it works but only with homebrew libraries. Does this dmg still require homebrew? And is the "32" a revision number or it stands for 32 bit?

I honestly don’t remember. I compiled many times trying to resolve issues. Just give the app a shot and look at the console.