Package Details: nxengine-evo 2.6.5.1-3

Git Clone URL: https://aur.archlinux.org/nxengine-evo.git (read-only, click to copy)
Package Base: nxengine-evo
Description: A somewhat upgraded/refactored version of nxengine
Upstream URL: https://github.com/isage/nxengine-evo
Keywords: cavestory game nxengine
Licenses: GPL3
Submitter: ibrokemypie
Maintainer: ibrokemypie
Last Packager: ibrokemypie
Votes: 6
Popularity: 0.000000
First Submitted: 2017-07-16 09:12 (UTC)
Last Updated: 2021-11-22 03:22 (UTC)

Latest Comments

1 2 Next › Last »

poyo commented on 2024-04-23 18:16 (UTC)

The missing-include.patch:

--- src/nxengine-evo-2.6.5-1/src/siflib/sectStringArray.h   2021-07-08 12:48:08.000000000 +0200
+++ src/nxengine-evo-2.6.5-1/src/siflib/sectStringArray.h   2024-04-23 19:02:52.106555527 +0200
@@ -1,6 +1,7 @@

 #ifndef _SECT_STRINGARRAY_H
 #define _SECT_STRINGARRAY_H
+#include <cstdint>
 #include <string>
 #include <vector>

poyo commented on 2024-04-23 18:10 (UTC) (edited on 2024-04-23 18:11 (UTC) by poyo)

I managed to make this package build and run. Turns out, an include was missing from a header file. Here's the modified PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index c803c22..e0680a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgname=nxengine-evo
 pkgver=2.6.5.1
 _ver=2.6.5-1
 _langver=1.14
-pkgrel=3
+pkgrel=4
 pkgdesc="A somewhat upgraded/refactored version of nxengine"
 arch=('i686' 'x86_64')
 url="https://github.com/isage/nxengine-evo"
@@ -12,10 +12,16 @@ depends=(sdl2_mixer sdl2_image sdl2_ttf)
 makedepends=(cmake libpng libjpeg)
 source=("https://github.com/isage/nxengine-evo/archive/v${_ver}.tar.gz"
         "https://www.cavestory.org/downloads/cavestoryen.zip"
-        "https://github.com/nxengine/translations/releases/download/v${_langver}/all.zip")
+        "https://github.com/nxengine/translations/releases/download/v${_langver}/all.zip"
+       "missing-include.patch")
 sha256sums=('db9b78b0c4005959ab8f3a6a05c02d86e764e6593cdd11a2178c581bb03a0699'
             'aa87fa30bee9b4980640c7e104791354e0f1f6411ee0d45a70af70046aa0685f'
-            '1dd85a8c230c5ebf23c6fd6283fe168d9bf4044339d1e93e324bd336165a4422')
+            '1dd85a8c230c5ebf23c6fd6283fe168d9bf4044339d1e93e324bd336165a4422'
+            'e56655176100493492545e98d1627cef3c60a3cc72e1cbeec70fb95e16b1ff50')
+
+prepare() {
+    patch -p1 <missing-include.patch
+}

 build() {
        cd "${pkgname}-${_ver}"

And here is the missing-include.patch file:

```

--- src/nxengine-evo-2.6.5-1/src/siflib/sectStringArray.h 2021-07-08 12:48:08.000000000 +0200 +++ src/nxengine-evo-2.6.5-1/src/siflib/sectStringArray.h 2024-04-23 19:02:52.106555527 +0200 @@ -1,6 +1,7 @@

#ifndef _SECT_STRINGARRAY_H #define _SECT_STRINGARRAY_H +#include <cstdint> #include <string> #include <vector>

```

Take into account, that this patch is only meant to fix the current release. If a new version is released, you can get rid of the patch, since the code is already in master.

poyo commented on 2023-10-26 18:10 (UTC)

I get the same error as @seqfault

seqfault commented on 2023-07-06 10:10 (UTC)

hey @ibrokemypie, package fails to build for me, can you check it out: https://vomitb.in/raw/hWt8EbV6dk

gameslayer commented on 2023-05-09 07:57 (UTC)

package is missing aarch64

Frogboy commented on 2023-02-17 06:44 (UTC)

Thanks! You should probably utilize extra threads with make, 1 thread by default is very slow.

ibrokemypie commented on 2021-11-22 03:23 (UTC)

@maxlefou done, thanks!

maxlefou commented on 2021-11-20 12:23 (UTC) (edited on 2021-11-20 12:24 (UTC) by maxlefou)

Would be nice to add the additionnal languages. I managed to make it work that way, it would be nice to add it (since i can't contribute directly for some reason):

diff --git a/PKGBUILD
index 2f1738c..e15d449 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,10 @@
 # Maintainer: ibrokemypie <ibrokemypie@bastardi.net>
 pkgname=nxengine-evo
 pkgver=2.6.5.1
 _ver=2.6.5-1
-pkgrel=2
+_langver=1.14 # language pack version
+pkgrel=3
 pkgdesc="A somewhat upgraded/refactored version of nxengine"
 arch=('i686' 'x86_64')
 url="https://github.com/isage/nxengine-evo"
@@ -10,9 +12,11 @@ license=('GPL3')
 depends=(sdl2_mixer sdl2_image sdl2_ttf)
 makedepends=(cmake libpng libjpeg)
 source=("https://github.com/isage/nxengine-evo/archive/v${_ver}.tar.gz"
-        "https://www.cavestory.org/downloads/cavestoryen.zip")
+        "https://www.cavestory.org/downloads/cavestoryen.zip"
+        "https://github.com/nxengine/translations/releases/download/v${_langver}/all.zip")
 sha256sums=('db9b78b0c4005959ab8f3a6a05c02d86e764e6593cdd11a2178c581bb03a0699'
-            'aa87fa30bee9b4980640c7e104791354e0f1f6411ee0d45a70af70046aa0685f')
+            'aa87fa30bee9b4980640c7e104791354e0f1f6411ee0d45a70af70046aa0685f'
+            '1dd85a8c230c5ebf23c6fd6283fe168d9bf4044339d1e93e324bd336165a4422')

 build() {
        cd "${pkgname}-${_ver}"
@@ -24,6 +28,7 @@ build() {
        cd ../
     cp -r "../CaveStory/data/" "./"
     cp "../CaveStory/Doukutsu.exe" "./"
+    cp -r "../data/" "./" # copying language files

     ./build/nxextract
 }

thanks

xordspar0 commented on 2021-08-24 03:44 (UTC)

Perfect, thanks!