Jump to content
  • Advertisement
Sign in to follow this  
DA NATIVE

Where to start??

This topic is 3743 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to try an learn how to create a data recorder for a game.(racing game) This program or addon, whatever you call it. Would record fastest lap times, 5, 10, 20 lap race times, check for hacked power curve setting, and a few other things. All the recorder data would then be sent to a web site for viewing stats. I guess I would like to be pointed in the right direction. Any Help Will be Greatly Appercaited Dustin AKA NATIVE

Share this post


Link to post
Share on other sites
Advertisement
Unless the game you want to add this to has explicitly built in support for a project like yours to exist, then you're going to find it very difficult. If the program is designed to make that data available in a well-defined way then all you need to do is hook into that, but if not then you're going to have to reverse-engineer the game to figure out how and where to insert your recorder code, and that's really hard.

Also, if you're planning on using this addon to detect when players have hacked their game to cheat, give up now. They'll just hack your addon as well.

Share this post


Link to post
Share on other sites
thanks alot superpig i've been looking for help for a long time. this info is better than nothing, i appercaited it lot.

how would I find out where time is stored in the game?
how do i find out want game engine is being used?

This is program i would even willing to pay someone to help me.
someone told me that if game goes threw gamespy its is possible to make the program.

Share this post


Link to post
Share on other sites
Quote:
Original post by DA NATIVE
how would I find out where time is stored in the game?
how do i find out want game engine is being used?

Well first off, you could tell us which game it is - that would help immensely.

I take it from this that it is not your game, and it does not have a plugin architecture for this sort of addon - both of which together mean that this will be a pretty tough task to accomplish. You are either going to have to figure out where the scores are located in memory (which if in a dynamically allocated class is going to be pretty much impossible), or find out where it is in the save-game files (which is a lot simpler), if the game saves this information.

Share this post


Link to post
Share on other sites
Sorry, the game is MX vs ATV Unleashed (PC)
and yes MVA saves profiles and stats

thanks for your help also swiftcoder

Share this post


Link to post
Share on other sites
Quote:
Original post by DA NATIVE
Sorry, the game is MX vs ATV Unleashed (PC)
and yes MVA saves profiles and stats

thanks for your help also swiftcoder


Play the game a bunch of times, copying the stats file to some directory each time, and recording the scores in a textfile. Then open all the copies side-by-side in a hex-editor, and try to find the offset of your score in the file.

If you can't find the scores at all like this, it probably isn't worth the effort to track them down.

Share this post


Link to post
Share on other sites
If you're lucky, it'll be the same format as Quake used, in which case programs like Pak Explorer will help you.

However, the extension on a file does not necessarily mean anything about the format of the file. They might be using their own completely-custom format and just calling it 'PAK'.

Share this post


Link to post
Share on other sites
there is two files that get saved with profile saved and header dat files.

OK GOT SOME SCREEN SHOTS OF WHAT THE DAT FILES LOOK LIKE:
http://legit-designz.com/images/saved1.jpg
http://legit-designz.com/images/header1.jpg

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!