25 Commits
Author SHA1 Message Date
McSchneidar cf2fa796e2 .NET10 Migration (#946)
Runtime and build
- Move all projects to .NET 10 with SDK-style project files and a shared
  Directory.Build.props (WIN/LINUX, x86/x64 defines)
- Load managed and unmanaged dependencies from libs/managed and
  libs/unmanaged through assembly and native library resolvers
- Compile party modes with Roslyn instead of CodeDom
- Update AppVeyor to the .NET 10 SDK and dotnet test
- Download the FFmpeg and gstreamer runtimes from the dependencies
  repository during the build
- Remove the VC++ 2015-2022 runtime check, no dependency needs it anymore

Graphics and windowing
- Replace the Direct3D 9 renderer with Direct3D 11 (Vortice)
- Pace Direct3D 11 frames with a frame latency waitable swap chain
- Move window, input and message boxes to SDL3
- Replace System.Drawing with SkiaSharp and WinForms with SDL3 and a
  software renderer

Video and audio
- Replace Acinerella with FFmpeg 8.1.3 (FFmpeg.AutoGen)
- Add hardware accelerated video decoding (D3D11VA, DXVA2, VideoToolbox,
  VAAPI, VDPAU) with software fallback
- Convert YUV video frames to RGB on the GPU in Direct3D 11 and OpenGL
- Add the video options HardwareDecoding, GpuColorConversion,
  DecoderThreads and VideoDownscaleResolution
- Update OpenAL to OpenTK 4 and NAudio recording to WasapiRecorder

Fixes
- Fix the song preview start and shorten the reporter buttons
- Fix a crash when opening the highscore without a selected song
- Use the options slide highlight in the party mode screens to avoid
  brightness flicker on VRR displays
- Disable GameInput in the x86 build, SDL3 crashes in GameInputCreate
  on 32-bit systems with the GameInput runtime installed
- Fix a truncation warning in PitchTracker
2026-11-02 08:11:20 +01:00
McSchneidarandFlorian Ostertag 336d08040e New Webserver and WebApp (#942)
* Replace the WCF webserver with an ASP.NET Core webserver (VocaluxeWeb)

- New project VocaluxeWeb: ASP.NET Core 2.3 (Kestrel) on .NET Framework 4.8.1, HTTP or HTTPS
  with a self-signed certificate, REST API (/api/v1) with Swagger, live events (Server-Sent Events)
- Access to the game only through IVocaluxeRemote; requests run on the main thread once per frame
- Sessions with roles (guest, player, admin) and configurable permissions, PINs hashed with PBKDF2
- Queue as a playlist with requesters and singers, fair order (one song per person and round)
- Admin: settings, server status, logged-in devices, activate/deactivate and delete profiles
- Profile pictures: own photo or one of the Vocaluxe avatars
- Game: WebApp queue screen (song options, playlist group) to start the next song with the chosen
  singers, return to it after singing, warning when the webserver is off, remote keyboard
- Old WCF server, WebserverInitalConfig and URL reservations removed; libraries moved to libs/managed
- Unit tests for PIN hashing, settings and permissions, queue order and device names
- AppVeyor: Visual Studio 2022 image and Node.js 24 (the build compiles the WebApp)
- Documentation in VocaluxeWeb/README.md

* New WebApp (Vue 3, TypeScript, Vite) replacing the old jQuery Mobile website

- Login with profile and PIN, create profiles
- Songs with search, filters, sorting and 30 second previews
- Queue: add songs with game mode, audio and singers, edit, reorder, start in the game
- Playlists: create, edit, add to the queue
- Now playing with live updates, remote control and keyboard
- Players: own profile with picture (photo or Vocaluxe avatar), roles for admins
- Admin settings: permissions, server status, devices, profiles
- Help page, responsive layout for phones, tablets and desktops, light and dark mode
- Texts in WebApp/src/locales/en.json, translated with Transifex
- Old website and PhoneGap config removed

---------

Co-authored-by: Florian Ostertag <flokuep@users.noreply.github.com>
2026-10-26 05:40:11 +01:00
McSchneidarandFlorian Ostertag 74653ab977 Improve song selection screen (#932)
* Redesign song selection screen

* Fix SonarCloud issues

* Add TileCaption to SConfig test file

---------

Co-authored-by: Florian Ostertag <flokuep@users.noreply.github.com>
2026-10-21 10:25:40 +02:00
Quentin Bray 6ffa63b923 Apply R# clean-up for reliability (#877)
* Apply R# clean-up for reliability

- Migrate to NUnit4 Assert.That
- Update dependencise versions
- Fix LangVersion to 9.0 (until net core migration)
- Reformat code
- Apply 'var' style (easier for refactoring)
- Remove redundant parentheses
- Add braces on every condition blocks (1 line)
- Uses new null checking patterns
- Uses AutoProperties when possible
- Uses string scalar type instead of class
- Clean usings
- Add .orig files in git ignore
- Rename some properties to respect defined conventions and US format definition
	- ID -> Id
	- BPM -> Bpm
	- Finish -> End

* Update R# settings according to the clean-up made
2026-06-22 19:52:06 +02:00
McSchneidar e249baf2d4 Add SoundEffectVolume & VocalsVolume to SConfig Test (#847)
* Add SoundEffectVolume

* Add VocalsVolume

* Trim trailing whitespace/newlines
2026-03-20 21:03:24 +01:00
McSchneidar 12a19b46c5 Fix for 2 build errors (non-blocking) (#846)
* Adapt Number of Rounds Test to used logic

* Add BindingRedirects

* Add BindingRedirects
2026-03-19 19:52:19 +01:00
Edi316 ff26565143 Update to .NET Framework 4.8.1 (#834)
* Update to .NET Framework 4.8.1

* Update to .NET Framework 4.8.1

* Update to .NET Framework 4.8.1

* Update to .NET Framework 4.8.1

* Update to .NET Framework 4.8.1

* Update to .NET Framework 4.8.1

* Update to .NET Framework 4.8.1

* Update to .NET Framework 4.8.1

* Update to .NET Framework 4.8.1

* Revert change
2026-01-27 21:23:56 +01:00
Metin Celik 9fbcc077ff Modernize NuGet dependencies and migrate to PackageReference (#823)
* Add .vscode to .gitignore

* Update copyright year

* Update Newtonsoft.Json package to version 13.0.4

* Migrate NuGet to PackageReference

* Replace vocaluxe.dependencies.sqlite with Microsoft.Data.Sqlite

* Update Serilog package references to latest versions

* Fix typo
2025-12-29 14:09:03 +01:00
Florian Ostertagandtransifex-integration[bot] 990707d678 Transifex integration (#655)
* Add: Transifex file and renamed lang files

* Translate Vocaluxe/Website/locales/en.json in tr

100% translated source file: 'Vocaluxe/Website/locales/en.json'
on 'tr'.

* Translate Vocaluxe/Website/locales/en.json in es

100% translated source file: 'Vocaluxe/Website/locales/en.json'
on 'es'.

* Rename all language files to match transifex.

* Manual sync of translations

* Another manual sync of translations

* Adjust pr branch name

* Translate Output/Languages/en.xml in pt

97% of minimum 90% translated source file: 'Output/Languages/en.xml'
on 'pt'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format

* Translate Output/Languages/en.xml in cs

96% of minimum 90% translated source file: 'Output/Languages/en.xml'
on 'cs'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format

* Translate Output/Languages/en.xml in it

100% translated source file: 'Output/Languages/en.xml'
on 'it'.

* Translate Output/Languages/en.xml in ru

100% translated source file: 'Output/Languages/en.xml'
on 'ru'.

* Translate Output/Languages/en.xml in sv

100% translated source file: 'Output/Languages/en.xml'
on 'sv'.

* Translate Output/Languages/en.xml in de

100% translated source file: 'Output/Languages/en.xml'
on 'de'.

* Translate Output/Languages/en.xml in fr

100% translated source file: 'Output/Languages/en.xml'
on 'fr'.

* Translate Vocaluxe/Website/locales/en.json in hu

100% translated source file: 'Vocaluxe/Website/locales/en.json'
on 'hu'.

* Translate Vocaluxe/Website/locales/en.json in ru

100% translated source file: 'Vocaluxe/Website/locales/en.json'
on 'ru'.

* Fix: Unescape String during xml reading

* Translate Output/Languages/en.xml in ru

100% translated source file: 'Output/Languages/en.xml'
on 'ru'.

* Translate Output/Languages/en.xml in ru

100% translated source file: 'Output/Languages/en.xml'
on 'ru'.

* Translate Output/Languages/en.xml in ru

100% translated source file: 'Output/Languages/en.xml'
on 'ru'.

* Translate Output/Languages/en.xml in ru

100% translated source file: 'Output/Languages/en.xml'
on 'ru'.

* Fix: Seperate handling of unescaping

* Fix: Typo

* Fix: Typo

---------

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-12-28 20:58:13 +01:00
lukeIam eef1ea5c55 Fix: CLogTest use uninterpolated string as expected value 2020-01-10 18:07:03 +01:00
lukeIam 8d54dd869f Add tests for CBenchmark 2018-03-31 18:18:12 +02:00
lukeIam 3c6bed1214 Introduced some constants in CLogTest 2018-03-29 14:21:54 +02:00
lukeIam 82803cec77 - Add minLogLevel param to CLog.Init()
- Add tests for CLog
2018-03-29 14:08:59 +02:00
lukeIam cc6ee1c3db Split test build configuration in "x64" and "x86" (manual project file edit) 2018-03-26 17:29:16 +02:00
lukeIam b802137a21 Improve code layout 2018-03-24 20:51:13 +01:00
lukeIam b85e3769b5 Migrated CPartyModeChallangeTest 2018-03-24 20:23:49 +01:00
lukeIam 8aab88261d Add test for CLogFileRoller 2018-03-24 11:37:06 +01:00
lukeIam 3c28155539 Removed used using 2018-03-23 15:14:15 +01:00
lukeIam ad45297b9a Updated SThemeScreen.xml 2018-03-23 15:12:50 +01:00
lukeIam 3af073c0d1 Workaround: Assert.Throws fails even if the exception type was correct. 2018-03-23 14:59:53 +01:00
lukeIam 016a64f4f2 Fix: test config xml file is to old and does not match the current config object. 2018-03-23 14:27:17 +01:00
lukeIam 766468b4b5 Make test error message more meaningful (CXmlSerializerTest) 2018-03-23 14:26:30 +01:00
lukeIam 6fa653fdb8 Ported CXmlSerializerTests 2018-03-23 14:17:07 +01:00
lukeIam d0c81b4d93 Added license header 2018-03-16 13:33:17 +01:00
lukeIam 881b5a9d5e Added new test-project (with nunit3) and ported the CCombinations tests 2018-03-16 13:29:30 +01:00