Commit Graph
29 Commits
Author SHA1 Message Date
ItsLJcoolandGitHub a7b040152d Fixed / Refactored SysZip to actually work, and store compressed entries without uncompressing an entire zip (#761)
* well boys I fixed it. you can now have Zipped Mods!!!!!

* comment update

* quick fixes + optimizations

* fixed stream audio bug????

* found the issue ffs

* removing traces oops

* fixed videos from not being able to play. Inspired from VideoCutscene's fix for ZIP videos, and also removed that fix in favor for just fixing the issue entirely

* oop just in case no special characters that kill themself on other shit

* Implemented preloading every video (caching) when loading a ZipFolderLibrary.

Since videos have to be decompressed and be saved as a file anyways this reduces the time to do that, and what not.

* [UNTESTED] Allowed Zip Extensions for allowing any extension in the list to be passed as a `.zip`

* After some more testing loading Zip Addons works as well.

* Added the long awaited .cnemod file type!!!!! (it's just a folder with .cnemod with a .zip inside LMAO)

* Chalking up the Streamed Audio Bug to a mod issue, and also added capabilites to detect if a library is considered compressed

* Added warning to those who try to use the editor with compressed libraries

* ok instead of making it a .cnemod, the zip name will be `cnemod.zip` or what not.

* removing unnessesary traces oops

* clean Library accessor ig then

* fixed small issues and removed an idiot idea

* writing todos and fixing some context that left the room in comments

* Fixed an issue where if you had a file of 0 bytes (nothing) in a zipped library it would FUCKING CRASH the game

* Actually fixed the issue of decompressing 0 byte files

Also stopped saving the data for Folders in Zipped files, as they are 0 bytes anyways.

* Added the features that needed to exist, and removed a stupid line I saw in `ModsFolder` lol

For some reason animation offsets for characters are breaking and I can't tell if its my drive killing itself or cne so uh

* fix an issue that will force the game to crash if first ever mod being loaded is a ZipModLibrary
2026-03-15 14:24:47 +07:00
Ralty 38997b4765 Don't duplicate default asset library 2025-08-04 18:08:21 +07:00
Furo 9bd8ad0ad7 Merge branch 'main' into translations-system 2025-07-21 12:58:53 +02:00
Ralty 52184f0470 Merge remote-tracking branch 'upstream/main' into new-editors-main
# Conflicts:
# commandline/commands/Compiler.hx
# source/funkin/backend/FunkinSprite.hx
# source/funkin/backend/MusicBeatState.hx
# source/funkin/backend/MusicBeatSubstate.hx
# source/funkin/backend/chart/Chart.hx
# source/funkin/backend/chart/EventsData.hx
# source/funkin/backend/scripting/GlobalScript.hx
# source/funkin/backend/system/Controls.hx
# source/funkin/backend/system/MainState.hx
# source/funkin/backend/utils/AudioAnalyzer.hx
# source/funkin/backend/utils/CoolUtil.hx
# source/funkin/editors/character/CharacterInfoScreen.hx
# source/funkin/editors/charter/Charter.hx
# source/funkin/editors/charter/CharterSelection.hx
# source/funkin/editors/charter/CharterStrumline.hx
# source/funkin/editors/charter/CharterStrumlineButton.hx
# source/funkin/editors/charter/SongCreationScreen.hx
# source/funkin/editors/ui/UIDropDown.hx
# source/funkin/editors/ui/UIFileExplorer.hx
# source/funkin/game/Note.hx
# source/funkin/game/PlayState.hx
# source/funkin/game/SplashGroup.hx
# source/funkin/game/Stage.hx
# source/funkin/game/Strum.hx
# source/funkin/menus/FreeplayState.hx
# source/funkin/options/Options.hx
# source/funkin/options/keybinds/KeybindsOptions.hx
2025-07-19 00:57:08 +07:00
Yoshman29 5609f18c6a Fixes for Linux systems 2025-05-11 11:15:22 +02:00
Ne_Eo fe0542a32c Merge branch 'main' into translations-system 2025-01-09 20:26:29 +01:00
Ne_Eo fdf53b3d4f Merge branch 'main' into new-editors 2025-01-09 20:05:06 +01:00
⍚~Nex 5ab8a02a10 Merge remote-tracking branch 'public/main' 2025-01-03 19:18:18 +01:00
74884854ea Fixes a crash when no mod folders are founded (#515)
* Fixes a crash when no mod folders are founded

Hi

* lemme

---------

Co-authored-by: ⍚~Nex <87421482+NexIsDumb@users.noreply.github.com>
2025-01-02 03:09:14 +01:00
Ne_Eo d6dc3ea232 Fix typos 2024-12-10 04:35:32 +01:00
⍚~NexandNe_Eo 69a2f9f953 2 men,1 pregnant WIP 1
we're so back

Co-Authored-By: Ne_Eo <NeeEoo@users.noreply.github.com>
2024-10-03 01:12:49 +02:00
Ne_Eo 9febce79c1 Fix hierarchy of libs + Cleaner Tree Info 2024-10-02 22:24:35 +02:00
Ne_Eo de0a02dd50 Fixing another bug 2024-08-16 18:24:54 +02:00
Ne_Eo dbd2219b20 Cleanup + Optimization 2024-08-02 00:42:47 +02:00
NeeEoo 070db1c2bd Merge branch 'main' into translations-system 2024-04-11 14:30:58 +02:00
NeeEoo 75e35b30e1 Forgot to organize these 2024-04-11 14:27:37 +02:00
NeeEoo 244fddc3c7 Made the code work + Cleaned up Code 2024-04-10 18:57:18 +02:00
NeeEoo d955e00ece Cleaned up Warning And Error Code 2024-04-10 16:37:19 +02:00
NeeEoo e662cd4733 Fixed bug + Cleaner Code 2024-04-10 01:28:23 +02:00
Ne_Eoand⍚~Nex e068300cf1 Improved Macros + Libraries (WIP)
Co-Authored-By: ⍚~Nex <87421482+NexIsDumb@users.noreply.github.com>
2024-04-09 18:32:57 +02:00
⍚~NexandNe_Eo f9c74c5a2d OKAY IT HALF WORKS
Co-Authored-By: Ne_Eo <NeeEoo@users.noreply.github.com>
2024-04-09 17:18:29 +02:00
NeeEoo c8d96f0162 Cleanup 2024-04-07 03:33:27 +02:00
⍚~NexandNe_Eo a14f75b2ef you know the fuck what
still a wip

Co-Authored-By: Ne_Eo <NeeEoo@users.noreply.github.com>
2024-04-07 03:02:16 +02:00
⍚~Nex 3de8fcc804 bugfix for loading deleted mods + safe saves 2024-03-17 18:00:18 +01:00
Frakist 9992490d14 [BREAKING i think] state scriptpacks 2023-10-13 20:57:46 +03:00
NeeEoo a620c0ceed Added library redirecting + Addons fixes 2023-10-12 12:22:05 +02:00
NeeEoo 1259449f84 Fixed source assets, I hate this code so much please fix later
Fixed naming convention
2023-07-19 15:38:50 +02:00
NeeEoo 85cdfdeb10 Spaces To Tabs 2023-04-22 12:15:49 +02:00
Yoshman29 06828cade7 time to break your mods again for ease of use 2023-04-18 02:13:04 +02:00