Is there a way to export my skills list to a txt file?

Or better yet, export them to Excel.

When I am defining moves for enemies, sometimes it is very hard to find what I am looking for. There is no way to sort them by name in the database and that makes it hard when I am looking for something specific that I know I added.

With Excel, I could sort them by name and extend the selection so that the column with skill numbers sort with it.

With a txt file, I can copy and paste into Excel and then do the same.

Is there any tool or anything that can do this?


I do not need descriptions, formulas, or anything like that. Just names.
There is a free tool on steam to convert databases to csv

There is a free tool on steam to convert databases to csv


That is for MV. This is VX Ace. Besides, I do not have the Steam version anyway.
Just the skill names? Or do you need any other data to be included as well?
Yes. Just skill names. So I can copy and paste them into Excel and do my sorty sort thing
Well, it's easy to extract the names and let Ruby sort them on its own.
The scriptlet will modify the default Title Scene and open a new scene before letting you create 2 files per category. One is the actual name list and the other one is, well, already sorted!
How many categories are there? Play it to find that out! 😛

Ruby:
# * SortData ACE * #
#   Scripter : Kyonides Arkanthes
#   2023-06-14

class Window_TitleCommand
  alias :kyon_sort_data_win_ttl_comm_mk_comm_list :make_command_list
  def make_command_list
    kyon_sort_data_win_ttl_comm_mk_comm_list
    add_command("Extract Names", :sort)
  end
end

class CommandWindow < Window_Selectable
  NAMES = %w{actors classes skills items weapons armors enemies troops}
  NAMES += %w{states animations common\ events}
  def initialize(wx, wy)
    clear_command_list
    make_command_list
    super(wx, wy, 208, window_height)
    refresh
    select(0)
    activate
  end

  def clear_command_list
    @list = []
  end

  def make_command_list
    @list = NAMES.dup
    @list.map!{|name| name.capitalize }
  end

  def visible_line_number
    10
  end

  def window_height
    fitting_height(item_max)
  end

  def item_max
    @list.size
  end

  def draw_item(index)
    draw_text(item_rect_for_text(index), @list[index])
  end

  def process_handling() end

  def fetch_list
    case @index
    when 0
      $data_actors
    when 1
      $data_classes
    when 2
      $data_skills
    when 3
      $data_items
    when 4
      $data_weapons
    when 5
      $data_armors
    when 6
      $data_enemies
    when 7
      $data_troops
    when 8
      $data_states
    when 9
      $data_animations
    when 10
      $data_common_events
    end
  end

  def filename
    NAMES[@index]
  end
end

class Scene_Title
  alias :kyon_sort_data_scn_ttl_ccw :create_command_window
  def create_command_window
    kyon_sort_data_scn_ttl_ccw
    @command_window.set_handler(:sort, method(:command_sort))
  end

  def command_sort
    close_command_window
    fadeout_all
    SceneManager.call(SortDataScene)
  end
end

class SortDataScene < Scene_Base
  HEADING_START = "Choose the type of data to be sorted next"
  HEADING_PROCESS = "Processing data..."
  def start
    @stage = :main
    @timer = 0
    @help_window = Window_Help.new(1)
    @help_window.set_text(HEADING_START)
    cwx = (Graphics.width - 200) / 2
    @command_window = CommandWindow.new(cwx, 80)
  end

  def update_basic
    case @stage
    when :main
      super
      update_selection
    when :timer
      update_timer
    end
  end

  def update_selection
    if Input.trigger?(:B)
      Sound.play_cancel
      SceneManager.return
      return
    elsif Input.trigger?(:C)
      Sound.play_ok
      @help_window.set_text(HEADING_PROCESS)
      @timer = 20
      @stage = :timer
      list = @command_window.fetch_list
      list = list[1..-1].map{|o| o.name }
      sorted_list = list.sort
      name = @command_window.filename
      File.open("normal list #{name}.txt", "w") {|f| f.puts list }
      File.open("sorted list #{name}.txt", "w") {|f| f.puts sorted_list }
    end
  end

  def update_timer
    Graphics.update
    @timer -= 1
    return if @timer > 0
    @help_window.set_text(HEADING_START)
    @stage = :main
  end

  def terminate
    Graphics.freeze
    dispose_all_windows
  end
end

Don't forget to thank me! 😀
Or I'll ignore any future requests! 😛
I’ve moved this to RGSS3 script requests.
@kyonides

How do I use this script? I added the script and ran the game but nothing happens. I tried going to new game and continue but no files are created nor does it ask me anything. All I see when I run it is the normal title screen
How do I use this script? I added the script and ran the game but nothing happens. I tried going to new game and continue but no files are created nor does it ask me anything. All I see when I run it is the normal title screen
1690036158520.png
I do not have an "Extract Names" option in the menu
I do not have an "Extract Names" option in the menu
Did you put the new script below Backtrace like you did with the sorting one I gave you? If so, it won't work for the same reason mine didn't.
Thank You very much.

Should backtrace always be at the end. Like of everything? Say if I add more scripts?
Thank You very much.

Should backtrace always be at the end. Like of everything? Say if I add more scripts?
Yes, Backtrace should always be the very last script in your list.
@kyonides

I hope you get this message. Thank you for this script. It is so much easier to find things now that I was able top copy the names to Excel and reference the skill, item, animation, etc number(s) next to it.

Very handy script to have when you have 70 hours of content and still developing (meaning there is a lot in the database).

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-export-my-skills-list-to-a-txt-file.158329/