Code Monkey home page Code Monkey logo

renpy-universal-player's Issues

Player crash: Audio channel is unknown.

Basically, player would crash without registration of music channel.

Steps to reproduce the behavior:

  1. go to music room
  2. exit from it
  3. change your script
  4. reload
  5. go to music room
  6. see error

player should not give any error,
https://imgur.com/yqUrG6F.png
the topic is translated like: an exception occurred.

OS: Windows 10, PC.

Additional context
it fixable with

renpy.music.register_channel("music_room", mixer="sound", loop=None, stop_on_mute=True, tight=False, file_prefix='', file_suffix='', buffer_queue=True)

added to music_screen.rpy on a lines between init python and if renpy,variant (50-51 lines for me)
but if you do that, the volumt bar will not work due to mixer being not connected to it i conclude. and i do not know how to fix this one, i am a newbie ueu)b

so please you do! thanks!

TinyTag doesn't work in Ren'Py 8.1

Hello! I hope this project is not dead...

With new changes in renpy.loader.rpy renpy/renpy#3423, getting audio duration with the TinyTag library from this project became impossible.

I'm sorry, but an uncaught exception occurred.
  File "game/01functions.rpy", line 15, in get_filename_duration
    data = tinytag.TinyTag.get_renpy(filename, image=False)
AttributeError: 'RWops' object has no attribute 'peek'

Ren'Py 8.1 Prerelease

Can't access tracks files if they are part of an archive after build

Describe the bug
Game works fine if launched from the Ren'py SDK. However, once build, the game crashes at the start because it can't find the folder in which the tracks for the music room are located.

To Reproduce
Steps to reproduce the behavior:

  1. Build the binary with songs archived
  2. Launch the game
  3. Start
  4. Get error about folder not found

Expected behavior
The game should be able to retrieve the songs

OS (please complete the following information):
Windows 10 and Ren'py 8.2.1

Music room is weird when songs are defined manual in manualtracks.rpy.

I have defined two songs with the template and the songs start, but I can only play 3 seconds and the pause button does not work.

If I put the songs in the tracks folder, everything works as it should. I just want to define them manually because I want to unlock the songs one by one during the game.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.