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
REIKAI
ygopro
Commits
09d16cf4
Commit
09d16cf4
authored
Aug 09, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update readme
parent
18546127
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
26 deletions
+11
-26
.gitignore
.gitignore
+0
-1
README.md
README.md
+4
-4
appveyor.yml
appveyor.yml
+4
-4
premake4.lua
premake4.lua
+3
-5
premake5.lua
premake5.lua
+0
-12
No files found.
.gitignore
View file @
09d16cf4
...
@@ -12,6 +12,5 @@
...
@@ -12,6 +12,5 @@
/gframe/ygopro.ico
/gframe/ygopro.ico
/gframe/ygopro.rc
/gframe/ygopro.rc
/gframe/ygopro.aps
/gframe/ygopro.aps
/gframe/dirent.h
ygopro
ygopro
premake5.exe
premake5.exe
README.md
View file @
09d16cf4
## YGOPro(Server)
## YGOPro(Server)
[

](https://ci.appveyor.com/project/zh99998/ygopro/branch/server)
[

](https://ci.appveyor.com/project/zh99998/ygopro/branch/server)
[

](https://travis-ci.org/moecube/ygopro)
一个YGOPro的服务端版本,运行后自动建立主机,并开启端口供YGOPro客户端连接。
一个YGOPro的服务端版本,运行后自动建立主机,并开启端口供YGOPro客户端连接。
现用于
[
萌卡
](
https://mycard.moe/
)
和
[
YGOP
RO
233服
](
http://mercury233.me/ygosrv233/
)
。
现用于
[
萌卡
](
https://mycard.moe/
)
和
[
YGOP
ro
233服
](
http://mercury233.me/ygosrv233/
)
。
### Linux下编译
### Linux下编译
*
需要以下组件或工具
*
需要以下组件或工具
*
gcc
*
gcc
*
premake
4
*
premake
5
*
libevent
*
libevent
*
lua5.2
*
lua5.2
*
sqlite3
*
sqlite3
*
可参考
https://github.com/mercury233/ygopro-server/wiki
中的脚本
*
可参考
本项目
[
.travis.yml
](
https://github.com/mycard/ygopro/blob/server/.travis.yml
)
中的脚本
### Windows下编译
### Windows下编译
*
需要以下组件或工具
*
需要以下组件或工具
...
@@ -21,7 +22,6 @@
...
@@ -21,7 +22,6 @@
*
libevent
*
libevent
*
lua5.2
*
lua5.2
*
sqlite3
*
sqlite3
*
dirent for windows
*
可参考本项目
[
appveyor.yml
](
https://github.com/mycard/ygopro/blob/server/appveyor.yml
)
中的脚本
*
可参考本项目
[
appveyor.yml
](
https://github.com/mycard/ygopro/blob/server/appveyor.yml
)
中的脚本
### 运行
### 运行
...
...
appveyor.yml
View file @
09d16cf4
...
@@ -16,9 +16,9 @@ install:
...
@@ -16,9 +16,9 @@ install:
-
tar xf lua-5.2.4.tar.gz
-
tar xf lua-5.2.4.tar.gz
-
move lua-5.2.4\src lua
-
move lua-5.2.4\src lua
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/201
6/sqlite-amalgamation-3150200.zip
; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/201
7/sqlite-amalgamation-3200000.zip
; exit 0"
-
7z x sqlite-amalgamation-3
1502
00.zip
-
7z x sqlite-amalgamation-3
2000
00.zip
-
move sqlite-amalgamation-3
1502
00 sqlite3
-
move sqlite-amalgamation-3
2000
00 sqlite3
# let premake happy
# let premake happy
-
xcopy /E premake\* .
-
xcopy /E premake\* .
...
@@ -45,4 +45,4 @@ cache:
...
@@ -45,4 +45,4 @@ cache:
-
premake-5.0.0-alpha10-windows.zip
-
premake-5.0.0-alpha10-windows.zip
-
libevent-2.0.22-stable.tar.gz
-
libevent-2.0.22-stable.tar.gz
-
lua-5.2.4.tar.gz
-
lua-5.2.4.tar.gz
-
sqlite-amalgamation-3
1502
00.zip
-
sqlite-amalgamation-3
2000
00.zip
premake4.lua
View file @
09d16cf4
...
@@ -15,10 +15,8 @@ solution "ygo"
...
@@ -15,10 +15,8 @@ solution "ygo"
configuration
"macosx"
configuration
"macosx"
defines
{
"LUA_USE_MACOSX"
}
defines
{
"LUA_USE_MACOSX"
}
includedirs
{
"/usr/local/include/*"
}
includedirs
{
"/opt/local/include"
}
libdirs
{
"/usr/local/lib"
,
"/usr/X11/lib"
}
libdirs
{
"/opt/local/lib"
}
buildoptions
{
"-stdlib=libc++"
}
links
{
"OpenGL.framework"
,
"Cocoa.framework"
,
"IOKit.framework"
}
configuration
"linux"
configuration
"linux"
defines
{
"LUA_USE_LINUX"
}
defines
{
"LUA_USE_LINUX"
}
...
@@ -47,7 +45,7 @@ solution "ygo"
...
@@ -47,7 +45,7 @@ solution "ygo"
defines
{
"_ITERATOR_DEBUG_LEVEL=0"
}
defines
{
"_ITERATOR_DEBUG_LEVEL=0"
}
configuration
"Release"
configuration
"Release"
--
flags { "OptimizeSpeed" }
flags
{
"OptimizeSpeed"
}
targetdir
"bin/release"
targetdir
"bin/release"
include
"ocgcore"
include
"ocgcore"
...
...
premake5.lua
View file @
09d16cf4
...
@@ -8,18 +8,6 @@ solution "ygo"
...
@@ -8,18 +8,6 @@ solution "ygo"
configuration
"windows"
configuration
"windows"
defines
{
"WIN32"
,
"_WIN32"
}
defines
{
"WIN32"
,
"_WIN32"
}
configuration
"bsd"
defines
{
"LUA_USE_POSIX"
}
includedirs
{
"/usr/local/include"
}
libdirs
{
"/usr/local/lib"
}
configuration
"macosx"
defines
{
"LUA_USE_MACOSX"
}
includedirs
{
"/usr/local/include/*"
}
libdirs
{
"/usr/local/lib"
,
"/usr/X11/lib"
}
buildoptions
{
"-stdlib=libc++"
}
links
{
"OpenGL.framework"
,
"Cocoa.framework"
,
"IOKit.framework"
}
configuration
"linux"
configuration
"linux"
defines
{
"LUA_USE_LINUX"
}
defines
{
"LUA_USE_LINUX"
}
...
...
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