mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-08-28 04:15:44 -05:00
Unpack Pokedex Graphics and nitrogfx scan/encode Separation (#782)
Some checks failed
build / build (push) Has been cancelled
Some checks failed
build / build (push) Has been cancelled
This commit is contained in:
@@ -44,7 +44,8 @@ for i in range(args.sprite_entries):
|
||||
args.nitrogfx,
|
||||
infile,
|
||||
target,
|
||||
'-scanfronttoback'
|
||||
'-encodefronttoback',
|
||||
'-scan',
|
||||
])
|
||||
|
||||
# The next batch of files should all be palettes
|
||||
@@ -72,13 +73,15 @@ subprocess.run([
|
||||
args.nitrogfx,
|
||||
sub_back,
|
||||
private_dir / f'pl_otherpoke_{i:04}.NCGR',
|
||||
'-scanfronttoback'
|
||||
'-encodefronttoback',
|
||||
'-scan',
|
||||
])
|
||||
subprocess.run([
|
||||
args.nitrogfx,
|
||||
sub_front,
|
||||
private_dir / f'pl_otherpoke_{(i+1):04}.NCGR',
|
||||
'-scanfronttoback'
|
||||
'-encodefronttoback',
|
||||
'-scan',
|
||||
])
|
||||
subprocess.run([
|
||||
args.nitrogfx,
|
||||
@@ -92,7 +95,8 @@ subprocess.run([
|
||||
args.nitrogfx,
|
||||
shadows,
|
||||
private_dir / f'pokemon_shadows.NCGR',
|
||||
'-scanfronttoback'
|
||||
'-encodefronttoback',
|
||||
'-scan',
|
||||
])
|
||||
subprocess.run([
|
||||
args.nitrogfx,
|
||||
|
||||
@@ -51,7 +51,8 @@ for i, subdir in enumerate(SPECIES_DIRS):
|
||||
args.nitrogfx,
|
||||
source_file,
|
||||
target_file,
|
||||
'-scanfronttoback'
|
||||
'-encodefronttoback',
|
||||
'-scan',
|
||||
])
|
||||
else:
|
||||
subprocess.run(['touch', target_file])
|
||||
|
||||
Reference in New Issue
Block a user