The project is working well with Mono.
If you just want to run MemcardRex, follow Step 1 of Install Build tools and Dependencies below, and then download MemcardRex from releases. Then, follow Run MemcardRex and you're running!
Note: This last step has to be done every time you want to run MemcardRex. If you want to make this easier, make a
.sh
or.desktop
file.
In a directory of your choice, download MemcardRex:
git clone https://github.com/ShendoXT/memcardrex.git
- Install mono from either the official site, or your distribution's package manager. The package included on some Linux distributions may not work properly.
- Install nuget from your package manager. If you installed Mono following the website instructions, your package manager will now install the official version of nuget.
- Update nuget:
sudo nuget update -self
- Edit nuget's configuration file in
~/.config/NuGet/NuGet.Config
Either use the configuration below, or make your own with Microsoft's documentation.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
</config>
<packageSources>
<add key="public feed" value="https://api.nuget.org/v3/index.json"/>
</packageSources>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<bindingRedirects>
<add key="skip" value="False" />
</bindingRedirects>
<packageManagement>
<add key="format" value="0" />
<add key="disabled" value="True" />
</packageManagement>
</configuration>
cd
to wherever you downloaded MemcardRex to.- Run
nuget restore -NoCache
to download project dependencies.
In the folder where the git project is located, run msbuild
in your terminal.
If that didn't work (probably because your distro's version of mono is misconfigured) try: xbuild /property:TargetFrameworkVersion=v4.0
If the build is successful, the executable will be in memcardrex/MemcardRex/bin/Debug/
Navigate to where the executable is located (see last step) in terminal and run mono MemcardRex.exe
If you are trying to use a DexDrive connected by serial port or USB serial, you may have to run mono as root: sudo mono MemcardRex.exe
If you don't want to run MemcardRex with
sudo
, try adding your user to thedialout
user group withsudo usermod -a -G dialout $USER
as detailed in this StackExchange post: Unix StackExchange