Homebrew Homebrew Development

  • Thread starter Thread starter aliak11
  • Start date Start date
  • Views Views 1,474,996
  • Replies Replies 6,048
  • Likes Likes 54
Smealum (and others creating homebrew for the 3DS, probably) aren't going to work on ROM loaders or enabling piracy. Even though I think it would be nice to have some sort of legal-backup system so that you can backup games that you legally own onto the SD card and play them from there, it would also probably enable piracy. I would be more than content if there was just a region-free hack for retail games.


I'm not asking him to make it. ;) Hell, if you guys over here get good enough at this developement over time, anything is possible.
 
looks like -lc is from libctr.

Nope nope. -lc is a very common GCC flag... -l

aDAfolJ.png


-lc -lstdc++ -lgcc etc. Just added libraries.
 
  • Like
Reactions: justinkb
Bah, I'm completely lost at this point. I'll just wait for Smealum/somebody else to give instructions on how to compile this.
 
  • Like
Reactions: Huntereb
Bah, I'm completely lost at this point. I'll just wait for Smealum/somebody else to give instructions on how to compile this.

I'll do it then not upload it here so you can't be lazy. :ha:


Lol.

Anyway, Yeah I think TheCruel is right about the bootloader thing, I'm pretty sure ctr0.o is the bootloader file. We have everything I think but a properly working buildscript.
 
After adding script.ld and bootloader.o, I got this far:
Code:
2 miga@hakase ~/Misc/3DS/Homebrew/ctrulib/yeti3DS % make                    :(
arm-none-eabi-ld --script=script.ld -L"/opt/devkitpro/devkitARM/arm-none-eabi/lib" -L""../libctru"/lib" -o yeti3DS.elf build/draw.o build/model.o build/game.o build/sprites.o build/font.o build/main.o build/yeti.o build/data.o build/maps.o -lctru -lc
arm-none-eabi-ld: cannot find -lc
Makefile:23: recipe for target 'yeti3DS.elf' failed
make: *** [yeti3DS.elf] Error 1

Again, I have no idea what -lc is referring to (libctr?).

--

please delete
 
Don't try to blindly compile smealum work. Study the code and put what you need in your program.

I take a look and there is everething we need to interact with HID and GPU.

I was working on GPU structures, with big problems trying to writing the ASM code to communicate with internal ports, and after several hours of work Smealum released this :wacko:. I'm happy with Smea gift, but I could have been sleep a little more this week end.

In the next day I'll try if the swapbuffer GSP call works (I have to check if our loader.dat runs with right privileges to mahe these calls).

Bye, it's time to go to work.
 
  • Like
Reactions: minexew and SLiV3R

Site & Scene News

Popular threads in this forum