Pages: 1
Posted on 11-03-16, 10:20 am (rev. 1 by ImageBot on 11-21-16, 03:25 am)
(ーωー。)

Karma: 721
Posts: 146/240
Since: 08-12-13
Today I've finally launched a Debian repository for ROM Hacking tools.
Other distributions are coming soon.

Setting it up is easy:
1. Open "/etc/apt/sources.list" as Root.
2. Add the following line:
deb http://deb.dshack.org debian/


Then you perform an update:
sudo apt-get update


Once done, you should be able to install ROM Hacking Tools from there.
The following Tools are currently available:
kclcalc-ds (MKGirlism)
kclcalc-7 (MKGirlism)
narctool (Natrium42, and Dexter0)
ndstool (Rafael Vuijk, Dave Murphy, and Alexei Karpenko)
ctrtool (Neimod, and 3DSGuy)
makerom (3DSGuy)
bmdview (thakis)
midi2sseq (Fincs)
sseq2midi (Loveemu)
yaz0enc (amnoid?)
yaz0dec (amnoid?)
makeromfs (3DSGuy)

The following Tools are in development:
bcmdlgen
kclgen-7
kclgen-ds
kmpedit
nkmedit
png2nsbtx
wav2bcstm



Of course, if you happen to have a ROM Hacking Tool that works on Linux, just contact me, and I'll add it to the repos.
_________________________
Posted on 11-03-16, 01:31 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 4345/4456
Since: 06-08-11
Nice initiative!

NSMBe works fine on Linux through Mono if you apply these patches to libgdiplus.
Posted on 11-03-16, 01:59 pm
(ーωー。)

Karma: 721
Posts: 147/240
Since: 08-12-13
Thanks for the tip, but I was actually looking for more native tools, though.
But I think I'll give it a try, anyway.
_________________________
Posted on 11-04-16, 12:48 am
Fuzzy
That MvL Hacker

Karma: 1593
Posts: 131/787
Since: 04-11-15
I may be just stupid, but what does this do
_________________________
Here's my MvL Hacking thread

Consider joining the NSMB DS Hacking Discord Server!

#HakingNoMore
Posted on 11-04-16, 01:16 am
Shyguy


Karma: 463
Posts: 78/83
Since: 02-12-15
If you're unfamiliar with Linux, apt-get is a built in app that lets you very easily download and update programs.

For example, after setting it up using the instructions in the OP, you'd be able to install a program like this:
sudo apt-get install sseq2midi

And then apt-get handles the rest of the installation process. Overall, this is better because you don't have to go through a webpage to download something, and apt-get keeps track of updates of programs for you.
_________________________
Website | Twitter
MK8 Modding Central
Posted on 11-04-16, 01:31 am
Fuzzy
That MvL Hacker

Karma: 1593
Posts: 132/787
Since: 04-11-15
Oh, ok thx
_________________________
Here's my MvL Hacking thread

Consider joining the NSMB DS Hacking Discord Server!

#HakingNoMore
Posted on 11-04-16, 08:56 am
(ーωー。)

Karma: 721
Posts: 148/240
Since: 08-12-13
Dirbaio:
I've checked NSMBe under Linux, and:
First time → Runs fine, and some parts even adapt to my system's theme.
Second time or later → No longer runs.
_________________________
Posted on 11-05-16, 11:19 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 4346/4456
Since: 06-08-11
It works fine for me every time...

Are you running it from a terminal? What error do you get in the terminal?
Posted on 11-06-16, 12:59 am
(ーωー。)

Karma: 721
Posts: 149/240
Since: 08-12-13
This is what I'm getting:
administrator@LinBookPro ~/デスクトップ/stuff/NSMB-Editor-master $ mono NSMBe4/bin/Release/NSMBe5.exe WARNING: The runtime version supported by this application is unavailable. Using default runtime: v4.0.30319 Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () <0x400b61b0 + 0x00187> in <filename unknown>:0 --- End of inner exception stack trace --- at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) <0x400b6160 + 0x0000f> in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) <0x400b5390 + 0x000f3> in <filename unknown>:0 at System.Windows.Forms.XplatUIX11..ctor () <0x400b3630 + 0x001df> in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.GetInstance () <0x400b33e0 + 0x0005b> in <filename unknown>:0 at System.Windows.Forms.XplatUI..cctor () <0x400b2d00 + 0x00137> in <filename unknown>:0 --- End of inner exception stack trace --- at System.Windows.Forms.Application.EnableVisualStyles () <0x400b1160 + 0x0001b> in <filename unknown>:0 at NSMBe4.Program.Main () <0x400b0d90 + 0x00013> in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () <0x400b61b0 + 0x00187> in <filename unknown>:0 --- End of inner exception stack trace --- at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) <0x400b6160 + 0x0000f> in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) <0x400b5390 + 0x000f3> in <filename unknown>:0 at System.Windows.Forms.XplatUIX11..ctor () <0x400b3630 + 0x001df> in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.GetInstance () <0x400b33e0 + 0x0005b> in <filename unknown>:0 at System.Windows.Forms.XplatUI..cctor () <0x400b2d00 + 0x00137> in <filename unknown>:0 --- End of inner exception stack trace --- at System.Windows.Forms.Application.EnableVisualStyles () <0x400b1160 + 0x0001b> in <filename unknown>:0 at NSMBe4.Program.Main () <0x400b0d90 + 0x00013> in <filename unknown>:0 administrator@LinBookPro ~/デスクトップ/stuff/NSMB-Editor-master $

_________________________
Posted on 11-06-16, 01:16 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 4347/4456
Since: 06-08-11
Wow, that's weird.

Do you have libgdiplus package installed? Also, does /usr/lib/libgdiplus.so.0 exist in your system?

By the way, I just made some changes to NSMBe that work around the libgdiplus issues. So, now the libgdiplus patches aren't needed! See commit
Posted on 11-06-16, 01:27 am (rev. 1 by Yami on 11-06-16, 01:29 am)
(ーωー。)

Karma: 721
Posts: 150/240
Since: 08-12-13
I do get an error about that Library, but I can confirm it's already installed.

The error in question is:
/usr/lib/mono/4.5/Microsoft.Common.targets: Error: Tool exited with code: 1. Output: Error: Invalid ResX input. Position: Line 138, Column 5. Inner exception: The type initializer for 'System.Drawing.GDIPlus' threw an exception. (NSMBe4)


Edit:
All it took was:
sudo apt-get install --reinstall libgdiplus


It works again.
_________________________
Pages: 1