Changed paths for new data subtree
This commit is contained in:
parent
be222ce1da
commit
edbfedfdd0
|
@ -5,3 +5,4 @@ downloaded_saves/
|
||||||
.import/
|
.import/
|
||||||
build/
|
build/
|
||||||
output/
|
output/
|
||||||
|
scratch/
|
||||||
|
|
|
@ -136,10 +136,10 @@ func _ready():
|
||||||
thread = Thread.new()
|
thread = Thread.new()
|
||||||
structdefs.merge(STRUCT.get_base_structarraytypes())
|
structdefs.merge(STRUCT.get_base_structarraytypes())
|
||||||
STRUCT.parse_struct_definitions_from_tsv_filename('res://data/structs_SNES_stubs.tsv', structdefs)
|
STRUCT.parse_struct_definitions_from_tsv_filename('res://data/structs_SNES_stubs.tsv', structdefs)
|
||||||
STRUCT.parse_struct_definitions_from_tsv_filename('res://data/5/structs_SNES_stubs.tsv', structdefs)
|
STRUCT.parse_struct_definitions_from_tsv_filename('res://data/5/structs/SNES_stubs.tsv', structdefs)
|
||||||
structdefs.merge(STRUCT_SNES.get_structtypes(), true) # Overwrite the stubs!
|
structdefs.merge(STRUCT_SNES.get_structtypes(), true) # Overwrite the stubs!
|
||||||
STRUCT.parse_struct_definitions_from_tsv_filename('res://data/5/structs_SNES_save.tsv', structdefs)
|
STRUCT.parse_struct_definitions_from_tsv_filename('res://data/5/structs/SNES_save.tsv', structdefs)
|
||||||
STRUCT.parse_struct_definitions_from_tsv_filename('res://data/5/structs_SNES.tsv', structdefs)
|
STRUCT.parse_struct_definitions_from_tsv_filename('res://data/5/structs/SNES.tsv', structdefs)
|
||||||
var _error := psx_productcode_regex.compile('(S[A-Z]{3}_\\d{3}\\.\\d{2});(\\d)')
|
var _error := psx_productcode_regex.compile('(S[A-Z]{3}_\\d{3}\\.\\d{2});(\\d)')
|
||||||
# Debugging breakpoint
|
# Debugging breakpoint
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -167,4 +167,4 @@ func delete_save_slot(sram: File, slot_id: int):
|
||||||
sram.store_16(0)
|
sram.store_16(0)
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
STRUCT.parse_struct_definitions_from_tsv_filename('res://data/5/structs_SNES_save.tsv', struct_types)
|
STRUCT.parse_struct_definitions_from_tsv_filename('res://data/5/structs/SNES_save.tsv', struct_types)
|
||||||
|
|
|
@ -8,11 +8,11 @@ var tables_raw = {}
|
||||||
var tables = {}
|
var tables = {}
|
||||||
|
|
||||||
var glyph_tables := {
|
var glyph_tables := {
|
||||||
'RPGe_dialog': Common.load_glyph_table('res://data/5/glyph_tables/Glyphs_dialog_RPGe.txt'),
|
'RPGe_dialog': Common.load_glyph_table('res://data/5/glyphs/SNES_dialog_RPGe.txt'),
|
||||||
'RPGe_small': Common.load_glyph_table('res://data/5/glyph_tables/Glyphs_small_RPGe.txt'),
|
'RPGe_small': Common.load_glyph_table('res://data/5/glyphs/SNES_small_RPGe.txt'),
|
||||||
'SNES_dialog': Common.load_glyph_table('res://data/5/glyph_tables/Glyphs_dialog_SNES.txt'),
|
'SNES_dialog': Common.load_glyph_table('res://data/5/glyphs/SNES_dialog.txt'),
|
||||||
'SNES_kanji': Common.load_glyph_table('res://data/5/glyph_tables/Glyphs_dialog_kanji_SNES.txt'),
|
'SNES_kanji': Common.load_glyph_table('res://data/5/glyphs/SNES_dialog_kanji.txt'),
|
||||||
'SNES_small': Common.load_glyph_table('res://data/5/glyph_tables/Glyphs_small_SNES.txt'),
|
'SNES_small': Common.load_glyph_table('res://data/5/glyphs/SNES_small.txt'),
|
||||||
}
|
}
|
||||||
|
|
||||||
static func decode_string(bytes, glyph_table: PoolStringArray, trim_trailing_whitespace: bool = true) -> String:
|
static func decode_string(bytes, glyph_table: PoolStringArray, trim_trailing_whitespace: bool = true) -> String:
|
||||||
|
|
Loading…
Reference in New Issue