Sitting-Duc Posted June 10, 2015 Member ID: 561 Group: ++++ Senior Admin Followers: 84 Topic Count: 502 Topics Per Day: 0.09 Content Count: 5334 Content Per Day: 1.00 Reputation: 4610 Achievement Points: 41340 Solved Content: 0 Days Won: 29 Joined: 10/14/09 Status: Offline Last Seen: Monday at 08:31 PM Birthday: 04/06/1992 Device: Windows Share 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? Link to comment Share on other sites More sharing options... Awards
Merlin007 Posted June 10, 2015 Member ID: 2068 Group: +++ COD5 Head Admin Followers: 69 Topic Count: 1076 Topics Per Day: 0.22 Content Count: 8451 Content Per Day: 1.73 Reputation: 7334 Achievement Points: 75103 Solved Content: 0 Days Won: 64 Joined: 12/25/10 Status: Offline Last Seen: 12 hours ago Birthday: 05/23/1973 Device: Windows Share Posted June 10, 2015 I would if I new jack about C#. Sounds like a great idea if you can make it happen. Link to comment Share on other sites More sharing options... 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.75 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 Share 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. Link to comment Share on other sites More sharing options...
Tim Posted June 10, 2015 Member ID: 20489 Group: *** Clan Members Followers: 2 Topic Count: 14 Topics Per Day: 0.00 Content Count: 170 Content Per Day: 0.04 Reputation: 105 Achievement Points: 1217 Solved Content: 0 Days Won: 0 Joined: 10/30/13 Status: Offline Last Seen: Monday at 08:24 PM Birthday: 01/02/1995 Device: Windows Share Posted June 10, 2015 What kind of demos are you talking about? Link to comment Share on other sites More sharing options... 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.75 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 Share Posted June 10, 2015 What kind of demos are you talking about? I think he's referring to the cod4 recorded "demos". Link to comment Share on other sites More sharing options...
Tim Posted June 10, 2015 Member ID: 20489 Group: *** Clan Members Followers: 2 Topic Count: 14 Topics Per Day: 0.00 Content Count: 170 Content Per Day: 0.04 Reputation: 105 Achievement Points: 1217 Solved Content: 0 Days Won: 0 Joined: 10/30/13 Status: Offline Last Seen: Monday at 08:24 PM Birthday: 01/02/1995 Device: Windows Share Posted June 10, 2015 Alright, I'm in Link to comment Share on other sites More sharing options... Awards
Sitting-Duc Posted June 10, 2015 Member ID: 561 Group: ++++ Senior Admin Followers: 84 Topic Count: 502 Topics Per Day: 0.09 Content Count: 5334 Content Per Day: 1.00 Reputation: 4610 Achievement Points: 41340 Solved Content: 0 Days Won: 29 Joined: 10/14/09 Status: Offline Last Seen: Monday at 08:31 PM Birthday: 04/06/1992 Device: Windows Author Share 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. Link to comment Share on other sites More sharing options... 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.75 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 Share 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 Link to comment Share on other sites More sharing options...
Uranium Posted June 10, 2015 Member ID: 22485 Group: *** Clan Members Followers: 11 Topic Count: 11 Topics Per Day: 0.00 Content Count: 245 Content Per Day: 0.07 Reputation: 151 Achievement Points: 1588 Solved Content: 0 Days Won: 0 Joined: 03/26/15 Status: Offline Last Seen: Thursday at 11:26 PM Birthday: 06/26/1983 Device: Windows Share 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? Link to comment Share on other sites More sharing options... Awards
Tim Posted June 10, 2015 Member ID: 20489 Group: *** Clan Members Followers: 2 Topic Count: 14 Topics Per Day: 0.00 Content Count: 170 Content Per Day: 0.04 Reputation: 105 Achievement Points: 1217 Solved Content: 0 Days Won: 0 Joined: 10/30/13 Status: Offline Last Seen: Monday at 08:24 PM Birthday: 01/02/1995 Device: Windows Share 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. Link to comment Share on other sites More sharing options... Awards
fireurza Posted June 10, 2015 Member ID: 677 Group: ***- Inactive Clan Members Followers: 19 Topic Count: 172 Topics Per Day: 0.03 Content Count: 1457 Content Per Day: 0.27 Reputation: 791 Achievement Points: 9890 Solved Content: 0 Days Won: 5 Joined: 11/02/09 Status: Offline Last Seen: January 16 Birthday: 02/20/1986 Device: Windows Share Posted June 10, 2015 I have a C# and .NET programming book.... haven't touched C# in years. Link to comment Share on other sites More sharing options... Awards
Tim Posted June 11, 2015 Member ID: 20489 Group: *** Clan Members Followers: 2 Topic Count: 14 Topics Per Day: 0.00 Content Count: 170 Content Per Day: 0.04 Reputation: 105 Achievement Points: 1217 Solved Content: 0 Days Won: 0 Joined: 10/30/13 Status: Offline Last Seen: Monday at 08:24 PM Birthday: 01/02/1995 Device: Windows Share 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 Link to comment Share on other sites More sharing options... Awards
Blaze Posted June 11, 2015 Member ID: 2702 Group: ***- Inactive Clan Members Followers: 8 Topic Count: 101 Topics Per Day: 0.02 Content Count: 1057 Content Per Day: 0.23 Reputation: 918 Achievement Points: 8385 Solved Content: 0 Days Won: 2 Joined: 07/27/11 Status: Offline Last Seen: March 16 Birthday: 11/26/1978 Device: Android Share 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? Link to comment Share on other sites More sharing options... Awards
Sitting-Duc Posted June 11, 2015 Member ID: 561 Group: ++++ Senior Admin Followers: 84 Topic Count: 502 Topics Per Day: 0.09 Content Count: 5334 Content Per Day: 1.00 Reputation: 4610 Achievement Points: 41340 Solved Content: 0 Days Won: 29 Joined: 10/14/09 Status: Offline Last Seen: Monday at 08:31 PM Birthday: 04/06/1992 Device: Windows Author Share 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 Link to comment Share on other sites More sharing options... Awards
Blaze Posted June 11, 2015 Member ID: 2702 Group: ***- Inactive Clan Members Followers: 8 Topic Count: 101 Topics Per Day: 0.02 Content Count: 1057 Content Per Day: 0.23 Reputation: 918 Achievement Points: 8385 Solved Content: 0 Days Won: 2 Joined: 07/27/11 Status: Offline Last Seen: March 16 Birthday: 11/26/1978 Device: Android Share 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 Link to comment Share on other sites More sharing options... Awards
Merlin007 Posted June 11, 2015 Member ID: 2068 Group: +++ COD5 Head Admin Followers: 69 Topic Count: 1076 Topics Per Day: 0.22 Content Count: 8451 Content Per Day: 1.73 Reputation: 7334 Achievement Points: 75103 Solved Content: 0 Days Won: 64 Joined: 12/25/10 Status: Offline Last Seen: 12 hours ago Birthday: 05/23/1973 Device: Windows Share 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. Link to comment Share on other sites More sharing options... Awards
Merlin007 Posted June 11, 2015 Member ID: 2068 Group: +++ COD5 Head Admin Followers: 69 Topic Count: 1076 Topics Per Day: 0.22 Content Count: 8451 Content Per Day: 1.73 Reputation: 7334 Achievement Points: 75103 Solved Content: 0 Days Won: 64 Joined: 12/25/10 Status: Offline Last Seen: 12 hours ago Birthday: 05/23/1973 Device: Windows Share Posted June 11, 2015 The one nice thing about the demo files is there size. Link to comment Share on other sites More sharing options... Awards
Uranium Posted June 11, 2015 Member ID: 22485 Group: *** Clan Members Followers: 11 Topic Count: 11 Topics Per Day: 0.00 Content Count: 245 Content Per Day: 0.07 Reputation: 151 Achievement Points: 1588 Solved Content: 0 Days Won: 0 Joined: 03/26/15 Status: Offline Last Seen: Thursday at 11:26 PM Birthday: 06/26/1983 Device: Windows Share 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. Link to comment Share on other sites More sharing options... 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.75 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 Share Posted June 11, 2015 Is there not just a header on the file with all the meta/context data? Link to comment Share on other sites More sharing options...
Tim Posted June 11, 2015 Member ID: 20489 Group: *** Clan Members Followers: 2 Topic Count: 14 Topics Per Day: 0.00 Content Count: 170 Content Per Day: 0.04 Reputation: 105 Achievement Points: 1217 Solved Content: 0 Days Won: 0 Joined: 10/30/13 Status: Offline Last Seen: Monday at 08:24 PM Birthday: 01/02/1995 Device: Windows Share Posted June 11, 2015 Got it working now. like alpha said, it's huffman encoded. Link to comment Share on other sites More sharing options... 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.29 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 Share 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. Link to comment Share on other sites More sharing options... 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.75 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 Share 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? Link to comment Share on other sites More sharing options...
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.29 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 Share Posted June 11, 2015 hey, wait, I thought YOU were 80 years old? Link to comment Share on other sites More sharing options... 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.75 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 Share Posted June 11, 2015 Beg pardon? Link to comment Share on other sites More sharing options...
fireurza Posted June 12, 2015 Member ID: 677 Group: ***- Inactive Clan Members Followers: 19 Topic Count: 172 Topics Per Day: 0.03 Content Count: 1457 Content Per Day: 0.27 Reputation: 791 Achievement Points: 9890 Solved Content: 0 Days Won: 5 Joined: 11/02/09 Status: Offline Last Seen: January 16 Birthday: 02/20/1986 Device: Windows Share 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). Link to comment Share on other sites More sharing options... Awards
Recommended Posts