Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readable json manifest #45

Merged
merged 43 commits into from
Apr 28, 2023
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
bbf43b2
Encode changed textures as RGBA32
dcvz Jan 12, 2023
6bf6e17
Correctly export original texture type
dcvz Jan 13, 2023
03ed05a
Handle palettes exporting as palettes
dcvz Jan 14, 2023
11690e2
Fix up and clean tex_utils
dcvz Jan 14, 2023
c79437a
Added debug texture editor
KiritoDv Jan 14, 2023
c34fb00
Clean up double decode of png
dcvz Jan 14, 2023
2da9eae
Fix bugs in grayscale4bpp textures
dcvz Jan 14, 2023
28a24ea
Fix export of pal4 textures to PNG
dcvz Jan 15, 2023
133114a
Remove text saying no HD textures supported
dcvz Jan 15, 2023
e0a068e
Fix texture type settings
dcvz Jan 15, 2023
a241568
Added more debug features and fixed grayscale textures
KiritoDv Jan 15, 2023
2350899
Added texture width and height into texture header
KiritoDv Jan 16, 2023
0923344
Fixed grayscale images
KiritoDv Jan 16, 2023
edb75f6
Remove width and height writing in resource
dcvz Jan 17, 2023
1de93f6
Added blacklist patterns when exporting hd textures
KiritoDv Jan 17, 2023
69f065c
Removed nintendo rogo and gohma from the blacklist
KiritoDv Jan 19, 2023
a319a1d
remove blacklist and add scale
dcvz Jan 22, 2023
c8588f6
Added support to extract jpeg backgrounds
KiritoDv Jan 24, 2023
c94c974
Small improvements to texture parsing
dcvz Jan 26, 2023
d185d12
Move all texture types to be converted in same manner
dcvz Jan 26, 2023
61dec85
Add scaffolds for presenting errors
dcvz Jan 26, 2023
113ed9a
Revert "Fix issues with paths on OS (#29)"
dcvz Jan 26, 2023
25c836b
Added debug font support
KiritoDv Jan 26, 2023
a44e76d
Revert command stuff
dcvz Feb 1, 2023
22f3f52
Merge branch 'main' into feature/textures-hd
dcvz Feb 2, 2023
3f8c8a6
Add missed files
dcvz Feb 2, 2023
db14b89
Fix font dumping
dcvz Feb 2, 2023
b75668f
Use spock as right version for asset headers
dcvz Mar 1, 2023
88b6896
Merge latest hd texture changes into main repo (#39)
KiritoDv Apr 3, 2023
d796a13
feat: prepend hd prefix for hd textures
Apr 4, 2023
0219b80
always prepend hd
Apr 6, 2023
a41dd1a
try adding isCustom
Apr 22, 2023
80183e0
play with it
Apr 24, 2023
464339a
use i18n (still need actual translations)
Apr 24, 2023
92a9cd0
more prependin
Apr 24, 2023
6902bd0
fully functional
Apr 24, 2023
1d05012
alt not hd
Apr 26, 2023
d41c471
TWEAK: FR-DE (#2)
PurpleHato Apr 27, 2023
a032e4f
use subdirectory based on otr name
Apr 28, 2023
c1abd15
make `manifest.json` more than one line
Apr 28, 2023
ef1f735
Merge remote-tracking branch 'hm64/alpha' into readable-json-manifest
Apr 28, 2023
db87b94
Merge remote-tracking branch 'hm64/alpha' into readable-json-manifest
Apr 28, 2023
002407b
no i don't want this file
Apr 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ class CreateReplaceTexturesViewModel extends ChangeNotifier {
String? manifestOutputPath = "$selectedDirectory/$otrNameForOutputDirectory/manifest.json";
File manifestFile = File(manifestOutputPath);
await manifestFile.create(recursive: true);
String dataToWrite = jsonEncode(processedFiles);
var encoder = const JsonEncoder.withIndent(" ");
String dataToWrite = encoder.convert(processedFiles);
await manifestFile.writeAsString(dataToWrite);

isProcessing = false;
Expand Down