Package Details: nbtexplorer 2.8.0-3

Git Clone URL: https://aur.archlinux.org/nbtexplorer.git (read-only, click to copy)
Package Base: nbtexplorer
Description: Minecraft NBT Editor for editing player and world files.
Upstream URL: https://github.com/jaquadro/NBTExplorer
Licenses: MIT
Submitter: demon012
Maintainer: jochembr
Last Packager: jochembr
Votes: 21
Popularity: 0.69
First Submitted: 2013-09-26 00:25 (UTC)
Last Updated: 2023-08-23 18:58 (UTC)

Latest Comments

1 2 Next › Last »

cs127 commented on 2023-08-22 22:05 (UTC) (edited on 2023-08-22 22:06 (UTC) by cs127)

Can you please change the Categories value in the desktop entry file to Utility;FileTools;, or just Utility;?

As far as I know, Game seems to be a category for games themselves, not utilities for games (which NBTExplorer is).

wilsontulus commented on 2023-01-06 12:19 (UTC) (edited on 2023-01-06 12:20 (UTC) by wilsontulus)

Program works today with mono, mono-msbuild and gtk-sharp installed. Minecraft NBT edits worked perfectly without corruptions. Tip: If you want to make NBTExplorer open your Minecraft folder automatically from start, use the APPDATA environment variable to a folder that contains the .minecraft folder, preferably the home folder. (Example: APPDATA=~ /usr/bin/nbtexplorer) Do not export the env variable globally or some native Linux apps that uses Mono will break, append it on the nbtexplorer.desktop file instead.

jochembr commented on 2022-01-01 18:08 (UTC) (edited on 2022-12-17 08:33 (UTC) by jochembr)

EDIT: issues have been resolved in the meanwhile.

This package currently cannot be built properly, because it suffers from the following issue: https://bugs.archlinux.org/task/71007.

A workaround is to install mono-git before building this package.

The project seems compatible with .NET Core. Even though the original repository is not maintained, a local patch might be helpful to mitigate all build problems by simply using a more modern alternative.

XkE5NBr2 commented on 2021-05-24 21:12 (UTC)

I also get stuartpb's error.

jochembr commented on 2021-05-22 06:27 (UTC)

Will look into it. Seems to be caused by an update of mono-msbuild, which for some reason expects to load .NET 5.0 libraries while actually loading them (correctly) from the .NET 2.0 API path.

stuartpb commented on 2021-05-22 01:12 (UTC)

Here's the error I get when building:

Build started 5/21/2021 6:09:07 PM.
Project "/home/stuart/.cache/yay/nbtexplorer/src/NBTExplorer-2.8.0-win/NBTExplorer/NBTExplorer.csproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "bin/Release/".
  Creating directory "obj/x86/Release/".
Project "/home/stuart/.cache/yay/nbtexplorer/src/NBTExplorer-2.8.0-win/NBTExplorer/NBTExplorer.csproj" (1) is building "/home/stuart/.cache/yay/nbtexplorer/src/NBTExplorer-2.8.0-win/NBTModel/NBTModel.csproj" (2:2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "bin/Release/".
  Creating directory "obj/Release/".
/usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2198,5): error MSB3248: Parameter "AssemblyFiles" has invalid value "/usr/lib/mono/2.0-api/mscorlib.dll". Could not load file or assembly 'System.Reflection.Metadata, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/home/stuart/.cache/yay/nbtexplorer/src/NBTExplorer-2.8.0-win/NBTModel/NBTModel.csproj]
Done Building Project "/home/stuart/.cache/yay/nbtexplorer/src/NBTExplorer-2.8.0-win/NBTModel/NBTModel.csproj" (default targets) -- FAILED.
Done Building Project "/home/stuart/.cache/yay/nbtexplorer/src/NBTExplorer-2.8.0-win/NBTExplorer/NBTExplorer.csproj" (default targets) -- FAILED.

Build FAILED.

"/home/stuart/.cache/yay/nbtexplorer/src/NBTExplorer-2.8.0-win/NBTExplorer/NBTExplorer.csproj" (default target) (1) ->
"/home/stuart/.cache/yay/nbtexplorer/src/NBTExplorer-2.8.0-win/NBTModel/NBTModel.csproj" (default target) (2:2) ->
(ResolveAssemblyReferences target) -> 
  /usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2198,5): error MSB3248: Parameter "AssemblyFiles" has invalid value "/usr/lib/mono/2.0-api/mscorlib.dll". Could not load file or assembly 'System.Reflection.Metadata, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/home/stuart/.cache/yay/nbtexplorer/src/NBTExplorer-2.8.0-win/NBTModel/NBTModel.csproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:01.07

Janfel commented on 2020-12-09 12:14 (UTC) (edited on 2020-12-09 13:48 (UTC) by Janfel)

Some things I noticed when looking over this package:

  1. The AUR submission guidelines state:

    Packages that use prebuilt deliverables, when the sources are available, must use the -bin suffix.

    This seems to be the case for this package, so it should be renamed to nbtexplorer-bin.

  2. The nbtexplorer script

    1. does not use exec,
    2. silences stdout and stderr and
    3. does not propagate commandline arguments.

    Please change it to this:

    #!/bin/sh
    exec mono /usr/share/nbtexplorer/NBTExplorer.exe "$@"
    
  3. With the nbtexplorer script changed, please add %F to the Exec= line in nbtexplorer.desktop to properly advertise the program behavior to the desktop environment.

  4. The license is stated to be unknown, however the repo has a LICENSE.txt containing the MIT license. Please change the license field to MIT and add the file to the package as /usr/share/licenses/<pkgname>/LICENSE.txt.

  5. The file permissions seem off. Every other package I’ve seen uses 755 and 644 instead of 555 and 444.

  6. According to the CLR Package Guidelines, you should set arch to any and add !strip to options.

  7. The line provides=('nbtexplorer') is unnecessary when the package is already called nbtexplorer.

  8. MD5 is an insecure hashing algorithm. Please upgrade to SHA256 or a comparable algorithm.

  9. The ZIP file type is already handled by bsdtar. You can safely remove everything regarding unzip from the PKGBUILD.

demon012 commented on 2017-05-10 10:20 (UTC)

The package has already been updated to remove that dependency as you requested. I am unsure why the package ever depended on the xorg-server-utils package. Make sure you have version 2.7.6-3 and let me know if you notice any other problems and I will fix them.

founderio commented on 2017-05-10 10:18 (UTC)

I've updated the dependencies in a local copy, and it installs & runs fine as far as I can tell. Check the diff here: https://gist.github.com/founderio/e3085ab8c8927e842fa166ef983028c3

mattsturgeon commented on 2017-05-09 22:30 (UTC)

What was the reason for depending on xorg-server-utils? It was a meta-package that has now been removed. It provided the following: xorg-iceauth xorg-sessreg xorg-xcmsdb xorg-xbacklight xorg-xgamma xorg-xhost xorg-xinput xorg-xmodmap xorg-xrandr xorg-xrdb xorg-xrefresh xorg-xset xorg-xsetroot