* [OoT] Add move cutscene bone operator
* fixup
* No longer sort bones by name for computing the camera shot preview (which was different from what the exporter did anyway)
* Update fast64_internal/oot/cutscene/motion/properties.py
Co-authored-by: Yanis <[email protected]>
---------
Co-authored-by: Yanis <[email protected]>
* cutscene fixes
* add missing includes in cs exporter
* use CS_FLOAT
* don't use cs_float for actor cues and use it for the unused values
* review
---------
Co-authored-by: Dragorn421 <[email protected]>
* [SM64/F3D] Use WriteDifferingAndRevert for bleed
Write all logic remains unaffected, obviously.
A new dict was added to map each mode cmd to its default.
For the actual bleed part, we fIrst need to add geo mode reverts of the last material to the geo mode of the current material, since the current material may not set them now. For othermodes we do something different, get all reverts and add any that doesn´t get set again by the current material ignoring bleeding.
For the geo mode revert, we keep track of one geo mode command for set and clear, updating it as we go. For othermodes we keep track of all of the command types and then revert them using the new dict.
* remove this
* scut sabotage
* Port over #462
We cannot just assume that othermodeh or othermodel are always setting the same bits, so instead we write the diff of the current cmd to the one already in the reset dict, this means that if a materials sets rendermode and another sets alpha compare (for example) it will still revert the rendermode because those bits will be carried over in the reset dict
* make write different optional, as it can lead to bigger dls
* clean up sm64 repo settings
* im gonna have to rework a bunch of othermode stuff i actually dispise fast64 so much
* RendermodeBlender class
* Update f3d_bleed.py
* i just want to be done with this
* [Repo Settings] Only set if different
Fixes lag at start up from draw layers being set unnecessarily.
Some clean up that I already did in #461
* Update utility.py
* is_rendermode_cmd to def
* fix rendermode
* return RendermodeBlender instead of temp list
* instead of using a revert, set when no render mode
* make rendermode command hashable, check for default
* pick appropriate geo cmd, make geo cmds use sets
makes dls just a bit cleaner and makes ex1 work correctly
* implement render mode reset fix
* Update f3d_bleed.py
* undo dumb change
* respect write method
* only revert as needed, i feel like a god
* make switchs work super well
* fix setting rendermode
* remove repeated resets in switch options and add options for reverts in bones
* use last_mat by default
* comment out occlusion plane code to show bleed indep
* functions already work
* fix load othermodes
these work more like write diffs, so we do that
* someone forgot
* fix prev node issue
* create our own pipe syncs
* Update f3d_bleed.py
* fix disgusting broken late night code
* Revert "fix disgusting broken late night code"
This reverts commit 9ece1511595678a551fae02f906a998fbde1ffba.
* Update sm64_geolayout_classes.py
* something is wrong but i cant figure it out
* dont remove lighting
* fix DPSetRenderMode
* fix write all rendermode
* fix this bug once and for all
* write all get_flags impl
* get_flags
* forgot to do diff in reverts in write all
* add back prim depth, accidentally removed
* comments (not ready)
* not a union
* not a tuple
Co-authored-by: Dragorn421 <[email protected]>
* proper formatting
Co-authored-by: Dragorn421 <[email protected]>
* use load sync
* oopsie dasie
* use pipe syncs again
---------
Co-authored-by: Dragorn421 <[email protected]>
* add missing versions and improve quick import
* remove debug print
* add ignore cs stop preview setting
* lilaa's suggestion + added ique-cn
* throw a warning when trying to import a cutscene which already exists in the data
* Make update UI more understandable
Don't box the ui as the preferences are already part of a box (looks disgusting in 4.2)
Update to stable now on the same column as update to main to make them seem both equally useful
Change text for main/old to be more obviously important, from "Install main / old version" to "Install specific version (Latest or Older)"
Move the restore operator into another row
Updated readme with new instructions and screenshots
* Remove mat screenshot and link to updater instructions early into the readme
* Update redundant text
* merge request button
* Update README.md
Co-authored-by: Dragorn421 <[email protected]>
* change to gross github name only used by github and no one else
Co-authored-by: Dragorn421 <[email protected]>
* use to be added updater in fast64docs
* mention ability to test prs
---------
Co-authored-by: Dragorn421 <[email protected]>
* added warnings for when exporting all has exceptions for some objects
* changed code to instead generate exceptions except for specific ones which will give a warning in the console. Possibility to add warning for user for other exceptions though probably not
---------
Co-authored-by: scut <scut>
* make actor scale default to 10
* add a print for clarity
* Show actor scale outside custom and check custom in skeletons
Not an oot expert but this seems like a very obvious issue with this.
---------
Co-authored-by: Lila <[email protected]>
* [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 7fe981cc15e3a45766a2aacd21c725af8e2f708b.
* [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 lines
* [SM64] Bring binary dl exporter up-to-date
Add bleed and inline support.
Assert for fmeshes len
No longer use getDrawLayerV3, yes it doesn´t matter here but it was the last bit of code to use it, with permission I'd like to remove the function
* DLFormat.Static
* [OOT + F3D] More informative error messages for deleted lights
I thought of wrapping saveOrGetF3DMaterial to avoid these kind of empty errors in the future, im fine with reverting that tho I think it is for the better (in ac I wanted to throw errors where the material wasn't in the args already and it's very annoying, this way everything is consistent)
* fix from watching somone's stream
* [SM64] Add in actor preset information for future use
Used in animation rework for import presets and export presets for binary
* Added animation names
* black
* Mario animation names
* black
* undo weird change
* name all animations
* fix piranha animation names
* Small mistake in mario
* add docstring
* clean up validation
* add groups, fix mistakes
* figure out level from group
* fix toad
* hack for bowser
* Use hex
* Fixes from animations rework final testing
* First pass
There seems to be something wrong with reverts still, will investigate
* currently hasn´t caused a bug but update this to be sure
* another similar issue
* parsed parameters for actor data
* removed paramsByType
* main logic
* fixed issues and export
* operators
* black
* fixes, transition actor list
* upgrade logic
* fixes
* black
* review
* review
* fixed export issues
* format
* kure's review part 1
* fixed upgrade issues (custom not handled yet)
* snake case-ify functions, tiny xml docs/fixes, completed upgrade stuff
* add custom values for enums
* added custom values for string props
* small fix and default to custom in upgrade
* fixed custom values not working
* fixed issues related to custom value for Chest/Navi Msg
* fixed issue where 'get_param_value' can return None in some cases
* latest review from kure
* [SM64] Only throw empty gfx exception in actor exports
* type hint
* removed comment
* Remove other unused camera args
* don't pass in arg for camera
* remove last unused camera
* [SM64] Fix/Improve multi-actor UI (not export all selected)
* abs_decomp_path
a little extra addition for code quality
* dragon's review suggestions
* forgot to change this to a comma, oops
* [SM64] Area fog improvements
Area fog is now a toggle in the area root
Renamed the text for global fog to area fog
Materials now by default show color and position if set fog is on, then in sm64 mode, if they are parented to an area that sets fog the option for area fog shows up with the area name in the text, if it's on a disabled column with the area's fog properties will also show
* Fixed description
* Shorten description, black
* black