Homebrew Homebrew Development

  • Thread starter Thread starter aliak11
  • Start date Start date
  • Views Views 1,475,181
  • Replies Replies 6,048
  • Likes Likes 54
I haven't messed with the timer yet, but does it actually return values of time passing? Becuase I'm making a basic lib for making games and I noticed you didn't code any way to manage FPS. Looks like you just used a for loop with dummy instructions to manage your FPS and pause the game cycle ;)

Yes i made some dummy loops to slow down some part of the code: I coded it quick and dirty in few hours, I had no time to make clean code. A beter way would have been to trigger an interrupt with the timer, but I still can't handle interrupts on ARM. there is a lot to study.

If you want to to manage FPS, i suppose you can swap framebuffer. If it's so, please share your code, every attempt i made freezed the code.

ernilos said:

Thank you very much.
 
  • Like
Reactions: Mr_Pichu
Though I don't personally have time to go through the code right now, it came to mind that the RAM dumper application might contain code that triggers the error handler and kicks the application back to the 3DS's control, thus exiting it, if dirtily. If we could add that into the code, we could at least overcome the problem of actually exiting our homebrew more quickly and efficiently. That is assuming, though, that you all aren't forcibly clearing the kernel memory before execution, of course. Anyway, just an idea to look into. I'll look myself if I can find the time over the next couple of days, assuming no one else does.
 
You can launch "Launcher.dat" files with GWs loader. You just have to pad it out to 36KB and encrypt it like this: https://twitter.com/naehrwert/status/416609535797637120 (remove the "-d")

I am not near a computer and haven't checked this out. But I would assume encrypt would potentially suffer the same or similar bug(s) as decrypt. So I would recommend some minimal padding(or nopad option) if trying Launcher.dat via gateway software.
See thread http://gbatemp.net/threads/bug-in-openssl.359826/
 
Someone wanted a Tetris Homebrew on 3DS.

View attachment 6089

https://github.com/nop90/TE3DS_HB

Coded from scratch, so probably it's not the best tetris clone you can find.

I did it for fun and it's nothing special. The only interesting thing for 3DS homebrew developers is the use of the timer to implement a very basic random number generator. I get the value from 0x10003000 (http://3dbrew.org/wiki/TIMER) and then make a %8 to have a number in the range 0-7.

To reduce the file size I removed everything not indispensable from my previous libraries.

My 7 year old boy, owner of the 3DS, likes it very much, but like his father he is a retrogames fan (luckly, because when i program on his 3DS, he can play on my old Game Boy ).

Have fun!
Hey man your work is amazing! I thought homebrew wasn't playable on 3ds yet. Am I missing something? Anyhow, how would i go about installing this exactly? Because I have no idea how and never even knew we were capable of doing this now! Thanks!
 
Yay! an actual game :D now to find this god damn blue card that seems to of vanished into thin air...

All we need now is a Tetris game and it's an official homebrew lineup XD

Someone wanted a Tetris Homebrew on 3DS.

View attachment 6089

https://github.com/nop90/TE3DS_HB

Coded from scratch, so probably it's not the best tetris clone you can find.

I did it for fun and it's nothing special. The only interesting thing for 3DS homebrew developers is the use of the timer to implement a very basic random number generator. I get the value from 0x10003000 (http://3dbrew.org/wiki/TIMER) and then make a %8 to have a number in the range 0-7.

To reduce the file size I removed everything not indispensable from my previous libraries.

My 7 year old boy, owner of the 3DS, likes it very much, but like his father he is a retrogames fan (luckly, because when i program on his 3DS, he can play on my old Game Boy ).

Have fun!

looks like we have the official homebrew line up XD, no homebrew scene would be complete without A pong,a brick code, a fake brick code, and a tetris.....all the rest is cool but it needs these first :P (ps i found my blue card :D)
 
I do not really have time to get into the "scene" right now, but just out of curiosity, what compliers (languages) will the homebrew dev-kits support?
e
 
I do not really have time to get into the "scene" right now, but just out of curiosity, what compliers (languages) will the homebrew dev-kits support?
c/e
c/c++ at first

then maybe a few higher level languages later on like python and lua if people are interested enough to port them.
 
Will there be an API to access most functions or will you have to manipulate memory states directly?
There will be a basic API at first, but it should grow to something at least as good as libnds in due time.

It depends on developer interest.
 
There will be a basic API at first, but it should grow to something at least as good as libnds in due time.

It depends on developer interest.

Hopefully now that the snowball is rolling it'll continue to grow.
 
Pong3D and Tetris 3DS HB does'nt works on my 3DS 4.3.0-9E, i 've use Gateway Bluecard and once ROPLoader but i have an error and restart 3DS...

The first two homebrews I test does not work on my 3DS, I do not call it the first official homebrew ...

Since I tried to execute these two homebrew, the linker Bluecard no longer wants to work on my 3DS and my hack Gateway does not work ...

Greet, I feel that the homebrews have fucking mess in my console!

Homebrews kill Gateway ?

Edit : I managed to put everything in order in my console formatting :D
 

Site & Scene News

Popular threads in this forum