Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - keilmillerjr

Pages: [1] 2 3 ... 25
1
General / Filter out drivers
« on: December 10, 2017, 01:24:47 PM »
Is there a way to filter in attractmode drivers from mame? It is not the same as Manufacturer. For instance, the driver for neogeo has many manufacturers that made games for it. I would like to use attract mode to pool all roms for that driver (system) instead of separating them manually.

Similar to mame built in function:
Code: [Select]
mame -listsoftware drivername

2
General / Re: No sounds at first
« on: December 08, 2017, 07:59:46 AM »
I have no issue using attract as a shell. Then again, I haven’t used XP in over a decade.

3
Announcements / Re: Version 2.3 Released
« 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?

4
Announcements / Re: Version 2.3 Released
« 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.

5
Announcements / Re: Version 2.3 Released
« 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


6
Announcements / Re: Version 2.3 Released
« 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

7
Announcements / Re: Version 2.3 Released
« 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

8
Announcements / Re: Version 2.3 Released
« on: December 05, 2017, 06:21:09 PM »
Thank you guys for the help! With lots of warning, I did it!

Attached 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

9
Scripting / Re: Q: on missing art for FadeArt module
« on: December 04, 2017, 04:16:48 PM »
I use fadeart for mvscomplete mini marquees. I have neogeo.png in my artwork folder and it’s automatically selected when artwork is missing, I assume that’s because the name of my display is neogeo?

10
Announcements / Re: Version 2.3 Released
« 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

11
Themes / Re: CARBONITE theme [preview]
« on: November 30, 2017, 04:37:49 AM »
Wiiflow style - still simple but not plain looking. Good job guys! I like it!

12
Scripting / Re: Getting Magic Tokens to work with fe.do_nut
« on: November 25, 2017, 02:48:04 PM »
I've tried to us: fe.do_nut("nuts/" + fe.list.name + ".nut"); and it didn't work I'm afraid.

I've also tried to play about with signals previously and failed miserably. My experience with scripting is basically copying and pasting what has been done previously but manipulating it to try get it to work. Anything from scratch I'm pretty useless.

Print to console the fe.list.name variable and see what the result is.

13
Scripting / Re: rom_index
« on: November 25, 2017, 11:26:57 AM »
holly sh-t u did it brother... ;D    good job.

cant wait to try it out to night....after work...

any way you pm me could pass back the them with the
module working so i could see how it works , and finish the theme
for release this weekend...?

thanks ..

Send a Dropbox link in a pm on discord. Forum was down. let me know if you receive message.

14
Scripting / Re: rom_index
« on: November 25, 2017, 09:38:22 AM »
i dont think you over thinking it...
maybe just release a beta vs. for us to test and get everyone's opinions
then it can be refined as needed or added to.

 :)

https://github.com/keilmillerjr/shuffle-module

15
Scripting / rom_index
« on: November 23, 2017, 05:03:01 AM »
https://github.com/mickelson/attract/blob/5459f2b73cf8e84962da5f37d21980457eadaf8d/src/fe_settings.cpp

Code: [Select]
case 5: // "ListEntry"
rep = as_str( rom_index + 1 );
break;

Is there any way to pull a rom_index in squirrel? I created a module Shuffle to navigate through slots. It would be nice to add the feature of having a list not loop. To do so, I would need to know the where a rom is in reference to the whole list.

Or am I overthinking features, just forget it and release the module?

Pages: [1] 2 3 ... 25