Skip to content

Commit d0e77ab

Browse files
committed
remove txt extension from meta
It was useful for debug, but should no longer be required.
1 parent d2159ef commit d0e77ab

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/65_experimental.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ See: [Controller Paks](15_controller_paks.md)
77
See: [Cheats (Gameshark, etc.)](./13_datel_cheats.md)
88

99
### Rom information metadata
10-
To show certain (metadata) information on the N64 ROM information screen, add a `.meta.txt` file in the same directory as the game ROM file with the same ROM filename (but excluding the ROM extension i.e. [`.z64`, `.v64`, `.n64`] )
11-
Although the filename is `.meta.txt`, its content is based on an `ini` file.
10+
To show certain (metadata) information on the N64 ROM information screen, add a `.meta` file in the same directory as the game ROM file with the same ROM filename (but excluding the ROM extension i.e. [`.z64`, `.v64`, `.n64`] )
11+
Although the filename is `.meta`, its content is based on an `ini` file.
1212

1313
The aim is to add full support for [https://n64brew.dev/wiki/ROM_Metadata](https://n64brew.dev/wiki/ROM_Metadata)
1414

1515
> [!TIP]
16-
> A rom called `my N64 game rom.z64` will load Rom information metadata from `my N64 game rom.meta.txt`.
16+
> A rom called `my N64 game rom.z64` will load Rom information metadata from `my N64 game rom.meta`.
1717
1818
and the following content under the file content header:
1919

src/menu/rom_info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ static void extract_rom_info (match_t *match, rom_header_t *rom_header, rom_info
770770
static void load_rom_meta_from_file (path_t *path, rom_info_t *rom_info) {
771771
path_t *rom_info_meta_path = path_clone(path);
772772

773-
path_ext_replace(rom_info_meta_path, "meta.txt");
773+
path_ext_replace(rom_info_meta_path, "meta");
774774

775775
mini_t *rom_meta_ini = mini_load(path_get(rom_info_meta_path));
776776

0 commit comments

Comments
 (0)