Disable fonts handling for rei
This commit is contained in:
@@ -30,11 +30,11 @@ fn main() {
|
||||
process::exit(1);
|
||||
}
|
||||
|
||||
let arc_number = chapters.get(&chapter[..]).unwrap();
|
||||
let arc_type = if arc_number <= &4 { "question_arcs" } else { "answer_arcs" };
|
||||
let arc_number = chapters.get(&chapter[..]).unwrap().clone();
|
||||
let arc_type = if arc_number <= 4 { "question_arcs" } else { "answer_arcs" };
|
||||
let assets = format!("assets/vanilla/{}/{}-{}/sharedassets0.assets", &chapter, &system, &unity);
|
||||
let directory_assets = "output/assets";
|
||||
let directory_data = format!("output/HigurashiEp{:02}_Data", &arc_number);
|
||||
let directory_data = format!("output/HigurashiEp{:02}_Data", arc_number);
|
||||
let emip = format!("{}/{}_{}_{}.emip", &directory_data, &chapter, &unity, &system);
|
||||
let archive = format!("{}-UI_{}_{}.7z", &chapter.to_title_case(), &unity, &system);
|
||||
|
||||
@@ -105,6 +105,7 @@ fn main() {
|
||||
println!();
|
||||
|
||||
// 3. fonts
|
||||
if arc_number.clone() < 9 {
|
||||
let mut font_path = format!("assets/vanilla/{}/{}-{}-fonts/msgothic_0.dat", &chapter, &system, &unity);
|
||||
if ! Path::new(&font_path).exists() {
|
||||
font_path = format!("assets/vanilla/{}/msgothic_0.dat", &chapter);
|
||||
@@ -114,6 +115,7 @@ fn main() {
|
||||
1..=7 => "5",
|
||||
8 => "2017",
|
||||
9 => "2019",
|
||||
_ => panic!("Couldn't identify version for arc {}", arc_number),
|
||||
};
|
||||
|
||||
let status = Command::new("python")
|
||||
@@ -148,6 +150,7 @@ fn main() {
|
||||
assert!(status.success());
|
||||
|
||||
println!();
|
||||
}
|
||||
|
||||
// 4. copy assets
|
||||
copy_files(format!("assets/vanilla/{}/{}-{}", &chapter, &system, &unity).as_ref(), &directory_data);
|
||||
|
||||
Reference in New Issue
Block a user