User Tools

Site Tools


linux_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux_setup [2021/12/26 10:07] johnsanclinux_setup [2023/08/19 08:30] (current) johnsanc
Line 1: Line 1:
-~~NOTOC~~ +====== Setting up RomVault on Linux ====== 
-====== Setting up ROMVault on Linux ====== +RomVault is designed as a Windows application, but it will run on many Linux distros using mono. The instructions below outline the basic steps to initially setup RomVault on Linux using the Ubuntu distro as an example.
-ROMVault is designed as a Windows application, but it will run on many Linux distros using mono. The instructions below outline the basic steps to initially setup ROMVault on Linux using the Ubuntu distro as an example.+
  
-WORK IN PROGRESS+<WRAP important>There may be Linux and mono specific bugs. Please refer to the [[https://romvault.convas.io/bugs?tags=Linux|Bugs & Known Issues]] page and filter for the Linux tag for more details. Please join the [[https://discord.gg/fVJQPA8|ROMVault Discord server]] to report any new bugs.</WRAP>
  
 ===== Install Mono ===== ===== Install Mono =====
-  * Install the ''**mono-complete**'' package for your Linux distribution following the instructions on the [[https://www.mono-project.com/download/stable/|Mono Project website]]+  * Install the ''**mono-complete**'' package appropriate for your version of your Linux distro.
  
 ===== Create a Launcher Shortcut ===== ===== Create a Launcher Shortcut =====
-The ROMVault application is designed to write configuration files and its Cache file to the same directory as the executable. Its important to launch ROMVault using mono from the same directory as the ROMVault executable. You may find it helpful to create a launcher shortcut to do this.+The RomVault application is designed to write configuration files and its Cache file to the same directory as the executable. Its important to launch RomVault using mono from the same directory as the RomVault executable. You may find it helpful to create a launcher shortcut to do this.
  
   - Open a text editor   - Open a text editor
Line 20: Line 19:
 Path=/home/gordonj/Desktop/ROMVault Path=/home/gordonj/Desktop/ROMVault
 Exec=mono /home/gordonj/Desktop/ROMVault/ROMVault3.exe Exec=mono /home/gordonj/Desktop/ROMVault/ROMVault3.exe
-Icon=/home/gordonj/Desktop/ROMVault/romvault.png+Icon=/home/gordonj/Desktop/ROMVault/romvault.ico
 </code> </code>
   - Modify the ''Path'', ''Exec'', and ''Icon'' lines as needed   - Modify the ''Path'', ''Exec'', and ''Icon'' lines as needed
Line 30: Line 29:
   - Right click the file and select **Allow Launching**   - Right click the file and select **Allow Launching**
  
-You should now be able to double click the shortcut to launch ROMVault with mono with the correct working directory.+<WRAP info>RomVault does not come packaged with a separate icon file. You can use your own .png or .ico file for your launcher shortcut image.</WRAP> 
 + 
 +===== Launch RomVault ===== 
 +You can now Launch RomVault by double clicking your newly created shortcut.  
 + 
 +Alternately, you can launch RomVault via the command line with mono from the RomVault executable directory
 +  - Open the **Terminal** application 
 +  - Navigate to your RomVault executable directory 
 +  - Launch with ''mono ./ROMVault3.exe'' 
 + 
 +===== Troubleshooting Missing Text ===== 
 +There are many combinations of Linux distros, Mono versions, and system setups that could cause certain display issues like missing text or images. If there is text missing from certain areas of the application, particularly DatVault, then the most likely root cause font compatibility. 
 + 
 +If you have missing text after upgrading to the latest stable version of mono, then you can try to globally remap specific fonts that RomVault uses: 
 +  - From console run the commands ''fc-match Arial'' then ''fc-match "Microsoft Sans Serif"'' to check if those fonts are installed. 
 +  - If the fonts are not installed, then choose suitable fonts you would like to use. For this example we will use "Liberation Sans" for both. 
 +  - Modify the file ''/etc/fonts/local.conf'' with the following:  \\ \\ <code> 
 +<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd"> 
 +<fontconfig> 
 +<alias> 
 +    <family>Microsoft Sans Serif</family> 
 +    <prefer> 
 +        <family>Liberation Sans</family> 
 +    </prefer> 
 +</alias> 
 +<alias> 
 +    <family>Arial</family> 
 +    <prefer> 
 +        <family>Liberation Sans</family> 
 +    </prefer> 
 +</alias> 
 +</fontconfig> 
 +</code> 
 +  - Launch RomVault with ''GTK_DATA_PREFIX= mono ROMVault36.exe'' which will force light mode 
 + 
 + 
 +<WRAP tip>If RomVault does not start properly or if certain features like DatVault do not work, then the issue may be related to a WinForms style that is deprecated in mono. If you run into this issue, try setting the following variable when launching the application: 
 +''$ MONO_WINFORMS_XIM_STYLE=disabled mono ROMVault3.exe''</WRAP>
  
-|**ⓘ NOTE:** \\ ROMVault does not come packaged with a separate icon file. You can use your own .png or .ico file for your launcher shortcut image.| 
linux_setup.1640542038.txt.gz · Last modified: 2021/12/26 09:07 (external edit)