CS.RIN.RU - Steam Underground Community
http://cs.rin.ru/forum/

[Release] GCFPrep - superceded - Now part of MiSteamSuite
http://cs.rin.ru/forum/viewtopic.php?f=15&t=47548
Page 7 of 19

Author:  Mitsukarina [ Tuesday, 29 Apr 2008, 15:01 ]
Post subject: 

PeJpepiG wrote:
Doesn't work for me.
If I set SteamClient=False and use the three files included in GCFPrep it doesn't work. If I set SteamClient=True it works fine using these 3 files.
This problem does not only exist for The Ship, it exists for all games I've tested so far.


So, a possible solution would be for steamclient to be set to true in rev.ini for all cases (i.e. set in the template rev.ini and GCFPrep does not change it), regardless of whether the REVOLUTiON steamclient.dll or valve steamclient.dll is used?

Author:  PeJpepiG [ Tuesday, 29 Apr 2008, 15:35 ]
Post subject: 

Mitsukarina wrote:
So, a possible solution would be for steamclient to be set to true in rev.ini for all cases (i.e. set in the template rev.ini and GCFPrep does not change it), regardless of whether the REVOLUTiON steamclient.dll or valve steamclient.dll is used?

Yes, at least this solution is the best for me.
REVOLUTiON steamclient.dll always works.
Valve Steamclient.dll only works if you also copy tier0_s.dll and vstdlib_s.dll.
Games that have their own copy of steamclient.dll work fine without copying any file and with both Steamclient=true and false.

I made the experience that the best solution for games is to use SteamClient=True + REVOLUTiON steamclient.dll and let GCFPrep copy tier0_s.dll and vstdlib_s.dll if they don't exist. Only for tools like SourceSDK or srcds you have to set it to false (SDK Base is no tool).
So easiest solution for RevEmu would be to add all games appids to <SteamClientAppID> and set Overwrite for all 3 Support files to false.

Edit:Setting Overwrite to true would even be a better solution as it should work with both RevEmu and SteamEmu.

btw. I also tested it on XP x86 and I get exactly the same result.

Author:  Mitsukarina [ Tuesday, 29 Apr 2008, 19:47 ]
Post subject: 

I'm just testing now, but it looks like the only change needed is to set revEmu config to:
<SteamClientAppID>*</SteamClientAppID>

and leave the support files to overwrite.

Then if I add an Exclude AppIDs to Emu config to filter out srcds etc and make sure revEmu steamclient.dll goes in bin if it is present.

That seems to be working for me (just testing everything again) how about you?

Author:  PeJpepiG [ Tuesday, 29 Apr 2008, 21:30 ]
Post subject: 

Mitsukarina
You could just replace <SteamClientAppID> with <SteamClientExcludeAppID>
Yes, it is all working the way you described it, but it doesn't matter if steamclient.dll is in bin folder or in root folder. Some games don't even have a bin folder.
But I think it is better to have steamclient.dll in the same folder as tier0_s.dll and vstdlib_s.dll. Would it be possible to automatically copy it to the same folder as these two files?

Edit:
We already talked about files with these properties in the gcf file:
Copy Locally: True
Overwrite Local Copy: False

GCFPrep doesn't extract them and I thought it won't be any problem, well that was wrong.
At least it's a problem for disciples 2 as the games config Disciple.ini is marked with these properties, but the game needs the fle to start.
-> Game doesn't work using GCFPrep

Edit2:
You could also add all non hl/source engine based games (race, disciples2,...) to <SteamClientExcludeAppID> as these games don't use any of these 3 files.

Edit3:
Tested a few things, best solution is to have steamclient.dll in root folder. As f.e. hl2mp won't work with RevEmu if you have RevEmu's steamclient.dll in bin folder. SteamEmu works with both steamclient.dllin bin and root.
So you already can configure GCFPrep 1.5 correctly to work with both RevEmu and StemEmu, you just have to set overwrite to true and add all hl/source engine based games to <SteamClientAppID> in Revolution.xml

Edit4:
ok, now we have a real problem:
You can only create a server in tf2 if steamclient.dll is in root folder (same as with hl2mp)
But "Steam Beta must be running" will only be fixed if steamclient.dll is in bin folder.

Author:  Mitsukarina [ Tuesday, 29 Apr 2008, 23:52 ]
Post subject: 

Thanks PeJpepiG,
Just one thing, my testing shows that if rev steamclient.dll is in root folder for GarrysMod (or any o/Box game that needs server browser), then you can't use serverbrowser again, but it works if you move it into bin, can you confirm this?

On the subject of AppIDs, what I thought of implimenting in all config files is that if AppID is *, then any named AppIDs after this will be excluded. If no * is defined, then AppIDs are included.

So:

<AppID>70;220</AppID> - Use only for Half-Life, Half-Life 2

<AppID>*;70;220</AppID> - Use for all content apart from Half-Life, Half-Life 2

What do you think, that will allow me to easily include or exclude AppIDs in all config files?

Author:  PeJpepiG [ Wednesday, 30 Apr 2008, 00:01 ]
Post subject: 

Mitsukarina wrote:
Thanks PeJpepiG,
Just one thing, my testing shows that if rev steamclient.dll is in root folder for GarrysMod (or any o/Box game that needs server browser), then you can't use serverbrowser again, but it works if you move it into bin, can you confirm this?

Yes, just found it out, look at Edit 4 of my previous post.
You must copy steamclient.dll to the same dir as the other two files, for source engine based games this is /bin.
But you can't create a server if you have steamclient.dll in bin folder.
I found out why:
It works with the RevEmu steamclient.dll from v7.
So it looks like the update from RevEmu Steamclient v7->v8 broke something. So RevEmu's steamclient.dll has to be fixed and it should work again if you have steamclient.dll in /bin.
I tested so long and never even thought that RevEmu's steamclient.dll could be broken.

Mitsukarina wrote:
On the subject of AppIDs, what I thought of implimenting in all config files is that if AppID is *, then any named AppIDs after this will be excluded. If no * is defined, then AppIDs are included.

So:
<AppID>70;220</AppID> - Use only for Half-Life, Half-Life 2

<AppID>*;70;220</AppID> - Use for all content apart from Half-Life, Half-Life 2

What do you think, that will allow me to easily include or exclude AppIDs in all config files?

I think this is a great idea, as you can decide youself if it easier to specifiy all ids that should be excluded or all that should be included.

Edit: So now only three hings have to be changed:
1. GCFPrep must extract steamclient.dll to the same folder where the other two files are located (source: bin; hl: root)
2. All hl/source engine games appids have to be added to <SteamClientAppID>
3. RevEmu's steamclint.dll has to be fixed, for now I use the old one as everything works fine with it.

Edit2:
RevEmu steamclient.dll v7 in bin folder only works for src2007, but not for games like hl2mp.
I have some other strange problems, so I definetely will test this all again, but not today, tomorrow.

Edit3:
Tested RevEmu steamclient.dll v8 in bin folder:
tf2 (last line of steamclient log):
CSteamMatchMaking001::AddFavoriteGame2 (0, 3232235630, 27015, 27015, 2, 1209505144)

hl2mp:
CSteamMatchMaking001::AddFavoriteGame2 (0, 2130706433, 27015, 27015, 2, 1209505144)

Why does it want to addfavoritegame when I start a server?

Author:  Mitsukarina [ Wednesday, 30 Apr 2008, 11:06 ]
Post subject: 

:D

Whoever said multi-emulator support would be easy ;)

Ok, I fixed up most of the coding issues, If I have to, I'll go with rev SteamClient v7 in GCFPrep for now. I don't think I have the src for steamclient v8 anyway, only for the emu v8, so we may be stuck until shmelle gets back. :(

I need to re-download disciples II to check out the other issue.

Sorry mate, your private testing will be required again, but hopefully we should nail this thing over the weekend.

Thanks for all the testing!

Author:  PeJpepiG [ Wednesday, 30 Apr 2008, 16:12 ]
Post subject: 

Mitsukarina
Tested steamclient v7 vs v8, so here are the results (I know you can't fix it, but it looks a bit strange to me):
hl engine:
v7: working
v8: working
src2007:
v7: working
v8: not working
src2 (base source engine 2):
v8: not working

So till now nothing strange, v8 is not working for src games.

But what's with src2 + v7?
v7->Create Server->not working
v7->FindServer->CreateServer->working

So you only have to click on FindServer once and you'll be able to create a server.

=> steamclient v7 is the best choice atm. till shmelle gets back and fixes all the problems with favorite/history server. It would have been better if shmelle added steamclient to the RevEmu beta, as I could have tested everything then.

I'll now get the new tf2 update and test if anything changed...

Edit:
Forgot to say, it is no problem for me to test again, just PM me the new beta when it is time to.

btw. do you know when shmelle gets back? As I think he said he'll be away for a long time.

Author:  Mitsukarina [ Wednesday, 30 Apr 2008, 16:27 ]
Post subject: 

PeJpepiG wrote:
btw. do you know when shmelle gets back? As I think he said he'll be away for a long time.


Shmelle will be away until October(ish) :(

I can try and fix up any revEmu problems as I have current source, but I think I only have v7 SteamClient and no idea what he would have added into v8.

I'll check again when I get home though, I suppose we could compile a hybrid v7 that fixes some of those v7 issues and then let shmelle update anything else when he gets back.

My plan was to get GCFPrep 1.5 done and dusted, and then look at some of the outstanding issues with revEmu. Seemed like a good idea at the time :D

Author:  PeJpepiG [ Wednesday, 30 Apr 2008, 16:32 ]
Post subject: 

Mitsukarina
October, mmhhh so he's away really long.

<|DoDo|> wrote:
I have problems with the new update at rev´s client emu!!!

If this is really true, and it won't work with v7/v8 this will be a problem. Downloading the update at the moment.

ok, so first fix GCFPrep and then RevEmu. ok, when ever you have a new version to test, just PM me.

Author:  Mitsukarina [ Wednesday, 30 Apr 2008, 16:36 ]
Post subject: 

PeJpepiG wrote:
If this is really true, and it won't work with v7/v8 this will be a problem. Downloading the update at the moment.


As I understand it, cIntX wrote a lot/most/all??? of steamclient, maybe he still has source and can help out with that, as I'm pretty crap with network/authentication/debugging in IDA! ;)

Author:  PeJpepiG [ Wednesday, 30 Apr 2008, 16:40 ]
Post subject: 

Mitsukarina
Don't know who worte steamclient.dll
But other possibilitiy would be to change RevEmu to work with SteamClient=False. Then favorites won't work anymore and you'll get the "Steam Beta must be running" error again, but at least the game would work. But I don't know if this is possible?

Edit: I still wonder why no more people have the same problem with RevEmu, I just found about 5 people here that have the same problems :? Probably I should test everything on a second PC.

Author:  Mitsukarina [ Sunday, 04 May 2008, 10:50 ]
Post subject: 

GCFPrep 1.5.1 Released

Now includes 64bit source engine support for Half-Life 2 and Lostcoast via a modified x64 revEmu!

I can not thank PeJpepiG enough for all the testing and configuration setup in this version, I think he's put in as many (if not more) hours of testing as I have coding!

Note: As a lot of the support files are copied to different locations now, it is recommended that you start afresh with this version.

Changes

    :arrow: The 64-bit source engine in Half-Life 2 and Lostcoast is now supported with revEmu. Note that using 64bit mode will cause any mods based on Half-Life 2 to behave strangely and will need a manual fix, however; most mods are now based on source SDK base, and these will behave as normal.

    :arrow: Changed some methods to allow more compatibility:

      :arrow: Support files are now configured to only copy when required. Many Thanks to PeJpepiG for all the work on config setup and testing.

      :arrow: Support files are now copied into a bin folder if the content has one. If an emulator supplies Steamclient.dll, then this will also be copied into a bin folder if present and the steamclient is enabled.

      :arrow: Wildcard entries for AppIDs can now be followed by specific AppIDs that will become excluded, e.g.:

      <AppID>70;220</AppID> Use for Half-Life and Half-Life 2 only

      <AppID>*;70;220</AppID> Use for all content, excluding Half-Life and Half-Life 2

Author:  idle [ Sunday, 04 May 2008, 11:16 ]
Post subject: 

seeeingred wrote:
wow very cool!!!

QFT :P

Author:  Mitsukarina [ Sunday, 04 May 2008, 13:06 ]
Post subject: 

Updated plugin pack for ViTYAN GameServers Universal Patch Plugin 2.0b2

Page 7 of 19 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/