72dpiarmy

Projects => Super Mario War => Topic started by: GKi on December 01, 2007, 11:52:13 AM

Title: Compiling SMW source code with Dev C++
Post by: GKi on December 01, 2007, 11:52:13 AM
Follow this tutorial, but don't do step 10, and 11. Instead add the SMW source. (add every file but leveleditor, linfunc, net, options, screenshot, worldeditor)

http://http://lazyfoo.net/SDL_tutorials/lesson01/windows/devcpp/index.php

Then goto http://http://www.libsdl.org/projects/SDL_mixer/ and get SDL_mixer-devel-1.2.8-VC8 or any later versions.

Open it up.

Copy the contents of the include folder to C:Dev-Cppinclude

Copy the contents of the lib folder to C:Dev-Cpplib

Then goto http://http://www.libsdl.org/projects/SDL_image/ and get SDL_image-devel-1.2.6-VC8 or any later versions.

Open it up.

Copy the contents of the include folder to C:Dev-Cppinclude

Copy the contents of the lib folder to C:Dev-Cpplib

Now, we should still have dev C++ open from following lazy foo's tutorial. So we go back to Project->Project Options-> Parameters, inside the linker box we add -lSDL_Image -lSDL_Mixer

so it looks like this:
-lmingw32 -lSDLmain -lSDL -lSDL_Image -lSDL_Mixer

Then you should be able to compile it.

This is just for the people who want to change stuff like gravity :) Have fun.
Title:
Post by: Ylle on December 01, 2007, 05:22:24 PM
tyvm.

I had problems with the linker. it seems.
Title:
Post by: GKi on December 01, 2007, 06:50:28 PM
yea, i had the same problem. Thats why i posted this :D
Title:
Post by: (Dark Spirit) on December 01, 2007, 10:08:35 PM
Someone Sticky PLZ!!!
Title:
Post by: Mario on December 04, 2007, 06:15:18 PM
But where do you get the source NOT on the svn?
Title:
Post by: Ylle on December 04, 2007, 09:24:37 PM
Wait what? Just get the source using the SVN guide.
Title:
Post by: Mario on December 04, 2007, 09:28:50 PM
You can't. Two52 closed it. Or thats what he said, I have not checked yet.
Title:
Post by: JJames19119 on December 04, 2007, 10:18:16 PM
Quote from: "Overwatch"
Wait what? Just get the source using the SVN guide.


viewtopic.php?p=128088#128088 (http://forum.72dpiarmy.com/viewtopic.php?p=128088#128088)
Title:
Post by: GKi on December 06, 2007, 05:13:00 PM
Quote from: "Mario"
You can't. Two52 closed it. Or thats what he said, I have not checked yet.


Here is 1.7 src, I'm not going to give out 1.8 so don't ask. http://http://smwffh.supersanctuary.net/303smw_src_1.7.zip It's only the source and you are going to have to use your current smw files with the source, and its only 29k.
Title: Re: Compiling SMW source code with Dev C++
Post by: Florian on January 19, 2009, 10:34:40 AM
svn is b0rked atm, two52 contacted me already, on it.

server administration = yuck!
Title: Re: Compiling SMW source code with Dev C++
Post by: Drewby2 on November 29, 2009, 05:15:19 PM
what actually is a sourcecode because I have found no use for it so far.
Title: Re: Compiling SMW source code with Dev C++
Post by: Rockerfrick on November 29, 2009, 08:45:40 PM
Quote from: "Drewby2"
what actually is a sourcecode because I have found no use for it so far.

It is the basic backbone of every program.
Title: Re: Compiling SMW source code with Dev C++
Post by: Drewby2 on December 01, 2009, 08:01:42 PM
how do I use the other tilesets listing because I can only use the original one they are called and how do I post a picture? so I can show the tilesets that I want to use but can't
Title: Re: Compiling SMW source code with Dev C++
Post by: Drewby2 on May 05, 2010, 01:34:18 PM
How do I use the C++ programs because I tried it and none of the files worked for me
Title: Re: Compiling SMW source code with Dev C++
Post by: Rockerfrick on May 05, 2010, 11:18:38 PM
Quote from: "Drewby2"
how do I use the other tilesets listing because I can only use the original one they are called and how do I post a picture? so I can show the tilesets that I want to use but can't

Make a folder and name it from what your tilesets are.

And use the {img} BBCode tags enclose the URL of the picture you want to post (e.g. http://www.example.com/1.jpg (http://www.example.com/1.jpg)) in the {img} tags.

Quote from: "Drewby2"
How do I use the C++ programs because I tried it and none of the files worked for me

About this, there's a lot of tutorials around there. Look for those.
Title: Re: Compiling SMW source code with Dev C++
Post by: Drewby2 on June 27, 2010, 03:54:52 PM
can someone tell me how to use C++ to make or scipt new items for the game? and how would I put the item into the game/editor
Title: Re: Compiling SMW source code with Dev C++
Post by: JM Dragon on June 27, 2010, 06:34:39 PM
Quote from: "Drewby2"
can someone tell me how to use C++ to make or scipt new items for the game? and how would I put the item into the game/editor
Most of the members here are not going to be able to do that for you. You'll have to learn to program in C++ yourself, or take a class in high school or college. C++ (or any programming language) is complicated, and it'll take months to learn the language. So, if you want some new items to add to the game, it's going to be up to you to learn the C++ language, and none of us (except for maybe a few) are going to be able to help you at all with what you are asking for. So, could you please stop asking, because you've gotten the same answer every time you've asked about this.

I'm sorry if I sound a little rough, but you've asked what is essentially the same question many times, and it is starting to get annoying.