Mod building under Linux

Discuss modding questions and implementation details.
Post Reply
User avatar
pango
Posts: 3359
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Mod building under Linux

Post by pango »

Hi, is dfmod compilation tested to work under Linux?
First the DF Tools for Unity interface looks a bit broken under the Linux version of the Unity Editor 2018.2.21f1 (I need to open it up fullscreen to use it), but when I press "Build Mod" and select an empty directory, nothing seems to happen...

(trying to build DistantTerrain as an experiment:)
mod builder.jpg
mod builder.jpg (112.67 KiB) Viewed 1200 times
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
pango
Posts: 3359
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Mod building under Linux

Post by pango »

I saw

Code: Select all

Asset not found: Assets/Game/Addons/DistantTerrain_standalone/Resources/mapLocationRangeX.bin.txt
in the status bar so I renamed DistantTerrain directory as DistantTerrain_standalone, and voila, it compiles!

Code: Select all

? find . -type f
./StandaloneLinux/distant terrain.dfmod
./StandaloneLinux/distant terrain.dfmod.manifest
./StandaloneLinux/StandaloneLinux
./StandaloneLinux/StandaloneLinux.manifest
Only for Linux though, even if I select other platforms. But that's a start...
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
pango
Posts: 3359
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Mod building under Linux

Post by pango »

I reinstalled Unity Editor with the Windows and OSX building modules, and it seems all set now:

Code: Select all

ᐅ find . -type f    
./StandaloneWindows/distant terrain.dfmod
./StandaloneWindows/distant terrain.dfmod.manifest
./StandaloneWindows/StandaloneWindows
./StandaloneWindows/StandaloneWindows.manifest
./StandaloneOSX/distant terrain.dfmod
./StandaloneOSX/distant terrain.dfmod.manifest
./StandaloneOSX/StandaloneOSX
./StandaloneOSX/StandaloneOSX.manifest
./StandaloneLinux/distant terrain.dfmod
./StandaloneLinux/distant terrain.dfmod.manifest
./StandaloneLinux/StandaloneLinux
./StandaloneLinux/StandaloneLinux.manifest
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

Post Reply