[SPIDER3DSTOOLS]LibSpider

Discussion in '3DS - Homebrew Development and Emulators' started by shutterbug2000, Feb 2, 2015.

  1. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,078
    2,090
    Oct 11, 2014
    United States
    Ok, first things first- no release/ not even close.
    However, even still, some of the info I have for now is "helpful".
    Call this(for now) a library of information, NOT a programming library. It will be a programming library at some point though.

    Anyway:

    Graphics(Thanks gudenarock!)

    VRAM 0x1F000000
    SCREEN_TOP_LEFT_1 0x1F1E6000
    SCREEN_TOP_LEFT_2 0x1F22C800
    SCREEN_TOP_RIGHT_1 0x1F273000
    SCREEN_TOP_RIGHT_2 0x1F2B9800
    SCREEN_BOTTOM_1 0x1F48F000
    SCREEN_BOTTOM_2 0x1F4C7800

    I know, not much... but, that's why I need helpful information!
    So, if you have something to contribute: Leave a post!
    I accept addresses and commands(and anything else useful)!
    Also, any tips for this are also appreciated(As in, helpful criticism, not just hate...).
     
  2. Shubshub

    Shubshub The Shubinator

    Member
    902
    481
    Oct 16, 2009
    New Zealand
    The dark part of your house
    What is the purpose going to be? Making Programming easier for the 3ds? Thats cool :)
    I suppose some ideas like playing sound maybe?
     
  3. gudenau

    gudenau Never a unique idea

    Member
    3,257
    1,224
    Jul 7, 2010
    United States
    /dev/random
    Did you get that stuff from me? :-P

    Edit:
    These should be correct:
    Code:
    #define VRAM               0x1F000000
    #define SCREEN_TOP_LEFT_1  0x1F1E6000
    #define SCREEN_TOP_LEFT_2  0x1F22C800
    #define SCREEN_TOP_RIGHT_1 0x1F273000
    #define SCREEN_TOP_RIGHT_2 0x1F2B9800
    #define SCREEN_BOTTOM_1    0x1F48F000
    #define SCREEN_BOTTOM_2    0x1F4C7800
    
     
  4. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,078
    2,090
    Oct 11, 2014
    United States

    Yep! Sorta like ctrulib(in a way), but for spider.
     
  5. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,078
    2,090
    Oct 11, 2014
    United States

    First/ second FrameBuffer of top, yes. :P

    (Although, it's on 3Dbrew, just with an F as 2nd digit, not 8)

    EDIT: Thanks for the addrs :D
     
  6. smealum

    smealum growing up sucks.

    Member
    635
    2,019
    May 1, 2006
    United States
    SF
    just fyi, you can run code that uses ctrulib to run under spider. the main thing is you need to somehow clean up spider (kill threads, close handles) and figure out *where* to put your code (on 9.2 and below you can use rohax to remap everything the way you want, but on 9.3+ you're limited to taking over a CRO).
    there's code in ninjhax that cleans up spider's environment, but some of it relies on having rohax.

    tbh, i think a better solution than this would be :
    - on 9.3+, takeover an existing app from spider so you can just copy code over its .text with gspwn (should be pretty easy, see regionthree for an example of how to do this)
    - on 9.2 and below, use the later stages of ninjhax to do rohax, clean up spider and use hb service to run 3dsx files.

    neither of those things should be too hard, would just take time basically. i can guarantee that they're better than making a spider-specific "library" though.

    in any case, good luck.
     
    Idaho, Korin and duke_srg like this.
  7. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,078
    2,090
    Oct 11, 2014
    United States

    Cool, I'll have to look into that, thanks.
     
  8. gudenau

    gudenau Never a unique idea

    Member
    3,257
    1,224
    Jul 7, 2010
    United States
    /dev/random
    Yah, I will probably steal some of that cleanup stuff. :-P
     
  9. gudenau

    gudenau Never a unique idea

    Member
    3,257
    1,224
    Jul 7, 2010
    United States
    /dev/random
    Here is a simple PHP thing I tossed together.
     

    Attached Files:

    • 3ds.zip
      File size:
      1.6 KB
      Views:
      67
  10. Shubshub

    Shubshub The Shubinator

    Member
    902
    481
    Oct 16, 2009
    New Zealand
    The dark part of your house

    By what your saying, is it possible to have the Homebrew Launcher run on 9.3+ by doing an App Takeover like Regionthree?
     
  11. shutterbug2000
    OP

    shutterbug2000 Cubic NINJHAX!

    Member
    1,078
    2,090
    Oct 11, 2014
    United States

    What exactly does it do?
     
  12. gudenau

    gudenau Never a unique idea

    Member
    3,257
    1,224
    Jul 7, 2010
    United States
    /dev/random
    How to use:
    1.) Place payloads into the payload folder
    2.) ...
    3.) PROFIT

    Versions:
    2.0:17412.dat
    2.1:17455.dat
    4.0:17498.dat
    5.0-7.0:17552.dat
    7.1-9.4:17567.dat

    Basicly a nice little script to launch payloads based on the 3DS browser version.
     
  13. duke_srg

    duke_srg GBAtemp Advanced Maniac

    Member
    1,865
    587
    Mar 1, 2011
    Serbia, Republic of
    Moscow
    Php? Oh c'mon just steal my JavaScript code and stop using server side :)