Skip to content

Instantly share code, notes, and snippets.

View perondeidad's full-sized avatar
💭
vago

cuenta en decadencia perondeidad

💭
vago
  • Argentina
  • 02:20 (UTC -03:00)
View GitHub Profile
@perondeidad
perondeidad / rvdata2Parser
Last active May 24, 2024 19:17 — forked from ekoneko/rvdata2Parser
for packing or unpacking rvdata2 script files
#! /usr/bin/env ruby
require 'zlib'
require 'RPG'
require 'YAML'
class Table
def initialize(x, y = 0, z = 0)
@dim = 1 + (y > 0 ? 1 : 0) + (z > 0 ? 1 : 0)
@xsize, @ysize, @zsize = x, [y, 1].max, [z, 1].max