Wednesday, May 27, 2015

Common Source Code Directories

I placing this here to keep a list of common source code directories and their uses.  I'll update this periodically


  • src - Compiled source code
  • include - Header files
  • deps - External dependencies, or ".d" dependency files
  • .deps - .d dependency files
  • build - build scripts
  • dist - distribution files.  Final compiled files
  • debug - files compile in debug mode
  • release - files compiled in release mode
  • obj(s) - Compiled object files
  • bin - Binaries, or compiled executable
  • lib - library files (so, a, dll, lib), either external or compiled
  • test(suite) - test suite code
  • externs/ext - External dependencies
  • contrib - external dependencies, or additional code not officially part of the main line
  • patches - patch files to apply to build
  • tools - tools used in build, but not necessarily part of final project
  • doc - documents
  • res - resources

Some source trees include directories for each file type, such as css, js, xml

Saturday, March 21, 2015

How to fix Battle.net App video playback

Blizzard has a Battle.net desktop app for their games.  Its supposed to support video playback, but it
seems its a common bug to lose video playback in the battle.net desktop app.

Instead of a video, just a black window that says "The Adobe Flash Player or an HTML5 supported browser is required for video playback" shows up.

After re-installing my computer I was hit with this bug.  I had a HTML5 supported browser. (chrome), and I tried installed firefox, but this did not fix it. Since battle.net uses CEF (Chromium Embedded Framework), I assumed getting flash for Chrome (PPAPI) would fix it.   I then tried the other versions for Firefox and Internet explorer.  None of these fixed it.

What finally fixed it was this link, that explained to install the version of flash found at
https://get.adobe.com/flashplayer/?fpchrome, I'm not exactly sure what version this is suppsoed to be, because I can't find a link to it on adobes site, but it works.