The game "Space Engineers" approached open sourcing their code by requiring the ownership of the original game to load original assets from. IIRC you either had to have the game in your SteamApps folder or copy the assets into the working directory. Otherwise, people could compile and "use" the source, but the original assets would not be available and loading "as-is" would not work.