Lv1VillagerA
Lurker
- Joined
- Apr 3, 2018
- Messages
- 1,370
- Reputation score
- 3,082
Thank you Rinbokusan
Error message:
Game version: 4.14 instead of 4.18
Cause: bug in write_translation_log , happens when/if you use a portion of its code (will happen if you don't use version 4.18)
Fix:
Fixed in patcher ver 0.2.2.
write_translation_log isn't needed to patch the game so Rinbokusan's fix above should also work.
Error message:

Game version: 4.14 instead of 4.18
Cause: bug in write_translation_log , happens when/if you use a portion of its code (will happen if you don't use version 4.18)
Fix:
line 1272/1279
Erroneous code
Fix
Other bug uncovered at line 1584.
Fix:
Erroneous code
Ruby:
new_text = ""
var["similar_c"].each do |index_array1, index_array2|
new_text << "#{@rmgmt_c}(new)#{context_from_a(index_array1)}\n" +
"#{context_from_a(index_array2)}(reference)\n" +
"#{tl_data[1][index_array2]}\n" #<------------------------------
end
text << "\n#Suggested translation:\n\n#{new_text}" if new_text != ""
Fix
Ruby:
new_text = ""
var["similar_c"].each do |index_array1, index_array2|
new_text << "#{@rmgmt_c}(new)#{context_from_a(index_array1)}\n" +
"#{context_from_a(index_array2)}(reference)\n" +
"#{decode_text(tl_data[1][index_array2])}\n" #<------------------------------ added decode_text
end
text << "\n#Suggested translation:\n\n#{new_text}" if new_text != ""
Other bug uncovered at line 1584.
Fix:
Ruby:
def self.find_unused_tl(c, c_ref, c_ref_to_c, tl_data, var)
tl = {}; new_tl = {} # 2 hash containing available translations
c.each {|i_a| tl[tl_data[1][i_a]] = true} #fill 1 with all
c_ref.each {|i_a| new_tl[tl_data[1][c_ref_to_c[i_a]]] = true} #2, only ref
c.each {|i_a| var["lost_tl_c"] << [i_a] if !new_tl.include?(tl_data[1][i_a])} #<------------------------------ << [i_a]
end
Fixed in patcher ver 0.2.2.
You must be registered to see the links
write_translation_log isn't needed to patch the game so Rinbokusan's fix above should also work.
Attachments
Last edited: