New to C
Moderator: OpenTTD Developers
New to C
Hi, I have never done any C or C++ programming, but I've always been facinated with learning it, and also OpenTTD.
What exactly do I need to open the source and run it on windows?
After that I can figure out how to modify it on my own.
A link to what I need to do to get it going would also work.
I've only worked with Javascript, PHP, and VBA, and some others.
Nothing that required Visual Studio, so not sure where to start.
I hope to learn C quite fast so I can make some good contributions to this project.
Thanks for help.
What exactly do I need to open the source and run it on windows?
After that I can figure out how to modify it on my own.
A link to what I need to do to get it going would also work.
I've only worked with Javascript, PHP, and VBA, and some others.
Nothing that required Visual Studio, so not sure where to start.
I hope to learn C quite fast so I can make some good contributions to this project.
Thanks for help.
Re: New to C
The ability to find and read the FAQs.crilen007 wrote:What exactly do I need to open the source and run it on windows?
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
- StopRightThere
- Chief Executive
- Posts: 761
- Joined: 18 Dec 2005 20:10
- Location: United Kingdom
You can read the source code using notepad or any other text editor. To compile, try following this guide here: http://www.tt-forums.net/viewtopic.php?t=24533
Bye Bye OpenBVE 
Official TT-Hot young ginger Doctor Who assistant FanClub
Formerly known as AdditionalData

Official TT-Hot young ginger Doctor Who assistant FanClub
Formerly known as AdditionalData
OK, then. Next you need the ability to copy and paste the error messages, so we have a vague idea of what might be broken.crilen007 wrote:So I tried following the FAQ, got a bunch of errors
It might also be useful to read up on how to ask a Smart Question. Read the whole thing, then find the last two instances of the word "compile", and read that section again.
And as a retro-reply to LotP (it's not worth its own post), I'll also point in the direction of the words "ruthless meritocracy" too.
Last edited by DaleStan on 28 Aug 2006 03:23, edited 2 times in total.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
- LordOfThePigs
- Route Supervisor
- Posts: 435
- Joined: 01 Jul 2004 10:28
- Location: Jura/Switzerland
Don't mind the tone of his replies. He's trying to be helpful in his own, very annoying way.crilen007 wrote:By the way, if you are trying to chase away people who want to help, you are doing a great job of it.
Sometimes I'm told "Brilliant"...
Sometimes I'm told "Charming"...
And Often I'm told "Shut Up"!
Sometimes I'm told "Charming"...
And Often I'm told "Shut Up"!
Normally I would post a more informative reply Dale, I honestly was not in the mood to hear more of you acting like an ass lol.
When I was trying to do the
http://wiki.openttd.org/index.php/Compi ... g_up_MinGW
Compiling zlib
./mingwPORT.sh
It kept saying no directory but was not telling me what directory.
Let me try again tuesday before replying.
When I was trying to do the
http://wiki.openttd.org/index.php/Compi ... g_up_MinGW
Compiling zlib
./mingwPORT.sh
It kept saying no directory but was not telling me what directory.
Let me try again tuesday before replying.
I've given a try to mingw as well. It was really easy. Download cygwin, select development, core, SVN, libzlib, libpng, sdl-develop, I think that was it.
Check out the sorce with svn and run make. You don't need anything from that page.
Check out the sorce with svn and run make. You don't need anything from that page.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
The tutorial given above (the one in the forum) works. I've tried it.
Alto the tutorial : http://wiki.openttd.org/index.php/Cygwin also works (with the disadvantage of missing libpng).
Darkvater, can i make PNG screens using the cygwin .exe?
Alto the tutorial : http://wiki.openttd.org/index.php/Cygwin also works (with the disadvantage of missing libpng).
Darkvater, can i make PNG screens using the cygwin .exe?
OTTDCoop NewGRF Pack|Different sets of GRFs for TTDPatch (some of them work in OTTD) - 1|- 2|GRF sets for OTTD|OTTD nightly

I hooked up my accelerator to my brake lights. I hit the gas, people behind me stop, and I'm gone.
Understeer is when you hit the wall with the front of the car. Oversteer is when you hit the wall with the rear of the car. Horsepower is how fast you hit the wall. Torque is how far you take the wall with you. Spoilers and bodykits are how much of the wall you take with you. Rollcages and windownets are how much of a mess you leave on the wall.
I hooked up my accelerator to my brake lights. I hit the gas, people behind me stop, and I'm gone.
Understeer is when you hit the wall with the front of the car. Oversteer is when you hit the wall with the rear of the car. Horsepower is how fast you hit the wall. Torque is how far you take the wall with you. Spoilers and bodykits are how much of the wall you take with you. Rollcages and windownets are how much of a mess you leave on the wall.
Who is online
Users browsing this forum: No registered users and 16 guests