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
29cdb05f
Commit
29cdb05f
authored
Jan 21, 2019
by
Unicorn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
81cca36a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
.gitignore
.gitignore
+2
-0
Assets/SibylSystem/Ocgcore/OCGobjects/gameField.cs
Assets/SibylSystem/Ocgcore/OCGobjects/gameField.cs
+1
-1
Assets/SibylSystem/Program.cs
Assets/SibylSystem/Program.cs
+4
-4
ProjectSettings/ProjectSettings.asset
ProjectSettings/ProjectSettings.asset
+1
-1
No files found.
.gitignore
View file @
29cdb05f
...
...
@@ -49,7 +49,9 @@ pack/
picture/
replay/
sound/
texture/
textures/
updates/
cards.cdb
lflist.conf
strings.conf
...
...
Assets/SibylSystem/Ocgcore/OCGobjects/gameField.cs
View file @
29cdb05f
...
...
@@ -130,7 +130,7 @@ public class GameField : OCGobject
public
void
loadOldField
()
{
if
(
File
.
Exists
(
"texture/duel/field"
))
if
(
File
.
Exists
(
"texture/duel/field
.png
"
))
{
Texture2D
textureField
=
UIHelper
.
getTexture2D
(
"texture/duel/field.png"
);
Texture2D
[]
textureFieldSliced
=
UIHelper
.
sliceField
(
textureField
);
...
...
Assets/SibylSystem/Program.cs
View file @
29cdb05f
...
...
@@ -282,14 +282,14 @@ public class Program : MonoBehaviour
#elif UNITY_ANDROID //Android
Screen
.
sleepTimeout
=
SleepTimeout
.
NeverSleep
;
//YGOMobile Paths (https://github.com/Unicorn369/YGOPro2_Droid)
//string GamePaths = "/storage/emulated/0/ygocore";
//string GamePaths = "/storage/emulated/0/ygocore
/
";
//YGOPro2 Paths (https://github.com/Unicorn369/YGOPro2_Droid/tree/Test)
string
GamePaths
=
"/storage/emulated/0/ygopro2/"
;
if
(!
File
.
Exists
(
GamePaths
+
"updates/version1.0.txt"
))
{
string
filePath
=
Application
.
streamingAssetsPath
+
"ygocore.zip"
;
string
filePath
=
Application
.
streamingAssetsPath
+
"
/
ygocore.zip"
;
var
www
=
new
WWW
(
filePath
);
while
(!
www
.
isDone
)
{
}
byte
[]
bytes
=
www
.
bytes
;
...
...
@@ -353,10 +353,10 @@ public class Program : MonoBehaviour
}
if
(
Directory
.
Exists
(
"expansions"
))
//if (Directory.Exists("expansions" + AppLanguage.LanguageDir()))
//if (Directory.Exists("expansions" + AppLanguage.LanguageDir()))
//System Language
{
fileInfos
=
(
new
DirectoryInfo
(
"expansions"
)).
GetFiles
().
OrderByDescending
(
x
=>
x
.
Name
).
ToArray
();
//fileInfos = (new DirectoryInfo("expansions" + AppLanguage.LanguageDir())).GetFiles().OrderByDescending(x => x.Name).ToArray();
//fileInfos = (new DirectoryInfo("expansions" + AppLanguage.LanguageDir())).GetFiles().OrderByDescending(x => x.Name).ToArray();
//System Language
for
(
int
i
=
0
;
i
<
fileInfos
.
Length
;
i
++)
{
if
(
fileInfos
[
i
].
Name
.
Length
>
4
)
...
...
ProjectSettings/ProjectSettings.asset
View file @
29cdb05f
...
...
@@ -123,7 +123,7 @@ PlayerSettings:
16:10:
1
16:9:
1
Others
:
1
bundleVersion
:
1.034.
7
bundleVersion
:
1.034.
8
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