Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

277
Views
NWjs version of Bad Time Simulator not playing bgm

I found a game online, or which the source code is here, and I wanted to mod it. However, after modding it online on Github for a while, I was being driven crazy, by the github pages load time and my browser cache, which seemed to defy all attempts at deletion.

Finally, I attempted to use NWjs to load it. But, now the audio doesn't play at all. How do I fix this?
Note, the sounds, like the ding and select noise play, but not the bgm. All of them are .ogg files.
I'm using windows 10.
Another note, I pushed my version to Github and then checked out the gh-pages, which worked. So it's probably a problem with NWjs or my computer or both.

about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

You probably need proprietary codecs.

Easiest way:

  • Switch to the latest version supported by the prebuilts (currently 0.55.0)
    • https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases
  • Download the version you need, unzip, and place it with your NW.js files.

More details:

  • https://nwjs.readthedocs.io/en/latest/For%20Developers/Enable%20Proprietary%20Codecs/
about 4 years ago · Juan Pablo Isaza Report

0

I cleared all things I could find, so ~/AppData/Local/nwjs and ~AppData/Local/<projectname> and ~/AppData/Roaming/<projectname> all got deleted, then I ran it again and it worked.

EDIT: It seems that I have to re-delete the cache files again and again before each launch. Guess I'll write a python script to handle this.

about 4 years ago · Juan Pablo Isaza Report

0

I downloaded the files you linked. I put that folder inside another called "game". Made a game/package.json file with this:

{
  "main": "c2-sans-fight-gh-pages/index.html",
  "name": "example"
}

Downloaded the Win 64 SDK version of NW.js v0.55.0.

  • http://dl.nwjs.io/v0.55.0/nwjs-sdk-v0.55.0-win-x64.zip

Dumped those files into the game folder so nw.exe was next to package.json and then ran it, and it worked fine. All audio played normally. I did not need to pull in the modified ffmpeg at all.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!