As I understand it, the phantom-resource error only occurs if a .biq contains more than 32 Strat + Lux resources. (This, BTW, is why I suggested using combinations of Strat/Lux resources for your buildings/Wonders, rather than a unique resource-type for each: 32 resources gives you (32^2 / 2) – 32 = 480 possible pairings, which easily covers all 256 available building-slots!) Conversely, you can include as many (food-/ shield-/ commerce-) Bonus resources as you choose to — so in this case, RAR would presumably have a minimum of 20 Bonus resources, giving 52 resources (Strat + Lux + Bonus) in total. Although AFAIK, if playing with a .biq which includes lots of different (Bonus) resource-types, on a randomly-generated map, there won't be many of each type of resource on the map, because the game engine is limited as to how many tiles it's 'allowed' to place resources on (relative to the number of Civs on the map at game start?). On a prebuilt map (I assume) that's not an issue: the mapmaker (you) could theoretically put a resource on every tile if they (you) want to. Just... make sure you haven't set "appearance ratios" for any preplaced resources, because if you do, the game appears to remove "excess" resources at random — as @Nathiri and I (re)discovered when I playtested his mod, Thelen Epres Mrel Nelthelrinae (see this thread, and this post, specifically).