-
Notifications
You must be signed in to change notification settings - Fork 36
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
compression rewrite (results in a vc fix) #70
base: old_main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't tried it yet but I noticed few things in code
(also don't use merge soon label when you make the PR, use the waiting for review one instead and when it gets approved use merge soon) |
that should be the requested changes however we need to discuss the default memory size for zlib and perhaps use config.h? |
maybe create a new file called |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code is fine but I need to build this so I'll approve it once that is done
in the process of applying changes but keep in mind this isnt tested on wiivc |
Just checked and Wii VC doesnt work even before this commit. So that will need to be addressed but that is out of the scope of this pr. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as before I need to test before approving
include/config/config_compression.h
Outdated
/* Size of libdeflates's buffer in kibibytes (yes kib not kb). HackerSM64's implimentation uses a full Mb we use 32 kib*/ | ||
#define KIB 32 | ||
|
||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newline missing there (at the end of the file)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also you should probably rename the KIB macro to something more specific to libdeflate, also there's a typo I missed on the comment there ("implimentation")
VC should now be fixed. Like stated VC doesn't benefit from optimization in fact it causes crashes. This should also be low maintenance for users. if people need insane compression the can just use zlib that's also in this pr. n64 mode uses the normal optimization levels so its mostly unchanged. |
Using make wad also forces VC mode as well, I did put a warning to make clean. |
I tried this PR everything seems to work, I requested changes I made and sent as a diff patch so I'm gonna wait until those are applied then I'll proceed with the merge process |
* ``EMULATOR :=`` -> ``N64_EMULATOR ?=`` * change other instances of EMULATOR and removed EMU_FLAGS * missing one EMULATOR
* Cleanup `z_collision_check.c` and structs * Revert `other*` names to master, split to other pr * WIP/experimental: `ColliderCylinderElement` * Revert "WIP/experimental: `ColliderCylinderElement`" This reverts commit cfc8c32ace2970869a2c93be0666786f87ca5e1a. * ac/atHitInfo -> HitElem * rename some collider elements to "elem" (instead of item, info, hurtbox...) * cut down on more "hitbox" usage * name all `ColliderElement*` temps properly * rearrange colcheck structs * add collider shape name descriptions * reword collider shape descriptions * jntsph first again --------- Co-authored-by: fig02 <[email protected]>
* Removed unused imports and other minor improvements * revert tools/ZAPD/ZAPD/genbuildinfo.py * revert diff.py * Update sym_info.py * revert asm_processor/ --------- Co-authored-by: fig02 <[email protected]> Co-authored-by: Dragorn421 <[email protected]>
* Replace most osSyncPrintf calls with PRINTF macro * DEBUG -> OOT_DEBUG
…INT_LIGHTS` (#1583) * 7 -> `ACTOR_FLAG_REACT_TO_LENS` * move comment above actor flag * 22 -> `ACTOR_FLAG_IGNORE_POINT_LIGHTS` * newlines between flags --------- Co-authored-by: fig02 <[email protected]>
HackerOoT v2.0 - Refactors & new features!
Co-authored-by: Tharo <[email protected]>
Fixed build issues with 2.0
Compiler Improvements
Avoid disabling no syncs in texture load
More detailed setup instructions
Implemented Motion Blur
Improved output of the build process
Rainbow system
what's going on with this pr lol the diff is suspicious wouldn't it be better to remake it to target the current dev branch? |
this is a year old and may be quicker to redo than fix. |
I essentially did 4 things with this commit.
Each compression algorithm uses its own function.
Added zlib as a compression algorithm as it isnt terrible on a real control deck. This includes a resizable buffer.
Every compression algorithm is forced to use Ofast which greatly improves decompression speed
Rewrote the makefile which fixes Virtual Console