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 - jarz

Pages: [1]
1
General / Compiling Attract Mode on Fedora 34
« on: September 27, 2021, 12:49:58 PM »
Created this issue on the github repo.    https://github.com/mickelson/attract/issues/687

Thought I would drop a post here to see if anyone has it successfully installed on fedora.


When I compile i get the following...
Code: [Select]
make
flags: -Wl,--export-dynamic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -DDATA_PATH=\"/usr/local/share/attract/\" -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -I/usr/include/ffmpeg -I/usr/include/AL  -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/nowide -Iextlibs/nvapi -Iextlibs/rapidjson/include -Iextlibs/gameswf -DUSE_XLIB -DUSE_FONTCONFIG -DUSE_SWRESAMPLE
Compiling obj/swf.o...
In file included from /usr/include/c++/11/backward/hash_map:60,
                 from extlibs/gameswf/base/container.h:75,
                 from extlibs/gameswf/base/tu_file.h:18,
                 from src/swf.cpp:26:
/usr/include/c++/11/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
   32 | #warning \
      |  ^~~~~~~
In file included from extlibs/gameswf/gameswf/gameswf_action.h:13,
                 from extlibs/gameswf/gameswf/gameswf_impl.h:14,
                 from src/swf.cpp:28:
extlibs/gameswf/gameswf/gameswf_environment.h:150:17: error: ‘class array<gameswf::as_value> array<gameswf::as_value>::array’ is private within this context
  150 |                 array<as_value> m_local_register;       // function2 uses this
      |                 ^~~~~~~~~~~~~~~
extlibs/gameswf/gameswf/gameswf_environment.h:51:16: note: declared private here
   51 |         struct vm_stack : private array<as_value>
      |                ^~~~~~~~
extlibs/gameswf/gameswf/gameswf_environment.h:162:17: error: ‘class array<gameswf::as_value> array<gameswf::as_value>::array’ is private within this context
  162 |                 array<frame_slot>       m_local_frames;
      |                 ^~~~~~~~~~~~~~~~~
extlibs/gameswf/gameswf/gameswf_environment.h:51:16: note: declared private here
   51 |         struct vm_stack : private array<as_value>
      |                ^~~~~~~~
extlibs/gameswf/gameswf/gameswf_environment.h:179:78: error: ‘class array<gameswf::as_value> array<gameswf::as_value>::array’ is private within this context
  179 |                 as_value        get_variable(const tu_string& varname, const array<with_stack_entry>& with_stack) const;
      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~~
extlibs/gameswf/gameswf/gameswf_environment.h:51:16: note: declared private here
   51 |         struct vm_stack : private array<as_value>
      |                ^~~~~~~~
extlibs/gameswf/gameswf/gameswf_environment.h:181:82: error: ‘class array<gameswf::as_value> array<gameswf::as_value>::array’ is private within this context
  181 |                 as_value        get_variable_raw(const tu_string& varname, const array<with_stack_entry>& with_stack) const;
      |                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
extlibs/gameswf/gameswf/gameswf_environment.h:51:16: note: declared private here
   51 |         struct vm_stack : private array<as_value>
      |                ^~~~~~~~
extlibs/gameswf/gameswf/gameswf_environment.h:183:88: error: ‘class array<gameswf::as_value> array<gameswf::as_value>::array’ is private within this context
  183 |                 void    set_variable(const tu_string& path, const as_value& val, const array<with_stack_entry>& with_stack);
      |                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~
extlibs/gameswf/gameswf/gameswf_environment.h:51:16: note: declared private here
   51 |         struct vm_stack : private array<as_value>
      |                ^~~~~~~~
extlibs/gameswf/gameswf/gameswf_environment.h:185:92: error: ‘class array<gameswf::as_value> array<gameswf::as_value>::array’ is private within this context
  185 |                 void    set_variable_raw(const tu_string& path, const as_value& val, const array<with_stack_entry>& with_stack);
      |                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~
extlibs/gameswf/gameswf/gameswf_environment.h:51:16: note: declared private here
   51 |         struct vm_stack : private array<as_value>
      |                ^~~~~~~~
make: *** [Makefile:460: obj/swf.o] Error 1

2
General / Re: Zero Delay USB player 1 and 2 mixing up in attract mode.
« on: March 22, 2017, 08:55:56 PM »
I had no luck on finding the thread I read that in.  IIRC from what I read ZeroDelay devices have the same ID when they register upon being plugged in so your OS doesn't know how to order them when you restart because they both look the same.  It was something like that.  Anyway the fix for the person I was reading was to use a gamepad mapping solution like xpadder, vjoy, x360c, etc.  Make your OS think it's an xbox 360 controller, keyboard or another gamepad.

I feel like there was a more elegant solution too but I can't remember.  Maybe bind the usb port at the OS level, idk.  Sorry I don't have more.


3
General / Re: Zero Delay USB player 1 and 2 mixing up in attract mode.
« on: March 22, 2017, 12:42:32 PM »
Ill dig around and see if I can find my source but I seem to remember this being an issue with the Zero delay firmware.  What is your OS?

4
General / Re: catver.ini populating blank category column in romlists
« on: March 22, 2017, 12:15:00 PM »
Nevermind, solved it.  May need to update documentation or the Generate Romlist process.  Looks like you have to explicitly define the catver.ini file.  Not just the location.  In other words:

Code: [Select]
# Generated by Attract-Mode v2.2.0-3-dirty¬                                                                                                                                                                                                                               

executable           $HOME/mame/mame¬
args                 [name]¬
rompath              $HOME/mame/roms183¬
romext               .zip;.7z;<DIR>¬
system               Arcade¬
info_source          listxml¬
import_extras        $HOME/mame/catver.ini;$HOME/.attract/mame-config¬
artwork    flyer           $HOME/roms/mame183extras/flyers¬
artwork    marquee         $HOME/roms/mame183extras/marquees¬
artwork    snap            $HOME/mame/videosnaps;$HOME/roms/mame183extras/snap¬
artwork    wheel···········¬

Note that import_extras is $HOME/mame/catver.ini not $HOME/mame/

Looks like that is required to get it to work.

5
General / catver.ini populating blank category column in romlists
« on: March 22, 2017, 10:56:54 AM »
Specifically with MAME.  I am using the latest mame 183, I have used a couple different catver.ini files and non seem to work (all 183).  The Category column is there in the romlist once I generate in Attract Mode it's just nothing is populated into the column.  nplayer.ini and controls ini seem to populate fine.  I have validated that the mame.ini is pointed to the catver.ini location and the Attract mode emulator config is pointed to the location of the catver.ini.  I Gernerate the romlist... still no luck.

At this point I may dig in and see what about the Generate romlist process could be going wrong but it almost might be faster for me to just write a script to parse out all the catver.ini data and populate the column in the romlist.  I just wanted to start up this topic to see if anyone else has hit this on the latest MAME version with catver.ini.  Maybe a bug?

EDIT: Maybe worth noting I am on Ubuntu 16.04, installed AM via repo.

Pages: [1]