Skip to content

Phigros模拟器使用Python和WebView / The Phigros emulator uses Python and WebView

License

Notifications You must be signed in to change notification settings

qaqFei/phispler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phispler

MIT License Language

(1) 本项目是一款仿制作品,原作为Pigeon Games 鸽游创作的《Phigros》。

(2) 本项目仅为研究学习目的,不可商业使用、违法使用。

简单的部分功能介绍

  • main.py: 谱面模拟器
  • phigros.py: 还原Phigros游戏界面

环境配置

  • Python 版本: 3.12.8
  • Windows
git clone https://github.com/qaqFei/phispler
cd phispler\src
pip install -r requirements.txt
python main.py <chart> [args] [kwargs]
  • Termux (运行 main.py 后访问 https://qaqfei.github.io/phispler/src/web_canvas.html 并触发 touchstart 连接 127.0.0.1 即可)
curl https://qaqfei.github.io/phispler/src/termux_install.sh -o install.sh
chmod 777 install.sh
./install.sh

cd phispler/src
python main.py <chart> --disengage-webview [args] [kwargs]

使用 phigros.py

自行探索。

谱面兼容

  • phi
    • formatVersion
      • 1
      • 2
      • 3
    • offset
    • judgeLineList
      • bpm
      • notesAbove
      • notesBelow
      • speedEvents
      • judgeLineMoveEvents
      • judgeLineRotateEvents
      • judgeLineDisappearEvents
  • rpe
    • BPMList
    • META (无法获取info文件时读取)
      • RPEVersion (???, 参见 RPEVersion 特殊处理)
      • background
      • charter
      • composer
      • id
      • level
      • name
      • offset
      • song
    • judgeLineList
      • Texture
      • bpmfactor
      • father
      • isCover
      • isGif
      • eventLayers
        • gifEvents (???)
        • alphaEvents
        • moveXEvents
        • moveYEvents
        • rotateEvents
        • speedEvents
      • extended
        • colorEvents
        • inclineEvents (???)
        • scaleXEvents
        • scaleYEvents
        • paintEvents (???)
        • textEvents
      • notes
        • startTime
        • endTime
        • above
        • alpha
        • isFake
        • positionX
        • size
        • speed
        • type
        • visibleTime
        • yOffset
        • hitsound
        • tint (PhiZone)
        • tintHitEffects (PhiZone)
      • alphaControl
      • posControl
      • sizeControl
      • skewControl
      • yControl
      • zOrder
  • pec
    • 读取转换为 rpe 格式
  • extra
    • bpm
    • videos
      • path
      • time
      • scale
      • alpha
      • dim
      • zIndex (PhiZone)
      • attach (PhiZone)
    • effects
      • start
      • end
      • shader (由于 WebGL 与 OpenGL 的差异, 部分效果无法实现)
      • global
      • targetRange (PhiZone)
      • vars
  • phira resource pack
    • click.png
    • click_mh.png
    • drag.png
    • drag_mh.png
    • hold.png
    • hold_mh.png
    • flick.png
    • flick_mh.png
    • hit_fx.png
    • click.ogg
    • drag.ogg
    • flick.ogg
    • ending.mp3
    • info.yml
      • name
      • author
      • description
      • hitFx
      • holdAtlas
      • holdAtlasMH
      • hitFxDuration
      • hitFxScale
      • hitFxRotate
      • hitFxTinted
      • hideParticles
      • holdKeepHead
      • holdRepeat
      • holdCompact
      • colorPerfect
      • colorGood

鸣谢

About

Phigros模拟器使用Python和WebView / The Phigros emulator uses Python and WebView

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •