If you're in CA, see if you can get Hunt & Behren's game bird feed. They're based in Petaluma. Bar Ale is another Petaluma based feed company that has a decent game bird feed.
Yeah. I don't think that's made for game birds. That looks like chicken feed. It should be at least 2% higher in protein. Can you get or order game bird maintenance feed? You can probably get away with using turkey feed.
This might be part of the problem with your quail, or at least...
Do you have the nutrition information on that? I just looked it up online and it doesn't say. This seems suspect to me and I'm beginning to think that he's not getting the nutrition he needs.
That really looks like he caught his foot in something and then injured the leg trying to get out. Take this with a large grain of salt since I'm not a vet and am only working off of pictures.
At this point, it's important that he have rest, quiet, and get plenty to eat and drink. I would...
@Dilpickel
Can you post pictures?
Start by isolating him. I would bring him inside and put him in a small brooder with food and water right next to him. If he hasn't been eating, you might try adding some Nutri-Drench to his water.
Is a vet an option? Without pictures I don't really have...