Main » Blogs » @steam_raccoon
◆ Blog of steam_raccoon @steam_raccoon
avatar
steam_raccoon 🐱5 Admin
Open blog: everyone can read it.
Posts: 2 ・ ♫ Lists
Rating +1 (1 for, 0 against)

YunYun desktop companion v0.2.0

After some time using the app, I realized a few changes were needed to make everything feel more natural and cohesive:
It turned out my meager C# knowledge wasn't enough to fully control this digital dummy (Claude). As a result, the C# interface ended up looking slightly worse than the Python one. It wasn't glaringly obvious, but definitely noticeable if you switched back and forth.
From time to time, I really wanted to flip/mirror YunYun so she could fit better between desktop icons on different setups.
The Linux version was finally put to the test, and let's just say it worked... "okay" at best.
So... here's the new version:
You can now flip/mirror YunYun in the settings to suit your preference, with separate toggles for her idle state and while dragging.
Localization has been improved: you can now explicitly choose between Russian and English, with Russian being selected automatically if your system locale matches.
Sound issues in the Python-based Linux version have been fixed and improved.
As for the digital dummy (Claude), due to his interface screw-ups, he has been officially demoted to just managing Git.

https://github.com/explosiveSteambot/Yunyun_Desktop_Companion/releases/tag/v0.2.0-beta

----------------------------------------------------------------------------------------------------------------------

После некоторого времени использования я пришел к выводу. что нужно внести пару изменений для того, чтобы все смотрелось органичнее
1. Оказалось, что моих скудных познаний в C# не хватило для полного контроля электронного болвана (Клода), поэтому интерфейс на шарпах выглядел хуже чем на питоне. Не прям заметно, но если попереключать то виделось что хуже
2. Время от времени ЮнЮн очень хотелось повернуть чтобы он лучше входила между значков на разных машинах
3. Версия для линкуса была наконец потесчена и работала она так себе

Поэтому... Новая версия. Теперь в настройках можно повренуть Юнюн так, как удобно вам, отдельно для покоя и перетаскивания. Исправлен перевод - теперь можно выбрать или русский, или английский, русский автоматом выберется если локаль соответствующая. А Линукс версии на питоне поправился звук - стало лучше. Электронный болван за косяки с интерфейсом был понижен до управляющего гитом

https://github.com/explosiveSteambot/Yunyun_Desktop_Companion/releases/tag/v0.2.0-beta




Post score 0
💬 Comment
(edited)

YunYun desktop companion development [EN/RU]

Greetings, little fans of weird music. Today, I would like to write a bit about how the companion app, which can still be downloaded on GitHub, came to be. A little magic under the hood is always interesting.
I think many who played Yunyun Syndrome (and if you haven't played it yet, urgently play it) entertained themselves by dragging one of the main heroines around the main screen, which simultaneously serves as Q's computer desktop. Since all animations in the game can simply be downloaded for non-commercial use, it seemed that happiness was near — using Qt, such screen widgets are made literally with the library's built-in functionality... But it turned out that happiness was actually far away, because the animation of the arms and legs moving while being dragged around the screen is a ragdoll, the code for which is, accordingly, unavailable. And when the code is unavailable, it needs to be reverse-engineered. That is, you have to write code that does the exact same thing.
Cutting the game model into its components is not a problem. Setting up the joints and bones is not a problem either. The problem is replicating the movements. Here, I had to call upon the help of an AI assistant (a "digital blockhead") via Claude, which very well and quickly managed to calculate all the necessary coefficients. Of course, it could be done manually, and the result would be the same, but it would take a couple of days instead of an hour.
After that, it's simple: Qt, a click event, and a settings window. The port to C# was also handled by the AI assistant, since I don't know C#, and in Python you have to drag along too much junk, bloating the file from 4 MB to 100+ MB. The Python version didn't go to waste either — an excellent version for Linux was built from it, and it can be built for Mac as well.
Overall, that's about it. It's just a little fun project for our own community, without any grand plans.

----------------------------------------------------------------------------------------------------------------------

Приветствую маленьких любителей странной музыки. Сегодня я хотел бы немного написать о том, как получился компаньон, которого все еще можно скачать наГитхабе. Немного магии из-под капота всегда интересно

Думаю, многие, кто играл в ЮнЮн Синдром (а если еще не играли - срочно играйте) развлекал себя перетаскиванием одной из главной героинь по главному экрану, который, одновременно, и экран компьютера Кью. Поскольку все анимации в игре можно просто скачать для некоммерческого использования, то казалось что счастье близко - через кьюты такие виджеты для экрана делаются буквально через встроенный функционал в библиотеку... Но оказалось, что на самом деле оно далеко, ведь анимация движения рук и ног во время таскания по экрану - рэгдолл (то есть палки на шарнирах, которые подчиняются физике, а не заранее подготовленной анимации. Нарезанный персонаж просто надевается на эти палки - все что движется - отдельная текстурка), код которого, соответственно, недоступен. А когда код недоступен - его надо среверсинженерить. То бишь, написать код, который делает тоже самое.
Разрезать модельку из игры на составляющие не проблема. И шарниры с костями раскидать не проблема. Проблема - повторить движения. Тут пришлось призвать на помощь электронного болвана на Клоде, который очень хорошо и быстро смог вычислить все нужные коэффициенты. Конечно, можно и руками, получилось бы тоже самое, но не за час ,а за пару дней. Дальше все просто - кьюты, событие по клику, окно настроек. Переносом на C# занимался тоже электронный болван, поскольку шарпы я не знаю, а на Питоне приходится таскать с собой слишком много мусора, раздувая файл с 4 мб до 100+ мб. Питон версия тоже в мусор не пошла - из нее собралась отличная версия для Линукса, и можно собрать под Мак.
В целом вот и все. Это просто небольшая приколюха для своих, без больших планов



Post score 0
💬 Comment