Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

FamiStudio

FamiStudio - NES Music Editor for chiptune artists & homebrewers · By BleuBleu

Has trouble starting on Ubuntu 18.04

A topic by clericbob created Jul 30, 2020 Views: 572 Replies: 5
Viewing posts 1 to 3
(+1)

Hello,

I was excited when I saw this project, as I have been using Famitracker for a few months but vastly prefer the interface of a DAW.  However, when I attempted to open the program on my Linux computer (after installing gtk-sharp2 as described in the README file) the program would not open.  Here's the error:


Unhandled Exception:
System.DllNotFoundException: NesSndEmu.so
  at (wrapper managed-to-native) FamiStudio.NesApu:Init (int,int,int,int,FamiStudio.NesApu/DmcReadDelegate)
  at FamiStudio.NesApu.InitAndReset (System.Int32 apuIdx, System.Int32 sampleRate, System.Boolean pal, System.Int32 expansion, System.Int32 numExpansionChannels, FamiStudio.NesApu+DmcReadDelegate dmcCallback) [0x00000] in <a0333e985f1745a5ae076f531f0a05e7>:0

[several more lines of traceback]


The NesSndEmu.so file is there, located in the same directory as the executable, but mono doesn't seem to pick it up.  

When I run "mono -V", this is the version string I get:

Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1)

Is there any other configuration stuff I might need to worry about to get this working?

I also attempted to run the Windows version using WINE, but while the program would open, there seemed to be an issue with path resolution as it would not open any of my existing .nsf files.

Please let me know if you have any advice.  Thanks!

Developer

Ok, this seem to happen a lot with OLD version of Mono. 4.x is definately old.

Can you try this:

- Rename NesSndEmu.so to libNesSndEmu.so
- Rename NotSoFatso.so to libNotSoFatso.so

(basically add "lib" prefix to both names)

Thanks and let me know if that work.

-Mat

(1 edit)

I have the same problem, it won't start on ubuntu 18.04 even with the renamed files.

Is there anything I can try ?

Developer (2 edits)

Is there any error message you could give me so I can help you better?

Also, in version 2.2.0, the files are already renamed, so you shouldnt have had to do anything.

EDIT: You could also jump in the discord to make debugging this faster.  (https://discord.gg/88UPmxh)

-Mat

(+1)

I resolved this by updating my mono installation.  If you're running the same version of mono as I was, try downloading a newer version from the official site (mono-project.com) and using the original file names

Developer

Oh thats great news! Thanks for reporting back!