And when I use this executable, the dectection apperas as expected.
Easy as 1-2-3
Try to read sources "readme file" next time
Here is commandline options for SoD:
For Spear of Destiny the following additional options are available:
--mission <mission> Mission number to play (1-3)
--goodtimes Disable copy protection quiz
So edit dmenu files like this:
Icon = "res/ports/Sod.png"
Name = "Spear Of Destiny"
Executable = "./wolf3d --goodtimes"
WorkDir = "/usr/local/ports/Spear_Of_Destiny"