View unanswered posts | View active topics
|
Page 15 of 37
|
[ 555 posts ] |
|
| Author |
Message |
|
steamCooker
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Tuesday, 14 May 2013, 01:27 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
the new "version" format is a zip file. the new "update" format is a custom format (to allow streamed writing and random access reading) internally called "ArchiveFile". Here is how to parse it : -
- typedef struct
- {
- char * name;
- ULONGLONG offset;
- ULONGLONG length;
- ULONGLONG compressedLength;
- } ArchiveEntry;
-
- ArchiveFile::ArchiveFile(File * file) : Object()
- {
- this->file=file;
-
- entries=new HashMap<char *,ArchiveEntry>(false);
-
- FileInputStream * in=0;
- try
- {
- in=new FileInputStream(file);
- DWORD magic=in->readInt32();
-
- ULONGLONG lastInt64=file->length()-sizeof(ULONGLONG);
- if (in->setPosition(lastInt64)!=lastInt64) _throw(Exception,"Invalid file format");
- ULONGLONG offset=in->readInt64();
- if (offset>=lastInt64) _throw(Exception,"Invalid file format");
-
- if (in->setPosition(offset)!=offset) _throw(Exception,"Invalid file format");
- if (in->readInt32()!=magic) _throw(Exception,"Invalid file format");
- compressed=in->readInt8()!=0;
-
- init(in);
-
- delete in;
- }
- catch (Exception e)
- {
- if (in) delete in;
- throw e;
- }
- }
-
- void ArchiveFile::init(InputStream * in)
- {
- if (compressed)
- {
- in=new InflaterInputStream(in);
- }
-
- DWORD entriesCount=in->readInt32();
- for (DWORD ind=0;ind<entriesCount;ind++)
- {
- ArchiveEntry entry;
-
- entry.name=base_copyString(in->readString());
- entry.offset=in->readInt64();
- entry.length=in->readInt64();
- entry.compressedLength=in->readInt64();
-
- entries->put(entry.name,entry);
- }
-
- if (compressed)
- {
- InflaterInputStream * inflater=(InflaterInputStream*)in;
- inflater->in=0;
- delete inflater;
- }
- }
-
- InputStream * ArchiveFile::getInputStream(const char * name)
- {
- ArchiveEntry * entry=entries->get((char*)name);
- if (!entry) _throw(Exception,"Entry not found");
-
- InputStream * in=new FileInputStream(file);
- if (in->setPosition(entry->offset)!=entry->offset) _throw(Exception,"Invalid file format");
- ULONGLONG entryLength=in->readInt64();
- if (entryLength!=-1L && entryLength!=entry->length) _throw(Exception,"Invalid file format");
-
- if (compressed) in=new InflaterInputStream(in);
-
- return new PartialInputStream(in,entry->length);
- }
-
then retrieve manifest.vdf for a description of the content.
|
|
| Top |
|
 |
|
demde
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Sunday, 26 May 2013, 10:40 |
|
| I live here Три раза сломал клаву :) |
Joined: Sunday, 04 Apr 2010, 08:15 Posts: 4005 Location: Lake Karachay
|
Something strange happened. TINcft was working fine and now it gives me this error's. - 2013/05/26 09:50:04 | INFO | Loading ContentDescriptionRecord
- 2013/05/26 09:50:17 | INFO | Loading Steam apps
- 2013/05/26 09:50:18 | INFO | Loaded appmanifest_107100.acf
- 2013/05/26 09:50:18 | ERROR | App 107100 info is not available
- 2013/05/26 09:50:18 | ERROR | App 107100 info is not available
- 2013/05/26 09:50:18 | ERROR | App 107100 info is not available
- 2013/05/26 09:50:18 | INFO | Loaded appmanifest_115100.acf
- 2013/05/26 09:50:18 | ERROR | App 115100 info is not available
- 2013/05/26 09:50:18 | ERROR | App 115100 info is not available
- 2013/05/26 09:50:18 | ERROR | App 115100 info is not available
- 2013/05/26 09:50:19 | INFO | Loaded appmanifest_12750.acf
- 2013/05/26 09:50:19 | ERROR | App 12750 info is not available
- 2013/05/26 09:50:19 | ERROR | App 12750 info is not available
- 2013/05/26 09:50:20 | INFO | Loaded appmanifest_17410.acf
- 2013/05/26 09:50:20 | ERROR | App 17410 info is not available
- 2013/05/26 09:50:20 | ERROR | App 17410 info is not available
- 2013/05/26 09:50:21 | INFO | Loaded appmanifest_17460.acf
- 2013/05/26 09:50:21 | ERROR | App 17460 info is not available
- 2013/05/26 09:50:21 | ERROR | App 17460 info is not available
- 2013/05/26 09:50:21 | ERROR | App 17460 info is not available
- 2013/05/26 09:50:21 | INFO | Loaded appmanifest_200710.acf
- 2013/05/26 09:50:21 | ERROR | App 200710 info is not available
- 2013/05/26 09:50:21 | ERROR | App 200710 info is not available
- 2013/05/26 09:50:21 | ERROR | App 200710 info is not available
- 2013/05/26 09:50:21 | INFO | Loaded appmanifest_202170.acf
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202170 info is not available
- 2013/05/26 09:50:21 | INFO | Loaded appmanifest_202970.acf
- 2013/05/26 09:50:21 | ERROR | App 202970 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202970 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202970 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202970 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202970 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202970 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202970 info is not available
- 2013/05/26 09:50:21 | INFO | Loaded appmanifest_202990.acf
- 2013/05/26 09:50:21 | ERROR | App 202990 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202990 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202990 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202990 info is not available
- 2013/05/26 09:50:21 | ERROR | App 202990 info is not available
- 2013/05/26 09:53:16 | INFO | Loading ContentDescriptionRecord
- 2013/05/26 09:53:30 | INFO | Loading Steam apps
- 2013/05/26 09:53:31 | INFO | Loaded appmanifest_215530.acf
- 2013/05/26 09:53:31 | ERROR | App 215530 info is not available
- 2013/05/26 09:53:31 | ERROR | App 215530 info is not available
- 2013/05/26 09:53:31 | INFO | TINcft Http Server port : 27888
- 2013/05/26 09:53:31 | INFO | HTTP Server started
- 2013/05/26 09:53:31 | INFO | OS : (null)
- 2013/05/26 09:53:44 | INFO | HTTP Server stopped
Deleted appinfo.vdf , but its same. Program just stops working after i choose environment. Wonder what's the problem. If i remove the .acf's giving me the error App X info is not available its working though.
_________________ Visit FTS Home
|
|
| Top |
|
 |
|
Goar5
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Sunday, 26 May 2013, 12:58 |
|
| Super flooder Почетный графоман |
 |
Joined: Thursday, 04 Feb 2010, 15:35 Posts: 917
|
|
demde Delete "TINcft.errors.db" before starting TINcft and then update AppInfo again. Sometimes this file makes troubles (I don't know why) and it isn't needed for running TINcft.
_________________ My Steam Content Mirror (PWs: cs.rin.ru)My FTP Server (Login: ftprin, PW: cs.rin.ru)(the files are compatible to ZippyShare, but it's very slow)
|
|
| Top |
|
 |
|
demde
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Sunday, 26 May 2013, 16:35 |
|
| I live here Три раза сломал клаву :) |
Joined: Sunday, 04 Apr 2010, 08:15 Posts: 4005 Location: Lake Karachay
|
Deleted it but its the same. I can't reach the place where i can update appinfo.vdf .... After i choose environment the app stops working and gives me the errors is the .log file  Is there command i can use to update appinfo.vdf trough cmd?
_________________ Visit FTS Home
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Sunday, 26 May 2013, 17:07 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
Hi, i checked the code to see why you had OS: (null) there is a bug, i fixed it, it should have displayed "unknown". you are on windows 8 ? i'm surprised that the errors database is making problems. anyway as it is not very usefull , i disabled it by default. appinfo.vdf is not required, but it may crash tincft if invalid. try to add a file called TINcft.loggers.xml : - <?xml version="1.0"?>
- <Loggers>
- <layout>
- <console class="SimpleLayout"/>
- <file class="PatternLayout" pattern="%d | %5l | %m"/>
- </layout>
- <appender>
- <console class="ConsoleAppender" color="true" layout="console"/>
- <file class="FileAppender" layout="file" file="TINcft.trace.log"/>
- </appender>
- <logger appender="console,file" level="trace">
- </logger>
- </Loggers>
and look if there is more details btw, do you have he same problem if u use a fresh new install ?
|
|
| Top |
|
 |
|
test2006
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Sunday, 26 May 2013, 18:17 |
|
| Advanced forumer Завсегдатай |
Joined: Tuesday, 03 Mar 2009, 19:21 Posts: 227
|
demde wrote: Is there command i can use to update appinfo.vdf trough cmd? Use "app_info_print" command in Steam client console or SteamCmd or use ACF Verifier.
|
|
| Top |
|
 |
|
demde
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Sunday, 26 May 2013, 20:28 |
|
| I live here Три раза сломал клаву :) |
Joined: Sunday, 04 Apr 2010, 08:15 Posts: 4005 Location: Lake Karachay
|
Hi @SteamCooker At first yeah i'm on windows 8. Tried that .xml file and this is the result - 2013/05/26 19:48:40 | INFO | Connecting to GDS
- 2013/05/26 19:48:41 | INFO | Dowloading ContentDescriptionRecord
- 2013/05/26 19:48:49 | INFO | Loading ContentDescriptionRecord
- 2013/05/26 19:48:58 | INFO | Cleared Steam apps
- 2013/05/26 19:48:58 | INFO | Loading Steam apps
- 2013/05/26 19:48:58 | INFO | Loaded appmanifest_10.acf
- 2013/05/26 19:48:58 | ERROR | App 10 info is not available
- 2013/05/26 19:48:58 | ERROR | App 10 info is not available
- 2013/05/26 19:48:58 | ERROR | App 10 info is not available
- 2013/05/26 19:49:39 | INFO | Loading ContentDescriptionRecord
- 2013/05/26 19:49:47 | INFO | Loading Steam apps
- 2013/05/26 19:49:47 | INFO | Loaded appmanifest_10.acf
- 2013/05/26 19:49:47 | ERROR | App 10 info is not available
- 2013/05/26 19:49:47 | ERROR | App 10 info is not available
- 2013/05/26 19:49:47 | ERROR | App 10 info is not available
- 2013/05/26 19:49:47 | ERROR | App 10 info is not available
- 2013/05/26 19:49:47 | ERROR | App 10 info is not available
- 2013/05/26 19:49:47 | ERROR | App 10 info is not available
- 2013/05/26 19:49:47 | INFO | Loaded appmanifest_107100.acf
- 2013/05/26 19:49:47 | ERROR | App 107100 info is not available
- 2013/05/26 19:49:47 | ERROR | App 107100 info is not available
- 2013/05/26 19:49:47 | ERROR | App 107100 info is not available
- 2013/05/26 19:49:47 | INFO | Loaded appmanifest_115100.acf
- 2013/05/26 19:49:47 | ERROR | App 115100 info is not available
- 2013/05/26 19:49:47 | ERROR | App 115100 info is not available
- 2013/05/26 19:49:47 | ERROR | App 115100 info is not available
- 2013/05/26 19:49:48 | INFO | Loaded appmanifest_12750.acf
- 2013/05/26 19:49:48 | ERROR | App 12750 info is not available
- 2013/05/26 19:49:48 | ERROR | App 12750 info is not available
- 2013/05/26 19:49:49 | INFO | Loaded appmanifest_17410.acf
- 2013/05/26 19:49:49 | ERROR | App 17410 info is not available
- 2013/05/26 19:49:49 | ERROR | App 17410 info is not available
- 2013/05/26 19:49:49 | INFO | Loaded appmanifest_17460.acf
- 2013/05/26 19:49:49 | ERROR | App 17460 info is not available
- 2013/05/26 19:49:49 | ERROR | App 17460 info is not available
- 2013/05/26 19:49:49 | ERROR | App 17460 info is not available
- 2013/05/26 19:49:49 | INFO | Loaded appmanifest_200710.acf
- 2013/05/26 19:49:49 | ERROR | App 200710 info is not available
- 2013/05/26 19:49:49 | ERROR | App 200710 info is not available
- 2013/05/26 19:49:49 | ERROR | App 200710 info is not available
- 2013/05/26 19:49:49 | INFO | Loaded appmanifest_202170.acf
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202170 info is not available
- 2013/05/26 19:49:49 | INFO | Loaded appmanifest_202970.acf
- 2013/05/26 19:49:49 | ERROR | App 202970 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202970 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202970 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202970 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202970 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202970 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202970 info is not available
- 2013/05/26 19:49:49 | INFO | Loaded appmanifest_202990.acf
- 2013/05/26 19:49:49 | ERROR | App 202990 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202990 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202990 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202990 info is not available
- 2013/05/26 19:49:49 | ERROR | App 202990 info is not available
At first run it gave me error only on app 10 missing and crashed. At second it gave me the rest. After that errors TINcft always crashes. Tried completely new copy of the program even with default .ini path C:/steam, but the result is same. If i put only 2-3 acf's its working fine. Seems some of the apps fail the program (like Half-Life , Black Ops 2 MP etc.) Have to try narrow them down to see when it will stop crashing.
_________________ Visit FTS Home
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Monday, 27 May 2013, 15:40 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
well when u find it please send it to me so i can fix it  edit : seems to happen on windows 8 only ... i don't know why as i have no computer with that os ..
|
|
| Top |
|
 |
|
HosseinMoradi
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Tuesday, 28 May 2013, 10:47 |
|
| Advanced forumer Завсегдатай |
Joined: Saturday, 15 Dec 2007, 17:27 Posts: 58
|
C.J.Brad wrote: Hi steamCooker!
I am having problems, running the latest version under XP SP3 (32bit). Strange thing is it doesn't even crash, it simply exits right after launching (process barely shows up in task manager, I can only see it in process monitor log). Completely new & empty folder, just the executable & an unmodified ini file. Have you dropped XP support (it's OK under win7), or am I missing something?
i have this problem too and i did not find any way to fix this is there any way to fix this ?
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Tuesday, 28 May 2013, 12:59 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
|
hum yeah i've been using some vista minimum stuff i think ... i 'm not sure which one in fact ... if really required, i can check if possible to disable those in order to be able to run on xp ...
|
|
| Top |
|
 |
|
HosseinMoradi
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Tuesday, 28 May 2013, 13:28 |
|
| Advanced forumer Завсегдатай |
Joined: Saturday, 15 Dec 2007, 17:27 Posts: 58
|
steamCooker wrote: hum yeah i've been using some vista minimum stuff i think ... i 'm not sure which one in fact ... if really required, i can check if possible to disable those in order to be able to run on xp ... i appreciate it if you can since i don't have win 7 on my system
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Tuesday, 28 May 2013, 14:37 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
the crash is cause it seems to call a kernel function "GetTickCount64" . but i'm never calling it ... it seems to come from the MCF part in other words i don't know how to fix that. sorry
|
|
| Top |
|
 |
|
HosseinMoradi
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Tuesday, 28 May 2013, 16:14 |
|
| Advanced forumer Завсегдатай |
Joined: Saturday, 15 Dec 2007, 17:27 Posts: 58
|
|
are you compiling your project in VS2012 ? i saw an update that will allow you to compile your file with XP Compatibility
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Tuesday, 28 May 2013, 20:33 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
|
yes i seen that while searching about that function ... but i'm using VC++2010
sisInstall works on XP, so it must come from MFC ... i'm currently building the MFC less version (same as on linux), we'll see...
edit, it was not mfc... i have a working build for XP. the next official version will be XP compatible.
here is a build for XP of the latest beta : edit : release a new version
Last edited by steamCooker on Tuesday, 25 Jun 2013, 01:34, edited 1 time in total.
|
|
| Top |
|
 |
|
C.J.Brad
|
Post subject: Re: TINcft 20130409 - win32 / linux Posted: Tuesday, 28 May 2013, 20:53 |
|
| User Редкий гость |
 |
Joined: Friday, 14 Mar 2008, 17:13 Posts: 36
|
steamCooker wrote: the next official version will be XP compatible. here is a build for XP of the latest beta : http://www75.zippyshare.com/v/68914656/file.htmlI've just tested it and i can confirm that xp compatibility has been fixed. Thank you very much, steamCooker! We appreciate your work!
_________________ "Coffee isn't my cup of tea!"
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: 1ka and 19 guests |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|