- Mar 4, 2019
- 354
- 179
1.3.1 is what the content update conversations are about. Due to the translation having to start from scratch on a new version, there was a debate on whether or not to restart that process for the fixes present in 1.3.1. The next translation was always waiting for update 1.3.0 to release because the new content was announced in advance, so it was known.No idea what you guys are on about but it clearly said that there's content added in ver 1.3.0?
If you want i can upload to megaI used the first link you posted, currently downloading from the second link (at a whopping... 30 kb/s... gonna take awhile, in the meantime, I'm going to spend some time watching the newest episode of Orville with Rachel)
Don't bother resetting, finish 1.3.0 at your pace and check what changed in 1.3.1and with that, progress reset...
life eh? ah well, back to work.
Wish all the best to you and take care.Just for the record, I'm translating 1.3.1 that I grabbed last night.
either way, it's going to take a couple of days, I just picked up my new glasses which I'm currently adjusting to (last time I had my eyes tested was back in 2014) so have a bit of eye strain, but best way to adjust to them is just going about as normal, so that shouldn't affect my workflow.
anyway, off translating I go!
... now you compare scripts with strings in eligible files.
I think they need to unpack the .wolf files first with a program like WolfDec. Then compare and look for strings.... now you compare scripts with strings in eligible files.
import sys
print(sys.argv[1:])
old_base_path, old_translate_path, new_base_path, new_translate_path = sys.argv[1:]
def find_diffs(base_path, translate_path):
database = {}
with open(base_path, 'rb') as base_f:
with open(translate_path, 'rb') as translate_f:
base = base_f.read()
translate = translate_f.read()
base_i = 0
translate_i = 0
while True:
# find a difference
while base[base_i] == translate[translate_i]:
base_i += 1
translate_i += 1
if base_i >= len(base):
return database
while base[base_i - 1] != 0 and translate[translate_i - 1] != 0:
base_i -= 1
translate_i -= 1
base_str = b''
translate_str = b''
blah = base[base_i - len(base_str) - 4 : base_i- len(base_str) ]
base_size = int.from_bytes(blah, 'little')
while base[base_i] != 0:
base_str += base[base_i].to_bytes(1, 'little')
base_i += 1
base_str += b'\0'
while translate[translate_i] != 0:
translate_str += translate[translate_i].to_bytes(1, 'little')
translate_i += 1
translate_str += b'\0'
try:
# skip things that are probably sizes or other junk
a = base_str.decode("cp932").strip()
b = translate_str.decode("cp932").strip()
if len(a) <= 4 or len(b) <= 4 or a.isspace() or b.isspace():
continue
#print(base_str.decode("cp932") + " => " + translate_str.decode("cp932"))
database[base_str] = translate_str
except UnicodeDecodeError:
pass
database = find_diffs(old_base_path, old_translate_path)
def search(new_base, database):
with open(new_base, 'rb') as new_base_f:
translate = new_base_f.read()
for old, new in database.items():
found_any = False
i = 0
while True:
i = translate.find(old, i)
if i == -1:
break
if int.from_bytes(translate[i - 4 : i], 'little') != len(old):
i += 1
continue
translate = translate[0:i - 4] + len(new).to_bytes(4, 'little') + new + translate[i + len(old):]
found_any = True
i += len(new)
if not found_any:
print("Couldn't find - '" + str(old[:-1].decode('cp932')) + "' => '" + str(new[:-1].decode('cp932')) + "'")
return translate
translate = search(new_base_path, database)
print('writing')
with open(new_translate_path, 'wb') as new_translate_:
new_translate_.write(translate)
That's the end goal I'm hoping that will get added.I wonder if the author will keep adding decent content and eventually let you do stuff with the other girls?
in 1.3.0 and 1.3.1 theres a (empty) wolf file labeled DLC_data... and Inusuku has a habit of putting content for future features into the data, usually in-game images, like the ones I posted yesterday, which show a Yukari sprite for battles (which isn't a thing... yet)I wonder if the author will keep adding decent content and eventually let you do stuff with the other girls?
Inusuku has a new post in ci-en about details on what bugs 1.3.1 fixes. Also his tentative plans(?) for the dlc contents. I just google translated it.in 1.3.0 and 1.3.1 theres a (empty) wolf file labeled DLC_data... and Inusuku has a habit of putting content for future features into the data, usually in-game images, like the ones I posted yesterday, which show a Yukari sprite for battles (which isn't a thing... yet)
It's a thing. You'll see when you get to the hot spring content, but yes that habit is pretty bad. I think Sister Travel was the first time I saw this habit. A whole heroine was suppose to be in the game but only shows up as a secret boss iirc.in 1.3.0 and 1.3.1 theres a (empty) wolf file labeled DLC_data... and Inusuku has a habit of putting content for future features into the data, usually in-game images, like the ones I posted yesterday, which show a Yukari sprite for battles (which isn't a thing... yet)