"Hello World" - Part 1 GameBoy programming - write your own Game Boy games

  Рет қаралды 156,443

GamingMonsters

GamingMonsters

Күн бұрын

Пікірлер: 433
@joeyprell9784
@joeyprell9784 4 жыл бұрын
You cant stop me nintendo. I got "Hello, World!" to show up on the screen.
@ahmedzarin2247
@ahmedzarin2247 2 жыл бұрын
Yeeee
@ahmedzarin2247
@ahmedzarin2247 2 жыл бұрын
He be right
@WhiteWereWolf87
@WhiteWereWolf87 3 ай бұрын
do not jinx it nintendo is the great fun killer
@pugz_xgaming9599
@pugz_xgaming9599 4 жыл бұрын
This helped me so much! I want to make this game called "Hello World!" It is about this flower who comes out of his seed and says "Hello World!" He then goes out into the world to find love. He does, and the lady flowers and the main flower live happy and create a new flower, but then the 2 flowers die, but a new one comes out of its seer and says: "Hello World!"
@yasyasmarangoz3577
@yasyasmarangoz3577 4 жыл бұрын
Good luck!
@hesliterallymebro
@hesliterallymebro 4 жыл бұрын
Bruh you just spoiled the story
@pugz_xgaming9599
@pugz_xgaming9599 4 жыл бұрын
@@hesliterallymebro Very true oof
@yasyasmarangoz3577
@yasyasmarangoz3577 4 жыл бұрын
@@hesliterallymebro what
@αγρ-κ6λ
@αγρ-κ6λ 4 жыл бұрын
Sounds like a good game
@aidensmith6277
@aidensmith6277 6 жыл бұрын
Thanks for this series man. Keep it up. It is the best feeling when you come across a fresh series on a thing you recently got interested in.
@Smoon161
@Smoon161 2 жыл бұрын
agreed
@mattribera1662
@mattribera1662 2 жыл бұрын
This is exactly the kind of stuff they teach in an intro programming class. great video.
@GarretDepew
@GarretDepew 5 жыл бұрын
I cannot tell you how much I appreciate these tutorials. Thank you so much I didn’t know how easy this could be.
@honeybadger256
@honeybadger256 2 жыл бұрын
Im writting vintage style games on python and c# but i thought that something was missing in my games.. Now i know what it was, thanks for the tutorial!
@pkrockin3923
@pkrockin3923 4 жыл бұрын
Nice. Now Im gonna make a sequel to Links awakening.
@EngMattL
@EngMattL 3 жыл бұрын
Have you made?
@_nightowl263
@_nightowl263 3 жыл бұрын
I love you
@RobertFletcherOBE
@RobertFletcherOBE 2 жыл бұрын
Links Breakfast?
@Starrs_mods
@Starrs_mods Жыл бұрын
Links sleeping
@ianramirez5888
@ianramirez5888 Жыл бұрын
Link's teeth brushing.
@TheIsolatedGamerz
@TheIsolatedGamerz 4 жыл бұрын
This tutorial is super clean, I've always wanted to learn C. Thanks for this tutorial. Maybe this is asking for too much, but would love to go through the same development process with the GBA! :)
@Nooby427
@Nooby427 2 жыл бұрын
I love these series of videos! I had to revisit these because i had forgotten a lot of this over the years!
@DVDRAR
@DVDRAR 3 жыл бұрын
i made my gameboy say "fuck" on the screen, my life is complete
@_nightowl263
@_nightowl263 3 жыл бұрын
I love you
@robinsmit9603
@robinsmit9603 5 жыл бұрын
Two little tips from me: 1. Make sure you have the GB libraries in the directory/upper directory to use the Intellicens (you can find them in gbdk\include\*). 2. Make sure the batch file points to the correct 'main.c'. Sunst you get the message that the 'main.o' was not found. Because then the compiler can't compile correctly.
@GamingMonsters
@GamingMonsters 5 жыл бұрын
There is an easier way to get intellisense working and get rid of those wiggly lines, check this videos description for the link to the video to solve that
@oscwavcommentaccount
@oscwavcommentaccount 5 жыл бұрын
I have 'main.c' and 'make.bat' in the same folder, but i get the message that 'main.o' wasn't found.
@ASTR0skull
@ASTR0skull Жыл бұрын
I get a message that both main.o and main.c can't be found. How do I make sure they are where they should be?
@Kylefassbinderful
@Kylefassbinderful 5 жыл бұрын
These videos have got me to end the rut I was in. New hobby!
@Ramu-10
@Ramu-10 5 жыл бұрын
For a while I wanted to learn C but I never did. This could be a perfect opportunity for me.
@NoobestK
@NoobestK 5 жыл бұрын
Cheers boy
@pugz_xgaming9599
@pugz_xgaming9599 4 жыл бұрын
Bro same. I plan on my first game being small, but called "Hello World". It's short game about a flower who is all by its self. It then goes out into the world to find love. And at the end of the game he meets a flower and the 2 flowers die, but a new one is born and says: "Hello world."
@DinoNuggies4665
@DinoNuggies4665 3 жыл бұрын
Same
@FlashKillerX
@FlashKillerX 5 жыл бұрын
Awesome tutorial! I’ve been wanting to program something onto my RetroPie emulator for awhile and this is a huge starting point
@edug3853
@edug3853 5 жыл бұрын
to anyone who has an error that seems to run like this: Program 'make.bat' failed to run: The specified executable is not a valid application for this OS platform.At line:1 char:1 + .\make.bat+ ~~~~~~~~~~. At line:1 char:1 + .\make.bat + ~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed Follow all the steps in the video until up to the point where you get stuck. then follow me So i had the same trouble a while back, and just now I've figured out how to fix it. The way to fix it is to save the files. That's it. When your on the page just press crtl-s and it should save, make sure to save both and then run the file. turns out Visual studio doesn't auto save when you run a file.
@GamingMonsters
@GamingMonsters 5 жыл бұрын
Thanks Ricky I’ve been really stuck trying to figure out what the issue was as I couldn’t replicate it thanks for sharing
@brianstanky
@brianstanky 4 жыл бұрын
I did that and now it says the system can’t find the path specified :/
@anwaral-hasan2635
@anwaral-hasan2635 4 жыл бұрын
Yeah same here man thanks for the help!
@anwaral-hasan2635
@anwaral-hasan2635 4 жыл бұрын
Actually im having this problem too saying: C:\Users\shers\Downloads\gbdk-2.95-3-win32\Gameboy Folder>c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -c -o main.o main.c The system cannot find the path specified. C:\Users\shers\Downloads\gbdk-2.95-3-win32\Gameboy Folder>c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -o main.gb main.o The system cannot find the path specified. PS C:\Users\shers\Downloads\gbdk-2.95-3-win32\Gameboy Folder>
@brianstanky
@brianstanky 4 жыл бұрын
ElitesDelutus AA I hope we find a way!
@murdocc9
@murdocc9 4 жыл бұрын
i have got a error it's telling me "cannot open source gile "" ". I'm trying with and "gb/gb.h" but does't work, with stdio.h too.
@GamingMonsters
@GamingMonsters 4 жыл бұрын
Is that just showing in visual studio code when you hover over the squiggles? If so it’s just a warning and I show you have to resolve it in a later video. If not does this error show when you run the build.bat file?
@rowbodigsby22
@rowbodigsby22 4 жыл бұрын
@@GamingMonsters Which later video?
@rowbodigsby22
@rowbodigsby22 4 жыл бұрын
For Anyone wondering, I was on vs code when the error was happening. I switched to VS 2019 and the problem was fixed. It created another though :/
@danielsequeira1608
@danielsequeira1608 4 жыл бұрын
I got the same thing and it's apparently just that you haven't set a value for vs code to look for the include files. You can find the option to change it in the settings.json and type in the directory, just that instead of normal slash (ex: c:/Users) you use 2 back slashes (ex: c:\\Users) Note: this only happens when you download a C/C++ Compiler extension, so if you have trouble finding settings.json, try going to the description of the extension
@legendwatson695
@legendwatson695 Жыл бұрын
you did not put the single quotes on it
@aidensmith6277
@aidensmith6277 6 жыл бұрын
Aaaah, C. The only true language ;)
@desmondcayce
@desmondcayce 5 жыл бұрын
C#: Imma have to stop you there
@boomclan5163
@boomclan5163 5 жыл бұрын
C#: NULL
@bjarnestronstrup9122
@bjarnestronstrup9122 5 жыл бұрын
They say, god wrote the universe in C. C# is for kids that think they know how to program.
@KoopTheKoopaLol
@KoopTheKoopaLol 4 жыл бұрын
IT SURE IS!
@jpalacios117
@jpalacios117 4 жыл бұрын
Real programmers use Assembly
@codecato9527
@codecato9527 5 жыл бұрын
**sip** Yeah, C was a good language **sip**
@mario_9431
@mario_9431 5 жыл бұрын
C IS still a good language
@desmondcayce
@desmondcayce 5 жыл бұрын
@@mario_9431 C#: Imma have to stop you there
@bjarnestronstrup9122
@bjarnestronstrup9122 5 жыл бұрын
@@desmondcayce C# is a hipster language and provides nothing special! There is hundreds of languages that provide all the features C# has without being centered around a corporation that tries to make money out of everything they can. Can you write an operating system in C#, you probably could but it would be pain; could you write a web browser in C#, you probably could but it would be pain. The language requires a virtual machine (CLR) to execute anything, that might be ok for your business applications that involve writting 10 lines of code but when you need to write something bigger running in real-time you need language like C, C++, D or Rust.
@adrulb
@adrulb 5 жыл бұрын
​@@bjarnestronstrup9122 First of all, why are you talking about the CLR? This is about the LANGUAGE not it's runtime/compiler. The official C# compiler is open source and licensed under Apache 2.0 Additionally .NET 5 is being worked on and it is going to have an option for Ahead-Of-Time-compilation. Why is writing a web browser in C# a pain? Have you tried it or are you just hating on C#? Writing an OS in C# is possible and people have done it.
@bjarnestronstrup9122
@bjarnestronstrup9122 5 жыл бұрын
@@adrulb You probably don't understand that it's not about compilation or C# it self, it's about garbage collection. C# was designed as a garbage collected language and will most likely stay garbage collected until it dies. When you write software with real-time requirements then you want to take advantage of the CPU cache as much as possible because accessing RAM directly can be hundreds of times slower. Garbage collector needs to check random memory locations at random points in time, both of which can cripple your cache usage. kzbin.info/www/bejne/jXWsnKSGaa-Voac watch this when you have some spare time on your hands.
@richardrosenthal7493
@richardrosenthal7493 5 жыл бұрын
This is a godsend! I've always wanted to make my own gameboy games since I was a little kid.
@Crux161
@Crux161 4 жыл бұрын
I just realized... while I’ve known this for almost freaking ever - that void main doesn’t return an exit code (or error code in some instances I guess). How funny - the things we know but never really think about.
@edug3853
@edug3853 6 жыл бұрын
I keep getting the error Program 'make.bat' failed to run: The specified executable is not a valid application for this OS platform.At line:1 char:1 + .\make.bat+ ~~~~~~~~~~. At line:1 char:1 + .\make.bat + ~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed and also, what happens in between the seconds 8:02 and 8:03, where a bunch of new files appear on the left? I have tried adding them, but still get the same error
@GamingMonsters
@GamingMonsters 6 жыл бұрын
those "extra" files come when it compiles using make. What operating system are you using? Windows, Mac?
@edug3853
@edug3853 6 жыл бұрын
@@GamingMonsters Windows, and it crashes when input .\make.bat is put in the terminal, or when I try to run make.bat
@GamingMonsters
@GamingMonsters 6 жыл бұрын
Have you double checked that the path to gbdk in make.bat matches where you have unzipped gbdk on your pc. Mine for example is in c:\gbdk
@edug3853
@edug3853 6 жыл бұрын
@@GamingMonsters I'll check, thanks
@edug3853
@edug3853 6 жыл бұрын
@@GamingMonsters PS Microsoft.PowerShell.Core\FileSystem::\\echsvault\students\eduardo.graglia\My Documents\C files> .\make.bat '\\echsvault\students\eduardo.graglia\My Documents\C files' CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory. C:\Windows>c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -c -o main.o main.c c:\gbdk\bin\lcc: can't find `main.c' C:\Windows>c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -o main.gb main.o c:\gbdk\bin\lcc: can't find `main.o' so from what I understand, it can find GBDK in c:\, but it can't find main.o and main.c, which Im confused about, since it should be able to at least find main.c
@shivamwagh22
@shivamwagh22 5 жыл бұрын
This is a good mini project to actually apply my knowledge of this language. We have C this semster but we don't really apply it and only practice syntax and stuff which i find pretty boring :( Looking forward to making some cool stuff ^ ^
@ryankevin
@ryankevin 5 жыл бұрын
This looks fun! Subscribed!
@HiRuMi91
@HiRuMi91 4 жыл бұрын
Really appreciate the tutorials. Thanks!
@vriska222
@vriska222 5 жыл бұрын
Its telling me "cannot open source file "gb/gb.h""
@KoopTheKoopaLol
@KoopTheKoopaLol 4 жыл бұрын
Maybe the file gb.h is on another folder. Or you got a broken GBDK, OR you did this: #include "gb/gb.h" When it should be: #include Or it is just Visual Sudio Code. Nothing will happen tho also look at LARS Forster's comment
@larsforster3775
@larsforster3775 4 жыл бұрын
Look it up in his 5th tutorial
@imartusdev7187
@imartusdev7187 4 жыл бұрын
I have the same problem
@holographicSquid
@holographicSquid 4 жыл бұрын
@@larsforster3775 Thanks
@larsforster3775
@larsforster3775 4 жыл бұрын
@@holographicSquid You're welcome, I got stuck with this all quite often😂
@ThamizhanDaa1
@ThamizhanDaa1 5 жыл бұрын
Thank you soo very much sir! It is really helpful for my class in college
@soda9023
@soda9023 5 жыл бұрын
Honestly should start doing some ASM tutorials aswell, as ASM games often preform better than ones with GBDK, GBDK needs a community alternative honestly because of how poorly written it is.
@soda9023
@soda9023 4 жыл бұрын
Christian Weissmuller Necroreply but true, also rad manjaro bro.
@MrScottyTay
@MrScottyTay 4 жыл бұрын
wish there was a great tutorial series like this but for GB ASM instead of C
@GamingMonsters
@GamingMonsters 4 жыл бұрын
Me too
@ilmalte
@ilmalte 4 жыл бұрын
me too...
@williamdrum9899
@williamdrum9899 3 жыл бұрын
Chibiakumas has one
@wladfan
@wladfan 4 жыл бұрын
This is very interesting since back then there was no intermediary between the game code and the console, you had to code all the ram actions yourself!
@torn2867
@torn2867 4 жыл бұрын
make.bat is failing to run. "The specified executable is not a valid application for this OS platform." I extracted the folders to the same locations and everything.
@ejasmuhammad8110
@ejasmuhammad8110 3 жыл бұрын
Have u fixed it ??
@torn2867
@torn2867 3 жыл бұрын
@@ejasmuhammad8110 nope
@ejasmuhammad8110
@ejasmuhammad8110 3 жыл бұрын
@@torn2867 at main.c press Ctrl+s then go back to the view -->terminal and write .\make.bat.
@KnightMD
@KnightMD 3 жыл бұрын
EDIT: Fixed by also saving make.bat and not just main.c
@ryanmichalski7420
@ryanmichalski7420 3 жыл бұрын
Awsome series’s I am only a about three videos in so far. I always wanted to make my own game I tried the whole unity engine thing I am not to sure that platform is right for me. I heard the game boy is a recommended place for first timers to start making games on. Someone with very little to no programming knowledge hopping to get what I need to program in C to make a game. After I finished your series were would you recommend more documentation to learn more.
@mikekrow
@mikekrow 3 жыл бұрын
Ive looked through most of the comments and maybe I just missed it but does anyone else get this error? C:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -c -o main.o main.c sdcpp: Usage: -Wall [switches] input output C:\hello_world>C:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -o main.gb main.o C:\gbdk\bin\lcc: can't find `main.o' It appears that the first precompiler is not actually compiling. Not sure why. I have the gbdk in C drive and my files are on the same drive too. Any help would be greatly appreciated!
@Fewnity
@Fewnity 5 жыл бұрын
Il like your video series man!
@oscwavcommentaccount
@oscwavcommentaccount 5 жыл бұрын
8:32 I got this error when compiling: Program 'make.bat' failed to run: The specified executable is not a valid application for this OS platform.At line:1 char:1 + .\make.bat + ~~~~~~~~~~. At line:1 char:1 + .\make.bat + ~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed I have copy, pasted the bat file code so there can't be a typo.
@GamingMonsters
@GamingMonsters 5 жыл бұрын
Try ensuring you have saved the files and read the other similar comments
@oscwavcommentaccount
@oscwavcommentaccount 5 жыл бұрын
@@GamingMonsters It works now. Thx.
@Swgstve
@Swgstve 2 жыл бұрын
GBstudio is an alternative but C would be the recommended choice if u plan on making large roms and dont want to worry about limitations
@filipeoni
@filipeoni 5 жыл бұрын
hey bro, great tutorials but I can't get the #include work, what do I do ?
@GamingMonsters
@GamingMonsters 5 жыл бұрын
When you say can’t get it to work what happens? Have you looked at some of the other comments with similar issues?
@filipeoni
@filipeoni 5 жыл бұрын
@@GamingMonsters Thanks for the fast reply and sorry for my delay, I got some issues at home. This problem I solved, I needed to create a path But now when I click terminal I got an error saying make.bat is not a viable application
@GamingMonsters
@GamingMonsters 5 жыл бұрын
@@filipeoni and you have definitely saved make.bat (its easy to create it and not actually save in VSCODE)
@filipeoni
@filipeoni 5 жыл бұрын
I didn't understand@@GamingMonsters
@GamingMonsters
@GamingMonsters 5 жыл бұрын
@@filipeoni are you sure you have actually saved the file make.bat. Check in windows explorer you can actually see it in the same path you are trying to run it from the terminal
@megakuma8386
@megakuma8386 3 жыл бұрын
Whenever I try running make.bat it seems to have trouble finding the gb.h and stdio.h files
@peytoncatchpole-maskell8702
@peytoncatchpole-maskell8702 6 жыл бұрын
EDIT: Okay I managed to fix it but what I did is different to your video so I don't know why that is. I just added { } before and after the code and then it ran fine. Great video by the way. I did exactly as you said in the video but the terminal comes up saying C:\Users\Peyton\Documents\gameboycode\1_helloworld>c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -c -o main.o main.c main.c(1):error *** parse error at end of of input C:\Users\Peyton\Documents\gameboycode\1_helloworld>c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -o main.gb main.o c:\gbdk\bin\lcc: can't find `main.o' Do you happen to know what I'm doing wrong?
@KaranPatil94
@KaranPatil94 3 жыл бұрын
Has anyone been able to fix the error with main.o missing? (I'm using a Linux machine) My main.c is this: #include #include void main() { printf("HELLO WORLD"); } and I compile the program using this: lcc -Wa-l -Wl-m -Wl-j -c -o main.o main.c When i run the above command, i dont see any errors, it just says "removing" at the end (idk what it is removing) and there is no main.o file created, hence the second command cant be run
@boubliiii
@boubliiii 5 жыл бұрын
When I want to write #include , VS Code say : cannot open source file "gb/gb.h" How I can fix it ?
@CivilianZero
@CivilianZero 5 жыл бұрын
Figured it out. You need to add “/path/to/gbdk/include/“ (your actual path, not exactly that) to your includePath. Hard to fully explain here but if you don’t understand a bit of googling should help you figure it out.
@boubliiii
@boubliiii 5 жыл бұрын
Just watch the video « Head’s up display », it’s explain at the beginning
@samljer
@samljer 5 жыл бұрын
The file is obviously not in that folder you could also do the entire path if you know its exact location eg: #include
@Carloskursh
@Carloskursh 4 жыл бұрын
menu file>preferences>settings search settings and write "include" this bring you the Edit in seetings.json and then write "C_Cpp.default.includePath": ["C:/gbdk/include"]
@boubliiii
@boubliiii 4 жыл бұрын
Carlos V. Thank’s 😂 But my problem is fixed since one year now
@T-Bone3063
@T-Bone3063 3 жыл бұрын
Nice! Now I guess I can make Among Us for GameBoy.
@BlockBurst13
@BlockBurst13 Жыл бұрын
for anyone having trouble on runing make.bat go into your code folder and move the main.c to the hello world folder
@lusyel1
@lusyel1 6 жыл бұрын
very good job. waiting next video :)
@loganhoff4462
@loganhoff4462 2 жыл бұрын
I just started a fun project that would require me to program a gameboy and luckily I came across this playlist of videos and are very straightforward and easy to learn especially since I do have programming knowledge but after I follow every step I still came up with a error saying that it cannot open source on any help would be super helpful
@ATiRAGEPRO
@ATiRAGEPRO 5 жыл бұрын
I learned more about C watching this video than I did reading the books. 🤔
@GamingMonsters
@GamingMonsters 5 жыл бұрын
I learned more about C making these videos than I did reading the book ;-)
@EliMeckes
@EliMeckes 3 жыл бұрын
I've been running into a few problems it seems, the main.c is giving me errors saying that gb/gb.h and stdio.h can't be opened. And when i execute the bat file it says it isn't a valid win32 application...
@GamingMonsters
@GamingMonsters 3 жыл бұрын
have a good read through the many many comments that have asked this and been answered
@EliMeckes
@EliMeckes 3 жыл бұрын
@@GamingMonsters I did end up solving my issue... :P
@shobbie_
@shobbie_ 4 жыл бұрын
IT DOESNT INCLUDE THE FILES AND INSTEAD SAY ERROR
@GamingMonsters
@GamingMonsters 4 жыл бұрын
Have you checked any other comments and replies to see if there are similar issues? It should give more details than just Error?
@meadosute3120
@meadosute3120 4 жыл бұрын
this tutorial is valuable, i think
@brattmatt6017
@brattmatt6017 5 жыл бұрын
Can you please help, i got this error when trying to run make.bat Program 'make.bat' failed to run: The specified executable is not a valid application for this OS platform.At line:1 char:1 + .\make.bat + ~~~~~~~~~~. At line:1 char:1 + .\make.bat + ~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed
@infectiousfungi3188
@infectiousfungi3188 5 жыл бұрын
I got the exact same error
@nerg9108
@nerg9108 5 жыл бұрын
Bro you save my life
@GameBrainShow
@GameBrainShow 4 жыл бұрын
Amazing! love it!!
@themcbaughman
@themcbaughman 3 жыл бұрын
For whatever reason it compiles when I run make.batch, but there is no main.gba file. It makes every other file you have plus a .ihx and .noi. I can't figure this out for the life of me.
@joshlovesfood
@joshlovesfood 3 жыл бұрын
@Gaming Monsters, you forgot to show how to connect Visual Studio Code to the gbdk! Major piece missing!
@GamingMonsters
@GamingMonsters 3 жыл бұрын
What like this kzbin.info/www/bejne/qH6cmJimmcqmgNU
@playalot86
@playalot86 3 жыл бұрын
Could you make a tutorial for C++? That's the language that I'm learning! Great video!
@GamingMonsters
@GamingMonsters 3 жыл бұрын
unfortunately there is not a c++ compiler for gameboy
@playalot86
@playalot86 3 жыл бұрын
@@GamingMonsters Awesome, well, at least there's C! Haha
@PanosGeorgiadis
@PanosGeorgiadis 5 жыл бұрын
Is this tutorial series working for Linux?
@GamingMonsters
@GamingMonsters 5 жыл бұрын
It should do but I don’t have any experience doing so. Visual studio code (the editor I use) works on Linux and gbdk also works
@sergiofls7623
@sergiofls7623 5 жыл бұрын
i got this working on manjaro linux! the steps aren't the same, but here's what i used: got gbdk from the AUR used vscodium (also from the AUR) used the makefile from gist.github.com/keztricks/863349fd597f8e43f42976a1ca19e263 changed the path to /opt/gbdk/ run make, fix separators and it worked!
@kruemmelbande5078
@kruemmelbande5078 4 жыл бұрын
Alright, a while ago, i had issues with this tutorial... Twice... But now i figured out what is wrong.... Apparently gb.h was not found... Do you know how to fix it? Edit:nvm... Made a typo
@davelittle1990
@davelittle1990 9 ай бұрын
Hello @GamingMonsters. Does this work on a Mac computer? I don’t have a PC or Windows. The only thing I do is Apple.
@GamingMonsters
@GamingMonsters 9 ай бұрын
gist.github.com/keztricks/863349fd597f8e43f42976a1ca19e263
@erkin8657
@erkin8657 4 жыл бұрын
Hey i don't know C and i don't want to learn it, im currently learning python and c++, can we do the same thing with these languages as well?
@GamingMonsters
@GamingMonsters 4 жыл бұрын
Unfortunately not it’s just c
@SharpCosmos
@SharpCosmos 4 жыл бұрын
IT'S BROKEN, the software is outdated, so it no longer works meaning I can't continue. EDIT: For some reason, I went to see the code on GitHub, downloaded it, and looked in the file. I then copied and pasted the needed files, ran the code and it worked for some reason, so yeah.
@ULTIMARAGNAR0K
@ULTIMARAGNAR0K 3 жыл бұрын
I tried doing this but It wont run..... It says Program 'make.bat' failed to run: The specified executable is not a valid application for this OS platform.At line:1 char:1 + .\make.bat + ~~~~~~~~~~. At line:1 char:1 + .\make.bat + ~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed
@chrisdelavictoria4520
@chrisdelavictoria4520 4 жыл бұрын
What version of Visual Studio are you using? It looks different from mine, I'm using version 2019.
@GamingMonsters
@GamingMonsters 4 жыл бұрын
Vs code the free editor different than full visual studio
@wardednickel2552
@wardednickel2552 4 жыл бұрын
when ever i try to run .\make.bate it say Program 'make.bat' failed to run: The specified executable is not a valid application for this OS platform.At line:1 char:1 + .\make.bat + ~~~~~~~~~~. At line:1 char:1 + .\make.bat + ~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed what do i do?
@GamingMonsters
@GamingMonsters 4 жыл бұрын
Please see the many other comments about this
@wardednickel2552
@wardednickel2552 4 жыл бұрын
@@GamingMonsters thanks
@tonyortiz623
@tonyortiz623 3 жыл бұрын
so I am trying to make a vertical shooter with 16x16 sprites. but when i try to compile it with the make.bat, I get an error in visual studio "unable to find the main.o " file. when i open a new window and try your hello world code it works and creates the main.o file automatically. Any advice.
@colwarsstudiobrickfilmandm8580
@colwarsstudiobrickfilmandm8580 3 жыл бұрын
I made that mistake to! It has to be in the orginal folder that you put your c drive that was extracted best of luck, col
@nono-nv5fx
@nono-nv5fx 4 жыл бұрын
hey one question: Does anyone know how to actually apply the game to a cartridge and playing it on a real gameboy
@GamingMonsters
@GamingMonsters 4 жыл бұрын
See kzbin.info/www/bejne/oqaXfoFjbr1nabM
@teu009
@teu009 4 жыл бұрын
You can use an everdrive
@Geckotr
@Geckotr Жыл бұрын
What kind of device do you need to burn your rom to a game boy cartridge and how can you find an empty one?
@lilliansnide4073
@lilliansnide4073 Жыл бұрын
Help!! I know this video is quite old but Im trying to figure out how to use the IR (Info Red) sensor on the top of the Gameboy color. How do I tap into that? I feel like it could be usefull.
@GamingMonsters
@GamingMonsters 11 ай бұрын
Sorry it’s something I haven’t looked at
@gabrielwilliams4355
@gabrielwilliams4355 5 жыл бұрын
I have been looking in the reddit forum but I couldn't find the explanation on why the gbdk bin can't find main.o and main.c both make.c and make.bat is saved in my folder. I'm not sure why the file paths are not working.
@GamingMonsters
@GamingMonsters 5 жыл бұрын
whats the exact error you get when you run make.c and have you DEFINITELY saved your main.c file as others in the past have not noticed its not actually saved
@gabrielwilliams4355
@gabrielwilliams4355 5 жыл бұрын
@@GamingMonsters Thank you for your reply, I figured it out. I restarted Visual Studio Code and made sure to choose my folders for make.c and make.bat the same way exactly in the video and that fixed my problem. This video series is really awesome and I definitely want to learn c now. thanks again
@kruemmelbande5078
@kruemmelbande5078 4 жыл бұрын
I tried this a while ago, and i had some issues with the compiler... Today i tried it again, and.. What can i say... It still dont work... It just says " main.c(2):error *** parse error at end of of input" when i try to compile it...
@GamingMonsters
@GamingMonsters 4 жыл бұрын
Zip up your code and email it to gaming@gingemonster.com it’s probably a missing ; or }
@kruemmelbande5078
@kruemmelbande5078 4 жыл бұрын
@@GamingMonsters It looks like gmail really doesent like the zip file, so i hope the drive link will work.
@GamingMonsters
@GamingMonsters 4 жыл бұрын
@@kruemmelbande5078 Check the first line of main.c you have: #include in the video and in my sample code at github.com/gingemonster/GamingMonstersGameBoySampleCode/blob/master/01_helloworld/main.c I have: #include take a look at www.tutorialspoint.com/cprogramming/c_header_files.htm#:~:text=A%20header%20file%20is%20a,that%20comes%20with%20your%20compiler. to understand header files and includes a bit more and also check out my video kzbin.info/www/bejne/qXPMnpSpr9aXbKc which will have more helpful error messages
@pinklife00
@pinklife00 5 жыл бұрын
I got this error while running .\make.bat -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -c -o main.o main.c main.c(1):error *** parse error at end of of input
@keirnanthurman5372
@keirnanthurman5372 4 жыл бұрын
Okay so i'm trying to follow along and when i try to use make.bat it says "can't find main.o" help please
@briankumanchik2474
@briankumanchik2474 4 жыл бұрын
These are awesome! Thanks!
@reyz9506
@reyz9506 4 жыл бұрын
when i clicking at the icc. Files in my folder doesn't creating.what can i do?
@xxafroman
@xxafroman 5 жыл бұрын
read all the comments but couldn't find the solution to the "cant find main.o" problem here is the code for the make.bat C:\Users\johad\Documents\gameboycode\helloworld>c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -o main.gb main.o c:\gbdk\bin\lcc: can't find `main.o' PS C:\Users\johad\Documents\gameboycode\helloworld> thank you very much!
@GamingMonsters
@GamingMonsters 5 жыл бұрын
Do you have both lines of the bat file like github.com/gingemonster/GamingMonstersGameBoySampleCode/blob/master/01_helloworld/make.bat
@xxafroman
@xxafroman 5 жыл бұрын
@@GamingMonsters yes i followed the instructions carefully
@xxafroman
@xxafroman 5 жыл бұрын
this is the code in the terminal PS C:\Users\johad\Documents\gameboycode\helloworld> .\make.bat C:\Users\johad\Documents\gameboycode\helloworld>c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -c -o main.o main.c main.c(1):error *** parse error at end of of input C:\Users\johad\Documents\gameboycode\helloworld>c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -o main.gb main.o c:\gbdk\bin\lcc: can't find `main.o' PS C:\Users\johad\Documents\gameboycode\helloworld>
@GreenEggAndSAM2
@GreenEggAndSAM2 3 жыл бұрын
Hi, I cannot get my code to work in any emulator other than Emulicious. Why is this?
@numbertoast673
@numbertoast673 3 жыл бұрын
It's funny how few people watched later videos compared to this one
@legendwatson695
@legendwatson695 Жыл бұрын
it says cannot find path specified and I look at all of the comments
@alixtayzherman7143
@alixtayzherman7143 5 жыл бұрын
Hey, when running the make.bat file the second line returns an error : C:\Users\Usuario\Documents\GameBoyLearningCoding\gbdk\lib/small/asxxxx/gb/cr.: cannot open. But cr. doesn't even exists in the folder.
@GamingMonsters
@GamingMonsters 5 жыл бұрын
I’m not sure what this error is referring too sorry. You could try eliminating a few common problems 1) move gbdk to c:\gbdk as some people have had issues with it in some folders 2) check you are an admin on your pc?
@alixtayzherman7143
@alixtayzherman7143 5 жыл бұрын
@@GamingMonsters I found out why it shows it. I had the gbdk folder in my folder. So, note to everyone who move the folder: GBDK need to be in c:\
@knkn5049
@knkn5049 4 жыл бұрын
Warnings 0, Compilation time 0.22 but there are no main.o and something happen to my DevCpp nothing compile now
@aimless3827
@aimless3827 4 жыл бұрын
How can you run.bat with main.o when you don't have it in the first place?
@GamingMonsters
@GamingMonsters 4 жыл бұрын
Main.o gets created by the first line of the bat file
@Stargazer-is6ok
@Stargazer-is6ok 5 жыл бұрын
Are gba games working on C? I want to create game for my gba.
@GamingMonsters
@GamingMonsters 5 жыл бұрын
Hi try this new video series for gba kzbin.info/www/bejne/iJuTnZlqa86foMU
@arya_from_club_penguin
@arya_from_club_penguin 4 жыл бұрын
what OS are you using? when I try to run .\make.bat in the terminal, it tells me its not a valid application for this OS platform
@GamingMonsters
@GamingMonsters 4 жыл бұрын
Have you double triple checked you have actually saved the make.bat file from the file>save menu 99.9% of the time others with this exact same issue find this is the problem as vscode does not make it obvious it hasn’t automatically saved the file
@arya_from_club_penguin
@arya_from_club_penguin 4 жыл бұрын
@@GamingMonsters YOOOO IT WORKED!! thank you for the quick reply
@nintenradgameplaysandrevie496
@nintenradgameplaysandrevie496 5 жыл бұрын
I tried this but when I entered the make.bat in the terminal it said .\make.bat it said the term .\make.bat is not recognized as the name of a cmdlet function script file of oprearable program
@GamingMonsters
@GamingMonsters 5 жыл бұрын
Please can you See the comments above with similar issues and try some of the suggestions there
@nintenradgameplaysandrevie496
@nintenradgameplaysandrevie496 5 жыл бұрын
I tried of all them but it didn’t work
@xxafroman
@xxafroman 5 жыл бұрын
what is the recommended gameboy color cartridge to buy for this project? thanks
@GamingMonsters
@GamingMonsters 5 жыл бұрын
have you seen either of these videos? kzbin.info/www/bejne/oqaXfoFjbr1nabM kzbin.info/www/bejne/j6TEkqRpepZ9r9E
@xxafroman
@xxafroman 5 жыл бұрын
@@GamingMonsters thanks a lot! cheers from Israel
@kruemmelbande5078
@kruemmelbande5078 5 жыл бұрын
The compiler doesent work for some reason. It says: main.c(1):error *** parse error at end of of input
@GamingMonsters
@GamingMonsters 5 жыл бұрын
Can you send me you code gaming@gingemonster.com
@kruemmelbande5078
@kruemmelbande5078 5 жыл бұрын
@@GamingMonsters nvm you just have to save the Project before compiling it, but now im getting an unknown io error.
@GamingMonsters
@GamingMonsters 5 жыл бұрын
@@kruemmelbande5078 can you share the code its hard to guess what it might be but probably something simple
@kruemmelbande5078
@kruemmelbande5078 5 жыл бұрын
@@GamingMonsters it is the same code as in your 2nd video.
@GamingMonsters
@GamingMonsters 5 жыл бұрын
@@kruemmelbande5078 must be something different then. its gonna be easiest if you email me
@WilsonTjandra
@WilsonTjandra 6 жыл бұрын
will there be any Gameboy Advance tutorial? :D
@GamingMonsters
@GamingMonsters 6 жыл бұрын
I might try gba one day but plenty more to try on gameboy and gameboy colour first
@rafaelmohl3293
@rafaelmohl3293 5 жыл бұрын
I have a problem compiling the code that I made. I also deleted the code from the previous episode but nothing seems to help. the terminal says "undocumented I/O error". How do I fix it?
@GamingMonsters
@GamingMonsters 5 жыл бұрын
Can you upload your code somewhere or email to gaming@gingemonster.com and I’ll take a look
@Decimated_By_A_Train
@Decimated_By_A_Train 5 жыл бұрын
I keep getting the error "main.c:2: error:gb.h: undocumented I/O error" after I run the batch file, I cant find any resources to help me either. EDIT: I removed the gb.h header and it compiled fine, but I'm guessing that'll pose a problem later on so what should I do?
@GamingMonsters
@GamingMonsters 5 жыл бұрын
Where did you install gbdk folder to and where are you writing your code (the paths to both would help me diagnose)
@Decimated_By_A_Train
@Decimated_By_A_Train 5 жыл бұрын
GamingMonsters I have gbdk in the root and my code file on the desktop. Im going to try copying the Include file from gbdk into my code file and updating the includePath to see if that works
@GamingMonsters
@GamingMonsters 5 жыл бұрын
you definitely shouldn't need to move the gbdk file, can you zip the code up and email to gaming@gingemonster.com?
@joshuajefford3323
@joshuajefford3323 4 жыл бұрын
Im getting 2 issues on make.bat, “error ***** parse error at end of of input” and “cant find main.o”
@GamingMonsters
@GamingMonsters 4 жыл бұрын
This is usually something like a missing closing bracket } or a missing ; if you haven’t already solved it please zip and email your code to gaming@gingemonster.com
@James2210
@James2210 4 жыл бұрын
Can this be done on Linux, too? Also, isn't using void main in a hosted environment undefined behavior?
@GamingMonsters
@GamingMonsters 4 жыл бұрын
pretty sure it will all work on linux but I dont have any experience setting it up myself so you will have to give it a go. I suspect GBDK's version of C is a little less strict than others
@James2210
@James2210 4 жыл бұрын
@@GamingMonsters It might with a little work. The binary distribution is really old (only 32-bit) and the C source has some issues that need to be fixed. I know GBZ80 fairly well now, so I might just go ahead with my original idea and write it in assembly.
@GamingMonsters
@GamingMonsters 4 жыл бұрын
If you already know assembly I definitely would do that github.com/rednex/rgbds seems the most modern way to do that
@knkn5049
@knkn5049 4 жыл бұрын
i m very impressed, and it is free, sadlly there are no same way of developing for NES for superior colours and resolution. One question - can i use .cpp files and what usefull i can bring with me from cpp: cin cout strings classes oop?
@adam7802
@adam7802 2 жыл бұрын
I have been looking at learning assembly to write things for the gameboy. But I find it really hard to find the tools and such tbh... I am just laughing at the fact people have made this toolkit with c that's fantastic and makes me want to cheat 😂
@icedo1013
@icedo1013 Жыл бұрын
I taught myself some very rudimentary assembly code when I got into ACE for Pokemon Blue (I even wrote a small function!), and in my experience, it was definitely parsable if you took the time to understand the processes and how the chips actually operate. Ben Eater has some fantastic videos on this topic.
@AdamAdam-le3pm
@AdamAdam-le3pm 2 жыл бұрын
keep getting all kinds of errors when running this.
@landenty1525
@landenty1525 4 жыл бұрын
I've never written anything in C, though I often right code in C#, & the two seem very similar.
@GamingMonsters
@GamingMonsters 4 жыл бұрын
I’m the same in terms of c# being my daily language. The biggest difference is having to be very careful about memory and the size of variables as c will not stop you making silly mistakes (like trying to put 10 items into an array you sized to 3 items or putting an int16 value into an int8 so you need to be a lot more careful when coding
@RaymondCampesino
@RaymondCampesino 4 жыл бұрын
One big question. How do I get the games, on the catridge
@GamingMonsters
@GamingMonsters 4 жыл бұрын
kzbin.info/www/bejne/oqaXfoFjbr1nabM
@RaymondCampesino
@RaymondCampesino 4 жыл бұрын
@@GamingMonsters thank you, very helpful. I'm gonna download undertale
@thenukelore2space495
@thenukelore2space495 4 жыл бұрын
does this work for colors like if we wanted to use it on the gbc can we get it to be in full color with this dev kit that is in the link?
@GamingMonsters
@GamingMonsters 4 жыл бұрын
yes you can see kzbin.info/www/bejne/rpO7lKl4bZx2orc and kzbin.info/www/bejne/q3WZXoaif9Gth7s
@thenukelore2space495
@thenukelore2space495 4 жыл бұрын
Thank you I’ve been trying to get colors to work but it has been close many times but not perfect
@thenukelore2space495
@thenukelore2space495 4 жыл бұрын
Also I am new to programming in general I have used python before but very little so I have learned the basics of c but there is still a lot of things that are confusing
@alexandrucristian289
@alexandrucristian289 4 жыл бұрын
But how do you reverse engineer a gb file so i can see the code and make changes to it? Thanks
@williamdrum9899
@williamdrum9899 3 жыл бұрын
Most emulators have an option called "Disassemble" that will show you the code. But it won't be C code you'll be looking at. It will be in the form of raw z80 assembly
@יהלילן-פ4ל
@יהלילן-פ4ל 5 жыл бұрын
theres squiggly red lines on the entire 2 lines where i wrote #include i followed everything you did down to the file names and placements and still had this issue i also had this issue when trying to do .\make.bat Program 'make.bat' failed to run: The specified executable is not a valid application for this OS platform.At line:1 char:1 + .\make.bat + ~~~~~~~~~~. At line:1 char:1 + .\make.bat + ~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed
@GamingMonsters
@GamingMonsters 5 жыл бұрын
Have you read any of the comment and suggestion that’s others have had with similar issues? Take a quick look at those and if you still can’t solve it email to gaming@gingemonster.com
@יהלילן-פ4ל
@יהלילן-פ4ל 5 жыл бұрын
@@GamingMonsters I did look in the comments and still couldn't find anything and I looked online and still had problems. I described the problems I got so I would like help not by gmail
@GamingMonsters
@GamingMonsters 5 жыл бұрын
Ok ill try 1) Are you files saved on your c:\ drive or another drive, if they arent on C:\ try moving them there 2) What version of windows are you using? 3) Have you definately saved make.bat? Some people using VScode think they have but they havent really. Open windows explorer and check the file is really there 4) Are you an administrator on your pc? Some users have had issues on locked down school or work pcs where they are not allowed to run .bat files
@יהלילן-פ4ל
@יהלילן-פ4ל 5 жыл бұрын
let me refine the problem i have, from the 1st code i have 3 errors, "cannot open source file "gb/gb.h" [1, 1] "cannot open source file "stdio.h" [2, 1] "#include errors detected. please update your includepath. squiggles are disabled for this translation unit (the file path to main.c). [1, 1] from the make.bat i dont get any errors until i do the .\make.bat command in the terminal and then this shows up: Program 'make.bat' failed to run: The specified executable is not a valid application for this OS platform.At line:1 char:1 + .\make.bat + ~~~~~~~~~~. At line:1 char:1 + .\make.bat + ~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed do you have any idea what to do? i downloaded both extensions it told me to and i followed your tutorial exactly
@GamingMonsters
@GamingMonsters 5 жыл бұрын
can you ignore everything except the make.bat error (the rest are warnings), can you answer my previous list of questions so we can count those out
@davidepalladini7771
@davidepalladini7771 5 жыл бұрын
Please make a video of make your own game boy advance games writing on C+
@joshuajefford3323
@joshuajefford3323 4 жыл бұрын
doing this now because of the lockdown and all that but the second i wrote "#include " i got like 3 errors sayinbg please update includepath and that the file doesnt exist EDIT: got the same 2 errors on stdio.h
@GamingMonsters
@GamingMonsters 4 жыл бұрын
Checkout the description of the video near the bottom where it talks about wavey lines and how to resolve those
@joshuajefford3323
@joshuajefford3323 4 жыл бұрын
GamingMonsters damn, didnt know it was that easy lol thanks
"Sprites" Part 2 GameBoy programming - write your own Game Boy games
16:50
Someone Just Did, What Nintendidn’t
25:21
Macho Nacho Productions
Рет қаралды 749 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Game Boy Development Environment
9:07
NesHacker
Рет қаралды 258 М.
Making a Game Boy Color Game in C!
5:40
esotericsean
Рет қаралды 28 М.
How C++ took a turn for the worse
5:03
Code Persist
Рет қаралды 336 М.
Make Your Own Video Game Carts With This One Tool
10:34
Blaine Locklair
Рет қаралды 20 М.
Learn to code and write games on the Nintendo Game Boy  | MVG
17:25
Modern Vintage Gamer
Рет қаралды 266 М.
The Insane Engineering of the Gameboy
17:49
Real Engineering
Рет қаралды 2,2 МЛН
Making My Own Programming Language and Coding a Game in It
10:19
AstroSam
Рет қаралды 1,3 МЛН
Game Boy Graphics & How To Code Them
9:02
NesHacker
Рет қаралды 103 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН