GNU bug report logs - #75537
[PATCH 0/2] Add bsnes-hd / libretro-bsnes-hd

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 13 Jan 2025 15:20:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

To reply to this bug, email your comments to 75537 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to adam.faiz <at> disroot.org, liliana.prikler <at> gmail.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#75537; Package guix-patches. (Mon, 13 Jan 2025 15:20:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to adam.faiz <at> disroot.org, liliana.prikler <at> gmail.com, iyzsong <at> envs.net, guix-patches <at> gnu.org. (Mon, 13 Jan 2025 15:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH 0/2] Add bsnes-hd / libretro-bsnes-hd
Date: Tue, 14 Jan 2025 00:18:43 +0900
Yet another SNES emulator option.

Maxim Cournoyer (2):
  gnu: Add bsnes-hd.
  gnu: Add libretro-bsnes-hd.

 gnu/packages/emulators.scm | 55 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 54 insertions(+), 1 deletion(-)


base-commit: 8c11f8740a52339f51fe1841658e8e549589f2e2
-- 
2.47.1





Information forwarded to adam.faiz <at> disroot.org, liliana.prikler <at> gmail.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#75537; Package guix-patches. (Mon, 13 Jan 2025 15:29:02 GMT) Full text and rfc822 format available.

Message #8 received at 75537 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 75537 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH 1/2] gnu: Add bsnes-hd.
Date: Tue, 14 Jan 2025 00:28:10 +0900
* gnu/packages/emulators.scm (bsnes-hd): New variable.

Change-Id: Id3654e1231e24084e219c4d060eff2b4d888f62d
---
 gnu/packages/emulators.scm | 42 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 41 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index b65c91cdf5..5a2ac8846f 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -15,7 +15,7 @@
 ;;; Copyright © 2020 Christopher Howard <christopher <at> librehacker.com>
 ;;; Copyright © 2021 Felipe Balbi <balbi <at> kernel.org>
 ;;; Copyright © 2021, 2024 Felix Gruber <felgru <at> posteo.net>
-;;; Copyright © 2021, 2024 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2021, 2025 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv <at> posteo.net>
 ;;; Copyright © 2023 c4droid <c4droid <at> foxmail.com>
 ;;; Copyright © 2023 Yovan Naumovski <yovan <at> gorski.stream>
@@ -3190,6 +3190,46 @@ (define-public bsnes
 performance, features, and ease of use.")
     (license license:gpl3)))
 
+(define-public bsnes-hd
+  (package
+    (inherit bsnes)
+    (name "bsnes-hd")
+    ;; As of 10.6, there only ever was beta releases -- treat these as the
+    ;; stable releases for now.
+    (version "10.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/DerKoun/bsnes-hd")
+                    (commit (string-append
+                             "beta_"
+                             (string-replace-substring version "." "_")))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0f3cd89fd0lqskzj98cc1pzmdbscq0psdjckp86w94rbchx7iw4h"))))
+    (build-system gnu-build-system)
+    (home-page "https://github.com/DerKoun/bsnes-hd/")
+    (synopsis "Fork of bsnes with added HD video features")
+    (description "bsnes-hd (called ``HD Mode 7 mod, for bsnes'' in early
+betas) is a fork of bsnes (the great SNES emulator by Near) that adds HD video
+features, such as:
+@table @asis
+@item HD Mode 7
+Renders the rotated, scaled or pseudo perspective backgrounds at
+higher resolutions.  This does not involve new custom imagery or upscaling
+algorithms.  It is a higher resolution version of the process the SNES uses.
+@item Widescreen
+Extends the scenes to the left and right, without distorting them.  It works
+for most Mode 7 scenes, but also for some other scenes/games, after some
+settings tweaking.
+@item True color
+Color calculation are done at true color instead of the SNES color depth (3x8
+instead of 3x5 bit).  With the optional line color smoothing color ``steps''
+turn into actual gradients (without influencing the sharpness of the artwork).
+@end table")
+    (license license:gpl3+)))
+
 (define-public jg-api
   (package
     (name "jg-api")
-- 
2.47.1





Information forwarded to adam.faiz <at> disroot.org, liliana.prikler <at> gmail.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#75537; Package guix-patches. (Mon, 13 Jan 2025 15:29:02 GMT) Full text and rfc822 format available.

Message #11 received at 75537 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 75537 <at> debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH 2/2] gnu: Add libretro-bsnes-hd.
Date: Tue, 14 Jan 2025 00:28:11 +0900
* gnu/packages/emulators.scm (libretro-bsnes-hd): New variable.

Change-Id: Ibb99d4f027530d5dc812c1cdbc22ad9d972234e5
---
 gnu/packages/emulators.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 5a2ac8846f..1c8f66c924 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -3230,6 +3230,21 @@ (define-public bsnes-hd
 @end table")
     (license license:gpl3+)))
 
+(define-public libretro-bsnes-hd
+  (package/inherit bsnes-hd
+    (name "libretro-bsnes-hd")
+    (arguments
+     (substitute-keyword-arguments (package-arguments bsnes-hd)
+       ((#:make-flags flags ''())
+        #~(cons "target=libretro" #$flags))
+       ((#:phases phases '%standard-phases)
+        #~(modify-phases #$phases
+            (replace 'install           ;no install target
+              (lambda _
+                (install-file "bsnes/out/bsnes_hd_beta_libretro.so"
+                              (string-append #$output "/lib/libretro/"))))))))
+    (synopsis "Libretro port of bsnes-hd")))
+
 (define-public jg-api
   (package
     (name "jg-api")
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75537; Package guix-patches. (Fri, 17 Jan 2025 09:19:01 GMT) Full text and rfc822 format available.

Message #14 received at 75537 <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 75537 <at> debbugs.gnu.org, Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Adam Faiz <adam.faiz <at> disroot.org>
Subject: Re: [bug#75537] [PATCH 0/2] Add bsnes-hd / libretro-bsnes-hd
Date: Fri, 17 Jan 2025 17:21:23 +0800
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Yet another SNES emulator option.
>
> Maxim Cournoyer (2):
>   gnu: Add bsnes-hd.
>   gnu: Add libretro-bsnes-hd.
>

Look good to me, please push, thank you!




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Sun, 19 Jan 2025 07:36:02 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Sun, 19 Jan 2025 07:36:02 GMT) Full text and rfc822 format available.

Message #19 received at 75537-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 宋文武 <iyzsong <at> envs.net>
Cc: 75537-done <at> debbugs.gnu.org,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Adam Faiz <adam.faiz <at> disroot.org>
Subject: Re: [bug#75537] [PATCH 0/2] Add bsnes-hd / libretro-bsnes-hd
Date: Sun, 19 Jan 2025 16:34:48 +0900
Hi,

宋文武 <iyzsong <at> envs.net> writes:

> Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
>
>> Yet another SNES emulator option.
>>
>> Maxim Cournoyer (2):
>>   gnu: Add bsnes-hd.
>>   gnu: Add libretro-bsnes-hd.
>>
>
> Look good to me, please push, thank you!

Thanks, done with commit a1ca12fe85.

-- 
Thanks,
Maxim




This bug report was last modified 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.