Subject: CVS commit: pkgsrc/emulators/nestopia
From: Nia Alarie
Date: 2019-01-01 19:36:09
Message id: 20190101183609.69CE7FB16@cvs.NetBSD.org

Log Message:
nestopia: Update to version 1.49.

this is now the Nestopia UE fork, as used in Debian,
FreeBSD Ports, Ubuntu, [...]

----------------------------------------------------------------
1.49
----------------------------------------------------------------
Shell:

 Additions:
  - Added more palettes to extras
  - Game-specific custom palettes
  - Scale factors up to 8x
  - Added option to enable overclocking
  - Added rewind controls to gamepad
  - Famicom Mic support
  - Optional JACK Audio support (McKayJT)
  - Added .wav sample loading

 Changes:
  - Separated GTK+ and SDL input settings
  - Removed deprecated functions from UI
  - Use GTK+ OpenGL widget for GUI (Wayland support)
  - Reworked Alternate Speed/Fast-Forward
  - Allow mapping more than 9 joysticks (Lou-Cipher)
  - Restructured build system, separated SDL and GTK builds
  - Cursor options split int normal and special cursor options

 Fixes:
  - Fixed automatic ROM patching, improved patching function (hugoarpin)

libretro:

 Additions:
  - Add support for multiline cheats and raw cheats (iLag)
  - Add adapter autoselect using NstDatabase.xml (hunterk)
  - Famicom Mic support
  - Cheevos ram access support (meepingsnesroms)
  - Add .wav sample loading

 Fixes:
  - Fixed heap corruption bug with crosshair (Arto Vainiolehto)
  - Fixed black screen when non-existent custom palette is selected
  - Fixed crosshair and overscan with blargg filter

Core:

 Additions:
  - Added support for overclocking (meepingsnesroms)

 Fixes:
  - Fixed NSF and FDS in Dendy mode (Eugene.S)
  - Fixed coding mistake in PPU (zeromus)
  - Modified submappers for VRC2/VRC4 games (GeneralFailer)
  - Fixed compilation error in SetRamPowerState (Arto Vainiolehto)
  - Fix for McAcc games (joepogo)

----------------------------------------------------------------
1.48
----------------------------------------------------------------
Shell:

 Additions:
  - Remember previous ROM directory (fabiengb)
  - Added an option to disable the cursor
  - Added ability to load custom palettes
  - Added many palettes to extras (FirebrandX, BMF, others)
  - Added monochrome blargg NTSC filter
  - Added new build systems: CMake and Autotools (David Seifert)

 Changes:
  - TV Aspect Ratio changes depending on region

 Fixes:
  - Made the region selector more coherent
  - Fixed a bug that switches video modes rapidly
  - Revamped region selector code
  - Fixed fullscreen switching too fast
  - Fixed region selector when the XML database is not present

libretro:

 Additions:
  - Added ability to load custom palettes
  - Added many palettes (Monroe88)
  - Added monochrome blargg NTSC filter (dalter)
  - Added Turbo A/B buttons

Core:

 Additions:
  - RAM Power-on State setting
  - Support for mapper 23.10

 Fixes:
  - VRC2 Mirroring bug (koitsu, lidnariq)
  - Dendy timing and audio fixes (FHorse, Eugene.S)
  - Removed unused code in APU
  - Properly initialize RAM - fixes F-1 Race (koitsu)
  - Silenced many build warnings (orbea)

----------------------------------------------------------------
1.47
----------------------------------------------------------------
Shell:

 Additions:
  - On-screen text when saving/loading states
  - Basic NSF player
  - PNG Screenshots
  - Quick State Save/Load menu items
  - Open Recent menu item
  - Ability to pause games when configuration dialog is open
  - Customizable NTSC filter options
  - Support for Mac OS X

 Changes:
  - Updated to modern OpenGL (version 3.2 minimum)

 Fixes:
  - Empty audio buffer when volume is set to 0
  - Input config now accepts joystick buttons over 10

libretro:

 Additions:
  - Game Genie Sound Distortion option
  - Region selection core option

 Changes:
  - Default to "consumer" palette
  - Vertical and Horizontal overscan options separated

 Fixes:
  - Fixed FDS save path

Core:

 Additions:
  - Added support for MC-ACC (perilsensitive)
  - Added NstDatabase.xml entries (clobber)
  - Added support for NES 2.0 submappers
  - Added support for mapper 4.1
  - Added support for mapper 4.3
  - Added support for mapper 23.15
  - Added support for mapper 25.15
  - Added support for mapper 32.1
  - Added support for mapper 68.1
  - Added support for mapper 71.1
  - Added support for mapper 78.1
  - Added support for mapper 78.3

 Fixes:
  - Reverted fix for Mapper 79
  - Fixed Burai Fighter status area (perilsensitive)
  - FME-7 IRQ Fix (lidnariq)
  - Disabled buggy audio sync

----------------------------------------------------------------
1.46.1/1.46.2
----------------------------------------------------------------
Unix Shell:

 Fixes:
  - Input config bugfixes
  - Only go fullscreen when the game is actually playing

----------------------------------------------------------------
1.46
----------------------------------------------------------------
Unix Shell:

 Additions:
  - Mask Overscan option
  - Disable GUI option
  - Command line interface
  - Scale Factor and Filters can be changed while playing
  - Zapper support
  - Palette and Picture options
  - Ability to turn Vsync on/off
  - Alternate emulation speed
  - libao audio output (handles ALSA, OSS, Pulse, etc)
  - More volume controls
  - Turbo Buttons A and B

 Changes:
  - Ported to SDL 2.0
  - Completely rewrote config file handling
  - Completely rewrote input config and input handling
  - Completely rewrote cheats
  - Removed ALSA and OSS audio output

Windows Shell:

 Fixes:
  - xBR dialog now updates video output when options change

libretro:

 Additions:
  - Ability to load NstDatabase.xml (needed for some games)
  - Overscan masking (themaister)
  - Palette options
  - Zapper support

 Changes:
  - Region detection based on NstDatabase.xml

Core:

 Additions:
  - Game Genie sound distortion option
  - Mapper 210 (NAMCOT-175, NAMCOT-340)

 Fixes:
  - Hard Drivin' now playable (dragon2snow)
  - Kaettekita Mario Bros. fix (dragon2snow)
  - Fix for rewinder sound issue (steelywing)
  - Typos and syntax error fixes (lioncash)
  - Fix for Mickey's Safari in Letterland (joepogo, james)

----------------------------------------------------------------
1.45
----------------------------------------------------------------

Unix Shell:

 Additions:
  - Added the ability to switch FDS disks for multi-disk games
  - xBR filter options
  - Support for more archive formats through libarchive
  - Differentiated Soft/Hard Reset

 Changes:
  - Removed internal zip and 7zip decoders in favour of libarchive
  - Replaced gtk_key_snooper with key_press_event and key_release_event

 Fixes:
  - 7zip CRC check segfault

Windows Shell:

 Additions:
  - xBR filter options

 Changes:
  - Redundant TV Aspect checkbox removed from NTSC filter dialog
  - Modified default sound settings to avoid desync

libretro:

 Additions:
  - blargg's NTSC filter core option
  - L/R now insert coins on Vs. System games

Core:

 Additions:
  - xBR filter added - Hyllian, notBald

 Fixes:
  - Triangle volume bug in Dendy mode - emu-russia
  - NTSC filter background colour fix - blargg

----------------------------------------------------------------
1.44
----------------------------------------------------------------

Unix Shell:

 Additions:
  - Support for FreeBSD, OpenBSD, and NetBSD
  - TV Aspect Ratio option added
  - 2xSaI filter option exposed

 Changes:
  - Renamed Linux port to Unix port
  - Removed status bar
  - General UI improvements
  - Stop warning about unused results
  - SDL is the default sound API on Linux, the only one on the BSDs
  - Drag and Drop re-enabled

 Fixes:
  - Fixed SDL sound crashes
  - Fixed Movie Record crash
  - Loading a state when none exists no longer resets
  - Fixed bug that causes "Enter" to toggle fullscreen
  - GUI responsiveness glitches when failing to output sound fixed

Windows Shell:

 Fixes:
  - TV Aspect is more accurate - W.M. Martinez

libretro:

  Additions:
  - libretro port done by Themaister and twinaphex

Core:

 Fixes:
  - Merged a fix for Mapper 79 that affects "Puzzle (Unl)" - shalma
  - Fixed a PPU bug that causes problems in "The Young Indiana Jones
    Chronicles" - Art Vandelae, plasturion, and James
  - Mapper 143 fix that affects "Dancing Blocks (Unl)" - shalma

----------------------------------------------------------------
1.43
----------------------------------------------------------------

Linux Shell:

 Additions:
  - Fullscreen defaults to native screen resolution

 Changes:
  - Completely rewrote the GUI (except for Cheat Manager and Archive Selector)
    - More traditional look and feel
    - Improved input configuration
    - Keyboard shortcuts
    - More functionality exposed directly through GUI
  - Better looking icons

Windows Shell:

 Changes:
  - Updated icons, about dialog, copyright
  - Merged the remaining features from Unofficial 1.41.1

----------------------------------------------------------------
1.42
----------------------------------------------------------------

Linux Shell:

 Additions:
  - Added native support for D-pads (Hat Switches)
  - Added an About dialog box
  - Added icons and a desktop menu entry

 Fixes:
  - Fixed the 100% CPU usage bug
  - Fixed the "Error writing setting!" bug (patch from Arch Linux)

----------------------------------------------------------------
1.41
----------------------------------------------------------------

Linux shell:

 Fixes:
  - Fixed a braindead SRAM path issue

Windows Shell:

 Changes:
  - Merged win32 fixes from Unofficial Build 1.41.1

----------------------------------------------------------------
1.40-undead
----------------------------------------------------------------

Linux Shell:

 Additions:
  - Added install/uninstall targets to Makefile

 Changes:
  - Ported to GTK+3
  - Changed default sound API to ALSA (SDL audio has problems on some computers)
  - Changed default renderer to OpenGL with a scale factor of 2
  - Changed binary name to "nestopia"
  - SRAM now saves to ~/.nestopia/save (for people who have roms on a read-only \ 
network share)
  - Automatically install a new nstcontrols file to ~/.nestopia if it doesn't exist
  - Install NstDatabase.xml to a proper location on the filesystem instead of \ 
forcing the user to manually copy it to ~/.nestopia

 Fixes:
  - Fixed numerous compiler warnings.

----------------------------------------------------------------
Unofficial 1.41.1 - by Geestarraw (geestarraw@gmail.com) (May 17, 2011)
----------------------------------------------------------------

Shell:

 Changes:

  - Added fullscreen support for non-primary monitor displays.
  - Modified Video Options dialog component layout and added device index to
    identify mutiple monitors.
  - Refactoring.
  - Code documentation.

 Fixes:

  - Fixed so menu is still displayed after fullscreen monitor to monitor switch.

Project:

 Changes:

  - Converted solution and projects to Visual Studio 2010.
  - Improved version enumeration previously locked to x.xx (exactly 3 digits) to
    be anything from y.y, y.y.y, and y.y.y.y (where y can be up to 4 digits).
  - Changed build output target to nestopia.exe.

 Fixes:

  - Fixed bug in version enumeration always excluding highest version number.
  - Moved unofficial 1.41 release notes to official changelog file.

----------------------------------------------------------------
Unofficial 1.41 - by Keith Kelly (c0d3h4x0r@hotmail.com) (March 29, 2010)
----------------------------------------------------------------

This is an unofficial maintenance release I created to fix an annoying joystick \ 
lag issue.
This lag was particularly bad when VSync was enabled.  The original Nestopia \ 
author (Martin
Freij) appears to have abandoned the official Nestopia project on SourceForge \ 
and has not
responded to any of my e-mails, so I am left with no choice but to provide this \ 
unofficial
release as a public service to the emulation community.

Changes:

1. Removed manual option to set priority of Nestopia's main emulation loop \ 
thread. Instead,
Nestopia now boosts its own process base priority AND its own main emulation \ 
thread priority
whenever it is the active foreground window (and/or running in full-screen \ 
mode). This brings
Nestopia much closer to real-time performance and responsiveness.

2. Removed some screwy input polling logic, and added some calls to \ 
input.Poll(), to ensure
that the input devices are always polled immediately before the input state is \ 
utilized.
This was the key change that got rid of most of the lag.

3. Removed some screwy input timing logic that was causing input polling to work \ 
only on
certain clock intervals, rather than allowing it to work every time it was called.

(As far as I can tell on my own hardware configuration, these three changes \ 
taken together
have completely eliminated the lag problems that have been present in Nestopia \ 
for several
releases.  Your mileage may vary.)

4. Updated the Visual Studio solution/project to build successfully under Visual \ 
C++ 2008
Express Edition.

5. Added this releasenotes.txt file and bumped the version number to 1.41.

----------------------------------------------------------------
1.40 Release A-H - by R. Belmont
----------------------------------------------------------------

Linux Shell:

 Additions:
  - XML ROM support
  - More flexible video configuration including OpenGL hardware scaling
  - Input mapping in the GUI
  - Cheat Manager with flexible support and import/export capability (win32 \ 
compatible format)
  - Core logging is now enabled to the terminal you start NEStopia from for \ 
easier diagnosis of problems
  - Automatic soft-patching added
  - Coin inputs added for Vs. system
  - Audio filters added for fun
  - [Release C] Proper default nstcontrols file included
  - [Release E] Added SDL audio driver, should be most compatible
  - [Release G] Cheat Manager now shows descriptions on imported XML files.  \ 
Also fixed a CM crash.

 Changes:
  - Complains more if it's unable to write to the settings file
  - Archive browser comes up automatically if you select a zip or 7zip archive \ 
with multiple NES files in it
  - Option to select favored console
  - [Release E] Refactored to get UI code out of main.cpp
  - [Release G] Settings window auto-hides during emulation [enik]

 Fixes:
  - Fixed bug where keyboard input could stick
  - [Release B] Cleaned up some crashy issues with the control configurator
  - [Release D] Fixed ability to remap "meta" keys (keys that control \ 
NEStopia itself), fixed documentation on defaults.
  - [Release E] Fixed quicksave/quickload
  - [Release F] Fixed keyboard to ignore numlock/capslock
  - [Release G] Taskbar description is set properly for the game window [enik]

Files:
RevisionActionfile
1.2modifypkgsrc/emulators/nestopia/DESCR
1.35modifypkgsrc/emulators/nestopia/Makefile
1.3modifypkgsrc/emulators/nestopia/PLIST
1.7modifypkgsrc/emulators/nestopia/distinfo
1.1addpkgsrc/emulators/nestopia/MESSAGE.NetBSD
1.1addpkgsrc/emulators/nestopia/options.mk
1.1.1.1removepkgsrc/emulators/nestopia/MESSAGE
1.1removepkgsrc/emulators/nestopia/patches/patch-Makefile
1.1.1.1removepkgsrc/emulators/nestopia/patches/patch-aa
1.3removepkgsrc/emulators/nestopia/patches/patch-source_core_NstMemory.hpp