A C# implementation of an ygopro duel server, using the ocgcore library.
-
Compile the native OCGCore library using CMake and a C++11 compiler.
-
Compile YGOSharp.sln using Visual Studio or Mono.
-
Put cards.cdb, lflist.conf, ocgcore.dll and the script directory next to the compiled YGOSharp.exe.
-
Run the executable with or without parameters. The default configuration will host a single duel on the port 7911.
-
Enjoy.
-
ConfigFile
(default: none) -
ClientVersion
(default:0x133D
) -
Port
(default:7911
)
-
BanlistFile
(default:lflist.conf
) -
RootPath
(default:.
) -
ScriptDirectory
(default:script
) -
DatabaseFile
(default:cards.cdb
)
-
Mode
(default:0
) -
Region
(default:0
) -
MasterRule
(default:3
) -
Banlist
(default:0
) -
StartLp
(default:8000
) -
StartHand
(default:5
) -
DrawCount
(default:1
) -
GameTimer
(default:240
)
-
NoCheckDeck
(default:false
) -
NoShuffleDeck
(default:false
) -
MainDeckMinSize
(default:40
) -
MainDeckMaxSize
(default:60
) -
ExtraDeckMaxSize
(default:15
) -
SideDeckMaxSize
(default:15
)
-
EnablePriority
(default:false
) -
Rule
(old alias forRegion
)
StandardStreamProtocol
(default:false
)