Homebrew DS(i) Mode hacking progress thread

  • Thread starter Thread starter Billy Acuña
  • Start date Start date
  • Views Views 810,424
  • Replies Replies 4,367
  • Likes Likes 81
lol that literally only adds logging for the dev. if anything, that will make the bootstrap run a little slower than before.

Rayman DS boots through at least the company's logos. I'm waiting to see if it gets to the start screen.
 
just curious, my 3ds always tells me to insert a cartridge when booting up an nds file through twloader with this patch applied, yet some demonstrations show there to be no cartridge in the 3ds at all. How does that work exactly?
 
just curious, my 3ds always tells me to insert a cartridge when booting up an nds file through twloader with this patch applied, yet some demonstrations show there to be no cartridge in the 3ds at all. How does that work exactly?
Put the option RESET_SLOT1 to zero in the ini file
 
  • Like
Reactions: Giodude
It would be nice if the script named each zip with the commit number and put it on dropbox or something in a constant location. Even better would be an on 3DS updater but hey that's probably asking too much considering it's not even officially out yet.
 
Heres my bootstrap builder v1.0 :D @Nintendo4DSXL

About:
Features:
  • Automatically downloads, unzips source & builds.
  • Moves the nds to the directory the batch file is run from, along with a zip & _nds folder, both containing the bootstrap nds :)
  • Removes the files from previous builds each time its run so manual cleanup isn't necessary.
Requirements:
  • Windows 7 or above
  • Devkitpro, & ahezards libnds installed
  • Powershell 5 (Included in W10, come in an update to W7 & W8/8.1 iirc)

Script:
Code:
@Echo off
title=Bootstrap Downloader / Builder by Slattz
set URL="https://github.com/ahezard/nds-bootstrap/archive/card.zip"
:Start

::Delete Existing folders/files
if exist ".\bootstrap-dldi.zip" del /Q /S .\bootstrap-dldi.zip >nul
if exist ".\bootstrap-dldi.nds" del /Q /S .\bootstrap-dldi.nds >nul
if exist ".\nds-bootstrap-card.zip" del /Q /S .\nds-bootstrap-card.zip >nul
if exist ".\nds-bootstrap-card" rmdir /Q /S .\nds-bootstrap-card >nul
if exist ".\_nds" rmdir /Q /S .\_nds >nul

echo  Made by Slattz @GBATemp
echo.
echo.

::Download & Extract nds-bootstrap-card
echo Downloading nds-bootstrap-card now...

powershell.exe -nologo -noprofile -command "& {Invoke-WebRequest %URL% -OutFile ".\nds-bootstrap-card.zip" }"
powershell.exe -nologo -noprofile -command "& {Expand-Archive -Path "nds-bootstrap-card.zip" -DestinationPath .\ }"

::Build
cd nds-bootstrap-card
make
call build_cia.bat
mkdir ..\_nds
xcopy /y /i /v ".\bootstrap-dldi.nds" "..\" >nul
xcopy /y /i /v ".\bootstrap-dldi.nds" "..\_nds" >nul
powershell.exe -nologo -noprofile -command "& {Compress-Archive -Path ".\bootstrap-dldi.nds" -DestinationPath "bootstrap-dldi.zip" }"
move "bootstrap-dldi.zip" ..\
exit
 
Last edited by Slattz, , Reason: upload script itself instead
Heres my bootstrap builder v1.0 :D @Nintendo4DSXL

Features:
  • Automatically downloads, unzips source & builds.
  • Moves the nds to the directory the exe is run from, along with a zip & _nds folder, both containing the bootstrap nds :)
  • Removes the files from previous builds each time its run so manual cleanup isn't necessary.
Requirements:
  • Windows 7 or above
  • Devkitpro, & ahezards libnds installed
  • Powershell 5 (Included in W10, come in an update to W7 & W8/8.1 iirc)

Download ;)
FTW, windows defender flags it as a virus, most likely a false positive, but please, post a script itself, no need for an archive for such a thing
 
Last edited by capito27,
So... I got a quick question. With running the DS games off the SD Card, are the games running in DSi mode and just telling the DS games to run at normal clock speed while the rest of the clock speed is redirecting the game? I know that sounds like a mouthful, but I'm just really curious on how the games are running lol.
 
FTW, windows defender flags it as a virus, most likely a false positive, but please, post a script itself, no need for an archive for such a thing
I'll just post the source in a spoiler :) Also, could you remove the quote from your post? Don't want the download there :)
 
Last edited by Slattz,
So... I got a quick question. With running the DS games off the SD Card, are the games running in DSi mode and just telling the DS games to run at normal clock speed while the rest of the clock speed is redirecting the game? I know that sounds like a mouthful, but I'm just really curious on how the games are running lol.

The DSi has a set of registers, the SCFG registers. What you set here basically tells the console what mode to run in, and you can toggle things piecemeal. You can pick the NDS or DSi BIOS. You can select the NDS or DSi RAM layout. You can select the NDS or DSi ARM9 clock speed. You can select whether you want the SD card to enabled, or the cartridge slot, or both, or neither.
Once the SCFG is the way you like it you can lock it so that it won't change until you reboot (or in the case of the 3DS, return to the home menu) This is done on the DSi and 3DS for security, basically making sure games only have access to the bits of hardware they need.

So all you need to do is set the SCFG registers the same as in DS mode, and then additionally enable the SD card. After that you can optionally set the ARM9 clockspeed to be at its faster DSi setting, which doesn't cause problems in most games. However the other BIOS and RAM stuff causes problems and isn't very useful anyway.

Only the ARM9 processor can run at the higher clockspeed (133MHz instead of 66MHz). The ARM7 (33MHz, except in GBA mode with 16MHz) is the only one that can read the SD card. So while the DSi clockspeed will improve gameplay, it's not going to do much for load times.
 
So, I'm not really reporting on the compatibility here, but weird thing I noticed about the current build that in hindsight makes sense...putting in my flashcart for some reason let me load into Castlevania: Dawn of Sorrow. Perhaps it's reading the save hardware in the flashcart and getting past that part instead of erroring out. Not working very well and useless as a report about the ROM loader, but fun to see anyway.
MnzPIqk.jpg
 
So, I'm not really reporting on the compatibility here, but weird thing I noticed about the current build that in hindsight makes sense...putting in my flashcart for some reason let me load into Castlevania: Dawn of Sorrow. Perhaps it's reading the save hardware in the flashcart and getting past that part instead of erroring out. Not working very well and useless as a report about the ROM loader, but fun to see anywayO.
MnzPIqk.jpg
i can load it too, but without flashcart inserted. The difference is, i can only hear sounds after the bottom screen flashes white (which is the konami logo iirc). And i'm at the latest commit (e3d0405).
After further testing, i can get into the game, but with the bottom screen in black, i can't see anything, only when i attack, it slows down.
 
Last edited by hyprskllz,

Site & Scene News

Popular threads in this forum