Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro2
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
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
ygopro2
Commits
3ee6435f
Commit
3ee6435f
authored
May 04, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version
parent
96907a28
Pipeline
#3151
passed with stages
in 32 minutes and 22 seconds
Changes
4
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
Assets/SibylSystem/Program.cs
Assets/SibylSystem/Program.cs
+5
-5
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
+1
-1
Assets/StreamingAssets/ygopro2-data.zip
Assets/StreamingAssets/ygopro2-data.zip
+0
-0
ProjectSettings/ProjectSettings.asset
ProjectSettings/ProjectSettings.asset
+1
-1
No files found.
Assets/SibylSystem/Program.cs
View file @
3ee6435f
...
...
@@ -338,7 +338,7 @@ public class Program : MonoBehaviour
#elif UNITY_IPHONE //iPhone
string
GamePaths
=
Application
.
persistentDataPath
+
"/ygopro2/"
;
if
(!
File
.
Exists
(
GamePaths
+
"updates/version-1.035.2-
UNFly
.txt"
))
if
(!
File
.
Exists
(
GamePaths
+
"updates/version-1.035.2-
Nekoyuki
.txt"
))
{
string
filePath
=
Application
.
streamingAssetsPath
+
"/ygopro2-data.zip"
;
ExtractZipFile
(
System
.
IO
.
File
.
ReadAllBytes
(
filePath
),
GamePaths
);
...
...
@@ -533,7 +533,7 @@ public class Program : MonoBehaviour
File.Delete("cdb/strings.conf");*/
HttpDldFile
httpDldFile
=
new
HttpDldFile
();
httpDldFile
.
Download
(
"http://koishipro2dl.m
y-card.in
/cards.cdb"
,
"cdb/_cards.cdb"
);
httpDldFile
.
Download
(
"http://koishipro2dl.m
oestart.com
/cards.cdb"
,
"cdb/_cards.cdb"
);
if
(
YGOSharp
.
CardsManager
.
initialize
(
"cdb/_cards.cdb"
,
true
))
{
ReplaceFile
(
"cdb/cards.cdb"
,
"cdb/_cards.cdb"
);
}
...
...
@@ -541,7 +541,7 @@ public class Program : MonoBehaviour
{
PrintToChat
(
InterString
.
Get
(
"卡片数据库更新失败。"
));
}
httpDldFile
.
Download
(
"http://koishipro2dl.m
y-card.in
/lflist.conf"
,
"cdb/_lflist.conf"
);
httpDldFile
.
Download
(
"http://koishipro2dl.m
oestart.com
/lflist.conf"
,
"cdb/_lflist.conf"
);
if
(
YGOSharp
.
BanlistManager
.
initialize
(
"cdb/_lflist.conf"
,
true
))
{
ReplaceFile
(
"cdb/lflist.conf"
,
"cdb/_lflist.conf"
);
}
...
...
@@ -549,7 +549,7 @@ public class Program : MonoBehaviour
{
PrintToChat
(
InterString
.
Get
(
"禁止/限制卡表文件更新失败。"
));
}
httpDldFile
.
Download
(
"http://koishipro2dl.m
y-card.in
/strings.conf"
,
"cdb/_strings.conf"
);
httpDldFile
.
Download
(
"http://koishipro2dl.m
oestart.com
/strings.conf"
,
"cdb/_strings.conf"
);
if
(
GameStringManager
.
initialize
(
"cdb/_strings.conf"
,
true
))
{
ReplaceFile
(
"cdb/strings.conf"
,
"cdb/_strings.conf"
);
}
...
...
@@ -1116,7 +1116,7 @@ public class Program : MonoBehaviour
string
FPS
=
m_FPS
.
ToString
();
try
{
FPS
=
FPS
.
Substring
(
0
,
5
);
}
catch
{}
GUI
.
Label
(
new
Rect
(
10
,
5
,
200
,
200
),
"[Ver 1.035.2-
UNFly
] "
+
"FPS: "
+
FPS
);
GUI
.
Label
(
new
Rect
(
10
,
5
,
200
,
200
),
"[Ver 1.035.2-
Nekoyuki
] "
+
"FPS: "
+
FPS
);
}
void
Update
()
...
...
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
View file @
3ee6435f
...
...
@@ -818,7 +818,7 @@ public class GameTextureManager
if
(!
File
.
Exists
(
path
)
&&
pic
.
code
!=
0
&&
AutoPicDownload
)
{
//YGOMobile (177x254)
df
.
Download
(
"http://
n.my-card.in
/images/ygopro-images-zh-CN/"
+
pic
.
code
.
ToString
()
+
".jpg"
,
"picture/card/"
+
pic
.
code
.
ToString
()
+
".jpg"
);
df
.
Download
(
"http://
cdn01.moestart.com
/images/ygopro-images-zh-CN/"
+
pic
.
code
.
ToString
()
+
".jpg"
,
"picture/card/"
+
pic
.
code
.
ToString
()
+
".jpg"
);
path
=
"picture/card/"
+
pic
.
code
.
ToString
()
+
".jpg"
;
}
/*if (!File.Exists(path) && pic.code != 0 && AutoPicDownload)
...
...
Assets/StreamingAssets/ygopro2-data.zip
View file @
3ee6435f
No preview for this file type
ProjectSettings/ProjectSettings.asset
View file @
3ee6435f
...
...
@@ -123,7 +123,7 @@ PlayerSettings:
16:10:
1
16:9:
1
Others
:
1
bundleVersion
:
1.035.2-
UNFly
bundleVersion
:
1.035.2-
Nekoyuki
preloadedAssets
:
[]
metroInputSource
:
0
m_HolographicPauseOnTrackingLoss
:
1
...
...
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