commit c54f8fa5da7dc87e779692105c9e4fe0536a2507
parent 2796336b97a8435c9d89da965ef0c36e672bf857
Author: Erik Letson <hmagellan@hmagellan.com>
Date: Sun, 3 Jan 2021 12:39:26 -0600
wx project and add utils
Diffstat:
5 files changed, 245 insertions(+), 0 deletions(-)
diff --git a/main.py b/main.py
@@ -0,0 +1,7 @@
+import wx
+
+app = wx.App()
+
+wx.Frame(None, title = "Hello world").Show()
+
+app.MainLoop()
diff --git a/util/dumpesp.sh b/util/dumpesp.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+INSTALLPATH=$HOME/.steam/steamapps/common/Oblivion/Data
+OUTFILE=espfile.txt
+
+ls -tr $INSTALLPATH | grep '.*es[p|m]$' > $OUTFILE
diff --git a/util/espfile.txt b/util/espfile.txt
@@ -0,0 +1,203 @@
+Oblivion.esm
+Unofficial Oblivion Patch.esp
+UOP Vampire Aging & Face Fix.esp
+DLCShiveringIsles.esp
+Unofficial Shivering Isles Patch.esp
+Knights.esp
+Knights - Unofficial Patch.esp
+DLCBattlehornCastle.esp
+DLCFrostcrag.esp
+DLCHorseArmor.esp
+DLCOrrery.esp
+DLCSpellTomes.esp
+DLCVileLair.esp
+DLCMehrunesRazor.esp
+DLCThievesDen.esp
+DLCVileLair - Unofficial Patch.esp
+DLCThievesDen - Unofficial Patch.esp
+DLCThievesDen - Unofficial Patch - SSSB.esp
+DLCSpellTomes - Unofficial Patch.esp
+DLCOrrery - Unofficial Patch.esp
+DLCMehrunesRazor - Unofficial Patch.esp
+DLCHorseArmor - Unofficial Patch.esp
+DLCFrostcrag - Unofficial Patch.esp
+DLCBattlehornCastle - Unofficial Patch.esp
+Oblivion Citadel Door Fix.esp
+Enhanced Seasons.esp
+HUD Status Bars.esp
+MiniMap.esp
+Dynamic Map.esp
+Lost Paladins of the Divines.esp
+Artifacts.esm
+Artifacts.esp
+Kvatch Rebuilt.esp
+Kvatch Rebuilt - No More Burned Ground.esp
+ReclaimSancreTor.esp
+Legion-occupied Forts.esp
+Knights - Revelation.esm
+Knights - Revelation.esp
+Goldcoast.esp
+HESU Shipton.esp
+HESU WolfsBorough.esp
+HESU ValenwoodMine.esp
+HESU SkyrimTemple.esp
+HESU SmokeTown.esp
+HESU AppleHotSprings.esp
+HESU HellLands.esp
+HESU PoisonSwamp.esp
+HESU GnollMountain.esp
+HESU GreatForestGorge.esp
+HESU KoyoTown.esp
+HESU WhiteRoseRiver.esp
+HESU FairmereVillage.esp
+Fighters Guild Quests.esp
+Suliin V1.2.esp
+Castle_Highrock.esp
+The Black Cat Jewelry Store - Daedric Statues.esp
+Milewood.esp
+Daedric Shrine Ruins.esp
+Gottshaw Village.esp
+Feldscar.esp
+RTT.esp
+1em_Vilja.esp
+TopalIsland.esp
+LegionOutposts.esp
+AliveWaters.esp
+AliveWaters - Slaughterfish Addon.esp
+AliveWaters - Koi Addon.esp
+Unique Landscapes.esp
+xulAncientYews.esp
+xulArriusCreek.esp
+xulPatch_AY_AC.esp
+xuldarkforest.esp
+xulStendarrValley.esp
+xulTheHeath.esp
+xulFallenleafEverglade.esp
+xulColovianHighlands_EV.esp
+xulBravilBarrowfields.esp
+xulRollingHills_EV.esp
+xulPantherRiver.esp
+xulBrenaRiverRavine.esp
+xulBlackwoodForest.esp
+xulCheydinhalFalls.esp
+xulSnowdale.esp
+xulCliffsOfAnvil.esp
+xulLushWoodlands.esp
+xulAncientRedwoods.esp
+xulImperialIsle.esp
+xulRiverEthe.esp
+xulEntiusGorge.esp
+xulAspenWood.esp
+xulJerallGlacier.esp
+xulCloudtopMountains.esp
+xulSkingradOutskirts.esp
+xulSilverfishRiverValley.esp
+xulTheEasternPeaks.esp
+xulBeachesOfCyrodiilLostCoast.esp
+ImpeREAL Empire Unique Cities - Sutch.esp
+Sutch Village.esp
+Reznod_Mannequin.esp
+tkRapiers.esp
+CM Partners.esm
+CM Partners.esp
+CM Partners NPC.esp
+CM Partners More NPCs.esp
+CM Partners Special NPCs.esp
+CM Partners Marker NPCs.esp
+CM Partners Extra NPCs.esp
+DecoratorAssistant with OBSE v1.1.esp
+Idle Dialogue.esp
+CapesandCloaks.esp
+KnightlyArmory.esp
+dangerous wilderness.esp
+SettlementsOfCyrodiil.esm
+Better Cities Resources.esm
+SOC-RegionalFarms.esp
+SOC-Wildlife Variety.esp
+WhiteRoseFarm.esp
+SilverfishFalls.esp
+ClearwaterFarms.esp
+Oranstad.esp
+WickmereFarm.esp
+Reedstand.esp
+Better Cities .esp
+Better Cities Full.esp
+Better Imperial City.esp
+Better Cities - IC Imperial Isle.esp
+xulChorrolHinterland-BC6.esp
+Francesco's Creatures and Items Resources.esp
+Francesco's Leveled Creatures-Items Mod.esm
+Francesco's Optional New Items Add-On.esm
+Francesco's Optional New Creatures Add-On.esm
+Francesco's Optional House Chest Loot.esp
+Francesco's Optional Vendor Tweaks.esp
+Francesco's Optional Chance of Stronger Bosses.esp
+Francesco's Optional Dungeon Chest Loot.esp
+Francesco's Optional Leveled Quests.esp
+Harvest [Flora].esp
+Harvest [Flora] - Shivering Isles.esp
+Harvest [Flora] - DLCVileLair.esp
+Harvest [Flora] - DLCFrostcrag.esp
+Weapon Expansion Pack for Oblivion Nthusiasts.esp
+Daedric Lord Armor.esp
+Better Cities - MOBS.esp
+Suliin-Barrowfields-BC6 Patch.esp
+Snowdale - Fighters Guild Quests Patch.esp
+Better Cities Chorrol - Knights of the Nine.esp
+Better Cities - Knightly Armory.esp
+Better Cities IC Arena - Reclaiming Sancre Tor.esp
+Better Cities Skingrad - Reclaiming Sancre Tor.esp
+Better Cities Chorrol - Reclaiming Sancre Tor.esp
+Better Cities - Ruined Tail's Tale.esp
+RTT_Unofficial_Patch.esp
+RTT - Cleaned Up Inn.esp
+RST-WolfsBorough Patch.esp
+Oranstad-WolfsBorough Patch.esp
+Clearwater-KoyoTown Patch.esp
+WRF-WRR Patch.esp
+GnollMountain-BC6 Patch.esp
+LegionOutposts-BC6 Patch.esp
+DLCFrostcrag-GnollMountain Patch.esp
+KOTNR-WRR Patch.esp
+Highrock-FGQ-BC6 Patch.esp
+RegionalFarms-BC6 Patch.esp
+RST-Shipton Patch.esp
+KvatchRebuilt-HellLands Patch.esp
+ValenwoodMine-DaedricShrineRuins.esp
+KOTNR-Fairmere Patch.esp
+Artifacts-WRR Patch.esp
+KOTNR-WhiteRosePatch.esp
+ULS BetterCitiesBravil-BravilBarrowfields patch.esp
+ULE BetterCitiesBravil-PantherRiver patch.esp
+ULS BetterCitiesSkingrad-SkingradOutskirts patch.esp
+ULS BetterCitiesBruma-Snowdale patch.esp
+ULS LegionOutposts-BetterCitiesFull-BlackwoodForest patch.esp
+ULS DaedricShrineRuins-EasternPeaks patch.esp
+ULS Oranstad-AncientRedwoods patch.esp
+ULS BlackCatJewelry-SkingradOutskirts patch.esp
+ULE Clearwater-LushWoodlands patch.esp
+ULS ReclaimingSancreTor-CliffsOfAnvil patch.esp
+ULS ReclaimingSancreTor-CloudtopMountains patch.esp
+ULS ReclaimingSancreTor-CheydinhalFalls patch.esp
+ULE KvatchRebuilt-CheydinhalFalls patch.esp
+ULS BetterCitiesCheydinhal-CheydinhalFalls patch.esp
+ULS SilverfishFalls-SilverfishRiverValley patch.esp
+ULE FightersGuildQuests-Snowdale patch.esp
+ULS DaedricShrineRuins-BrenaRiverRavine patch.esp
+ULE Oranstad-SkingradOutskirts patch.esp
+ULS SmokeTown-ArriusCreek patch.esp
+ULS GreatForestGorge-LushWoodlands patch.esp
+ULS KoyoTown-LushWoodlands patch.esp
+ULS SkyrimTemple-SmokeTown-JerallGlacier patch.esp
+ULS PoisonSwamp-BlackwoodForest patch.esp
+ULE SkyrimTemple-Snowdale patch.esp
+ULS GnollMountain-Snowdale patch.esp
+ULE HellLands-CloudtopMountains patch.esp
+ULS SutchVillage-LostCoast patch.esp
+ULS OSPS-BC_IC-II_UL-II_Patch.esp
+ULS Feldscar-Snowdale patch.esp
+ULS WolfsBorough-AncientRedwoods patch.esp
+SutchUnificationPatch.esp
+BlackCatJewelry-BC6 Patch.esp
+LegionOccupiedForts-GreatForestGorge Patch.esp
+TopalIsland-LegionOutposts-BC6 Patch.esp
diff --git a/util/orderesp.py b/util/orderesp.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+
+import os, sys, time
+
+HOME = os.path.expanduser("~")
+TOUCHPATH = os.path.join(HOME, ".steam", "steamapps", "common", "Oblivion", "Data")
+
+def touch_by_file(filename):
+ with open(filename, "r") as touchlist:
+ for line in touchlist.readlines():
+ line = line.replace(" ", "\\ ")
+ line = line.replace("&", "\\&")
+ line = line.replace("\'", "\\\'")
+ line = line.replace("[", "\\[")
+ line = line.replace("]", "\\]")
+ os.system("touch -c " + TOUCHPATH + "/" + line)
+ time.sleep(0.1)
+
+if __name__ == "__main__":
+ touch_by_file(sys.argv[1])
diff --git a/util/togglelauncher.sh b/util/togglelauncher.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+INSTALLPATH=$HOME/.steam/steamapps/common/Oblivion
+LAUNCHEREXE=OblivionLauncher.exe
+OFFEXENAME=TOGGLEDOFF.exe
+
+mv -i $INSTALLPATH/$LAUNCHEREXE tmp.exe
+mv -i $INSTALLPATH/$OFFEXENAME $INSTALLPATH/$LAUNCHEREXE
+mv -i tmp.exe $INSTALLPATH/$OFFEXENAME