You cant stop me nintendo. I got "Hello, World!" to show up on the screen.
@ahmedzarin22472 жыл бұрын
Yeeee
@ahmedzarin22472 жыл бұрын
He be right
@WhiteWereWolf873 ай бұрын
do not jinx it nintendo is the great fun killer
@pugz_xgaming95994 жыл бұрын
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!"
@yasyasmarangoz35774 жыл бұрын
Good luck!
@hesliterallymebro4 жыл бұрын
Bruh you just spoiled the story
@pugz_xgaming95994 жыл бұрын
@@hesliterallymebro Very true oof
@yasyasmarangoz35774 жыл бұрын
@@hesliterallymebro what
@αγρ-κ6λ4 жыл бұрын
Sounds like a good game
@aidensmith62776 жыл бұрын
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.
@Smoon1612 жыл бұрын
agreed
@mattribera16622 жыл бұрын
This is exactly the kind of stuff they teach in an intro programming class. great video.
@GarretDepew5 жыл бұрын
I cannot tell you how much I appreciate these tutorials. Thank you so much I didn’t know how easy this could be.
@honeybadger2562 жыл бұрын
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!
@pkrockin39234 жыл бұрын
Nice. Now Im gonna make a sequel to Links awakening.
@EngMattL3 жыл бұрын
Have you made?
@_nightowl2633 жыл бұрын
I love you
@RobertFletcherOBE2 жыл бұрын
Links Breakfast?
@Starrs_mods Жыл бұрын
Links sleeping
@ianramirez5888 Жыл бұрын
Link's teeth brushing.
@TheIsolatedGamerz4 жыл бұрын
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! :)
@Nooby4272 жыл бұрын
I love these series of videos! I had to revisit these because i had forgotten a lot of this over the years!
@DVDRAR3 жыл бұрын
i made my gameboy say "fuck" on the screen, my life is complete
@_nightowl2633 жыл бұрын
I love you
@robinsmit96035 жыл бұрын
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.
@GamingMonsters5 жыл бұрын
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
@oscwavcommentaccount5 жыл бұрын
I have 'main.c' and 'make.bat' in the same folder, but i get the message that 'main.o' wasn't found.
@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?
@Kylefassbinderful5 жыл бұрын
These videos have got me to end the rut I was in. New hobby!
@Ramu-105 жыл бұрын
For a while I wanted to learn C but I never did. This could be a perfect opportunity for me.
@NoobestK5 жыл бұрын
Cheers boy
@pugz_xgaming95994 жыл бұрын
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."
@DinoNuggies46653 жыл бұрын
Same
@FlashKillerX5 жыл бұрын
Awesome tutorial! I’ve been wanting to program something onto my RetroPie emulator for awhile and this is a huge starting point
@edug38535 жыл бұрын
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.
@GamingMonsters5 жыл бұрын
Thanks Ricky I’ve been really stuck trying to figure out what the issue was as I couldn’t replicate it thanks for sharing
@brianstanky4 жыл бұрын
I did that and now it says the system can’t find the path specified :/
@anwaral-hasan26354 жыл бұрын
Yeah same here man thanks for the help!
@anwaral-hasan26354 жыл бұрын
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>
@brianstanky4 жыл бұрын
ElitesDelutus AA I hope we find a way!
@murdocc94 жыл бұрын
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.
@GamingMonsters4 жыл бұрын
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?
@rowbodigsby224 жыл бұрын
@@GamingMonsters Which later video?
@rowbodigsby224 жыл бұрын
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 :/
@danielsequeira16084 жыл бұрын
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 Жыл бұрын
you did not put the single quotes on it
@aidensmith62776 жыл бұрын
Aaaah, C. The only true language ;)
@desmondcayce5 жыл бұрын
C#: Imma have to stop you there
@boomclan51635 жыл бұрын
C#: NULL
@bjarnestronstrup91225 жыл бұрын
They say, god wrote the universe in C. C# is for kids that think they know how to program.
@KoopTheKoopaLol4 жыл бұрын
IT SURE IS!
@jpalacios1174 жыл бұрын
Real programmers use Assembly
@codecato95275 жыл бұрын
**sip** Yeah, C was a good language **sip**
@mario_94315 жыл бұрын
C IS still a good language
@desmondcayce5 жыл бұрын
@@mario_9431 C#: Imma have to stop you there
@bjarnestronstrup91225 жыл бұрын
@@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.
@adrulb5 жыл бұрын
@@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.
@bjarnestronstrup91225 жыл бұрын
@@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.
@richardrosenthal74935 жыл бұрын
This is a godsend! I've always wanted to make my own gameboy games since I was a little kid.
@Crux1614 жыл бұрын
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.
@edug38536 жыл бұрын
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
@GamingMonsters6 жыл бұрын
those "extra" files come when it compiles using make. What operating system are you using? Windows, Mac?
@edug38536 жыл бұрын
@@GamingMonsters Windows, and it crashes when input .\make.bat is put in the terminal, or when I try to run make.bat
@GamingMonsters6 жыл бұрын
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
@edug38536 жыл бұрын
@@GamingMonsters I'll check, thanks
@edug38536 жыл бұрын
@@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
@shivamwagh225 жыл бұрын
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 ^ ^
@ryankevin5 жыл бұрын
This looks fun! Subscribed!
@HiRuMi914 жыл бұрын
Really appreciate the tutorials. Thanks!
@vriska2225 жыл бұрын
Its telling me "cannot open source file "gb/gb.h""
@KoopTheKoopaLol4 жыл бұрын
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
@larsforster37754 жыл бұрын
Look it up in his 5th tutorial
@imartusdev71874 жыл бұрын
I have the same problem
@holographicSquid4 жыл бұрын
@@larsforster3775 Thanks
@larsforster37754 жыл бұрын
@@holographicSquid You're welcome, I got stuck with this all quite often😂
@ThamizhanDaa15 жыл бұрын
Thank you soo very much sir! It is really helpful for my class in college
@soda90235 жыл бұрын
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.
@soda90234 жыл бұрын
Christian Weissmuller Necroreply but true, also rad manjaro bro.
@MrScottyTay4 жыл бұрын
wish there was a great tutorial series like this but for GB ASM instead of C
@GamingMonsters4 жыл бұрын
Me too
@ilmalte4 жыл бұрын
me too...
@williamdrum98993 жыл бұрын
Chibiakumas has one
@wladfan4 жыл бұрын
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!
@torn28674 жыл бұрын
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.
@ejasmuhammad81103 жыл бұрын
Have u fixed it ??
@torn28673 жыл бұрын
@@ejasmuhammad8110 nope
@ejasmuhammad81103 жыл бұрын
@@torn2867 at main.c press Ctrl+s then go back to the view -->terminal and write .\make.bat.
@KnightMD3 жыл бұрын
EDIT: Fixed by also saving make.bat and not just main.c
@ryanmichalski74203 жыл бұрын
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.
@mikekrow3 жыл бұрын
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!
@Fewnity5 жыл бұрын
Il like your video series man!
@oscwavcommentaccount5 жыл бұрын
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.
@GamingMonsters5 жыл бұрын
Try ensuring you have saved the files and read the other similar comments
@oscwavcommentaccount5 жыл бұрын
@@GamingMonsters It works now. Thx.
@Swgstve2 жыл бұрын
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
@filipeoni5 жыл бұрын
hey bro, great tutorials but I can't get the #include work, what do I do ?
@GamingMonsters5 жыл бұрын
When you say can’t get it to work what happens? Have you looked at some of the other comments with similar issues?
@filipeoni5 жыл бұрын
@@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
@GamingMonsters5 жыл бұрын
@@filipeoni and you have definitely saved make.bat (its easy to create it and not actually save in VSCODE)
@filipeoni5 жыл бұрын
I didn't understand@@GamingMonsters
@GamingMonsters5 жыл бұрын
@@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
@megakuma83863 жыл бұрын
Whenever I try running make.bat it seems to have trouble finding the gb.h and stdio.h files
@peytoncatchpole-maskell87026 жыл бұрын
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?
@KaranPatil943 жыл бұрын
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
@boubliiii5 жыл бұрын
When I want to write #include , VS Code say : cannot open source file "gb/gb.h" How I can fix it ?
@CivilianZero5 жыл бұрын
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.
@boubliiii5 жыл бұрын
Just watch the video « Head’s up display », it’s explain at the beginning
@samljer5 жыл бұрын
The file is obviously not in that folder you could also do the entire path if you know its exact location eg: #include
@Carloskursh4 жыл бұрын
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"]
@boubliiii4 жыл бұрын
Carlos V. Thank’s 😂 But my problem is fixed since one year now
@T-Bone30633 жыл бұрын
Nice! Now I guess I can make Among Us for GameBoy.
@BlockBurst13 Жыл бұрын
for anyone having trouble on runing make.bat go into your code folder and move the main.c to the hello world folder
@lusyel16 жыл бұрын
very good job. waiting next video :)
@loganhoff44622 жыл бұрын
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
@ATiRAGEPRO5 жыл бұрын
I learned more about C watching this video than I did reading the books. 🤔
@GamingMonsters5 жыл бұрын
I learned more about C making these videos than I did reading the book ;-)
@EliMeckes3 жыл бұрын
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...
@GamingMonsters3 жыл бұрын
have a good read through the many many comments that have asked this and been answered
@EliMeckes3 жыл бұрын
@@GamingMonsters I did end up solving my issue... :P
@shobbie_4 жыл бұрын
IT DOESNT INCLUDE THE FILES AND INSTEAD SAY ERROR
@GamingMonsters4 жыл бұрын
Have you checked any other comments and replies to see if there are similar issues? It should give more details than just Error?
@meadosute31204 жыл бұрын
this tutorial is valuable, i think
@brattmatt60175 жыл бұрын
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
@infectiousfungi31885 жыл бұрын
I got the exact same error
@nerg91085 жыл бұрын
Bro you save my life
@GameBrainShow4 жыл бұрын
Amazing! love it!!
@themcbaughman3 жыл бұрын
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.
@joshlovesfood3 жыл бұрын
@Gaming Monsters, you forgot to show how to connect Visual Studio Code to the gbdk! Major piece missing!
@GamingMonsters3 жыл бұрын
What like this kzbin.info/www/bejne/qH6cmJimmcqmgNU
@playalot863 жыл бұрын
Could you make a tutorial for C++? That's the language that I'm learning! Great video!
@GamingMonsters3 жыл бұрын
unfortunately there is not a c++ compiler for gameboy
@playalot863 жыл бұрын
@@GamingMonsters Awesome, well, at least there's C! Haha
@PanosGeorgiadis5 жыл бұрын
Is this tutorial series working for Linux?
@GamingMonsters5 жыл бұрын
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
@sergiofls76235 жыл бұрын
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!
@kruemmelbande50784 жыл бұрын
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
@davelittle19909 ай бұрын
Hello @GamingMonsters. Does this work on a Mac computer? I don’t have a PC or Windows. The only thing I do is Apple.
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?
@GamingMonsters4 жыл бұрын
Unfortunately not it’s just c
@SharpCosmos4 жыл бұрын
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.
@ULTIMARAGNAR0K3 жыл бұрын
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
@chrisdelavictoria45204 жыл бұрын
What version of Visual Studio are you using? It looks different from mine, I'm using version 2019.
@GamingMonsters4 жыл бұрын
Vs code the free editor different than full visual studio
@wardednickel25524 жыл бұрын
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?
@GamingMonsters4 жыл бұрын
Please see the many other comments about this
@wardednickel25524 жыл бұрын
@@GamingMonsters thanks
@tonyortiz6233 жыл бұрын
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.
@colwarsstudiobrickfilmandm85803 жыл бұрын
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-nv5fx4 жыл бұрын
hey one question: Does anyone know how to actually apply the game to a cartridge and playing it on a real gameboy
@GamingMonsters4 жыл бұрын
See kzbin.info/www/bejne/oqaXfoFjbr1nabM
@teu0094 жыл бұрын
You can use an everdrive
@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 Жыл бұрын
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.
@GamingMonsters11 ай бұрын
Sorry it’s something I haven’t looked at
@gabrielwilliams43555 жыл бұрын
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.
@GamingMonsters5 жыл бұрын
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
@gabrielwilliams43555 жыл бұрын
@@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
@kruemmelbande50784 жыл бұрын
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...
@GamingMonsters4 жыл бұрын
Zip up your code and email it to gaming@gingemonster.com it’s probably a missing ; or }
@kruemmelbande50784 жыл бұрын
@@GamingMonsters It looks like gmail really doesent like the zip file, so i hope the drive link will work.
@GamingMonsters4 жыл бұрын
@@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
@pinklife005 жыл бұрын
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
@keirnanthurman53724 жыл бұрын
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
@briankumanchik24744 жыл бұрын
These are awesome! Thanks!
@reyz95064 жыл бұрын
when i clicking at the icc. Files in my folder doesn't creating.what can i do?
@xxafroman5 жыл бұрын
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!
@GamingMonsters5 жыл бұрын
Do you have both lines of the bat file like github.com/gingemonster/GamingMonstersGameBoySampleCode/blob/master/01_helloworld/make.bat
@xxafroman5 жыл бұрын
@@GamingMonsters yes i followed the instructions carefully
@xxafroman5 жыл бұрын
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>
@GreenEggAndSAM23 жыл бұрын
Hi, I cannot get my code to work in any emulator other than Emulicious. Why is this?
@numbertoast6733 жыл бұрын
It's funny how few people watched later videos compared to this one
@legendwatson695 Жыл бұрын
it says cannot find path specified and I look at all of the comments
@alixtayzherman71435 жыл бұрын
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.
@GamingMonsters5 жыл бұрын
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?
@alixtayzherman71435 жыл бұрын
@@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:\
@knkn50494 жыл бұрын
Warnings 0, Compilation time 0.22 but there are no main.o and something happen to my DevCpp nothing compile now
@aimless38274 жыл бұрын
How can you run.bat with main.o when you don't have it in the first place?
@GamingMonsters4 жыл бұрын
Main.o gets created by the first line of the bat file
@Stargazer-is6ok5 жыл бұрын
Are gba games working on C? I want to create game for my gba.
@GamingMonsters5 жыл бұрын
Hi try this new video series for gba kzbin.info/www/bejne/iJuTnZlqa86foMU
@arya_from_club_penguin4 жыл бұрын
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
@GamingMonsters4 жыл бұрын
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_penguin4 жыл бұрын
@@GamingMonsters YOOOO IT WORKED!! thank you for the quick reply
@nintenradgameplaysandrevie4965 жыл бұрын
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
@GamingMonsters5 жыл бұрын
Please can you See the comments above with similar issues and try some of the suggestions there
@nintenradgameplaysandrevie4965 жыл бұрын
I tried of all them but it didn’t work
@xxafroman5 жыл бұрын
what is the recommended gameboy color cartridge to buy for this project? thanks
@GamingMonsters5 жыл бұрын
have you seen either of these videos? kzbin.info/www/bejne/oqaXfoFjbr1nabM kzbin.info/www/bejne/j6TEkqRpepZ9r9E
@xxafroman5 жыл бұрын
@@GamingMonsters thanks a lot! cheers from Israel
@kruemmelbande50785 жыл бұрын
The compiler doesent work for some reason. It says: main.c(1):error *** parse error at end of of input
@GamingMonsters5 жыл бұрын
Can you send me you code gaming@gingemonster.com
@kruemmelbande50785 жыл бұрын
@@GamingMonsters nvm you just have to save the Project before compiling it, but now im getting an unknown io error.
@GamingMonsters5 жыл бұрын
@@kruemmelbande5078 can you share the code its hard to guess what it might be but probably something simple
@kruemmelbande50785 жыл бұрын
@@GamingMonsters it is the same code as in your 2nd video.
@GamingMonsters5 жыл бұрын
@@kruemmelbande5078 must be something different then. its gonna be easiest if you email me
@WilsonTjandra6 жыл бұрын
will there be any Gameboy Advance tutorial? :D
@GamingMonsters6 жыл бұрын
I might try gba one day but plenty more to try on gameboy and gameboy colour first
@rafaelmohl32935 жыл бұрын
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?
@GamingMonsters5 жыл бұрын
Can you upload your code somewhere or email to gaming@gingemonster.com and I’ll take a look
@Decimated_By_A_Train5 жыл бұрын
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?
@GamingMonsters5 жыл бұрын
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_Train5 жыл бұрын
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
@GamingMonsters5 жыл бұрын
you definitely shouldn't need to move the gbdk file, can you zip the code up and email to gaming@gingemonster.com?
@joshuajefford33234 жыл бұрын
Im getting 2 issues on make.bat, “error ***** parse error at end of of input” and “cant find main.o”
@GamingMonsters4 жыл бұрын
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
@James22104 жыл бұрын
Can this be done on Linux, too? Also, isn't using void main in a hosted environment undefined behavior?
@GamingMonsters4 жыл бұрын
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
@James22104 жыл бұрын
@@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.
@GamingMonsters4 жыл бұрын
If you already know assembly I definitely would do that github.com/rednex/rgbds seems the most modern way to do that
@knkn50494 жыл бұрын
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?
@adam78022 жыл бұрын
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 Жыл бұрын
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-le3pm2 жыл бұрын
keep getting all kinds of errors when running this.
@landenty15254 жыл бұрын
I've never written anything in C, though I often right code in C#, & the two seem very similar.
@GamingMonsters4 жыл бұрын
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
@RaymondCampesino4 жыл бұрын
One big question. How do I get the games, on the catridge
@GamingMonsters4 жыл бұрын
kzbin.info/www/bejne/oqaXfoFjbr1nabM
@RaymondCampesino4 жыл бұрын
@@GamingMonsters thank you, very helpful. I'm gonna download undertale
@thenukelore2space4954 жыл бұрын
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?
@GamingMonsters4 жыл бұрын
yes you can see kzbin.info/www/bejne/rpO7lKl4bZx2orc and kzbin.info/www/bejne/q3WZXoaif9Gth7s
@thenukelore2space4954 жыл бұрын
Thank you I’ve been trying to get colors to work but it has been close many times but not perfect
@thenukelore2space4954 жыл бұрын
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
@alexandrucristian2894 жыл бұрын
But how do you reverse engineer a gb file so i can see the code and make changes to it? Thanks
@williamdrum98993 жыл бұрын
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ל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
@GamingMonsters5 жыл бұрын
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ל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
@GamingMonsters5 жыл бұрын
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ל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
@GamingMonsters5 жыл бұрын
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
@davidepalladini77715 жыл бұрын
Please make a video of make your own game boy advance games writing on C+
@joshuajefford33234 жыл бұрын
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
@GamingMonsters4 жыл бұрын
Checkout the description of the video near the bottom where it talks about wavey lines and how to resolve those
@joshuajefford33234 жыл бұрын
GamingMonsters damn, didnt know it was that easy lol thanks