[Release/WIP] Build-a-Brew Engine - An unofficial Unity for 3DS Compiler (VERY BASIC AT THE MOMENT)

Discussion in '3DS - Homebrew Development and Emulators' started by Voxel, Dec 13, 2015.

Thread Status:
Not open for further replies.
  1. Voxel
    OP

    Voxel u wot

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,218
    5,965
    Jun 27, 2015
    United Kingdom
    England, UK
    Build-a-Brew Engine for Unity - Currently compiles a collage of images ready to be executed and viewed on the 3DS!
    Current Version: 0.0.1 Alpha

    Hello, and welcome to yet another project by me!!! :D

    Features:
    - Exporting as .CIA.
    - Relief of typing lots and lots of code.
    - Time-saving.
    - Import as many images in the collage as you want!
    - Exports and sets up a generic 3DS homebrew source folder (source/main.c, resources/, data/, build/)


    To Do:
    - A lot!
    - Implement HID states and what to do when triggered.
    - Support for building CIA contents straight from the editor (stuff such as banner.bnr and icon.icn).
    - Overall Improvements to the code and UI.


    Build-a-Brew Engine introduces an easier way to piece together graphics for projects which utilize Libsf2d. (I can't remember who the author of that library was, but credits to him for all the hard work he put into it.) Basically, all you have to do is open the provided Unity Project in Unity 5.2.3, import all your images you want to use into the Assets/Data/Objects folder, drag and drop them as Game Objects into the scene, scale the image sizes to 95, position the images within the frame of the MainCamera, open the BABE Compiler, and finally click Export!!

    BUT!!!

    There are some strict guidelines for using this Unity add-on. So Noobs, listen carefully! :D

    - The list of requirements are as follows:
    + Unity 5.2.3
    + Libsf2d
    + Libsfil
    + Latest version of ctrulib
    + Image Magik (for png conversion)
    + Devkitpro (with 3DS stuff pre-installed)

    (said requirements need to install environment variables for the BABE compiler to work. You should have already done that anyway.)

    - When using the provided .unity template (works only with 5.2.3, could be wrong)
    NEVER move the view because the co-ordinates are all set up to work with the
    3DS co-ordinates. (basically, just don't touch it...)

    - Make sure you are using .PNG IMAGES ONLY.

    - Every time you make a GameObject, make the scale value on all axes to 95. This gives us
    accuracy as to what the final compilation/preview will look like.

    - Game Objects must not have spaces in their names. That may return compiler errors.
    - You can't have Game Objects with the same name, too.

    - All of the GameObjects MUST have a SpriteRenderer attatched to them, apart from MainCamera, which should be left as is.

    - YOU MUST USE THE MAKEFILE FROM THE "SAMPLE" DIRECTORY IF EXPORTING TO A DIFFERENT DIRECTORY OTHER THAN "SAMPLE". (Or you could simply overwrite the sample folder, I don't mind. :P)

    Too much to take in? Here's some screenshots:
    Setup.png
    setup2.PNG
    Shoutout to the following people/entities:
    - @smealum , the founder of 3DS Homebrew and Exploits. We all love him! :)
    - That guy who founded Libsf2d, which is a really good graphics library, by the way!
    - @Voxel Studios (me), the founder of the Build-a-Brew Engine.
    - Unity Engine, the thing which keeps BABE alive.
    - The Wire3D team, and they actually inspired me to do this project!
    - The Devkitpro team, for proper compilers and shit. :P

    That's all there is to it, really. :)

    Download:
    https://mega.nz/#!SRggGQQT!DCYVl92iOyQ3GkxYukHhtJYqL1CipGC1iSUXBm_bVwE

    (DISCLAIMER! - This has been written fairly quickly, so if something doesn't make sense to you, then either look again closer, or tag me in a post and explain what doesn't make sense to you. :))
     
    Last edited by Voxel, Aug 2, 2016
  2. Seriel

    Seriel Worshipper of Skiddos

    Member
    2,765
    5,495
    Aug 18, 2015
    United Kingdom
    /home/erisa/
    Huh? What did I do?
     
    Voxel likes this.
  3. Voxel
    OP

    Voxel u wot

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,218
    5,965
    Jun 27, 2015
    United Kingdom
    England, UK
    You're a nice person. :)
     
  4. Seriel

    Seriel Worshipper of Skiddos

    Member
    2,765
    5,495
    Aug 18, 2015
    United Kingdom
    /home/erisa/
    Oh okay. Fair enough :D
     
    Voxel likes this.
  5. Jacklack3

    Jacklack3 ( ゚ヮ゚) buddie was here

    Member
    1,552
    2,045
    Oct 6, 2015
    Canada
    In your basement Dick Size: 5 meters.
    Your welcome man! If ye ever need help imma here. :-D
     
    Voxel likes this.
  6. Voxel
    OP

    Voxel u wot

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,218
    5,965
    Jun 27, 2015
    United Kingdom
    England, UK
    Thanks! :)

    Imma set up a Github fork for this project, so everyone can make this better!
     
  7. Jacklack3

    Jacklack3 ( ゚ヮ゚) buddie was here

    Member
    1,552
    2,045
    Oct 6, 2015
    Canada
    In your basement Dick Size: 5 meters.
    This looks very awesome! Can't wait to see where this goes!
     
    Voxel likes this.
  8. Voxel
    OP

    Voxel u wot

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,218
    5,965
    Jun 27, 2015
    United Kingdom
    England, UK
    I'll send you a picture of it working on my 2DS!
     
  9. Seriel

    Seriel Worshipper of Skiddos

    Member
    2,765
    5,495
    Aug 18, 2015
    United Kingdom
    /home/erisa/
    This does look nice.
    Make one for RPG Maker
    I might install Unity just to try this out lol
     
    Sinon, Jack_Sparrow and Voxel like this.
  10. Jack_Sparrow

    Jack_Sparrow Ruthless Pirate

    Banned
    855
    478
    Nov 17, 2015
    United States
    The Black Pearl
    Yep! The hearty crew never lets you down! ;)
     
    MionissNio, Seriel and Voxel like this.
  11. Whole lotta love

    Whole lotta love Advanced Member

    Newcomer
    55
    53
    Jan 7, 2006
    United States
    THIS RULES, THANK YOU.
     
    Voxel likes this.
  12. Voxel
    OP

    Voxel u wot

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,218
    5,965
    Jun 27, 2015
    United Kingdom
    England, UK
    20151213_171507.jpg

    — Posts automatically merged - Please don't double post! —

    ^ This was compiled from the sample.
     
    Seriel likes this.
  13. MionissNio

    MionissNio GBAtemp Regular

    Member
    294
    124
    Jul 4, 2012
    Soo is it at a current stage I can use this to developer a little game? Any good guide on script and graphic based restriction?
     
    Voxel likes this.
  14. Jacklack3

    Jacklack3 ( ゚ヮ゚) buddie was here

    Member
    1,552
    2,045
    Oct 6, 2015
    Canada
    In your basement Dick Size: 5 meters.
    I bet you came across this trying to port SM to the 3ds and you were like
    "WAIT A MINUTE!" xD
     
    Voxel likes this.
  15. Voxel
    OP

    Voxel u wot

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,218
    5,965
    Jun 27, 2015
    United Kingdom
    England, UK
    Not really. When I implement movement and collision scripts, then we might be able to make a little game out of it. :D
     
  16. MionissNio

    MionissNio GBAtemp Regular

    Member
    294
    124
    Jul 4, 2012
    Great! I cannot wait for it.
    I want to make a nifty contribution to the 3ds scene as well but arm is to tedious to learn for me, C#/Java all the way!
     
    Voxel likes this.
  17. Jack_Sparrow

    Jack_Sparrow Ruthless Pirate

    Banned
    855
    478
    Nov 17, 2015
    United States
    The Black Pearl
    Java cant run on the 3DS...
     
  18. MionissNio

    MionissNio GBAtemp Regular

    Member
    294
    124
    Jul 4, 2012
    Oh, same for c# it will be?
     
  19. Voxel
    OP

    Voxel u wot

    Member
    GBAtemp Patron
    Voxel is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,218
    5,965
    Jun 27, 2015
    United Kingdom
    England, UK
    That's why I'm making a github fork. I could do with extra pairs of hands! :lol:
     
  20. TheGrayShow1467

    TheGrayShow1467 屈折

    Member
    936
    1,205
    Oct 12, 2014
    United States
    So is the end goal for it to be exactly like unity, except it can export to 3DS? If so, then that's hella sweet (as the kids say)
     
    Voxel likes this.
Thread Status:
Not open for further replies.