Homebrew Python Tools for 3DS

Drenn

Well-Known Member
Member
Joined
Feb 22, 2013
Messages
574
Trophies
0
XP
696
Country
Canada
Thanks, that fixes all of the issues I've been having.


But I'm a bit confused. Isn't that the same as what's used to compile for the original DS?

This code is running on the arm9 processor which is mostly the same as the DS. There's also the arm11 processor.
 

tomiga

Well-Known Member
Member
Joined
Dec 4, 2013
Messages
125
Trophies
0
Age
30
XP
145
Country
United States
For anybody using GNU/Linux, I made a modified build.py file. Be sure to chmod +x it.
Also to get this to compile, I had to add the following to 3dsploit.py in lib/p3ds:
Code:
#!/usr/bin/python2
Then set 3dsploit.py to have execute permissions using chmod +x. The compiler I'm using is arm-eabi-gcc instead of arm-none-eabi-gcc. I'm not sure what the difference between the two is, but arm-eabi-gcc seems to work fine.
 

Attachments

  • build.py.zip
    693 bytes · Views: 3,165
  • Like
Reactions: frown

escherbach

Well-Known Member
Member
Joined
Dec 26, 2013
Messages
271
Trophies
0
XP
263
Country

Kane49

Well-Known Member
Member
Joined
Nov 4, 2013
Messages
446
Trophies
0
Age
36
XP
343
Country
Gambia, The
Funny then that the build otions in build.py have

Code:
CC+" -g source/*.c -c -mcpu=mpcore -march=armv6k -mlittle-endian

You guys are posting about stuff you don't understand. Spreading fog and misinformation. Please keep your dumb wrong technical guesswork to yourself and leave it to the pros to discuss the advanced stuff.

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0301h/apbs02s02.html


What the fuck are you talking about, you know who wrote that build.py right ?
 

escherbach

Well-Known Member
Member
Joined
Dec 26, 2013
Messages
271
Trophies
0
XP
263
Country
edit - ok maybe you did the original.

I still don't think the code is running on arm9 - where is the fucking arm9 processor? - source of this information please?
 

escherbach

Well-Known Member
Member
Joined
Dec 26, 2013
Messages
271
Trophies
0
XP
263
Country

Ok, well that page doesn't say anything about a physical arm9 cpu - it would surely be visible on the circuit board anyway. The arm11 processor is backward compatible with arm9 code so I assume they just switch the chip into a special DSi compatible mode by lowering the speed and disabling dual-core. Similarly arm11 is backwards compatible with arm7 code (but arm9 wasn't backward compatible with arm7 - which is why the DSi had a separate arm7 cpu) - so for DS mode even lower speed single core processor mode needs to be engaged.

http://www.arm.com/products/processors/classic/arm11/index.php

Maybe your compiler options are causing arm11 simd instructions to be generated and executed in a mode for which the arm11 can't execute these codes (because dual-core disabled??)

lol - now I'd doing what i accused you guys of, just guessing.

Anyway - I was wrong to act like a dick - but I still think there is no physical arm9 chip as Bond697 posted - just various compatibility modes of the dual-core arm11 cpu which you switch between via register pokes
 

escherbach

Well-Known Member
Member
Joined
Dec 26, 2013
Messages
271
Trophies
0
XP
263
Country
Also - I have now solved the confusion of how they execute arm7 DS code - the code is executed on an arm11 (in single core mode) NOT on an arm9 cpu?
 

profi200

Banned!
Banned
Joined
Sep 3, 2011
Messages
330
Trophies
0
XP
282
Country
Gambia, The
p4gnx499.png
 
  • Like
Reactions: Arras

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Its actua!ly just a old joke, meaning its slow. Was just kidding around with you.
    +1
  • BigOnYa @ BigOnYa:
    I bet @AncientBoi has some hamsters hidden somewhere tho....
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I think Game streaming should work like this.... Local Hardware able the run the game fine, game engine and common assets stored locally, all FMV and music and textures could be streaming
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Some temporary storage
  • Xdqwerty @ Xdqwerty:
    also @BigOnYa im making some progress on my gdevelop project, implemented various mechanics
  • Psionic Roshambo @ Psionic Roshambo:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
  • K3Nv2 @ K3Nv2:
    Lol McDonald's has a grandma mcflurry
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, furry grandma?
  • BigOnYa @ BigOnYa:
    It sounds good actually, I like butterscotch
  • K3Nv2 @ K3Nv2:
    It sucked don't know wtf these little bits and pieces are they use now
    +1
  • BigOnYa @ BigOnYa:
    I live maybe 3 minutes from a Dairy Queen, so I would just go there for ice cream anything anyways. I usually get the Oreo Blizzard, or a Peanut Buster Parfait.
  • Xdqwerty @ Xdqwerty:
    whats a dairy queen?
    Xdqwerty @ Xdqwerty: whats a dairy queen?