How to compile Aperture Science 3D?

Discussion in '3DS - Homebrew Development and Emulators' started by szymon170, Jan 2, 2016.

  1. szymon170
    OP

    szymon170 Pr0FessiuNal HelPeR wiTh HaxXX

    Member
    366
    108
    Jan 2, 2016
    Poland
    Where I live
    Hello there. This is my first post. Can you tell me how to compile Aperture Science 3D? I know that there are some precompiled versions there, but I want to know how to compile it for myself and I want to always have the newest version. I followed tutorial here: http://4dsdev.org/thread.php?id=4, but I have installed only devkitpro because I don't have Gateway and I only have menuhax. When I try to compile Aperture Science 3D I have this error: [​IMG]
    I have Windows 10, but if my Windows can't compile it I can use my Lubuntu as well. But just tell me how to do that.
     
  2. muskieratboi

    muskieratboi Rydian's got some competition!

    Member
    401
    233
    Sep 19, 2012
    looks like you don't have python installed.
     
  3. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    826
    Oct 15, 2015
    United States
    You need python and aemstro. Also the source code is outdated and won't compile without changes.
     
  4. szymon170
    OP

    szymon170 Pr0FessiuNal HelPeR wiTh HaxXX

    Member
    366
    108
    Jan 2, 2016
    Poland
    Where I live
    What do I need to change in it to compile it?
     
  5. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    826
    Oct 15, 2015
    United States
    Anything related to ctrulib that changed.
     
  6. szymon170
    OP

    szymon170 Pr0FessiuNal HelPeR wiTh HaxXX

    Member
    366
    108
    Jan 2, 2016
    Poland
    Where I live
    How to install aemstro? https://github.com/smealum/aemstro
    In this link there are 4 files but i don't know what to do with them. I know that they are related to python.
     
  7. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    826
    Oct 15, 2015
    United States
    Just put them on a folder and set the AEMSTRO enviroment variable to the path of that folder
     
  8. szymon170
    OP

    szymon170 Pr0FessiuNal HelPeR wiTh HaxXX

    Member
    366
    108
    Jan 2, 2016
    Poland
    Where I live
    Where is the file containing those variables?
     
  9. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    826
    Oct 15, 2015
    United States
    You could either set it as a environment variable or change the makefille
     
  10. szymon170
    OP

    szymon170 Pr0FessiuNal HelPeR wiTh HaxXX

    Member
    366
    108
    Jan 2, 2016
    Poland
    Where I live
    I'm a real noob at Python. I don't know how to program in it, neither I don't know which lines in code I need to change. And even If I could know which lines in code I should change, I don't know what I should change in them.
     
  11. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    826
    Oct 15, 2015
    United States
    You don't have to change anything with python. You need to change the source of portal3D. To fix the error you are getting above you need to edit the makefile
     
  12. szymon170
    OP

    szymon170 Pr0FessiuNal HelPeR wiTh HaxXX

    Member
    366
    108
    Jan 2, 2016
    Poland
    Where I live
    Oh, okay, but I still don't know which lines of code I need to edit in the makefile. In Linux when I need to compile something I just grab the required resources and run some commands for compiling. I've never needed to change the makefile.
     
    Last edited by szymon170, Jan 2, 2016
  13. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    826
    Oct 15, 2015
    United States
    Like I said, the source is outdated
     
  14. szymon170
    OP

    szymon170 Pr0FessiuNal HelPeR wiTh HaxXX

    Member
    366
    108
    Jan 2, 2016
    Poland
    Where I live
    It seems really hard to compile this. I think I won't try to compile it until the code update. Do you know where can I download the precompiled version of the newest source code?
     
  15. MasterFeizz

    MasterFeizz GBAtemp Advanced Fan

    Member
    888
    826
    Oct 15, 2015
    United States
    I don't think anyone is working on this, and I don't know where you can find the latest version.
     
  16. szymon170
    OP

    szymon170 Pr0FessiuNal HelPeR wiTh HaxXX

    Member
    366
    108
    Jan 2, 2016
    Poland
    Where I live
    OK, then I'll just use old versions and wait for updates. Thanks for replies :yay3ds: