Anki.Resources.SDK
0.0.3
See the version list below for details.
dotnet add package Anki.Resources.SDK --version 0.0.3
NuGet\Install-Package Anki.Resources.SDK -Version 0.0.3
<PackageReference Include="Anki.Resources.SDK" Version="0.0.3" />
paket add Anki.Resources.SDK --version 0.0.3
#r "nuget: Anki.Resources.SDK, 0.0.3"
// Install Anki.Resources.SDK as a Cake Addin #addin nuget:?package=Anki.Resources.SDK&version=0.0.3 // Install Anki.Resources.SDK as a Cake Tool #tool nuget:?package=Anki.Resources.SDK&version=0.0.3
Anki Vector/Cozmo Resources SDK (.NET)
This SDK allows manipulation of a resources folder from an "over the air update" OTA file for Anki Vector and the APK files for Anki Cozmo, in any .NET language (C#, VB.NET, F#) or language that interoperates (python) on Windows, Mac, and Linux. This requires that you know how to one of these files, and how extract the contents.
You can play the audio sounds on your computer
Examine the sprite-sequences, and other animations on your computer,
It has lint-like checking to help catch flaws in the resource bundle, so that they can be eliminated before shipping, reducing the test effort
There is some support for Cozmo resources.
Note: This SDK is not a product of Anki or Digital Dream Labs, and is not supported by them.
Getting Started
Download Microsoft development tools
If you working on Windows, download Visual Studio 2019 Community Edition to get started. This version is free for personal use.
To get started on Mac and Linux, you can download .NET Core 3.0.
To play audio you will need to add the following packages to your project:
To play with the sprites you will need to add the following packages to your project:
Download
SDK Example Code / Tutorial Programs
Some examples of how to use the SDK can be found at
Documentation
The documentation can be found at randym32.github.io/Anki.Resources.SDK
Browser configuration notes
The documentation, when browsed from a local filesystem, may require tweaking the browser.
Firefox
Go to about:config and make change to the following:
- security.fileuri.strict_origin_policy set to false
- privacy.file_unique_origin set to false
Chrome
You can not use Chrome with a local file system. You can, however, use an extension like "Web Server for Chrome"
Getting help
Being a new library, there is not yet an established usage pattern, clear place and patterns for getting help. Try
- Official Anki developer forums: https://forums.anki.com/
- Anki Vector developer subreddit: https://www.reddit.com/r/ankivectordevelopers
- Anki robots Discord chat: https://discord.gg/FT8EYwu
Contributing
View the Anki.Resources.SDK GitHub Project for information on contributing.
Grateful Acknowledgements and Special Thanks
Thank-you to the vgmstream and ww2ogg projects, whose efforts allowed decoding of the audio files.
Wayne Venables, you set a very high bar with Anki.Vector.SDK I lifted some of your index.md getting started information for here.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- NAudio (>= 1.10.0)
- NAudio.Vorbis (>= 1.2.0)
- NVorbis (>= 0.10.1)
- System.Drawing.Common (>= 4.7.0)
- System.IO.Compression (>= 4.3.0)
- System.Runtime (>= 4.3.1)
- System.Text.Encoding.CodePages (>= 4.7.1)
- System.Text.Json (>= 4.7.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
This allows reading and playing Vector and Cozmo sounds, and examining the sprites.
Preserves the case of the trigger names now, added a typed return for the CompositeImage ImageMap