3 Commits

Author SHA1 Message Date
infinitefusion
0d5562ffde updates game icon 2025-04-16 10:45:39 -04:00
chardub
d3a17668e2 change name of game exe 2025-04-16 10:21:54 -04:00
chardub
d917d01d9d dev function to export tile ids 2025-04-16 10:08:50 -04:00
18 changed files with 33 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -157,3 +157,35 @@ def search_event_scripts(target_string)
end
end
def print_map_tiles
# Define output file path
file_path = "/Users/chardub/Documents/infinitefusion/TileIDs_Output.txt"
# Open file for writing
File.open(file_path, "w") do |file|
map = $game_map
width = map.width
height = map.height
(0...3).each do |z| # For each layer: 0, 1, 2
file.puts("Layer #{z}:")
(0...height).each do |y|
row_ids = []
(0...width).each do |x|
tile_id = map.data[x, y, z]
row_ids << tile_id
end
file.puts(row_ids.join(", "))
end
file.puts("") # Add a blank line between layers
end
end
echoln("Tile IDs exported to #{file_path}")
end

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
wine "$(dirname "$0")/Game.exe"
wine "$(dirname "$0")/InfiniteFusion.exe"