Homebrew DS(i) Mode hacking progress thread

TuxSH

Well-Known Member
Member
Joined
Oct 19, 2015
Messages
614
Trophies
1
Age
26
XP
1,295
Country
France
For those wondering about DS warez:
  • It requires signature patches, which we have
  • It would require detecting official SDK functions, especially CARD_* CARDi_* and FS_* ones, and patch them so they jump to our custom code, for every single game
  • Implement that custom code
  • Fix other oddities
  • It's not that simple, actually.
 

Billy Acuña

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,701
Country
Mexico
For those wondering about DS warez:
  • It requires signature patches, which we have
  • It would require detecting official SDK functions, especially CARD_* CARDi_* and FS_* ones, and patch them so they jump to our custom code, for every single game
  • Implement that custom code
  • Fix other oddities
  • It's not that simple, actually.
What's the diference between "DS injection" and an hippotetical "DS rom Loader" with his own code?
Which is more easy to get?
 

CeeDee

fuckin dork
Member
Joined
May 4, 2014
Messages
5,361
Trophies
3
XP
9,963
Country
United States
What's the diference between "DS injection" and an hippotetical "DS rom Loader" with his own code?
Which is more easy to get?
More than likely the former. Coding a DS ROM loader would require similar patches for the ROMs to work in DSi mode, along with the code for the ROM loading itself.
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,218
Country
New Zealand
More than likely the former. Coding a DS ROM loader would require similar patches for the ROMs to work in DSi mode, along with the code for the ROM loading itself.
Nah you can just disable the dsi specific hardware other than the sdmmc so from the games perspective its running on a DS.
 

Classicgamer

Well-Known Member
Member
Joined
Aug 20, 2012
Messages
646
Trophies
1
XP
1,005
Country
United States
Magic!


Able yes
Willing no

Some advances are made by force. The best ones are made by compassion. Your efforts would put an end to the black market flash card buisness! Classic gamers everywhere would honor your name!

--------------------- MERGED ---------------------------

Are you able and willing to lend a hand?
Btw, do you have any updates to Akaio? I'm finally putting it back to good use since the twl_frm patches LoL ☺️
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,218
Country
New Zealand
Some advances are made by force. The best ones are made by compassion. Your efforts would put an end to the black market flash card buisness! Classic gamers everywhere would honor your name!
Wait they don't honor me already?

Btw, do you have any updates to Akaio? I'm finally putting it back to good use since the twl_frm patches LoL ☺️
Nope it doesn't even work anymore with latest toolchain and I'm too lazy to find out why (and don't feel like open sourcing it) :P
 

CeeDee

fuckin dork
Member
Joined
May 4, 2014
Messages
5,361
Trophies
3
XP
9,963
Country
United States
Some advances are made by force. The best ones are made by compassion. Your efforts would put an end to the black market flash card buisness! Classic gamers everywhere would honor your name!
Naaaah. Everyone would just go "lol warez" and play their pirated games and take the actual coding for granted.

It's like memchunkhax2 and smea's crew - they detailed how it would work to the public, but left the public to be the ones to actually code it for themselves.
 
  • Like
Reactions: Deleted-236924

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
For those wondering about DS warez:
  • It requires signature patches, which we have
  • It would require detecting official SDK functions, especially CARD_* CARDi_* and FS_* ones, and patch them so they jump to our custom code, for every single game
  • Implement that custom code
  • Fix other oddities
  • It's not that simple, actually.
yeah for example the MPU exists for a reason: and some games do generate invalidate accesses, so that will be tricky.
So, how does ichfly's GBA emulator for DS work?

Allocate all the ROM sectors on a sector table, then mark all used sectors, empty ones are zero. So when you fetch a byte,hword or word (ARM), you access the sector table, then if sector is not allocated, calculate the sector and use a lower level dldi call to refill the chunk with data (and sector), then is marked.

Seriously I tried by directly calculating the sector then doing a fetch trough the fatfs dldi instance, its slow as ****, the ewram is much faster in this case. And if you cache the area is even faster! :)
 

Shadow#1

Wii, 3DS Softmod & Dumpster Diving Expert
Member
Joined
Nov 21, 2005
Messages
12,354
Trophies
2
XP
8,032
Country
United States
Some advances are made by force. The best ones are made by compassion. Your efforts would put an end to the black market flash card buisness! Classic gamers everywhere would honor your name!

--------------------- MERGED ---------------------------


Btw, do you have any updates to Akaio? I'm finally putting it back to good use since the twl_frm patches LoL ☺️
Updates?
 

Classicgamer

Well-Known Member
Member
Joined
Aug 20, 2012
Messages
646
Trophies
1
XP
1,005
Country
United States
I love akaio...I wish the team would get together and update now that twl_frm is opened up ☺️

I've been pestering the forum here for a year or so trying to get my ak2i working on my n3ds. I'm just so happy it finally is a reality.
 
Last edited by Classicgamer,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Did you feed the hamster in your internet router? It prob died and is running slow now.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why did you start saying my pc has a hamster in the first place?
    +1
  • 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
    K3Nv2 @ K3Nv2: It sucked don't know wtf these little bits and pieces are they use now