Homebrew DS(i) Mode hacking progress thread

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
Interesting news! I managed to fit Kirby Mass Attack into System Memory (aka TWLN partition), by deleting whatever DSiWare I have.
View attachment 47572
The game is (when trimmed) 77.9MB, or in blocks, a whopping 624!
So it turns out that there is no size limit on DSiWare! The real limit is whatever free blocks you have on System Memory.
But does it launch though?
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,672
Trophies
3
Age
25
XP
21,197
Country
United States
  • Like
Reactions: DeslotlCL
D

Deleted User

Guest
Interesting news! I managed to fit Kirby Mass Attack into System Memory (aka TWLN partition), by deleting whatever DSiWare I have.
View attachment 47572
The game is (when trimmed) 77.9MB, or in blocks, a whopping 624!
So it turns out that there is no size limit on DSiWare! The real limit is whatever free blocks you have on System Memory.
Getting super close to DS native running "emulation"!!! :)
 

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,665
Trophies
3
Age
29
XP
3,553
Country
France
Someone know how to convert .nds to .cia ?
I don't care if the CIA is not working, it's just for take a screenshot of the banner
 

mathieulh

Well-Known Member
Member
Joined
Feb 28, 2008
Messages
378
Trophies
0
Website
keybase.io
XP
897
Country
France
Getting super close to DS native running "emulation"!!! :)
TWLNAND is just too small, also caching games there before running it is too slow and increases wear leveling, it would be better to patch twlfirm to run games from SD or RAM, it's a lot harder though, in any case it requires either dynamically patching the roms or messing with the io to remap the twlnand addresses (if that's even possible)

Envoyé de mon SM-G935F en utilisant Tapatalk
 
  • Like
Reactions: Deleted User

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,665
Trophies
3
Age
29
XP
3,553
Country
France
You can try this
download make_cia.exe
https://github.com/d0k3/3DS-Tools-Collection

Then

make_cia.exe --srl=XXXX.nds [*] XXXX.cia
or
make_cia.exe --srl=XXXX.nds

Code:
C:\Users\Asia81\Desktop\GamesUpdates>MakeCIA.exe --srl=ZeldaPhantomHourglass.nds
[!] Is not a valid TWL SRL file
[!] Failed to retrieve data from Content0: ZeldaPhantomHourglass.nds
[!] Input Error, see 'MakeCIA.exe -h' for more info
[!] Failed to generate cia

C:\Users\Asia81\Desktop\GamesUpdates>MakeCIA.exe --srl=ZeldaPhantomHourglass.nds ZeldaPhantomHourglass.cia
[!] Is not a valid TWL SRL file
[!] Failed to retrieve data from Content0: ZeldaPhantomHourglass.nds
[!] Input Error, see 'MakeCIA.exe -h' for more info
[!] Failed to generate cia
 

pikatsu

Well-Known Member
Member
Joined
Apr 16, 2014
Messages
845
Trophies
1
Age
39
XP
1,174
Country
Argentina
Code:
C:\Users\Asia81\Desktop\GamesUpdates>MakeCIA.exe --srl=ZeldaPhantomHourglass.nds
[!] Is not a valid TWL SRL file
[!] Failed to retrieve data from Content0: ZeldaPhantomHourglass.nds
[!] Input Error, see 'MakeCIA.exe -h' for more info
[!] Failed to generate cia

C:\Users\Asia81\Desktop\GamesUpdates>MakeCIA.exe --srl=ZeldaPhantomHourglass.nds ZeldaPhantomHourglass.cia
[!] Is not a valid TWL SRL file
[!] Failed to retrieve data from Content0: ZeldaPhantomHourglass.nds
[!] Input Error, see 'MakeCIA.exe -h' for more info
[!] Failed to generate cia

I do not know how it works either. Maybe needs -o after nds. Here is the git page with examples
https://github.com/Tiger21820/ctr_toolkit/blob/master/make_cia/README
 
Last edited by pikatsu,

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,672
Trophies
3
Age
25
XP
21,197
Country
United States
Code:
C:\Users\Asia81\Desktop\GamesUpdates>MakeCIA.exe --srl=ZeldaPhantomHourglass.nds
[!] Is not a valid TWL SRL file
[!] Failed to retrieve data from Content0: ZeldaPhantomHourglass.nds
[!] Input Error, see 'MakeCIA.exe -h' for more info
[!] Failed to generate cia

C:\Users\Asia81\Desktop\GamesUpdates>MakeCIA.exe --srl=ZeldaPhantomHourglass.nds ZeldaPhantomHourglass.cia
[!] Is not a valid TWL SRL file
[!] Failed to retrieve data from Content0: ZeldaPhantomHourglass.nds
[!] Input Error, see 'MakeCIA.exe -h' for more info
[!] Failed to generate cia
It's due to it being an NTR game instead of TWL.

To fix the problem, using a hex editor, open the NDS file and write:
"FFFFFFFF" at 0x1B0
"10" at 0x1BF
"4008" at 0x208
"01" at 0x20E
The 4-letter TID located at 0xC in reverse at 0x230 (For example, AZEE in reverse is EEZA)
"04" at 0x234
"03" at 0x236

Fill the following areas with "FF" at:
0x300-0x327
Ignore the below if they are not "00"s.
0x33C-0x34F
0xF80-0xFFF

0x stands for the offset.
 

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,665
Trophies
3
Age
29
XP
3,553
Country
France
It's due to it being an NTR game instead of TWL.

To fix the problem, using a hex editor, open the NDS file and write:
"FFFFFFFF" at 0x1B0
"10" at 0x1BF
"4008" at 0x208
"01" at 0x20E
The 4-letter TID located at 0xC in reverse at 0x230 (For example, AZEE in reverse is EEZA)
"04" at 0x234
"03" at 0x236

Fill the following areas with "FF" at:
0x300-0x327
Ignore the below if they are not "00"s.
0x33C-0x34F
0xF80-0xFFF

0x stands for the offset.

Always the same problem :/
Code:
C:\Users\Asia81\Desktop\GamesUpdates>MakeCIA.exe --srl=ZeldaPhantomHourglass.nds -o ZPH.cia
[!] Is not a valid TWL SRL file
[!] Failed to retrieve data from Content0: ZeldaPhantomHourglass.nds
[!] Input Error, see 'MakeCIA.exe -h' for more info
[!] Failed to generate cia
 

pikatsu

Well-Known Member
Member
Joined
Apr 16, 2014
Messages
845
Trophies
1
Age
39
XP
1,174
Country
Argentina
Always the same problem :/
Code:
C:\Users\Asia81\Desktop\GamesUpdates>MakeCIA.exe --srl=ZeldaPhantomHourglass.nds -o ZPH.cia
[!] Is not a valid TWL SRL file
[!] Failed to retrieve data from Content0: ZeldaPhantomHourglass.nds
[!] Input Error, see 'MakeCIA.exe -h' for more info
[!] Failed to generate cia

Have you modified the nds rom like Bobesh8 said?
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,672
Trophies
3
Age
25
XP
21,197
Country
United States
Always the same problem :/
Code:
C:\Users\Asia81\Desktop\GamesUpdates>MakeCIA.exe --srl=ZeldaPhantomHourglass.nds -o ZPH.cia
[!] Is not a valid TWL SRL file
[!] Failed to retrieve data from Content0: ZeldaPhantomHourglass.nds
[!] Input Error, see 'MakeCIA.exe -h' for more info
[!] Failed to generate cia
Try removing that part: -o ZPH.cia
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: https://www.youtube.com/watch?v=u5cgll8v7iA