Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Assets/Scripts/OpenSpace/Exporter/MapExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,20 @@ private void ExportScene(string path)

private void ExportTextures(string texturePath)
{
int textureIndex = 0;
foreach (TextureInfo texture in loader.textures) {

if (texture == null) {
continue;
}
string path = Path.Combine(texturePath, texture.name + ".png");

if (texture.name == null)
{
path = Path.Combine(texturePath, textureIndex + ".png");
textureIndex++;
}

if (!Directory.Exists(Path.GetDirectoryName(path))) {
Directory.CreateDirectory(Path.GetDirectoryName(path));
}
Expand Down
15 changes: 15 additions & 0 deletions Assets/Scripts/OpenSpace/General/LevelTranslation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,12 @@ public string Translate(string level) {
("LEARN_10", "The Woods of Light"),
("MAPMONDE", "The Hall of Doors"),
("MAPMONDE2", "The Isle of Doors"),
("MC_10", "The Minisaurus Plains 1"),
("MC_15", "The Minisaurus Plains 2"),
("LEARN_30", "The Fairy Glade 1"),
("LEARN_31", "The Fairy Glade 2"),
("BAST_20", "The Fairy Glade 3"),
("BAST_20_REVISITE1", "The Fairy Glade 3 (Revisited)"),
("BAST_22", "The Fairy Glade 4"),
("LEARN_60", "The Fairy Glade 5"),
("SKI_10", "The Marshes of Awakening 1"),
Expand All @@ -96,6 +99,8 @@ public string Translate(string level) {
("WATER_10", "The Sanctuary of Water and Ice 1"),
("WATER_20", "The Sanctuary of Water and Ice 2"),
("POLOC_10", "Polokus - First Mask"),
("MC_20", "Globox's House"),
("MC_25", "Down the Well"),
("RODEO_10", "The Menhir Hills 1"),
("RODEO_40", "The Menhir Hills 2"),
("RODEO_60", "The Menhir Hills 3"),
Expand All @@ -110,7 +115,11 @@ public string Translate(string level) {
("PLUM_00", "The Sanctuary of Stone and Fire 1"),
("PLUM_20", "The Sanctuary of Stone and Fire 2"),
("PLUM_10", "The Sanctuary of Stone and Fire 3"),
("PLUM_05", "The Sanctuary of Stone and Fire 3 (Alternative)"),
("PLUM_15", "The Sanctuary of Stone and Fire 3 (Alternative)"),
("POLOC_20", "Polokus - Second Mask"),
("MC_30", "Rainbow Creek"),
("MC_31", "The Pirate Factory"),
("BAST_09", "The Echoing Caves (Intro)"),
("BAST_10", "The Echoing Caves 1"),
("CASK_10", "The Echoing Caves 2"),
Expand All @@ -135,6 +144,7 @@ public string Translate(string level) {
("BALL", "The Iron Mountains (Balloon Flight)"),
("ILE_10", "The Iron Mountains 2 (The Gloomy Island)"),
("MINE_10", "The Iron Mountains 3 (The Pirate Mines)"),
("AIR_00", "Grolem 13"),
("POLOC_40", "Polokus - Fourth Mask"),
("BATAM_20", "Meanwhile, on the Prison Ship (The Grolgoth)"),
("BOAT01", "The Prison Ship 1"),
Expand All @@ -145,6 +155,7 @@ public string Translate(string level) {
("RHOP_10", "The Crow's Nest"),
("END_10", "Ending"),
("STAFF_10", "Staff Roll"),
("FIESTA", "Staff Roll"),
("BONUX", "Bonus Level"),
("GLOBVILL", "Globox Village"),
("B_PYRAM", "Minigame - Pyralums"),
Expand All @@ -153,6 +164,10 @@ public string Translate(string level) {
("B_DISC", "Minigame - Globox Disc"),
("B_LIFT", "Minigame - Lift"),
("B_INVADE", "Minigame - Invade"),
("B_SKI", "Minigame - Waterski Challenge"),
("RTYPE", "Minigame - Ray-Type Challenge"),
("STADE_00", "Minigame - Baby Football"),
("DOGFIGHT", "Minigame - Dogfight"),
("RAYCAP", "Score Recap"),
});

Expand Down
1 change: 1 addition & 0 deletions Assets/Scripts/OpenSpace/General/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,7 @@ public string DisplayName {
aiTypes = AITypes.Revolution,
//textureAnimationSpeedModifier = 2f,
hasExtraInputData = false,
levelTranslation = LevelTranslation.levelTranslation_r2,
hasObjectTypes = false,
caps = new Dictionary<CapsType, Caps>() {
{ CapsType.All, Caps.None }
Expand Down