registry = ipsRegistry::instance(); $this->settings =& $this->registry->fetchSettings(); } public function getOutput() { return; } public function replaceOutput($output, $key) { require_once( IPSLib::getAppDir('ibprobattle') . '/sources/battleHooks.php' ); $this->battleHook = new battleHooks( $this->registry ); return $this->battleHook->statsTopicView($output, $key); } } ?>registry = ipsRegistry::instance(); $this->settings =& $this->registry->fetchSettings(); } public function getOutput() { require_once( IPSLib::getAppDir('ibprobattle') . '/sources/battleHooks.php' ); $this->battleHook = new battleHooks( $this->registry ); return $this->battleHook->statsTopicViewJS(); } } ?> ARCADE 0.189 - Page 3 - ARCADE - 1Emulation.com

Jump to content

Welcome to 1Emulation.com
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

ARCADE 0.189

- - - - -

  • Please log in to reply
34 replies to this topic

#23
Robert

Robert

    Alchemist

  • User Admin
  • 11,428 posts
  • Gender:Male
  • Location:Land of Oz
If you can't wait for 0.190, you have to compile it yourself.

#24
Chanbara

Chanbara

    Novice

  • Members+
  • 27 posts
  • Gender:Male
  • Location:Greenland

@ Demoncatze, thanks for compiling it   :thumbsup1:

 

 

@ Robbberto, I tested it and everything works fine now.  Thanks again for the fix.    :praiseyou:



#25
mamesick

mamesick

    Member

  • Members+
  • 61 posts

Looks like there's a bug in the "DriverIsImperfect()" function. I don't see anymore in the status bar the "Working with problems" message. Also, Right-click on an "imperfect" game and select "Information" shows only that is Working with green text when instead it the text should be yellow and the flags should be listed. Tested with Denjin Makai, which is known to have Imperfect Colors. The GUI says it's Working.

 

I guess that this portion of code which appears in WINUI_UTIL.CPP twice:

		gameinfo->isImperfect = ((info.machine_flags() & (MACHINE_IS_INCOMPLETE | MACHINE_NO_SOUND_HW))
			|| (info.unemulated_features() & (device_t::feature::PALETTE || device_t::feature::GRAPHICS || device_t::feature::SOUND))
			|| (info.imperfect_features() & (device_t::feature::PALETTE || device_t::feature::GRAPHICS || device_t::feature::SOUND)));

should be changed to bitwise operators , not logical. The device_t::features are byte flags if I understood the new core code correctly.

		gameinfo->isImperfect = ((info.machine_flags() & (MACHINE_IS_INCOMPLETE | MACHINE_NO_SOUND_HW))
			|| (info.unemulated_features() & (device_t::feature::PALETTE | device_t::feature::GRAPHICS | device_t::feature::SOUND))
			|| (info.imperfect_features() & (device_t::feature::PALETTE | device_t::feature::GRAPHICS | device_t::feature::SOUND))) ? true : false;

Edited by mamesick, 03 September 2017 - 03:21 PM.


#26
Robert

Robert

    Alchemist

  • User Admin
  • 11,428 posts
  • Gender:Male
  • Location:Land of Oz
There's a lot of changes in the way the flags work. Not only that, but if the GAME macro says IMPERFECT_COLORS it isn't available in the flags any more. To get the correct flags now it is necessary to check the status of all attached devices as well as the game itself.

In MAMEUI the game_opts.h caching was totally rewritten, and the file is a different format than before. But the change made it easy to add whatever caching I needed for the flags. And so, MAMEUI shows the correct machine status.

This work has not yet been done in ARCADE. Hopefully it can get done in this cycle.

#27
mamesick

mamesick

    Member

  • Members+
  • 61 posts
That's fine. Though at the moment the current code for IsImperfect is wrong. With my changes the GUI come back to display correctly all the informations. Compiled right now.

#28
Robert

Robert

    Alchemist

  • User Admin
  • 11,428 posts
  • Gender:Male
  • Location:Land of Oz
OK, just added the new caching method. Also, if the game doesn't support save states, the option to load it is greyed out.

Perhaps someone could compile the latest and see if there's bugs with the new caching, such as wrong status for games and so on.
Please note that according to mamedev, unemulated protection is not considered as not working, so this has been taken into account.

Also NO_SOUND_HW is not an imperfect condition, it's just a game that doesn't come with a speaker, but I haven't changed anything with that (yet).

You'll have to press F5 to refresh your roms and icons, and the game statistics are lost.

The old file is still there though, so if you want to write something to convert the stats over, you can do that.

#29
mamesick

mamesick

    Member

  • Members+
  • 61 posts

My HDD crashed badly yesterday morning. Lots of data are lost forever. I will not be able to help in any way for a while. 



#30
Robert

Robert

    Alchemist

  • User Admin
  • 11,428 posts
  • Gender:Male
  • Location:Land of Oz
That's sad news. It shows the value of taking backups. But then again, I never back up anything either.

#31
haynor666

haynor666

    Member

  • Members+
  • 58 posts
  • Gender:Male
  • Location:Tarnobrzeg, Poland

Personally I have second 3Tb disk and I manually back up entire 3 Tb disk in my PC from time to time. I hope You will recover Your data MameSick somehow.



#32
Robert

Robert

    Alchemist

  • User Admin
  • 11,428 posts
  • Gender:Male
  • Location:Land of Oz

Its nice to have a new Arcade version finally, but i think i have sayed this before but i forgot: The tourvision games are missing

OK, the answer has been found...

In ARCADE, when you show All Games, it does not include BIOSes. So to see Tourvision, you must choose BIOS from the folders on the left.

This is different to MAMEUI that shows BIOSes in with All Games.

I don't know why ARCADE is different, I guess someone requested it long ago.

#33
mamesick

mamesick

    Member

  • Members+
  • 61 posts

I don't know why ARCADE is different, I guess someone requested it long ago.

This was implemented at least 10 years ago, when BIOSes were not runnable as stand-alone ROMS and MESS + MAME was still a dream. The filtering should be in TREEVIEW.CPP if I recall correctly. Yes, it was requested by the user base.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users