Jump to content


Photo

Writing an editor?


  • Please log in to reply
2 replies to this topic

#1 Sorrow

Sorrow

    Captain

  • Forum Members
  • PipPipPipPip
  • 283 posts

Posted 26 June 2011 - 07:26 AM

How does one write a game stats editor? What would I have to learn? I'm studying computer science and we went past pointers and got to saving stuff to files.

Edited by Sorrow, 26 June 2011 - 07:32 AM.


#2 j'ordos

j'ordos

    Alien Concept Task Force

  • Xenocide Artwork Department
  • 5,059 posts

Posted 26 June 2011 - 07:29 PM

Well you need to program an interface, read bytes/shorts/integers from a file at specific offsets and write them back again. :) Ofcourse you also need to find the stats you want to edit in the program first!
"You can't trust your eyes if your imagination's out of focus" - Mark Twain
"The mind is like an umbrella, it functions best when open" - Walter Gropius
Posted Image
SNEKK BLOG U-LAR MEKHH! GAHGHH! RK!
GRRGH RGGHH SNORRTT GHACKHGG

Now presented in DoubleVision™ (where drunk)

#3 NKF

NKF

    Commander

  • [Global Moderators]
  • PipPipPipPipPipPip
  • 4,798 posts

Posted 29 June 2011 - 03:31 AM

I'm no expert but any and all the topics you can learn from your course will be useful in some way. Though courses generally only cover what's needed to satisfy the syllabus, so you'll probably miss out on a lot of interesting stuff that you'll have to supplement yourself with self study.

I assume you're learning C/C++, C# or something along those lines?

I'd say definitely brush up on the I/O topics (binary mode, binary mode is your friend!) and Classes.

And for C++, it wouldn't be a bad idea to supplement your knowledge by familiarising yourself with the STL and its handy dynamic containers like vectors, lists, queues. They're very useful if you don't want to build dynamic data structures from scratch each time you write a program.

- NKF

Edited by NKF, 29 June 2011 - 03:41 AM.

Lord High Generalissimo Ruler Supreme of Norm's Anti Pedant Society (NAPS).

Number of members: 1