Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 5th, 2007, 12:42 AM
Registered User
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need Help ASAP w/Compiling Open Source Game

Hi,

I'm in a bit of a pickle. Long story short was assigned a last-minute senior project to do before I graduate (from HS), and I decided to translate an open source game since I'm mildly interested in software and game localization. However, this turned out to be a very bad idea as I know next to nothing about programming, and have had trouble compiling the game source. I asked all my programmer friends to help, but they couldn't figure it out. I also can't seem to find any tutorials for completely clueless people like me on how to compile and run open source games.

Can anyone please post a very layman-friendly guide for me on how to compile this game in Microsoft Visual C++ 2005 or Devcpp? The game in question is Project: Starfighter (http://www.parallelrealities.co.uk/starfighter.php). There's the source code and a makefile included in the download on the site.

Any help ASAP is very, very much appretiated. Thank you so much.

-alpine

Reply With Quote
  #2 (permalink)  
Old April 5th, 2007, 05:36 PM
Authorized User
 
Join Date: Mar 2007
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

First of all I guess I should give you the link to gettext documentation:
http://www.gnu.org/software/gettext/...ettext_11.html

gettext is the standard method that open source programmers use to translate their programs
However, the program you chose wasn't designed to work with gettext. It doesn't have a method for localization at all.

If you were to pick another open source project that implements gettext then you can read sections 7, 8 and 9 of the previous link. You can also download one of the translation software meant for gettext in order to create a new translation file.

In order to prepare starfighter for gettext or something similar you would need a good deal of knowledge of programming. You would have to go through the code, find the text that will be printed, and replace them with the correct code.

I hope you aren't more confused about the explanation. Good Luck

Reply With Quote
  #3 (permalink)  
Old April 11th, 2007, 04:04 PM
Registered User
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your help. I thought about translating a gettext project's .po files, but most of them had already been done. I'll see if I can find anything else, but I think I'm just stuck with a bunch of cpp files ;)

Thanks again.

Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i get source code from online game? xzaverax Need help with your homework? 3 October 4th, 2007 12:57 PM
Rupy Open Source rbalaji Ruby 3 May 9th, 2007 08:05 PM
How to Open the Game Mamatha Classic ASP Basics 0 May 17th, 2004 02:09 AM
Error in source code compiling angelika J2EE 2 December 29th, 2003 11:45 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.