Box cake comes out fine. I've done it. Actually I think box cake is the best way to make an edible. I like it better than brownies. The airiness of a cake for some reason masks the weed taste.
In any case, if your box requires you to use a 1/4 cup of oil then cook your weed/hash in a little more than 1/4 cup of oil (i.e use a bit less than a 1/2 cup of oil depending on the amount of weed you're using). You can add as much or as little weed as you like. I personally wouldn't use less than 6 grams. Some may use an 8th but I feel thats just too little. You cook the oil till the weed looks spent or cashed like it would in a bong. You then either use cheese cloth or a strainer to separate the weed from the oil. Do not squeeze oil out of the spent weed that will make your oil or butter taste bad. You may have to add some more normal cooking oil at this point. You usually get a little less oil out of cooking since the weed absorbs a lot of it. After that follow the box instructions and enjoy a great cake.
To make butter you need a crock pot and you need to cook that shit for 6-12 hours. 12 hours being best.
A good oil will be equally as good as a good butter (and faster too make). However I will say butter edibles just taste better when fresh or hot. Also you can make a huge batch of butter and leave it in you're freezer for future use. You can't really do that with oil since its in a liquid form and harder to deal with. IMO oil edibles taste better in the long run. I.E. 2 days later they still taste pretty much the same. I can't say the same for butter.
P.S. you can use as much weed as you like in your oil so long as it stays submerged. Also make sure the weed is finely chopped or ground up in a grinder/coffee grinder. The finer the cut the more you can add per oil volume without adding more oil.