15 Commits
Author SHA1 Message Date
Ralty 2a413071cd Disable Streamed Audio for now, better late than broken 2026-04-07 10:41:35 +07:00
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 dad76201f5 use static music if possible 2025-08-02 19:40:23 +07:00
Ralty 4767bab023 Use Streamed Music for Freeplay if available 2025-08-01 19:03:51 +07:00
Ralty e669eb32af Stable Reworked Audio
- Reworked Internal Audio to work with Streaming Vorbis Files (for now?)
- FlxSound.amplitude, FlxSound.amplitudeLeft, FlxSound.amplitudeRight, SoundChannel.leftPeak, SoundChannel.rightPeak now works. (Streamed Audio on this seems to be half-broken)
- Reworked AudioAnalyzer to work with all type of audios (hopefully) and work with Streamed Audio.
- Redo AudioSwitchFix to work in time instead of when switching states.

gosh, and all that i hope it doesnt break anything.
2025-07-13 19:56:26 +07:00
Ralty 5187f4a438 Register Endianness, stuff, add option to toggle 2025-07-12 02:27:12 +07:00
Rodney, An Imaginative PersonandGitHub 71b7daabbf Fixed typo. (#270)
* Fixed typo.

* Update Assets.hx
2024-05-31 17:19:11 +02:00
NeeEoo 4002cc9534 Haxe 4.3.x now works!!! 2024-03-01 17:51:55 +01:00
⍚~Nex 8cabf1e31d fixing da pr
#242
and also under @NeeEoo suggestion ive deleted that string part in mainmenustate
please tell me if you find another alpha message instead of beta😭
2024-02-09 15:07:09 +01:00
NeeEoo e9db14487d Huge optimization 2023-07-21 16:28:40 +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
Yoshman29 06828cade7 time to break your mods again for ease of use 2023-04-18 02:13:04 +02:00
Yoshman29 9c615caddc fixed 3d and fonts 2023-04-02 14:06:22 +02:00
Yoshman29 548210c51d added it as an option + possible fix?? 2023-03-26 23:36:25 +02:00
Yoshman29 6ecfb6d7d4 the magic code (experimental) 2023-03-26 22:39:53 +02:00