GithubHelp home page GithubHelp logo

bingle's Introduction

bingle

Warning

this software is still in development, so expect bugs to appear!

a CLI tool written in pure JavaScript that takes in any .bin file taken from any "web-based" game by Google, and extracts all the audio files contained within it, according to the index.

usage

run the program with the -h option to see the program usage.

quickstart

$ git clone https://github.com/wulliy/bingle.git
$ cd bingle
$ node bingle.js -h

example

$ node bingle.js -i ./bin/minesweeper/music_audio.bin -w 385 -x LOSE_MUSIC 2 -x WIN_WATER_HARP 1456 -x WINNER_MUSIC 2826

this example takes in a music_audio.bin file taken from Google Minesweeper, and extracts 3 audio files from it.

the resulting files are LOSE_MUSIC.mp3, WIN_WATER_HARP.mp3, and WINNER_MUSIC.mp3.

license

this project is licensed under the MIT License.

Q&A

what counts as a "web-based" game by Google?

any game that uses web-based technologies and was/is maintained and developed by Google counts as a "web-based" game. a couple examples of this are Google Snake, Google Minesweeper, and so on.

how do i obtain a .bin file?

there are many different ways, but the easiest way should be to follow the steps below:

  1. open your browser's DevTools and check the Network tab
  2. make sure it's recording any and all network activity
  3. visit a "web-based" game by Google
    • if you're already on one, just refresh the page
  4. look for any GET requests that fetch a .bin file
  5. download the file from its URL

i'm not seeing any .bin files...

make sure you're recording network activity first before inspecting any requests for .bin files.

if you've already tried this and still don't see any, then the game probably doesn't use .bin files for storing its audio. in that case, you don't need to use this tool, but to instead look for any .mp3 or .ogg files and to download either one of those (or both if you want, but it really doesn't matter).

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.