![]() |
![]() |
#21 |
Retired
|
You did what and need help with what exactly?
|
![]() |
![]() |
![]() |
#22 |
Permanently Banned
|
I made the source code changes and need to put them in a exe somehow.
|
![]() |
![]() |
![]() |
#23 |
Retired
|
http://wiki.srb2.org/wiki/Source_Code_Compiling
You really should have read that article by now, you know... |
![]() |
![]() |
![]() |
#24 |
Permanently Banned
|
Well I dont understand how to install it. I do NOT HAVE FUCKING SPACE. I NEED THE SMALLEST FUCKING EDITOR!!!!!!!! WHY CAN NOBODY FUCKEN JUST SAY WHAT THE SMALLEST coder. Sorry if I soud mean. I just want to do it and get it over with.
|
![]() |
![]() |
![]() |
#25 |
|
First off. Act maturely. Second... If you don't have enough HD space, then you shouldn't be coding since you needs lots of it for the source code, the compiler, the IDE, the libraries, any backups you make, etc.
Now, for SRB2, it shouldn't use more than around say 300MB at most which is nothing.
__________________
Read the MB Rules: http://mb.srb2.org/rules.php My YouTube account: http://youtube.com/user/Sonict11 |
![]() |
![]() |
![]() |
#26 | |
What part of 'RETIRED' don't you understand?
|
Quote:
__________________
Roly Poly Putt & TraceRace - for Android, iOS, & PC - http://www.spaddlewit.com Follow me on twitter: http://www.twitter.com/SSNTails YouTube: https://www.youtube.com/channel/UCWy...P98afi_Sp0NdfQ |
|
![]() |
![]() |
![]() |
#27 |
|
You type random numbers and stuff. It looks like 04 3e jh d3 or something. It is hard.
|
![]() |
![]() |
![]() |
#28 |
Retired
|
So you didn't even notice that what you are asked to install in this article isn't even an editor? Just forget about coding until you have a clue what you are doing.
|
![]() |
![]() |
![]() |
#29 | |
32 kilowords of core!
|
Quote:
Thankfully though in the modern world the basic machine language is given abstractions, going all the way from assembly language to FreeBASIC (FreeBASIC is the first compiled to binary implementation of a fairly high level programming language I can think of, Java and such compile to their own special bytecode, and so abstract the machine language of a fictional processor that exists only in software).
__________________
The AppleTalk Network System. With the right connections, there's no telling how far you can go. Last edited by Cinefast; 10-27-2010 at 07:10 PM. |
|
![]() |
![]() |
![]() |
#30 |
Formerly known as 'Neo'
|
|
![]() |
![]() |
![]() |
#31 |
lyra x bonbno is esbt shop
|
IIRC, SRB2 was written in C.
WEREHOG, if you've never programmed before, DON'T EVEN TRY. This isn't where you can just randomly jump in and modify code without knowing how, you HAVE to KNOW C (Or whatever language if I'm wrong)! kthnxbai
__________________
Add me on PSN! ID: ThatHeadcrabGuy Send me a PM if you add me. |
![]() |
![]() |
![]() |
#32 |
Formerly known as 'Neo'
|
I'll just say this: "knowing C", or in other words, becoming familiar with its syntax, is a very small part of what you need to accomplish before you can make any tangible modifications to SRB2. Much more important is learning the various programming paradigms (which are agnostic to the actual programming language) and becoming familiar with SRB2's inner workings.
A programming language is only a set of tools which a programmer uses in order to perform actions which lead to certain goals. A painter needs not only a brush and paint, but also to know how to use them, and what to use them for. |
![]() |
![]() |
![]() |
#33 | |
32 kilowords of core!
|
Quote:
__________________
The AppleTalk Network System. With the right connections, there's no telling how far you can go. |
|
![]() |
![]() |
![]() |
#34 | |
|
Quote:
What you need is patience. For example, if you want to change the HUD, then try to use Dev's Search feature to find it. Eventually you'll see it in st_stuff.c. Try to learn how it works, and try to edit it in some way. |
|
![]() |
![]() |
![]() |
#35 |
Permanently Banned
|
What is the diffrence between socing and coding?
|
![]() |
![]() |
![]() |
#36 |
Retired
|
...I don't even know what to say now. If you don't have any clue what coding even is, why did you think you could do it? Seriously, learn to code and you can answer that question for yourself. The way you're acting up here is, in all honesty, stupid.
|
![]() |
![]() |
![]() |
#37 | |
|
Quote:
And here some advice for you: I am assuming (sorry if I am wrong) you are still going to school and are between 10 and 15 years old. School education makes most pupils think that knowledge can only be acquired if someone else is teaching you. However, not later than you are moving on to college you will realize that nobody else is responsible for your knowledge than you. In the working life people expect you to learn for yourself. It is ok to ask for help if you have trouble figuring something out just don't expect anyone to do the work you should be doing yourself. Yes coding can be complicated and is counterintuitive for most people. Coding is basically a concept that is derived from propositional logic and the binary numeral system thus making it a mathematical concept. If this stuff would be easy people would not went to college to study informatics or mathematics. Regarding your "how do I turn my code into an exe"-question: This process is called compilation. To compile the changes you have made you will have to recompile the whole srb2-project. The exe that will be created will contain the complete data structure of srb2 AND your modifications. To do this you will have to install a C-IDE and open the Srb2.dev file via this IDE. If you do not have enough disk space, time or motivation to get all relevant components and to learn about C-programming and SRB2's data structure, well your bad. There is no easy way to do it.
__________________
Try soccing, it's fun! :> Check out the wiki: http://wiki.srb2.org/wiki/Object_Creation_Tutorial or read the original one: http://mb.srb2.org/showthread.php?t=30906 |
|
![]() |
![]() |
![]() |
#38 | |
Retired
|
Hey Morph, you're not up to date! ;P
Quote:
In other words, we used your tutorial as the basis for the SOC tutorial on the Wiki, like I told you. Thanks again. |
|
![]() |
![]() |
![]() |
#39 |
The Tortured Planet guy
|
What you need to understand, A Cat, is that as complex as coding can get, the basics are extremely simple. You aren't going to become an expert overnight; I'm actually taking a programming course in college right now, and the pace is pretty slow.
Let me break this down as simply as I possibly can. Programming is at its core an exercise in logic. You really don't need extremely special tools to do it other than patience and dedication. The trick is that each line of code is telling the computer to do something. Coding is essentially a method of telling the computer specifically what you want to do. There are many different programming languages. Each one uses slightly different syntax, and has its own different advantages. Some languages are more efficient; others are easier to use. The language I'm studying is called C++. SRB2 was programmed in a language called C. There are literally thousands of others. For most of them, although it can be beneficial to use a special editor, it isn't necessary. You can write a program using just about any text editor. In fact, I'll write a very simple program in C++ right on this screen. Code:
#include <iostream> using namespace std; int main() { cout << "I love SRB2!" << endl; return 0; } #include <iostream> What this line did was tell the computer "I want to include the resource 'iostream'". iostream is basically a prefabricated piece of code that allows you to input and output data to the console. using namespace std; This tells the computer to use the namespace "std". Namespaces are important to complex programming, but in simple programs adding in "namespace std" is just something to routinely do. The semicolon, by the way, is used to tell the computer that a particular prompt is over. int main() { This is what is called a "function". It is basically an individual block of code that can be called over and over. In this case, though it's just the main part of the program. This function is of type "int" which means that when it is done, it will return an integer to the program. The double parentheses "()" means that the function doesn't take any data from another function for its own use (if it did, then the parentheses would contain the data the function takes). Lastly, the curly brace "{" distinguishes where the contents of the function start. Everything inside the braces gets tabbed over so that it is easy to pick out that particular function at a glance. cout << "I love SRB2!" << endl; This is the part where the program actually does something. The "cout" means "put the following on the console". The "<<" means "output". "I love SRB2!" is what the program actually prints on the screen. The "endl" means that the line of text is done (it basically has the same effect as the Enter key). return 0; Remember when I said that functions of type "int" return an integer? This is what the function returns. This effectively tells the program that it is finished, and makes it exit. } As you might have guessed, this marks the end of the "main" function. Now, lastly, you need a compiler program. This isn't tough at all...it's just a really tiny application that will read your code and actually build a program out of it. In my opinion, C++ is a good place to start if you are serious about programming. Some other types of languages are simpler, but C++ is one of the most powerful and efficient codes there is. There are all kinds of websites that can teach you the basics. Seriously, just Google it and look for some tips to get you started. |
![]() |
![]() |
![]() |
#40 | |
|
Quote:
Spoiler:
__________________
Try soccing, it's fun! :> Check out the wiki: http://wiki.srb2.org/wiki/Object_Creation_Tutorial or read the original one: http://mb.srb2.org/showthread.php?t=30906 Last edited by Morph; 10-30-2010 at 05:55 PM. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
3 questions about coding. | Ankoctoaragon | SRB2 Discussion | 12 | 12-07-2010 09:17 PM |
Does SRB(1!) work on DS? | Autosaver | Video Games | 5 | 12-30-2009 05:46 AM |
Programming extra frame coding... | EMPEROR METALLIX | Editing Help | 14 | 09-01-2008 07:45 PM |
XWE won't work,How can you make it work? | sontails | Help | 4 | 01-15-2007 03:38 AM |