Repository navigation
In addition to the changes from the previous beta, this beta features...
VIDEO PLAYBACK!!
That's right. You can now play videos in your KFO client. Thanks to Leifa's open-source efforts for the DRO client, I've been able to backport and tweak most of the video playback into the KFO client.
To Install: Download the Windows Zip File | Linux AppImage
Extract the Zip File in the folder where you wish to install KFO to.
How 2 Video:
- Make sure to download and install video codecs so your PC is able to play videos! The client will check if video playback is supported on startup, and, if not, will link you to the same website.
- Once you have the codecs installed, re-launch your client to check if everything is set up correctly. If no pop up happens, your client is ready for videos!
Now, how to set up your char.ini to be able to send videos (on supported servers, namely latest version of KFO-Server)
- Create a new section in your char.ini, like so:
[videos]
1 = test.mp4
2 = videos/test2.mp4- The video paths work according to this logic:
- First, check inside the character folder's
videos/folder, e.g.base/characters/chara/videos/+test.mp4 - If not found, check inside the character folder, e.g.
base/characters/chara/+test.mp4 - If not found, use the path as-is to explore the base folder, e.g.
base/+test.mp4
- First, check inside the character folder's
- The number corresponds to the emote number to associate the video with. Video will start after any interjection shouts, before preanimation.
- Once you use the associated emote, the video will play before that emote no matter what - your preanimation checkbox has no effect and video will play even on idle sprites. This might change in the future.
- Videos can also be interrupted with interjection shouts. Videos will pause the message queue as well, preventing people from interrupting your video by simply speaking.
You can also change if the videoexpands, or gets put in a letterbox to fit the dimensions. To create an expand override, create an .ini file with the video filename and extension, like so:
test.mp4.ini
Put it next to the video, and in the ini, type inexpant=true.
What's Changed
- Bring back support for jpg/jpeg cuz I misinterpreted an AO PR by @Crystalwarrior in #40
- First iteration of a working video playback player by @Crystalwarrior in #41
- Hide music displayer if no music is playing by @Crystalwarrior in #42
Full Changelog: beta-1...beta-2