Update a bit

This commit is contained in:
DazedAnon 2024-11-29 14:37:43 -06:00
parent 84bcc71bf5
commit e5ef48647b
2 changed files with 65 additions and 119 deletions

View file

@ -43,7 +43,6 @@ BRFLAG = False # If the game uses <br> instead
FIXTEXTWRAP = True # Overwrites textwrap FIXTEXTWRAP = True # Overwrites textwrap
IGNORETLTEXT = False # Ignores all translated text. IGNORETLTEXT = False # Ignores all translated text.
MISMATCH = [] # Lists files that throw a mismatch error (Length of GPT list response is wrong) MISMATCH = [] # Lists files that throw a mismatch error (Length of GPT list response is wrong)
BRACKETNAMES = False
PBAR = None PBAR = None
FILENAME = None FILENAME = None
@ -1095,42 +1094,6 @@ def searchCodes(page, pbar, jobList, filename):
nametag = nametag.replace(speaker, tledSpeaker) nametag = nametag.replace(speaker, tledSpeaker)
speaker = tledSpeaker speaker = tledSpeaker
# Bracket Names
if BRACKETNAMES is True and len(matchList) != 0:
if matchList[0][0] != "":
match0 = matchList[0][0]
match1 = matchList[0][1]
else:
match0 = matchList[0][2]
match1 = matchList[0][3]
# Translate Speaker
speakerID = j
response = getSpeaker(match1)
speaker = response[0]
totalTokens[0] += response[1][0]
totalTokens[1] += response[1][1]
# Set Nametag and Remove from Final String
fullSpeaker = match0.replace(match1, speaker)
finalJAString = finalJAString.replace(match0, "")
# Set next item as dialogue
if (
codeList[j + 1]["code"] == 401
or codeList[j + 1]["code"] == -1
):
# Set name var to top of list
codeList[j]["parameters"] = [fullSpeaker]
codeList[j]["code"] = code
j += 1
codeList[j]["parameters"] = [finalJAString]
codeList[j]["code"] = code
else:
# Set nametag in string
codeList[j]["parameters"] = [fullSpeaker + finalJAString]
codeList[j]["code"] = code
# Remove Extra Stuff bad for translation. # Remove Extra Stuff bad for translation.
finalJAString = finalJAString.replace("", "") finalJAString = finalJAString.replace("", "")
finalJAString = finalJAString.replace("", "-") finalJAString = finalJAString.replace("", "-")
@ -1273,8 +1236,6 @@ def searchCodes(page, pbar, jobList, filename):
endtag = "" endtag = ""
# Set Data # Set Data
if speakerID != None:
codeList[speakerID]["parameters"] = [fullSpeaker]
codeList[j]["parameters"] = [translatedText] codeList[j]["parameters"] = [translatedText]
codeList[j]["code"] = code codeList[j]["code"] = code
speaker = "" speaker = ""
@ -1715,7 +1676,7 @@ def searchCodes(page, pbar, jobList, filename):
and CODE355655 is True and CODE355655 is True
): ):
jaString = codeList[i]["parameters"][0] jaString = codeList[i]["parameters"][0]
regex = r"BattleManager\._logWindow.addText\('(.*)'" regex = r'.*subject=(.*?)"'
# Var Text # Var Text
match = re.search(regex, jaString) match = re.search(regex, jaString)

143
vocab.txt
View file

@ -1,16 +1,58 @@
Here are some vocabulary and terms so that you know the proper spelling and translation. Here are some vocabulary and terms so that you know the proper spelling and translation.
``` ```
# Game Characters # Game Characters
#Actors モネ (Mone) - Female
水無月 士乃 (Minazuki Shino) - Female ツバキ (Tsubaki) - Female
怪盗エース (Phantom Thief Ace) - Female ソニア (Sonia) - Female
暗黒斎 (Dark Kokusai) - Male キール (Keel) - Male
フトシ (Futoshi) - Male キルル (Kiruru) - Female
アキラ (Akira) - Male トリトマ (Toritoma) - Female
雨散(うさん)句斎(くさい)博士 (Dr. Usankusai) - Male クルミ (Kurumi) - Female
ゆたか (Yutaka) - Male レンカ (Lenka) - Female
真理 (Mari) - Female マザー (Mother) - Female
幸せのホッホー会 (Society of Happiness Hoo-Hoo) - Organization シロ (Shiro) - Female
アンヌ (Anne) - Female
ンゴガン (Ngogan) - Male
アイ (Ai) - Female
セラ (Sera) - Female
プリムラ (Primula) - Female
ラニュール (Ranyule) - Female
リリ (Lili) - Female
エイク (Eiku) - Male
アイビー (Ivy) - Female
スーチス (Suchis) - Female
キュラス (Kulas) - Female
ベル (Bel) - Female
スイ (Sui) - Female
ペララ (Perara) - Female
ルピナス (Lupinus) - Female
レア (Rea) - Female
ランド (Rando) - Male
ミト (Mito) - Male
ラータ (Rata) - Female
ヤマーニ (Yamani) - Male
ジュリオ (Julio) - Male
ザルス (Zarus) - Male
タルタル (Tartar) - Male
メロ (Melo) - Female
シャル (Sharu) - Female
ゴブブ (Gobbu) - Male
ユウト (Yuuto) - Male
リンドウ (Rindou) - Male
ポチョ (Puchu) - Male
ロイド (Lloyd) - Male
ワジマ (Wajima) - Male
バルディア (Valdia) - Male
アーモン (Amon) - Male
クロス (Cross) - Male
ラダ (Rada) - Male
マツトネ (Matsutone) - Male
ケルーム (Kerume) - Male
ジン (Gin) - Male
ドルン (Dolphin) - Male
ダン神父 (Father Dan) - Male
ツンベル (Tsunberu) - Male
Penisu (Penisu) - Name of Penis
# Lewd Terms # Lewd Terms
マンコ (pussy) マンコ (pussy)
@ -87,75 +129,18 @@ ME 音量 (ME Volume)
w ((lol)) w ((lol))
巫女 (Shrine Maiden) 巫女 (Shrine Maiden)
コイツ (this bastard) コイツ (this bastard)
シュード (Schnood) メナスフィア (Menacephere)
#Items # Locations
メモリーサーチ (Memory Search) テリス修道院 (Terys Monastery)
何者かの人工血液のデータ (Data on someone's artificial blood) ニルマル村 (Nirmal Village)
何者かの人工肺のデータ (Data on someone's artificial lung) セチア学園 (Sechia Academy)
大規模な植林のデータ (Data on large-scale afforestation) 王都カサブランカ (Royal Capital Casablanca)
パスコード1 (Passcode 1) ロボ子の国 ルストア (Robot Country Rustoa)
パスコード2 (Passcode 2) ムニュニュ村 (Munyu Village)
パスコード3 (Passcode 3) いなほ亭 (Inaho Inn)
メモリーサーチ拡張機能 (Memory Search Expansion Function)
水質研究所跡への地図 (Map to the Water Quality Research Institute Ruins) # Items
くたびれ集落への地図 (Map to the Worn-out Settlement) ドラティルのコア (Dratir's Core)
くたびれ学校への地図 (Map to the Worn-out School)
科学公園への地図 (Map to the Science Park)
境界トンネルへの地図 (Map to the Boundary Tunnel)
商店街裏通りへの地図 (Map to the Back Alley of the Shopping District)
IY社 社長宅への地図 (Map to the IY Company President's House)
サカエ商店街への地図 (Map to the Sakae Shopping District)
発声装置 (Voice Device)
走力増強シューズ (Running Enhancement Shoes)
超磁力グローブ (Super Magnetic Gloves)
瞬間除草剤 (Instant Herbicide)
小型爆炎放射器 (Small Flame Thrower)
破魔のお札 (Exorcism Talisman)
空間転移装置 (Spatial Transfer Device)
暗視レンズ (Night Vision Lens)
光学迷彩ベール (Optical Camouflage Veil)
人体複製 (Human Body Replication)
万能電子鍵 (Universal Electronic Key)
激流の河口への地図 (Map to the Estuary of the Raging River)
大気研究所跡への地図 (Map to the Atmosphere Research Institute Ruins)
サカエファームへの地図 (Map to the Sakae Farm)
水流コントローラー (Water Flow Controller)
毛生え薬 (Hair Growth Medicine)
水着セット (Swimsuit Set)
多目的ワームハンド (Multi-Purpose Worm Hand)
面布 (Face Cloth)
ミルク薬 (Milk Medicine)
精神性別逆転薬 (Mental Gender Reversal Medicine)
反転薬 (Reversal Medicine)
催淫ショック (Aphrodisiac Shock)
性器刺激装置 (Genital Stimulation Device)
村道の神玉 (Village Road Divine Orb)
脳みそツルツル装置 (Brain Smoothing Device)
行動予測システム (Action Prediction System)
願い事なんでも叶える券 (Wish-Granting Ticket)
ソレっぽいオブジェ (Something-Like Object)
会長室へのパスワード (Password to the Chairman's Room)
美味しそうなお肉 (Delicious-Looking Meat)
士乃ミルク (Shino Milk)
研究所へのアクセス端末 (Access Terminal to the Laboratory)
あつあつおでん (Hot Oden)
露出商店街への地図 (Map to the Exhibition Shopping District)
回想部屋 (Recollection Room)
露出公園への地図 (Map to the Exhibition Park)
蒼海の洞窟への地図 (Map to the Azure Sea Cave)
母娘の未来結晶 (Mother-Daughter Future Crystal)
生徒との未来結晶 (Future Crystal with Students)
モルモットの未来結晶 (Guinea Pig Future Crystal)
夏休みの終わり (End of Summer Vacation)
第一部の始まり (Beginning of Part One)
装いを新たに探検開始! (Start Exploring with a New Look!)
第ニ部の始まり (Beginning of Part Two)
第三部の始まり (Beginning of Part Three)
病を治し者 (Healer of Illness)
野望を阻みし者 (Thwarter of Ambition)
神社を照らす光 (Light Illuminating the Shrine)
銭湯へようこそ! (Welcome to the Bathhouse!)
浄化のお札 (Purification Talisman)
``` ```