Tool for generating embedded resources