Commit c51e462
authored
[SM64/F3D] Fix and update Ui Image Exporter (#452)
* [SM64/F3D] Fix and update Ui Image Exporter
Fixes #451
Missing: Load and set commands and pallets (currently relying on multitex manager, will have to be changed somehow)
Updated: Tex prop is now drawn using ui_image, ui_image has been updated to optionally hide low and high props (are handled by size cmd, does not exist for texrect)
materialless_setup func for TexInfo, equivelant to moreSetupFromModel for bpy material-less contexts, obviously cannot handle flipbooks
ignore_tex_set bool for fromProp
Use only fromProp and updated writeAll
Some basic ui reordering to match other panels
* Fix noted issues, clean up code to be consistent, add tlut mode
* use world defaults and saveModeSetting to remove revert code, remove extra syncs
* close to being finished
* refresh 13 memes
* automatically pick 1 cycle instead of copy mode
* Rasky confirmed ia16 tlut works for copy mode, cool
* Revert "Rasky confirmed ia16 tlut works for copy mode, cool"
This reverts commit 7fe981c.
* [SM64/F3D] Fix and update Ui Image Exporter
Updated: Tex prop is now drawn using ui_image, ui_image has been updated to optionally hide low and high props (are handled by size cmd, does not exist for texture rectangles)
materialless_setup func for TexInfo, equivelant to moreSetupFromModel for bpy material-less contexts, obviously cannot handle flipbooks
setup_single_tex func for TexInfo, sets up a single texture without the context of the multi texture manager
ignore_tex_set bool for fromProp
Use only fromProp and updated writeAll
Use saveModeSetting (and world defaults) instead of manullay appending each DP command (except for blend color)
Removed syncs except for the sync after the texrect cmd to do the reverts
Removed deprecated arg for png exporting in save_textures (assumed from fimage)
Removed the ) part of the delimiter checked when exporting "Menu", refresh 13 made it (void) instead of ()
Some basic ui reordering to match other panels
Added 1 cycle variant for non rgba16 exports
Fix dynamic dls
* fix dsdx and dsdy
* fix overwrite data issues
could not deal with aligner and palletes, now can!
* sauren nitpicks
* fix first test
* Update f3d_texture_writer.py
* make the regex allow even more whitespace
* fix extra new lines1 parent a139743 commit c51e462
File tree
5 files changed
+156
-100
lines changed- fast64_internal
- f3d
- sm64
5 files changed
+156
-100
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3285 | 3285 | | |
3286 | 3286 | | |
3287 | 3287 | | |
| 3288 | + | |
| 3289 | + | |
| 3290 | + | |
| 3291 | + | |
3288 | 3292 | | |
3289 | 3293 | | |
3290 | 3294 | | |
| |||
3303 | 3307 | | |
3304 | 3308 | | |
3305 | 3309 | | |
3306 | | - | |
| 3310 | + | |
3307 | 3311 | | |
3308 | 3312 | | |
3309 | 3313 | | |
| |||
3422 | 3426 | | |
3423 | 3427 | | |
3424 | 3428 | | |
3425 | | - | |
| 3429 | + | |
| 3430 | + | |
3426 | 3431 | | |
3427 | 3432 | | |
3428 | 3433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2276 | 2276 | | |
2277 | 2277 | | |
2278 | 2278 | | |
2279 | | - | |
| 2279 | + | |
2280 | 2280 | | |
2281 | | - | |
| 2281 | + | |
2282 | 2282 | | |
2283 | 2283 | | |
2284 | 2284 | | |
| |||
2991 | 2991 | | |
2992 | 2992 | | |
2993 | 2993 | | |
| 2994 | + | |
| 2995 | + | |
| 2996 | + | |
| 2997 | + | |
| 2998 | + | |
| 2999 | + | |
| 3000 | + | |
| 3001 | + | |
| 3002 | + | |
2994 | 3003 | | |
2995 | 3004 | | |
2996 | 3005 | | |
| |||
3052 | 3061 | | |
3053 | 3062 | | |
3054 | 3063 | | |
| 3064 | + | |
3055 | 3065 | | |
3056 | 3066 | | |
3057 | 3067 | | |
| |||
3158 | 3168 | | |
3159 | 3169 | | |
3160 | 3170 | | |
3161 | | - | |
| 3171 | + | |
| 3172 | + | |
3162 | 3173 | | |
3163 | 3174 | | |
3164 | 3175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
| 423 | + | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
466 | 494 | | |
467 | 495 | | |
468 | 496 | | |
| |||
504 | 532 | | |
505 | 533 | | |
506 | 534 | | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
507 | 555 | | |
508 | 556 | | |
509 | 557 | | |
| |||
514 | 562 | | |
515 | 563 | | |
516 | 564 | | |
517 | | - | |
| 565 | + | |
518 | 566 | | |
519 | 567 | | |
520 | 568 | | |
| |||
551 | 599 | | |
552 | 600 | | |
553 | 601 | | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
554 | 605 | | |
555 | 606 | | |
556 | 607 | | |
| |||
0 commit comments