Sitting-Duc Posted June 10, 2015 Member ID: 561 Group: ++++ Senior Admin Followers: 85 Topic Count: 502 Topics Per Day: 0.09 Content Count: 5336 Content Per Day: 0.94 Reputation: 4612 Achievement Points: 41356 Solved Content: 0 Days Won: 29 Joined: 10/14/09 Status: Offline Last Seen: 8 hours ago Birthday: 04/06/1992 Device: Windows Posted June 10, 2015 I am looking for anyone who would be interested in writing a small C# application, you would be working with me to create an application that facilitates the recording of demos, uploading/downloading of demos and playing of the demos through the game application. Just if anyone is interested.. anyone? Awards
Merlin007 Posted June 10, 2015 Member ID: 2068 Group: +++ COD5 Head Admin Followers: 71 Topic Count: 1125 Topics Per Day: 0.21 Content Count: 8580 Content Per Day: 1.64 Reputation: 7547 Achievement Points: 76543 Solved Content: 0 Days Won: 67 Joined: 12/25/10 Status: Offline Last Seen: 23 hours ago Birthday: 05/23/1973 Device: Windows Posted June 10, 2015 I would if I new jack about C#. Sounds like a great idea if you can make it happen. Awards
eidolonFIRE Posted June 10, 2015 Member ID: 2759 Group: **- Inactive Registered Users Followers: 17 Topic Count: 199 Topics Per Day: 0.04 Content Count: 3496 Content Per Day: 0.70 Reputation: 3021 Achievement Points: 26464 Solved Content: 0 Days Won: 3 Joined: 08/22/11 Status: Offline Last Seen: June 16, 2017 Birthday: 07/27/1990 Posted June 10, 2015 I could help you if it were in C++, lua, python, perl, squirrel, CH, or even Brainfuck. .... I should prolly practice back up on C# some day.
Tim Posted June 10, 2015 Member ID: 20489 Group: ***- Inactive Clan Members Followers: 2 Topic Count: 14 Topics Per Day: 0.00 Content Count: 174 Content Per Day: 0.04 Reputation: 112 Achievement Points: 1255 Solved Content: 0 Days Won: 0 Joined: 10/30/13 Status: Offline Last Seen: February 19 Birthday: 01/02/1995 Device: Windows Posted June 10, 2015 What kind of demos are you talking about? Awards
eidolonFIRE Posted June 10, 2015 Member ID: 2759 Group: **- Inactive Registered Users Followers: 17 Topic Count: 199 Topics Per Day: 0.04 Content Count: 3496 Content Per Day: 0.70 Reputation: 3021 Achievement Points: 26464 Solved Content: 0 Days Won: 3 Joined: 08/22/11 Status: Offline Last Seen: June 16, 2017 Birthday: 07/27/1990 Posted June 10, 2015 What kind of demos are you talking about? I think he's referring to the cod4 recorded "demos".
Tim Posted June 10, 2015 Member ID: 20489 Group: ***- Inactive Clan Members Followers: 2 Topic Count: 14 Topics Per Day: 0.00 Content Count: 174 Content Per Day: 0.04 Reputation: 112 Achievement Points: 1255 Solved Content: 0 Days Won: 0 Joined: 10/30/13 Status: Offline Last Seen: February 19 Birthday: 01/02/1995 Device: Windows Posted June 10, 2015 Alright, I'm in Awards
Sitting-Duc Posted June 10, 2015 Member ID: 561 Group: ++++ Senior Admin Followers: 85 Topic Count: 502 Topics Per Day: 0.09 Content Count: 5336 Content Per Day: 0.94 Reputation: 4612 Achievement Points: 41356 Solved Content: 0 Days Won: 29 Joined: 10/14/09 Status: Offline Last Seen: 8 hours ago Birthday: 04/06/1992 Device: Windows Author Posted June 10, 2015 Essentially with Xfire going down and to be honest a discussion in the COD5 admin forums it has come to my attention that a streamlined method of recording/sharing/viewing demos is needed. The basics of what I have in mind are a C# windows form that contains: A config checker that will write the necessary binds to the config file that allows the in game recording Local repository viewer that displays the current demos Remote repository viewer that displays the demos that have been shared Ability to upload/download demos to/from the remote repository Forum integration to control access and link demo to admin The ability to load the game+demo without the need of the admin to type a load of commands Auto download if the mod or map that the demo was for does not exist on the clients computer Supporting COD2/4/5 They are the main features I am going after, I will create a GIT repository for development. I would like this to have as many contributors as possible as it needs to be done fairly quickly and I do not have much time. Awards
eidolonFIRE Posted June 10, 2015 Member ID: 2759 Group: **- Inactive Registered Users Followers: 17 Topic Count: 199 Topics Per Day: 0.04 Content Count: 3496 Content Per Day: 0.70 Reputation: 3021 Achievement Points: 26464 Solved Content: 0 Days Won: 3 Joined: 08/22/11 Status: Offline Last Seen: June 16, 2017 Birthday: 07/27/1990 Posted June 10, 2015 You know a game has a problem when you need to commission a ticket submission system to handle all the hack'usations. bahahahaa
Uranium Posted June 10, 2015 Member ID: 22485 Group: *** Clan Members Followers: 11 Topic Count: 11 Topics Per Day: 0.00 Content Count: 246 Content Per Day: 0.07 Reputation: 151 Achievement Points: 1593 Solved Content: 0 Days Won: 0 Joined: 03/26/15 Status: Offline Last Seen: Sunday at 02:39 AM Birthday: 06/26/1983 Device: Windows Posted June 10, 2015 Essentially with Xfire going down and to be honest a discussion in the COD5 admin forums it has come to my attention that a streamlined method of recording/sharing/viewing demos is needed. The basics of what I have in mind are a C# windows form that contains: A config checker that will write the necessary binds to the config file that allows the in game recording Local repository viewer that displays the current demos Remote repository viewer that displays the demos that have been shared Ability to upload/download demos to/from the remote repository Forum integration to control access and link demo to admin The ability to load the game+demo without the need of the admin to type a load of commands Auto download if the mod or map that the demo was for does not exist on the clients computer Supporting COD2/4/5 They are the main features I am going after, I will create a GIT repository for development. I would like this to have as many contributors as possible as it needs to be done fairly quickly and I do not have much time. Is there already a method for reading the demo files outside of the games to know what their map/mod requirements are? Awards
Tim Posted June 10, 2015 Member ID: 20489 Group: ***- Inactive Clan Members Followers: 2 Topic Count: 14 Topics Per Day: 0.00 Content Count: 174 Content Per Day: 0.04 Reputation: 112 Achievement Points: 1255 Solved Content: 0 Days Won: 0 Joined: 10/30/13 Status: Offline Last Seen: February 19 Birthday: 01/02/1995 Device: Windows Posted June 10, 2015 I'll look into the details of these demo files this evening and how to read data from it. My vacation has started and I have a couple of free weeks to spend on it. Awards
fireurza Posted June 10, 2015 Member ID: 677 Group: ***- Inactive Clan Members Followers: 18 Topic Count: 172 Topics Per Day: 0.03 Content Count: 1457 Content Per Day: 0.26 Reputation: 791 Achievement Points: 9890 Solved Content: 0 Days Won: 5 Joined: 11/02/09 Status: Offline Last Seen: January 16, 2024 Birthday: 02/20/1986 Posted June 10, 2015 I have a C# and .NET programming book.... haven't touched C# in years. Awards
Tim Posted June 11, 2015 Member ID: 20489 Group: ***- Inactive Clan Members Followers: 2 Topic Count: 14 Topics Per Day: 0.00 Content Count: 174 Content Per Day: 0.04 Reputation: 112 Achievement Points: 1255 Solved Content: 0 Days Won: 0 Joined: 10/30/13 Status: Offline Last Seen: February 19 Birthday: 01/02/1995 Device: Windows Posted June 11, 2015 @@Sitting-Duc have you found any documentation/way on how to read data from these files? I found some quake 3 documentation, but apparently the call of duty ones are a bit different. I've also found a tool which can read pretty much all we need, but it's code is a mess and poorly documented ( and written in pascal...) so I still don't understand it very well Awards
Blaze Posted June 11, 2015 Member ID: 2702 Group: ***- Inactive Clan Members Followers: 9 Topic Count: 105 Topics Per Day: 0.02 Content Count: 1088 Content Per Day: 0.22 Reputation: 965 Achievement Points: 8625 Solved Content: 0 Days Won: 4 Joined: 07/27/11 Status: Offline Last Seen: March 29 Birthday: 11/26/1978 Device: Windows Posted June 11, 2015 The demo files (.dm1) is there a way to convert these to a youtube friendly file? Or do you then have to record the playback using something else? Awards
Sitting-Duc Posted June 11, 2015 Member ID: 561 Group: ++++ Senior Admin Followers: 85 Topic Count: 502 Topics Per Day: 0.09 Content Count: 5336 Content Per Day: 0.94 Reputation: 4612 Achievement Points: 41356 Solved Content: 0 Days Won: 29 Joined: 10/14/09 Status: Offline Last Seen: 8 hours ago Birthday: 04/06/1992 Device: Windows Author Posted June 11, 2015 The idea I have is not to read directly from the files but to manage their playback. The problem most people face with demos is ensuring the have the correct mod and map and then loading the demo up. The idea would be something like this: Admin records a hacker and then bans the player Admin opens the application, selects the demo they recorded and clicks upload They may have to select the mod and map depending if there is no programmatic way of doing it Once uploaded they can then add the demo identifier or link to the ban thread Other admins can then download the demo and play it The playback of the demos would need to ensure that the mod and map are on the clients computer and then load up the game. If there are no executable arguments for the demo selection and playback then we will have to implement a bind system where the admin then presses a key which loads the demo. Converting a demo to a video is an arduous process as the only method seems to be converting to screenshots and then to an .avi Merlin007 1 Awards
Blaze Posted June 11, 2015 Member ID: 2702 Group: ***- Inactive Clan Members Followers: 9 Topic Count: 105 Topics Per Day: 0.02 Content Count: 1088 Content Per Day: 0.22 Reputation: 965 Achievement Points: 8625 Solved Content: 0 Days Won: 4 Joined: 07/27/11 Status: Offline Last Seen: March 29 Birthday: 11/26/1978 Device: Windows Posted June 11, 2015 (edited) The way to do it would be to include a small water mark in the hud somewhere so each mod is identifiable from a screenshot or video regardless or recording software. then they could just include a screenshot with the recording so the mod in the recording is identifiable. You could bind a key to take a screenshot and then start recording too. Edited June 11, 2015 by Blaze Awards
Merlin007 Posted June 11, 2015 Member ID: 2068 Group: +++ COD5 Head Admin Followers: 71 Topic Count: 1125 Topics Per Day: 0.21 Content Count: 8580 Content Per Day: 1.64 Reputation: 7547 Achievement Points: 76543 Solved Content: 0 Days Won: 67 Joined: 12/25/10 Status: Offline Last Seen: 23 hours ago Birthday: 05/23/1973 Device: Windows Posted June 11, 2015 The demo files (.dm1) is there a way to convert these to a youtube friendly file? Or do you then have to record the playback using something else?I have been checking, there is no clean way of converting demo files. For COD5, these are .dm6. Awards
Merlin007 Posted June 11, 2015 Member ID: 2068 Group: +++ COD5 Head Admin Followers: 71 Topic Count: 1125 Topics Per Day: 0.21 Content Count: 8580 Content Per Day: 1.64 Reputation: 7547 Achievement Points: 76543 Solved Content: 0 Days Won: 67 Joined: 12/25/10 Status: Offline Last Seen: 23 hours ago Birthday: 05/23/1973 Device: Windows Posted June 11, 2015 The one nice thing about the demo files is there size. Awards
Uranium Posted June 11, 2015 Member ID: 22485 Group: *** Clan Members Followers: 11 Topic Count: 11 Topics Per Day: 0.00 Content Count: 246 Content Per Day: 0.07 Reputation: 151 Achievement Points: 1593 Solved Content: 0 Days Won: 0 Joined: 03/26/15 Status: Offline Last Seen: Sunday at 02:39 AM Birthday: 06/26/1983 Device: Windows Posted June 11, 2015 @@Sitting-Duc have you found any documentation/way on how to read data from these files? I found some quake 3 documentation, but apparently the call of duty ones are a bit different. I've also found a tool which can read pretty much all we need, but it's code is a mess and poorly documented ( and written in pascal...) so I still don't understand it very well Looks like we found the same sites. Looks like it uses huffman coding for compression. So, I guess it is just a matter of finding where the start/end of the bytes are for info. That pascal project appears to be trying to parse everything out. Awards
eidolonFIRE Posted June 11, 2015 Member ID: 2759 Group: **- Inactive Registered Users Followers: 17 Topic Count: 199 Topics Per Day: 0.04 Content Count: 3496 Content Per Day: 0.70 Reputation: 3021 Achievement Points: 26464 Solved Content: 0 Days Won: 3 Joined: 08/22/11 Status: Offline Last Seen: June 16, 2017 Birthday: 07/27/1990 Posted June 11, 2015 Is there not just a header on the file with all the meta/context data?
Tim Posted June 11, 2015 Member ID: 20489 Group: ***- Inactive Clan Members Followers: 2 Topic Count: 14 Topics Per Day: 0.00 Content Count: 174 Content Per Day: 0.04 Reputation: 112 Achievement Points: 1255 Solved Content: 0 Days Won: 0 Joined: 10/30/13 Status: Offline Last Seen: February 19 Birthday: 01/02/1995 Device: Windows Posted June 11, 2015 Got it working now. like alpha said, it's huffman encoded. Awards
little_old_man Posted June 11, 2015 Member ID: 1194 Group: ***- Inactive Clan Members Followers: 40 Topic Count: 436 Topics Per Day: 0.08 Content Count: 6692 Content Per Day: 1.21 Reputation: 11691 Achievement Points: 53094 Solved Content: 0 Days Won: 76 Joined: 02/27/10 Status: Offline Last Seen: April 16, 2023 Birthday: 04/15/1960 Posted June 11, 2015 If you were writing it in crayon I would be happy to offer my assistance. Otherwise C++ is where my education ended and it's been about 10 years since I've done anything with it. My 80 year old dad is a whiz at c# but he's having some health issues at the moment. Awards
eidolonFIRE Posted June 11, 2015 Member ID: 2759 Group: **- Inactive Registered Users Followers: 17 Topic Count: 199 Topics Per Day: 0.04 Content Count: 3496 Content Per Day: 0.70 Reputation: 3021 Achievement Points: 26464 Solved Content: 0 Days Won: 3 Joined: 08/22/11 Status: Offline Last Seen: June 16, 2017 Birthday: 07/27/1990 Posted June 11, 2015 If you were writing it in crayon I would be happy to offer my assistance. Otherwise C++ is where my education ended and it's been about 10 years since I've done anything with it. My 80 year old dad is a whiz at c# but he's having some health issues at the moment. hey, wait, I thought YOU were 80 years old?
little_old_man Posted June 11, 2015 Member ID: 1194 Group: ***- Inactive Clan Members Followers: 40 Topic Count: 436 Topics Per Day: 0.08 Content Count: 6692 Content Per Day: 1.21 Reputation: 11691 Achievement Points: 53094 Solved Content: 0 Days Won: 76 Joined: 02/27/10 Status: Offline Last Seen: April 16, 2023 Birthday: 04/15/1960 Posted June 11, 2015 hey, wait, I thought YOU were 80 years old? Awards
eidolonFIRE Posted June 11, 2015 Member ID: 2759 Group: **- Inactive Registered Users Followers: 17 Topic Count: 199 Topics Per Day: 0.04 Content Count: 3496 Content Per Day: 0.70 Reputation: 3021 Achievement Points: 26464 Solved Content: 0 Days Won: 3 Joined: 08/22/11 Status: Offline Last Seen: June 16, 2017 Birthday: 07/27/1990 Posted June 11, 2015 Beg pardon?
fireurza Posted June 12, 2015 Member ID: 677 Group: ***- Inactive Clan Members Followers: 18 Topic Count: 172 Topics Per Day: 0.03 Content Count: 1457 Content Per Day: 0.26 Reputation: 791 Achievement Points: 9890 Solved Content: 0 Days Won: 5 Joined: 11/02/09 Status: Offline Last Seen: January 16, 2024 Birthday: 02/20/1986 Posted June 12, 2015 The idea I have is not to read directly from the files but to manage their playback. The problem most people face with demos is ensuring the have the correct mod and map and then loading the demo up. The idea would be something like this: Admin records a hacker and then bans the player Admin opens the application, selects the demo they recorded and clicks upload They may have to select the mod and map depending if there is no programmatic way of doing it Once uploaded they can then add the demo identifier or link to the ban thread Other admins can then download the demo and play it The playback of the demos would need to ensure that the mod and map are on the clients computer and then load up the game. If there are no executable arguments for the demo selection and playback then we will have to implement a bind system where the admin then presses a key which loads the demo. Converting a demo to a video is an arduous process as the only method seems to be converting to screenshots and then to an .avi We can pretty much do this without creating another program. The webmaster could just create a private thread for admins (sure there already is one), ban could be posted there, and the file attached to the post (would need to figure a way to allow an upload above 9.77 MB or a link to a dropbox acct. (created by the webmaster with access given to the admins). Awards
Recommended Posts