Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
ygopro
Commits
8644512c
Commit
8644512c
authored
Dec 12, 2016
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme and appveyor
parent
b180e1c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
10 deletions
+34
-10
README.md
README.md
+18
-6
appveyor.yml
appveyor.yml
+16
-4
No files found.
README.md
View file @
8644512c
##
ygopro(s
erver)
一个linux版的ygopro服务端,基于mycard代码修改。
##
YGOPro(S
erver)
[
![Build status
](
https://ci.appveyor.com/api/projects/status/qgkqi6o0wq7qn922/branch/server?svg=true
)
](https://ci.appveyor.com/project/zh99998/ygopro/branch/server)
现用于
[
YGOPRO 233服
](
http://mercury233.me/ygosrv233/
)
。
一个YGOPro的服务端版本,运行后自动建立主机,并开启端口供YGOPro客户端连接
。
###编译
现用于
[
萌卡
](
https://mycard.moe/
)
和
[
YGOPRO 233服
](
http://mercury233.me/ygosrv233/
)
。
###Linux下编译
*
需要以下组件或工具
*
gcc
*
premake4
*
libevent
*
sqlite3
*
lua5.2
*
sqlite3
*
可参考 https://github.com/mercury233/ygopro-server/wiki 中的脚本
###Windows下编译
*
需要以下组件或工具
*
Visual Studio
*
premake5
*
libevent
*
lua5.2
*
sqlite3
*
dirent for windows
*
可参考本项目
[
appveyor.yml
](
https://github.com/mycard/ygopro/blob/server/appveyor.yml
)
中的脚本
###运行
*
使用
[
ygopro-server
-lite
](
https://github.com/mercury233
/ygopro-server
)
运行
*
使用
[
ygopro-server
](
https://github.com/mycard
/ygopro-server
)
运行
*
手动运行的参数是
*
./ygopro 0 0 0 1 F F F 8000 5 1 180 0
*
端口(0为随机)
...
...
appveyor.yml
View file @
8644512c
version
:
'
{build}'
install
:
-
git submodule update --init --recursive
# environment and system dependency
-
appveyor DownloadFile https://github.com/premake/premake-core/releases/download/v5.0.0-alpha10/premake-5.0.0-alpha10-windows.zip
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-alpha10/premake-5.0.0-alpha10-windows.zip ; exit 0"
-
7z x premake-5.0.0-alpha10-windows.zip
-
appveyor DownloadFile https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0"
-
tar xf libevent-2.0.22-stable.tar.gz
-
move libevent-2.0.22-stable event
-
xcopy /E event\WIN32-Code event\include
-
appveyor DownloadFile https://www.lua.org/ftp/lua-5.2.4.tar.gz
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.lua.org/ftp/lua-5.2.4.tar.gz ; exit 0"
-
tar xf lua-5.2.4.tar.gz
-
move lua-5.2.4\src lua
-
appveyor DownloadFile https://www.sqlite.org/2016/sqlite-amalgamation-3150200.zip
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2016/sqlite-amalgamation-3150200.zip ; exit 0"
-
7z x sqlite-amalgamation-3150200.zip
-
move sqlite-amalgamation-3150200 sqlite3
...
...
@@ -29,11 +30,22 @@ install:
-
premake5 vs2015
configuration
:
Release
build
:
project
:
build/ygo.sln
parallel
:
true
after_build
:
-
ps
:
move bin\release\ygopro.exe .
test
:
off
artifacts
:
-
path
:
ygopro.exe
name
:
ygopro(server)
cache
:
-
premake-5.0.0-alpha10-windows.zip
-
libevent-2.0.22-stable.tar.gz
-
lua-5.2.4.tar.gz
-
sqlite-amalgamation-3150200.zip
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment