Go to file
2023-12-14 04:31:37 +08:00
README.assets 支持移动摸头 2023-02-20 19:47:44 +11:00
Tutorial.assets 捏脸动画更新 2023-11-24 15:22:08 +08:00
VPet-Simulator.Core 智能化重新归位 2023-12-02 18:12:03 +08:00
VPet-Simulator.Tool 手搓工具支持文件夹循环 2023-10-19 17:58:33 +08:00
VPet-Simulator.Windows Merge branch 'LorisYounger:main' into main 2023-12-14 03:05:11 +08:00
VPet-Simulator.Windows.Interface 统一work的get和spend算法 2023-11-13 22:34:57 +08:00
VPet.Solution 更新新版开机启动steam逻辑, 不会导致卸载不掉的问题 2023-09-24 12:21:40 +08:00
.editorconfig 去掉没啥用的警告( 2023-09-24 12:12:38 +08:00
.gitignore 新增自动启用DLC插件功能 2023-12-07 16:31:20 +08:00
CONTRIBUTING_en.md Add zht CONTRIBUTING by DragonTaki 2023-12-14 04:31:37 +08:00
CONTRIBUTING_zht.md Update CONTRIBUTING_zht.md 2023-12-14 04:29:45 +08:00
CONTRIBUTING.md en readme fix by Dobby233Liu 2023-09-24 12:10:37 +08:00
LICENSE Initial commit 2022-12-13 14:37:42 +08:00
README_en.md Add Japanese README 2023-11-06 17:31:42 +09:00
README_ja.md Add Japanese README 2023-11-06 17:31:42 +09:00
README.md Add Japanese README 2023-11-06 17:31:42 +09:00
Tutorial_en.md 修复捏脸时鼠标移出问题 2023-11-29 02:50:51 +08:00
Tutorial_zht.md 修复捏脸时鼠标移出问题 2023-11-29 02:50:51 +08:00
Tutorial.md 修复捏脸时鼠标移出问题 2023-11-29 02:50:51 +08:00
VPet.sln VPET 问题解决工具 2023-09-24 12:21:39 +08:00
vpeticon.ase 更新图标 2023-01-07 17:48:19 +08:00
vpeticon.ico 更新图标 2023-01-07 17:48:19 +08:00
vpeticon.png 更新图标 2023-01-07 17:48:19 +08:00

VPet

简体中文 | English | 日本語

Header

An open-source desktop pet/shimeji/virtual pet app, that can be embedded into any Windows Presentation Framework app as well.

Get VPet on Steam for free, or install its core library to your WPF app with NuGet.

Introduction

VPet is a desktop pet app with various interactions implemented. It's open-source, free, and supports mods from the Steam Workshop. Well, it's free, so why not try it out?

This game was originally developed for VUP-Simulator's tutorial as an accompanying desktop pet, then split into an independent app. If you like it, please consider adding VUP-Simulator to your wishlist.

Many interactions and animations!

Up to 32(types) * 4(states) * 3(variants) = 384 animations included! (Note that some types don't have ill versions or loops etc., so the actual number is slightly smaller.)

Have some examples:

Head-patting

ss0

Lifting

ss4 ss4

Wall-climbing

ss7

Free!

This game is 100% free! So if it looks good to you, try it out, it won't hurt.
Our main goal is to promote VUP-Simulator with it; the default character here is the main character there.

Open source!

The source of this game is available on GitHub. You can find it at: https://github.com/LorisYounger/VPet

Feature requests and pull requests are welcome! You can take our code and modify it to your liking, too. (Though most content doesn't require that, and can be modded in.)

With Steam Workshop support!

Steam Workshop mods are supported. With mods, you can add your own pets (animations/interactions), and share them with others through the Workshop.

The following contents can be added or modified by Workshop mods:

  • Pet animations
  • Items, foods/drinks, etc.
  • Work
  • Dialogue
  • Themes
  • Plugins - adding extra content to pets with code. For example:
    • New animation logic/solutions (e.g. Live2D and Spine)
    • New features (e.g. alarm and notes)
    • Basically anything - see VPet.Plugin.Demo for examples

Contact us (for feedback and suggestions)

You can send your feedback and suggestions to:

Software architecture

  • VPet-Simulator.Windows - desktop pet simulator for the desktop
    • Function - for functional code

      • CoreMOD - mod management
      • MWController - window controller
    • WinDesign - for windows and UI design

      • winBetterBuy - Betterbuy window
      • winCGPTSetting - ChatGPT settings
      • winSetting - app settings/mod configuration
      • winConsole - console for dev purposes
      • winGameSetting - game settings
      • winReport - feedback center
    • MainWindows - main window; stores and presents the Core

    • PetHelper - for quick pet switching

  • VPet-Simulator.Tool - tools that assist in creating mods, e.g. frame generator
  • VPet-Simulator.Core - the app's core, for embedding into other WPF applications e.g. VUP-Simulator
    • Handle - interfaces and controls
      • IController - form controller; contains relevant functions and settings, such as moving to the side
      • Function - general functions
      • GameCore - the game's core; contains various data etc.
      • GameSave - save functionality
      • IFood - interface for items and food
      • PetLoader - animation loader
    • Graph - graphics rendering
      • IGraph - base interface for animations
      • GraphCore - core for animation displaying
      • GraphHelper - animation helper class
      • GraphInfo - animation information
      • FoodAnimation - specialized support for displaying 3-layer sandwich animations (not necessarily just for food, it's just the name)
      • PNGAnimation - component for animated animations
      • Picture - component for static animations
    • Display - for displaying
      • basestyle/Theme - basic style
      • Main.xaml - core display component
        • MainDisplay - core display methods
        • MainLogic - core display logic
      • ToolBar - toolbar that shows up when pets are clicked on
      • MessageBar - dialogue bubble for when pets speak
      • WorkTimer - work timer (duh)

Contributing

Welcome to participate in development! To ensure code maintainability and playability, if you wish to develop new features or gameplay, please first contact me (by sending a mail or opening an Issue) with your idea. This is to make sure your contribution fits the game, and will not get outright rejected for being unfitting (causing your effort to be wasted). You don't need to contact me regarding fixing errors or bugs - simply send a PR in that case.

After I approve your idea, you may fork the code repository and make your changes, then submit them by opening a pull request. If it doesn't get approved, you can always make your own version of this game (that will be subject to Apache License version 2.0 and the animation copyright notice and authorization terms).

Note that to make sure the features/gameplay you contribute fit the game, I may make changes to your code.

Also note that the addition of new features can usually be accomplished with plugins - see VPet.Plugin.Demo for more information.

Thanks to the following participating developers and translator

And the Steam Workshop users who have shared translations and more with the community.

The copyright of the pet animation files provided in the source code belongs to the VUP-Simulator team. When using this game's core library in your application, you may either use your own animation files or ours. Providing that you follow the following terms, you may use our animations freely:

Note

This copyright notice only applies to the default animation files and doesn't apply to custom animation files created by third parties.

For usage for non-commercial purposes

You must inform users of the source of our animation files, and provide a link to this page.

For usage for commercial purposes

  • Please contact me through e-mail first.
  • On the first use of your application, you must show a pop-up window that prominently informs the user of the source of our animation files, and provides a link to this page.
  • In a suitable page (that your users can easily access), you must inform the user of the source of our animation files, and provide a link to this page.
  • You must not profit from our animation files by selling them.

For distribution

  • All of the above authorization information must be disclosed.
  • You must provide a link to this page.
  • No profit should be made with our files.

How to deploy Vpet-Simulator.Windows

  1. Download the source code, and open VPet.sln with Visual Studio.
  2. Change the project to generate to Vpet-Simulator.Windows, and the configuration to x64. Demonstration of the above
  3. Click on Run. If everything is OK, you will get the following message: Lack Mod Core, Unable start desktop pet
  4. Run Vpet-Simulator.Windows/mklink.bat as administrator. This links the mod folder to the build folder.
  5. Click on Run again, and this time the app will run.