Reorganize data folder some more
This commit is contained in:
parent
ecb0bc516c
commit
69c019b3a5
|
@ -5,7 +5,7 @@ platform="HTML5"
|
|||
runnable=true
|
||||
custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter="data/*"
|
||||
include_filter="data/*,web/*"
|
||||
exclude_filter=""
|
||||
export_path="output/ChocolateBird.html"
|
||||
script_export_mode=1
|
||||
|
@ -32,3 +32,28 @@ progressive_web_app/icon_144x144=""
|
|||
progressive_web_app/icon_180x180=""
|
||||
progressive_web_app/icon_512x512=""
|
||||
progressive_web_app/background_color=Color( 0, 0, 0, 1 )
|
||||
|
||||
[preset.1]
|
||||
|
||||
name="Linux/X11"
|
||||
platform="Linux/X11"
|
||||
runnable=true
|
||||
custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter="data/*"
|
||||
exclude_filter=""
|
||||
export_path="build/ChocolateBird.x86_64"
|
||||
script_export_mode=1
|
||||
script_encryption_key=""
|
||||
|
||||
[preset.1.options]
|
||||
|
||||
custom_template/debug=""
|
||||
custom_template/release=""
|
||||
binary_format/architecture="x86_64"
|
||||
binary_format/embed_pck=false
|
||||
texture_format/bptc=false
|
||||
texture_format/s3tc=true
|
||||
texture_format/etc=false
|
||||
texture_format/etc2=false
|
||||
texture_format/no_bptc_fallbacks=true
|
||||
|
|
|
@ -270,7 +270,7 @@ static func make_font_glyph_atlas(small_glyph_indexed_images, dialog_glyph_image
|
|||
# weapon_textures['Fist'] = texture_from_image(snes_graphics.get_tile(rom, Common.SNES_PSX_addresses['tiles_fist']['SNES'], 24))
|
||||
|
||||
|
||||
# var json_sprite_blocks: Dictionary = Common.load_json('res://data/sprite_blocks.json') # This needs error handling later
|
||||
# var json_sprite_blocks: Dictionary = Common.load_json('res://data/5/sprite_blocks.json') # This needs error handling later
|
||||
# var sprite_blocks := {}
|
||||
# func snes_load_map_sprites(rom: File):
|
||||
# # Main palettes
|
||||
|
|
|
@ -3,16 +3,16 @@ signal loading_stage_updated(stage) # String
|
|||
|
||||
const ff5_dialog := preload('res://scripts/loaders/snes/ff5_dialog.gd')
|
||||
|
||||
var SNES_block_addresses := Common.load_tsv('res://data/string_blocks.tsv')
|
||||
var SNES_block_addresses := Common.load_tsv('res://data/5/string_blocks.tsv')
|
||||
var tables_raw = {}
|
||||
var tables = {}
|
||||
|
||||
var glyph_tables := {
|
||||
'RPGe_dialog': Common.load_glyph_table('res://data/glyph_tables/Glyphs_dialog_RPGe.txt'),
|
||||
'RPGe_small': Common.load_glyph_table('res://data/glyph_tables/Glyphs_small_RPGe.txt'),
|
||||
'SNES_dialog': Common.load_glyph_table('res://data/glyph_tables/Glyphs_dialog_SNES.txt'),
|
||||
'SNES_kanji': Common.load_glyph_table('res://data/glyph_tables/Glyphs_dialog_kanji_SNES.txt'),
|
||||
'SNES_small': Common.load_glyph_table('res://data/glyph_tables/Glyphs_small_SNES.txt'),
|
||||
'RPGe_dialog': Common.load_glyph_table('res://data/5/glyph_tables/Glyphs_dialog_RPGe.txt'),
|
||||
'RPGe_small': Common.load_glyph_table('res://data/5/glyph_tables/Glyphs_small_RPGe.txt'),
|
||||
'SNES_dialog': Common.load_glyph_table('res://data/5/glyph_tables/Glyphs_dialog_SNES.txt'),
|
||||
'SNES_kanji': Common.load_glyph_table('res://data/5/glyph_tables/Glyphs_dialog_kanji_SNES.txt'),
|
||||
'SNES_small': Common.load_glyph_table('res://data/5/glyph_tables/Glyphs_small_SNES.txt'),
|
||||
}
|
||||
|
||||
static func decode_string(bytes, glyph_table: PoolStringArray, trim_trailing_whitespace: bool = true) -> String:
|
||||
|
|
|
@ -10,7 +10,7 @@ func _ready() -> void:
|
|||
return
|
||||
|
||||
var file := File.new()
|
||||
match file.open('res://data/html5_file_picker.js', File.READ):
|
||||
match file.open('res://web/html5_file_picker.js', File.READ):
|
||||
OK:
|
||||
JavaScript.eval(file.get_as_text(), true)
|
||||
var error:
|
||||
|
|
Loading…
Reference in New Issue