"... submit the BFG release of Drawn into the C4 database and create
a C4P
profile for it..."
Sounds interesting.
How would the c4p profiles for individual BF games work? I imagine
it would be a base install of BFG Manager first. And then run the
stub? Can the user choose between the demo stub from the BFG web
site or local file?
What I've been doing is using the c4p tag <extrafor>=com.codeweavers.c4.6268
...this is how the C4P install AI would determine whether or not the bottle
created by this page's C4P profile already exists...ie; if you install the
BFG client software using the 6268.c4p here, you will have a bottle by the
name of 'Big Fish Games Manager'...
If that happens, the base installation of Big Fish Games Manager already
exists -- the installation logic in the Big Fish Games Manager itself makes
sure it doesn't attempt to install the base client software again. However,
if an updated version of Big Fish Games Manager becomes available, the
installer stub will routinely update the base BFG client software as a matter
of course...
Big Fish Games Manager itself only requires app_id=7854 -- I also include this
as a <predependency> for individual BFG titles' C4P profiles as well. If the
<extrafor> situation above is used, the cxinstaller logic will determine that
app_id=7854 is already installed and not try to install it again. This allows
folks to choose not to install the BFG title into the Big Fish Games Manager
bottle if they wish, and instead install the game into it's own bottle. If that
happens. app_id=7854 is automatically installed into that bottle along with a
base installation of the Big Fish Games Manager client software itself, and
any other <predependency> that specific BFG titles requires -- this varies
from title to title of course.
The important thing to remember there is that any dependency that a specific
BFG title requires, needs to be included in it's C4P profile -- this allows it
to be installed via C4P as a 'stand alone' installation as well as part of the
Big Fish Games Manager bottle. If some other BFG title(s) has already installed
a needed dependency into the Big Fish Games Manager bottle, likewise the cxinstaller
AI will detect this situation and skip over any predependency that's already
installed. You do not need (nor possibly want) 6268.c4p to be a <predependency>
of any individual BFG title -- that logic is already part of the BFG stub installer.
Users -can- choose a local installer downloaded from the BFG website, rather than
rely on the C4P automation to do this -- do note however, the latest version of
the Big Fish Games Manager client software seems to apparently delete the stub
installer file after a successful installation. Mind you, one should only ever
really need to do that for a BFG title not yet in the C4 database/not having a
C4P profile and/or in the case where you're testing a BFG title for the purposes
of creating a C4P profile for it and need to isolate the exact <predependency>
targets that actual game requires. At a minimum, most all BFG title C4P profiles
will have dependencies of 7854.c4p and 7856.c4p to allow the stand alone install
option -- depending on the BFG title involved, you might also need .NET 2.0, one
of the M$ Visual C++/Visual Basic packages or in some cases, certain native dlls
from the directx redistrib package are required (and the C4P profile needs to
provide a library override as well in some of these cases).
To test/install/checkout a BFG title not in C4/without a C4P profile, you would
proceed as follows;
-
Install the following C4 app via the C4P profile on the following page;
http://www.codeweavers.com/compatibility/browse/name/?app_id=7854
Note: alternately you can install the Big Fish Games Manager using the C4P profile here
-
That will give you a bottle named 'Microsoft HTML Rendering Engine 7' (or the Big Fish Games Manager bottle if going that way)
-
Download the demo installer stub from the BFG website page for the game in question
-
In cxsetup (Manage Bottles) highlight the bottle created -> Applications tab -> Install Software
-
Select 'Other application' and then browse to and open/run the stub installer you downloaded - the installation should complete cleanly.
If the game runs, fine...you're pretty much finished, but if it doesn't you'll need investigate
further to determine whether it's missing a required dependency (or else simply will not work).
If the BFG title being installed pops a window during the install phase related to the Directx
Runtime Web Installer, you will need to include .NET 2.0 as a predependency for this title to
avoid that process erroring out -- I have jotted down some notes about using this...see;
http://www.codeweavers.com/compatibility/browse/name/?app_id=7558;forum=1;msg=86491
An example of the usage described there is part of the following C4P profile;
http://www.codeweavers.com/compatibility/browse/name/?app_id=7709
(it's not published yet, so just advocate for that title if you want to have a look
before it does go live)....
Upon reflection/testing it seems it'll be okay for me to start marking many of the BFG
titles' C4P profiles already done as ready for publishing, so this coming week they
should start appearing....(although we've still got a caveat wrt bfggameservices.exe
as such ; hopefully we can find a solution for that issue soon)
If you've any further questions, just ask -- happy to help 8)
Cheers!