Language File System

Using Language File System 1.3 and had a few questions and a bug report.

Bug:  @name is not being updated by lfs for Level Up, noticed this also happens in the Demo;  A small addition fixes the problem but I'm not sure if this causes problems anywhere else

#==============================================================================# ■ Game_Actor#==============================================================================class Game_Actor < Game_Battler #-------------------------------------------------------------------------- # * Show Level Up Message # new_skills : Array of newly learned skills #-------------------------------------------------------------------------- def display_level_up(new_skills) $game_message.new_page #Added To Correct @name issue @name = actor.name if @name == nil $game_message.add(sprintf(Vocab::LevelUp, @name, Vocab::level, @level)) new_skills.each do |skill| $game_message.add(sprintf(Vocab:😮btainSkill, skill.name)) end endendBug:  If Constant elements have arrays it will extract and save the array just fine however it will not restore it as such and instead restores it as one large string.  As a quick patch on load I have it set if it crosses these elements to load the line using eval which seems to solve the problem

Question 1:  Troops Battle Event Page Does Not Get Scanned, is there a way to make it scan those events for dialogue?

Question 2:  Using a custom script in a few events per map to add more choices however it doesn't get caught in extraction.  Any way to capture custom event calls when scanning all events on all maps?  That would save immensely instead of me hunting down each one individually

Question 3:  Is there a way to have the rvtext files generated sorted by key entries?  They mostly stay the same but a few entries change location on each extraction

Thanks for your time
Hello everybody,

sorry for not showing any sign of life for so long. I was extremely busy with my studies.

Thank you for your constant interest and also

I will go over the issues soon and report back, possibly asking for some details...

Also got update of the demo and a better tutorial on my ToDo somewhere....

Also thanks to Marcio for taking care of many support issues 🙂
Good your alive 🙂   Hopefully your studies are going well
 
I figured how to get LFS to scan Troops Battle Event Page however its probably sloppy...  extract_page kept throwing an error on list and well I made it work

Spoiler
module LanguageFileSystem TROOP_EVENT_PREFIX = "Troop Events/" #-------------------------------------------------------------------------- # * Extracting the text content of all maps and map events #-------------------------------------------------------------------------- def extract_events... # Extract and convert all common events common_events = load_data("Data/CommonEvents.rvdata2") common_events.each { |ce| extract_page(COMMON_EVENT_PREFIX, ce.id, ce.name, ce, 0, dl_file, db_file) if ce } save_data(common_events, EXTRACTED_DIR_NAME + "/Data/CommonEvents.rvdata2") # Extract and convert all troop events troop_events = load_data("Data/Troops.rvdata2")        troop_events.each { |te|          next unless te.respond_to?('pages')          te.pages.each_with_index { |page, page_id|          extract_page(TROOP_EVENT_PREFIX,                       te.id, te.name, page, page_id, dl_file, db_file) if te          }        } save_data(troop_events, EXTRACTED_DIR_NAME + "/Data/Troops.rvdata2") ensure dl_file.close db_file.close end end
This code can sort the data, update it with another file, or extract only key entries...  scope creep is a pain
It was meant only as an update function however as it rebuilds the file sorting was added and I found only having the key entries helped to figure out what data Google Translate ate...  As I questioned some of the sorting techniques this creates a new file where a real person can compare with the original using WinMerge or equivalent.
Usage:Script Call

LanguageFileSystem.update_rvtext_file(RVTEXT File To Update, Update File (Nil To Exclude), Sorted (False To Skip), OnlyKeys (False To Include All Data),  TrueUpdate (True To Update Original RVTEXT File), SuppressMSG (False To Show Message))


LanguageFileSystem.update_rvtext_file("DatabaseTextEnglish.rvtext", "TranslationUpdatesEnglish.txt", true, false, false, false)

Generates "DatabaseTextEnglish.rvtext_updated" with matching entries from "TranslationUpdatesEnglish.txt" updated and sorted alphanumerically containing all data along with a backup of the original

LanguageFileSystem.update_rvtext_file("DatabaseTextEnglish.rvtext", "TranslationUpdatesEnglish.txt", true, false, true, false)

Generates "DatabaseTextEnglish.rvtext" with matching entries from "TranslationUpdatesEnglish.txt" updated and sorted alphanumerically containing all data along with a backup of the original

LanguageFileSystem.update_rvtext_file("DatabaseTextEnglish.rvtext", nil, true, true, false, true)

Generates "DatabaseTextEnglish.rvtext_onlykeys"  sorted alphanumerically containing only key entries along with a backup of the original while not displaying the end message

Update File Must Contain Keys From Main RVTEXT File.  It wasn't designed to append data though thinking on it that might be a nice feature... 

Spoiler
Code:
module LanguageFileSystem...  #--------------------------------------------------------------------------  # * Update a rvtext file with an update file, sort it, or only extract keys  #--------------------------------------------------------------------------  def self.update_rvtext_file(filename2, filename1 = nil, sorted = true, onlykeys = false, trueupdate = true, suppressmsg = false)      a1 = [] # Used In Update From filename1      a2 = [] # Used For RVTEXT filename2      a3 = [] # Used For RVTEXT Update Of filename2            versioncheck_database_file(filename2) if filename2.start_with?("Database")      if filename1 != nil # Update Provided        File.open(filename1) { |f| # Read Update File          line_name = nil          line = ""          f.each_line { |l|            if m = STRING_ID.match(l)              if !l.start_with?("<<face:") && !l.start_with?("<<position:") && !l.start_with?("<<background:") && !l.start_with?("<<scroll_speed:") && !l.start_with?("<<no_fast")                a1 << [line_name, line.rstrip] if line_name                line_name = m[1]                line = ""              else                line += l              end            else              line += l            end          }          a1 << [line_name, line.rstrip] if line_name        }      end      File.open(filename2) { |f| # Read RVTEXT File        line_name = nil        line = ""        f.each_line { |l|          if m = STRING_ID.match(l)            if !l.start_with?("<<face:") && !l.start_with?("<<position:") && !l.start_with?("<<background:") && !l.start_with?("<<scroll_speed:") && !l.start_with?("<<no_fast")              a2 << [line_name, line.rstrip] if line_name              line_name = m[1]              line = ""            else              line += l            end          else            line += l          end        }        a2 << [line_name, line.rstrip] if line_name      }              if filename1 != nil # Update Provided        #Search Update Matched Entries        a1.each {|x|          a2[a2.index(a2.detect{|aa| aa.include?(x[0])})][1] = x[1] if a2.index(a2.detect{|aa| aa.include?(x[0])}) != nil        }                a1 = [] #It has lived a good life      end                if sorted        #Sort Entries        # maps/        a3 += a2.select {|x| x[0].start_with?("maps/")}.sort_by{|x|          s1 = x[0].split('/')          s1[1] = s1[1].rjust(7, "0")          s1 = s1.join("/")        }        # actors/        a3 += a2.select {|x| x[0].start_with?("actors/")}.sort_by{|x|          s1 = x[0].split('/')          s1[1] = s1[1].rjust(7, "0")          s1 = s1.join("/")        }        # classes/        a3 += a2.select {|x| x[0].start_with?("classes/")}.sort_by{|x|          s1 = x[0].split('/')          s1[1] = s1[1].rjust(7, "0")          s1 = s1.join("/")        }        # skills/        a3 += a2.select {|x| x[0].start_with?("skills/")}.sort_by{|x|          s1 = x[0].split('/')          s1[1] = s1[1].rjust(7, "0")          s1 = s1.join("/")        }        # items/        a3 += a2.select {|x| x[0].start_with?("items/")}.sort_by{|x|          s1 = x[0].split('/')          s1[1] = s1[1].rjust(7, "0")          s1 = s1.join("/")        }        # weapons/        a3 += a2.select {|x| x[0].start_with?("weapons/")}.sort_by{|x|          s1 = x[0].split('/')          s1[1] = s1[1].rjust(7, "0")          s1 = s1.join("/")        }        # armors/        a3 += a2.select {|x| x[0].start_with?("armors/")}.sort_by{|x|          s1 = x[0].split('/')          s1[1] = s1[1].rjust(7, "0")          s1 = s1.join("/")        }        # enemies/        a3 += a2.select {|x| x[0].start_with?("enemies/")}.sort_by{|x|          s1 = x[0].split('/')          s1[1] = s1[1].rjust(7, "0")          s1 = s1.join("/")        }        # states/        a3 += a2.select {|x| x[0].start_with?("states/")}.sort_by{|x|          s1 = x[0].split('/')          s1[1] = s1[1].rjust(7, "0")          s1 = s1.join("/")        }        # system/        a3 += a2.select {|x| x[0].start_with?("system/")}.sort_by(&:first)        # types/        a3 += a2.select {|x| x[0].start_with?("types/")}.sort_by(&:first)        # terms/        a3 += a2.select {|x| x[0].start_with?("terms/")}.sort_by(&:first)        # constants/Vocab/        a3 += a2.select {|x| x[0].start_with?("constants/Vocab/")}.sort_by(&:first)        # All Other Events        a3 += a2.select {|x| x[0].include?("/Page ") && !x[0].start_with?("Common Events/") && !x[0].start_with?("Troop Events/")}.sort_by{|oe|          s1 = oe[0].split(':')          s2 = s1[1].split('/')          s2[0] = s2[0].rjust(7, "0")          s1[1] = s2.join('/')          s1 = s1.join(":")        }        # Common Events/        a3 += a2.select {|x| x[0].start_with?("Common Events/")}.sort_by{|ce|          s1 = ce[0].split('/')          s2 = s1[1].split(':')          s2[0] = s2[0].rjust(7, "0")          s1[1] = s2.join(':')          s1 = s1.join("/")        }        # Troop Events/        a3 += a2.select {|x| x[0].start_with?("Troop Events/")}.sort_by{|te|          s1 = te[0].split('/')          s2 = s1[1].split(':')          s2[0] = s2[0].rjust(7, "0")          s1[1] = s2.join(':')          s1 = s1.join("/")        }      else        a3 = a2 # Yes I'm lazy      end            a2 = [] #It has lived a good life      header = nil      content = nil      File.open(filename2) { |f|        header, sep, content = f.read.partition("\n")      }            # Backup Old Version      File.open(filename2 + "_backup", "w") { |backup|        backup.write(header+"\n")        backup.write(content)      }            # Write Updated Version      if onlykeys        addition = "_onlykeys"      else        addition = "_updated"      end            addition = "" if trueupdate && !onlykeys            File.open(filename2+addition, "w") { |f|        f.write(header+"\n") if !header.include?("<<")        f.write("\n") if header.include?("<<")        f.write("\n") if header.include?("# LFS DATABASE VERSION")        a3.each {|x|          f.write("<<"+x[0]+">>\n")          if !onlykeys            f.write(x[1]+"\n\n") if !x[1].empty?          end        }      }      if !suppressmsg        msgbox "RVTEXT has been updated.\n" +               "The updated file was renamed to '#{filename2}#{addition}'\n" +               "A backup file was renamed to '#{filename2}_backup'"      end  end
Found out how to get Language File System to search for and add options for translating custom script calls though this would have to be added by users on a case by case basis but if you know how the script function you are calling works shouldn't be to hard
 
In the learning process I decompiled a few maps using https://github.com/Solistra/rvpacker
 
Found the first Script Call is Command 355 and all following are Command 655

Spoiler
# Custom Script Call Beforeunlimited_choices(11, ["Inn","Weapon Shop","Armor Shop","Item Shop","Blacksmith","Church","Nowhere"])# Custom Script Call Afterunlimited_choices(11, [show_uco_opt(1),show_uco_opt(2),show_uco_opt(3),show_uco_opt(4),show_uco_opt(5),show_uco_opt(6),show_uco_opt(7)])UNLIMITED_CHOICES_OPTIONS = [    [0, "Debug Option"],    [1, "Inn"],    [2, "Weapon Shop"],    [3, "Armor Shop"],    [4, "Item Shop"],    [5, "Blacksmith"],    [6, "Church"],    [7, "Nowhere"],]
Code:
class Game_Interpreter  def unlimited_choices(var_id, names)    return if names.empty? || var_id <= 0    names.each { |name| $game_message.choices.push(name.to_s) }    $game_message.choice_cancel_type = names.size + 1    $game_message.choice_proc = Proc.new {|n| $game_variables[var_id] = n }    Fiber.yield while $game_message.choice?  end  #--------------------------------------------------------------------------  # * Return text for unlimited_choices options  #--------------------------------------------------------------------------  def show_uco_opt(id)    data = "Unknown #{id}"    cmd_custom_id = Library::UNLIMITED_CHOICES_OPTIONS.index(Library::UNLIMITED_CHOICES_OPTIONS.detect{|aa, ab| aa == id})    data = Library::UNLIMITED_CHOICES_OPTIONS[id][1] if cmd_custom_id != nil    return data  endendmodule Library  UNLIMITED_CHOICES_OPTIONS = [    [0, "Debug Option"],  ]end
Spoiler
Code:
  #--------------------------------------------------------------------------  # * Extracting the event page text content  #--------------------------------------------------------------------------    def extract_page(text_id_prefix, event_id, event_name, page, page_id,                     dialogue_file, database_file)      new_list = []      cmd_id = 1      cmd_custom_flag = false      cmd_custom_tmp_string = ""            cmd_custom_flag2 = false      cmd_custom_tmp_string2 = ""      return unless page.respond_to?('list')      page.list.each { |cmd|        case cmd.code          when 101 # Show Text...            # Generate Text ID (max 39 chars)            text_id = text_id_prefix + ID_FORMAT %                       [event_id, event_name, page_id + 1, cmd_id]            # Replace with Script command            new_list << RPG::EventCommand.new(355,                                               cmd.indent,                                               ["show_dialogue(\n"])            new_list << RPG::EventCommand.new(655,                                              cmd.indent,                                              ["\"#{text_id}\")"])            # Write the dialogue file            dialogue_file.write("\n")            dialogue_file.write("<<#{text_id}>>\n")            dialogue_file.write("<<face: %s, %d>>\n" % cmd.parameters) unless              cmd.parameters[0].empty?            dialogue_file.write("<<background: %s>>\n" %                                BG_HASH[cmd.parameters[2]]) unless              cmd.parameters[2] == 0            dialogue_file.write("<<position: %s>>\n" %                                POS_HASH[cmd.parameters[3]]) unless              cmd.parameters[3] == 2            cmd_id += 1          when 401 # Show Text...            dialogue_file.write(cmd.parameters[0] + "\n")          when 102 # Show Choices...            # Ignore if already converted            next if cmd.parameters[0].any? { |c| DIALOGUE_CODE =~ c }            new_choices = []            cmd.parameters[0].each { |choice|              # Generate Text ID (max 39 chars)              text_id = text_id_prefix + ID_FORMAT %                         [event_id, event_name, page_id + 1, cmd_id]              new_choices << "\\dialogue[#{text_id}]"              dialogue_file.write("\n")              dialogue_file.write("<<#{text_id}>>\n")              dialogue_file.write(choice + "\n")              cmd_id += 1            }            # Replace choices with message codes            new_list << RPG::EventCommand.new(102, cmd.indent,                        [new_choices] + cmd.parameters[1..-1])          when 105 # Show Scrolling Text...            # Generate Text ID (max 39 chars)            text_id = text_id_prefix + ID_FORMAT %                       [event_id, event_name, page_id + 1, cmd_id]            # Replace with Script command            new_list << RPG::EventCommand.new(355,                                               cmd.indent,                                               ["show_scrolling(\n"])            new_list << RPG::EventCommand.new(655,                                              cmd.indent,                                              ["\"#{text_id}\")"])            # Write the dialogue file            dialogue_file.write("\n")            dialogue_file.write("<<#{text_id}>>\n")            dialogue_file.write("<<scroll_speed: %d>>\n" % cmd.parameters) unless              cmd.parameters[0] == 2            dialogue_file.write("<<no_fast>>\n") if cmd.parameters[1]            cmd_id += 1          when 405 # Show Scrolling Text...            dialogue_file.write(cmd.parameters[0] + "\n")          when 320, 324 # Change Name... / Change Nickname...            unless NAME_CODE =~ cmd.parameters[1]              name_id = cmd.parameters[1].gsub(" ", "_").downcase              new_list << RPG::EventCommand.new(320, cmd.indent,                          [cmd.parameters[0]] + ["\\name[#{name_id}]"])              database_file.write("\n")              database_file.write("<<names:#{name_id}>>\n")              database_file.write(cmd.parameters[1] + "\n")            end          when 355 # Added To Find Script Call            #msgbox "355 # Script Call"            if cmd.parameters[0].kind_of? String # Just To Make Sure Nothing Odd Catches              if cmd.parameters[0].include?("unlimited_choices(") # Does The Script Call Start With What You Want                cmd_custom_flag = true # Setup To Continue Processing Until Functions End                cmd_custom_tmp_string = ""                cmd_custom_tmp_string += cmd.parameters[0].to_s                                                #new_list << cmd # Test overwrite              else # Handle Every Other Call                new_list << cmd              end            else              new_list << cmd            end          when 655 # Added To Find Script Call Continued            if cmd_custom_flag # Set From The First Script Call              cmd_custom_tmp_string += cmd.parameters[0].to_s              cmd_custom_flag = false if cmd.parameters[0].include?(")") # Used At Functions End              if !cmd_custom_flag # Handles Last Statement                marker1 = "["                marker2 = "]"                cmd_custom_array = []                                str_custom_cmd = cmd_custom_tmp_string[/^(.+?)\[/, 1]                str_custom_cmd += "["                str_custom_opt = cmd_custom_tmp_string[/#{Regexp.escape(marker1)}(.*?)#{Regexp.escape(marker2)}/, 1]                                cmd_custom_array = eval(marker1 + str_custom_opt + marker2) if str_custom_opt != nil                                #Rebuild Custom Script Call                new_list << RPG::EventCommand.new(355,                                               cmd.indent,                                               [str_custom_cmd])                                                              cmd_custom_array.each{|command_entry|                  cmd_custom_id = Library::UNLIMITED_CHOICES_OPTIONS.index(Library::UNLIMITED_CHOICES_OPTIONS.detect{|aa, ab| ab.include?(command_entry)})                  cmd_custom_id = Library::UNLIMITED_CHOICES_OPTIONS[cmd_custom_id][0] if cmd_custom_id != nil                  if cmd_custom_id == nil                    custom_max = Library::UNLIMITED_CHOICES_OPTIONS.max_by(&:first)                    cmd_custom_id = custom_max[0] + 1                    Library::UNLIMITED_CHOICES_OPTIONS << [cmd_custom_id, command_entry]                  end                                                                if command_entry == cmd_custom_array.last                    #code for the last command                    new_list << RPG::EventCommand.new(655,                                              cmd.indent,                                              ["show_uco_opt("+cmd_custom_id.to_s+")])"])                  else                    #code for the every other command                    new_list << RPG::EventCommand.new(655,                                              cmd.indent,                                              ["show_uco_opt("+cmd_custom_id.to_s+"),"])                  end                }              end              #new_list << cmd # Test overwrite            else              new_list << cmd            end          else            new_list << cmd        end      }      page.list = new_list    end  #--------------------------------------------------------------------------  # * Current ScriptText hash  #--------------------------------------------------------------------------  def self.script_text    @script_text  end   #--------------------------------------------------------------------------  # * Get text content defined in the ScriptText file  #--------------------------------------------------------------------------  def self.get_script_text(id)    @script_text[id] ? @script_text[id][:text] : nil  end
Probably needs a few passes to tighten down the bolts but the general concept, Also this doesn't include the saving and loading of the data it collects parsing through all the other data as I took care of that in another function

Spoiler
Code:
# Writing      # UNLIMITED_CHOICES Options Replacement      Library::UNLIMITED_CHOICES_OPTIONS.to_a.each{ |index, u_c_o|        #next if u_c_o.to_s == "???"        ds_file.write("<<TRANSLATE/Library/UNLIMITED_CHOICES_OPTIONS/"+index.to_s+">>"+"\n")        ds_file.write(u_c_o.to_s)        ds_file.write("\n\n")      }# Reading      # UNLIMITED_CHOICES Options Replacement      cycle_through = 0      until LanguageFileSystem::get_script_text("TRANSLATE/Library/UNLIMITED_CHOICES_OPTIONS/"+cycle_through.to_s).nil?  do         cmd_custom_id = Library::UNLIMITED_CHOICES_OPTIONS.index(Library::UNLIMITED_CHOICES_OPTIONS.detect{|aa, ab| aa. == cycle_through})         cmd_custom_id = Library::UNLIMITED_CHOICES_OPTIONS[cmd_custom_id][0] if cmd_custom_id != nil         if cmd_custom_id == nil           Library::UNLIMITED_CHOICES_OPTIONS << [cycle_through, LanguageFileSystem::get_script_text("TRANSLATE/Library/UNLIMITED_CHOICES_OPTIONS/"+cycle_through.to_s)]         else           Library::UNLIMITED_CHOICES_OPTIONS[cmd_custom_id][1] = LanguageFileSystem::get_script_text("TRANSLATE/Library/UNLIMITED_CHOICES_OPTIONS/"+cycle_through.to_s)         end         cycle_through += 1      end
Hey everybody,

Actually I've started working on the script again some two weeks ago and I have several features and the mentioned bugfixes planned:

  • fix Extracting troop events
  • Extracting string arguments from custom script calls (probably going for an interface that includes custom regular expressions for extracting function arguments)
  • Incremental Update, merging and sorting of language files
  • Another major feature will be adding support for PO files in addition (or instead of) my custom rvtext format - so that localization tools like Virtaal or POEdit can be used to significantly speed up the actual translation process
  • Also an update for the demo project and a more in-depth tutorial is planned
But as a first step before writing new features I'm reworking/rewriting the script while writing automated tests for it, so it's easier to maintain for me, particularly it should guarantee that new features won't break the old ones. This will take some time, but I'm constantly working on it in my free time 😉

If there are additional bugs or suggestions please feel free to post them into this thread

@masterdragonson: Thank you very much for your fixes and suggestions... If it's okay with you I will look into them and incorporate parts or all of them into the official patch, okay?
Hi! These are great News.

Keep up the good work, I really like your script and I'm still using it!
Not a problem at all DerTraveler, looking forward to the update!
Found an odd bug.  If a dialogue box has no text it isn't displayed.  I know that sounds odd but it's sometimes used to keep pictures displayed on screen until a button is pressed.  LFS extracted the text fine however it doesn't display it.
 

Extracted Text

Spoiler
<<Common Events/002😀isplayMap/Page 01/001>><<background: transparent>>
 Code To Temporarily Fix It

(If it has a key without text just return a " " which makes it believe something exist...  I'm sure this could be better but an easy fix

Spoiler
Code:
module LanguageFileSystem  #--------------------------------------------------------------------------  # * Get text content defined in the dialoue text file  #--------------------------------------------------------------------------  def self.get_dialogue(id)    # Fix For Blank Dialogue Messages    # Does Dialogues Key Exist?    if @dialogues[id]      # Dialogues Key Exist      # Is Dialogue Not Blank?      if @dialogues[id][:text] != ""        # Has Something        return @dialogues[id][:text]      else        # Has Nothing        return " "      end    else      # Dialogues Key Does Not Exist      return nil    end    #@dialogues[id] ? @dialogues[id][:text] : nil  endend
So... I'm new to all of this and Whenever I try to Testplay my game after having this script and the core script installed I get an error message saying:

Unable to find file:

Dialogues.rvtext

With a yellow sign and an exclamation mark next to it.

I guess I have not quite figured out how to use it, yet, which is causing the bug.

I was wondering if you could help me out real quick.

P.S. Gerne auch auf deutsch, ist aber kein Muss.
Hi DerSnorx, it's really easy.

Just download the demo and look in the mainfolder.

There should be 2 files in it named DialoguesGerman.rvtext and DatabaseTextGerman.rvtext.

If those are not there, you could simply make your own. I suggest using notepad++ it's free and easy to use.

Just open a new file and name it the exact way from above.

Now you just write the Keyfiles in the dialogue file.

<<intro_scene 1>>

Aldorat:

Dies ist einfach nur ein Test.

 

And that's it from the file side. In RPG Maker VX Ace you just use a script call to call the Keyfile <<intro_scene 1>>. The Scriptcall looks like this:

show_dialogue("intro_scene 1")

 

And if done correctly, the text will show like normal text in the game.
Hi question; does this support stuff like Russian, Arabic and such languages too? Can it like draw those in the game?
If they're supported via VX Ace, this will work as long as you have the rvxdata in the right format UTF.
I am struggeling with the basics of this script.

Where do I have to put the Dialogues.rvtxt files? Or the DialoguesEnglish.rvtxt if I want to use more than one language?

I thought Gamepath\Data but I always get

Unable to find file: Dialogues.rvtxt

when I set DEFAULT_LANGUAGE = nil

When I set DEFAULT_LANGUAGE = English

I get

Script 'TextExternal' line 670: NameError occured.

Unitialized constand LanguageDileSystem::English

What did I do wrong? Where do I have to put those files?
Could you help me with this?

So, a few guys and me want to translate LISA: The Painful to Spanish (if you need to aprove the translation because it's a game that is sold in Steam although it's going to be a fan made translation and isn't going to be in the official game, tell me and I'll mail you and all that), and when one of us tried to run the script, it showed the error that is shown in the image.

I'm really, really new in RPG Maker, so I don't know what to really do, by the few comments I've readed, you need to put a file named Dialogues.rvtxt somewhere, can you tell me where I can find them and where sould I place them?

Thanks in advance.

error rpg maker.png
Most of the questions are answered when you read the comment/manual of the script in the RPG Maker VX Ace Script editor 😉 .

There is also a Demo Project attached ot the original post - even though that uses an older version of the script, which demonstrates many of the concepts.

Please read that first and if you still have questions then feel free to ask again 😉 .
 

About your translation project, please mail me with all the details so I can decide whether it is a commercial use of the script.
Most of the questions are answered when you read the comment/manual of the script in the RPG Maker VX Ace Script editor 😉 .

There is also a Demo Project attached ot the original post - even though that uses an older version of the script, which demonstrates many of the concepts.

Please read that first and if you still have questions then feel free to ask again 😉 .

About your translation project, please mail me with all the details so I can decide whether it is a commercial use of the script.
Alright, where I can find your e-mail?, or do you mean a private message?
My mail address is written in the script header: dertraveler [at] gmail.com
My mail address is written in the script header: dertraveler [at] gmail.com
Alright, thanks a lot for the support.
How's the script coming along, @ DerTraveler?

Do you have some spare time to work on it? =)

@ Topic please read at least the script header and download the Demo.

The Script is super easy to use.
How's the script coming along, @ DerTraveler?

Do you have some spare time to work on it? =)

@ Topic please read at least the script header and download the Demo.

The Script is super easy to use.
Sorry, my fault, we're going to check the script again and we'll try to translate it after we e-mail the creator and all that, anyways, as I said, thanks for the support.

Original thread: https://forums.rpgmakerweb.com/threads/language-file-system.17964/