(pack_files: PackedFile[])
| 656 | }); |
| 657 | }; |
| 658 | const createIntroMoviesData = (pack_files: PackedFile[]) => { |
| 659 | for (const moviePath of gameToIntroMovies[appData.currentGame]) { |
| 660 | pack_files.push({ |
| 661 | name: moviePath, |
| 662 | file_size: emptyMovie.length, |
| 663 | start_pos: 0, |
| 664 | // is_compressed: 0, |
| 665 | schemaFields: [{ type: "Buffer", fields: [{ type: "Buffer", val: emptyMovie }] }], |
| 666 | } as PackedFile); |
| 667 | } |
| 668 | }; |
| 669 | export const getDBVersionByTableName = (packFile: PackedFile, dbName: string) => { |
| 670 | if (packFile.name.endsWith(".loc")) return LocVersion; |
| 671 | const dbversions = DBNameToDBVersions[appData.currentGame][dbName]; |
no outgoing calls
no test coverage detected