Unity3D-Wine-Support / Unity3D-on-Wine

Scripts for making Unity3D run on Wine.
GNU General Public License v2.0
102 stars 59 forks source link

Loading UnityScript project with Native MonoDevelop #42

Open Radivarig opened 9 years ago

Radivarig commented 9 years ago

When I try to load javascript (unityscript) .sln file in native MD I get this error: Could not load project 'Assembly-UnityScript.unityproj' with unknown item type '{..numbers and stuff..}'

Temporary solution is opening it with builtin monodevelop instead by inserting:

if [[ $FILE_PATH == *".js" ]]
then
    export WINEPREFIX=~/.local/share/wineprefixes/unity3d/
    wine ${WINEPREFIX}drive_c/Program\ Files/Unity/MonoDevelop/bin/MonoDevelop.exe "$1;$2"
    exit 0
fi

after getting FILE_PATH in this script: https://github.com/Radivarig/Unity3D-on-Wine/blob/master/text-editors-MonoDevelop/unity3d_native_monodevelop.sh

note that #37 is still opened.

thediamondgames commented 9 years ago

Use newer version of wine. If it gets so, quit it and relaunch from unity. If it gets like so again, try it again. But sometimes it might glitch and not close (run in background) and you won't be able to launch it, so just kill MonoDevelop.exe in terminal or gnome system monitor.