Skip to content

BithreenGirlen/OtogiFrontierPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OtogiFrontierPlayer

某ゲーの某場面再生用。

Runtime requirement

  • Windows OS later than Windows 10
  • MSVC 2015-2022 (x64)

How to play

Select a folder containing spine resources such as the following.

221491
├ odin_S1.atlas.txt // Spine atlas
├ odin_S1.png       // Spine texture
├ odin_S1.txt       // Spine skeleton (in JSON format)
├ odin_S2.atlas.txt
├ odin_S2.png
├ odin_S2.txt
└ ...

After selecting spine resources folder, the audio files will be searched assuming the following relative path, and loaded if found.

assetbundleresources
├ chara
│  └ still
│    ├ 221491
│    │  ├ odin_S1.atlas.txt
│    │  └ ...
│    └ ...
└ sound
  └ voice
    └ still
      ├ voice_still_221491
      │  ├ c_2149_1_020_2149.m4a
      │  └ ...
      └ ...

Mouse functions

Input Action
Wheel scroll Scale up/down the window. Combinating with Ctrl to retain window size.
L-pressed + wheel scroll Speed up/down the animation.
L-click Switch to next animation.
L-drag Move view-point.
M-click Reset scaling, animation speed, and view-point.
R-pressed + wheel scroll Play next/previous audio file.
R-pressed + L-click Move window.

Keyboard functions

Input Action
Esc Close the application.
Up Move on to the next folder.
Down Move on to the previous folder.
S Enable/disable premultiplied alpha to sensitive slots.
T Hide/show audio track number.

Configuration

  • File extensions for Spine and voice file can be configured through setting.txt in the same directory of the executable file.

External Libraries

Build

Visual Studio is required.

  1. Open OtogiFrontierPlayer/deps directory with file explorer.
  2. Type cmd in the directory path box.
    • Command prompt will start up.
  3. Type start devenv . in the command prompt.
    • Visual Studio will start up and configure CMake.
  4. Wait for the CMake configuration to be finished.
  5. Open OtogiFrontierPlayer.sln and build.
deps directory will be as follows:
deps
├ SFML-2.6.2 // SFML for VC17 x64
│  ├ include
│  │  └ SFML
│  │    └ ...
│  └ lib
│    └ ...
└ spine-c-3.6 // Spine generic runtime for version 3.6.xx
   ├ include
   │  └ spine
   │    └ ...
   └ src
      └ spine
        └ ...

Feature limitation

  • Spine outline shader, an extension by Unity, cannot be brought forth by SFML.

About

〇togi-fr〇ntier

Resources

License

Stars

Watchers

Forks

Packages

No packages published