Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-images-generator
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
MyCard
ygopro-images-generator
Commits
1ef336c5
Commit
1ef336c5
authored
Sep 19, 2016
by
神楽坂玲奈
Committed by
GitHub
Sep 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update MSETranslator.rb
parent
e258c750
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
MSETranslator.rb
MSETranslator.rb
+7
-2
No files found.
MSETranslator.rb
View file @
1ef336c5
...
@@ -102,7 +102,8 @@ module MSETranslator
...
@@ -102,7 +102,8 @@ module MSETranslator
zipfile
.
add
id
.
to_s
+
Global
.
image_type
,
image_name
zipfile
.
add
id
.
to_s
+
Global
.
image_type
,
image_name
clear_data
.
push
card
clear_data
.
push
card
else
else
Log
.
logger
.
warn
"
#{
YGOCoreJudgers
.
get_log_str
(
card
)
}
has no proper image for. Skipped."
Log
.
logger
.
error
"
#{
YGOCoreJudgers
.
get_log_str
(
card
)
}
has no proper image for."
$missing_image
=
true
end
end
end
end
zipfile
.
get_output_stream
(
MSEConstants
::
SetFileName
)
{
|
os
|
write_set
(
os
,
clear_data
)
}
zipfile
.
get_output_stream
(
MSEConstants
::
SetFileName
)
{
|
os
|
write_set
(
os
,
clear_data
)
}
...
@@ -113,9 +114,13 @@ module MSETranslator
...
@@ -113,9 +114,13 @@ module MSETranslator
end
end
def
generate_mse_all
(
datas
)
def
generate_mse_all
(
datas
)
$missing_image
=
false
for
i
in
0
...
datas
.
size
for
i
in
0
...
datas
.
size
generate_mse
(
datas
[
i
],
i
)
generate_mse
(
datas
[
i
],
i
)
end
end
if
$missing_image
raise
'missing image'
end
end
end
def
export_mse
(
full_file_name
)
def
export_mse
(
full_file_name
)
...
...
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