Hacking Commercial ROM-loading for Moonshell 2.07-2.10

Ace

GBATemp's Patrick Bateman
OP
Member
Joined
Apr 8, 2009
Messages
1,034
Trophies
0
Age
29
Location
Manhattan
Website
goo.gl
XP
538
Country
Hello, my fellow DSTT users. I've made this textual description of everything to do because my card basically screwed up again and I had to get it back to working. I first tried dnniwa485's Batch script for automating the process. As it turns out, it gave me everything but a functional result. After about 1½ hours, i ragequit and decided to whip out the YouTube tutorial. Seeing how the internet I used during my vacation was pure s**t, I decided to hate a little on high-res uploads and slow internet connections. As a result, I realized how there have been textual guides for Moonshell on other cards, but not a recently updated one for DSTT. This has prompted me to make a tutorial based on the YouTube video. I've tried it and have made it work, some of my friends have, too. It's especially good for copying down the longer sections of *.ini editing that is required. Any issues are not under my liability or responsibility.

I may update this in the future following any criticism in this thread.

YOU WILL NEED: WHERE YOU WILL DOWNLOAD THE FILES:
----------------------------------------------------------
Latest DSTT Kernel http://filetrip.net/d12048-DSTT-Unofficial...re-1-17a12.html
Latest YSMenu Build http://home.usay.jp/pc/etc/nds/ (search for "DS(T_T)DS")
Latest Moonshell http://home.att.ne.jp/blue/moonlight/ (select the .zip file)
mshl2tools http://www.mediafire.com/?mzyd2z2zjmg (latest revision)
YSloader http://filetrip.net/d4563-YSloader-For-MoonShell2.html
DLDITOOL http://chishm.drunkencoders.com/DLDI/index.html

-----------------------
1: Copy to root
-----------------------
moonshl2 folder
moonshl2.nds
TTMENU folder
TTMENU.DAT

-----------------------
2: DLDI files from YSMenu to root
-----------------------
Open YSMenu archive
Move ttextract.exe to NEW FOLDER
Execute ttextract.exe in NEW FOLDER

-----------------------
3: Move/Delete YSMENU files
-----------------------
Delete ttextract.exe and TTMENU.DAT

Move YSMenu.ini, YsMenu.nds, ttdldi and ttpatch to TTMENU folder
-----------------------
4: Change YSMenu.ini
-----------------------
Change "LITERALS=LITERALS_JPN" to ";LITERALS=LITERALS_JPN"
Change ";LITERALS=LITERALS_ENG" to "LITERALS=LITERALS_ENG"
Change "DEFAULT_RESET=false" to "DEFAULT_RESET=true"
Save changes and quit

-----------------------
5: Move and edit YSLOADER files
-----------------------
Move both files in the archive to TTMENU folder
Rename "nds.YSloaderForMS2.nds" to "YSloaderForMS2.nds"
Edit config.ini to:

[Config]
;YSMenu.nds path
YSMenu=/TTMENU/ysmenu.nds

;YSMenu.ini path
YSini=/TTMenu/ysmenu.ini

;How boot YSMenu
;0-Only boot YSMenu
;1-Autoboot game
autoboot=1

-----------------------
6: Copy mshl2wrap files to extlink
-----------------------
Copy mshl2wrap.ini to extlink folder in moonshl2 folder
Copy nds.mshl2wrap.nds to extlink folder in moonshl2 folder
Open mshl2wrap.ini and change the text to:

[mshl2wrap]
;hbmode: 0==selected loader 1==moonshell-hn(experimental)
2==this wrapper itself
hbmode = 0

loader = TTMenu/YSloaderForMS2.nds
;loader = /MOONSHL2/EXTLINK/nds.ysloader.nds
;loader = /MOONSHL2/EXTLINK/_vh.VeryHugeNDSLoader.nds
;loader = /MOONSHL2/EXTLINK/_hn.HugeNDSLoader.nds

-----------------------
7: Copy NDSLINK files
-----------------------
Copy ndslink.exe and ndslink.bat to the root folder
Edit the ndslink.bat to this:

@echo off
set NDS=nds
set LINK=games
set TEMPLATE=moonshl2/extlink/nds.mshl2wrap.nds

ndslink.exe "%TEMPLATE%" "/%NDS%/" "%LINK%/"

Make a "nds" folder in the root

(Place your original commercial ROMs in the nds folder
Run ndslink.bat to make the make the link files appear in a new folder in the root called "games")

-----------------------
8: Patch DLDI files
-----------------------
Execute dlditool32.exe
Locate DLDI files with the top "..." button inside misctools -> AutoDLDIPatch -> DLDI
Select "TTCARD IO Library" for non-SDHC compliant MicroSD cards
Select "TTCARD IO Library (SDHC)" for SDHC compliant MicroSD cards
Go to the second "..." button to select the files to patch
Select the files moonshl2.nds (in the root) and ysmenu.nds (in the TTMenu folder)
Press "Patch" button in lower left-hand corner

-----------------------
9: Renaming files
-----------------------
(Warning: Unhide the file extensions in Tools (press Alt key in Vista/7) -> "View" tab)
Rename moonshl2.nds to TTMENU.DAT
Open hidepath.ini in the moonshl2 folder
Remove ";" on the ";/moonshl2" line
Add a new line and type "/nds"
Save changes to hidepath.ini and exit

-----------------------
10: Completion
-----------------------

Recieve Cake from GlaDOS
Eat Cake

Make sure all files are on the SD/SDHC card
Put SD/SDHC card in the DSTT
Put DSTT in the Slot-1
Turn on NDS
*Fortunately*
Happy gaming!!!!
biggrin.gif


FILESTRUCTURE (only folders related to making commercial loading included)
Titles preceded by a slash (EX: "-TTMENU") are folders, everything else is denoted by the files type at the end of the title (EX: "ndslink.bat")
-----------------------------------
-moonshl2
-**HELLUVA LOTTA FOLDERS/FILES**
-extlink

-TextEdit
_hn.HugeNDSLoader.nds
_te.TextEdit.nds
_vh.VeyHugeNDSLoader.nds
extlink_filestruct.h
ipk.nds
mshl2wrap.ini
nds.mshl2wrap.nds
nes.nesterds.nds
**LOTSA README'S**

TTMENU.DAT (moonshl2.nds renamed)
-TTMENU

-**MANY KERNEL FILES**
YsloaderForMS2.nds
config.ini
ttdldi
ttpatch

ndslink.bat
ndslink.exe
-nds

**HOLY BOMBARDATION, LOTSA COMMERCIAL ROMS!**
-games
**ALL YOUR LINKED, FULLY PLAYABLE GAMES!**

Color code:
Green: Folders/Files in roots.
Red: Folders/Files within folders
Blue: Folders within folders within folders
-----------------------
Thank you to:
-----------------------
Moonlight for creating the godly Moonshell 2
Yasu for creating YSMenu
Flashcart Developers of DSTT
Ashley for making the unofficial DSTT Kernel Version 1.17a12
Linoul for the YSloader for MS2
Chishm for the DLDITools and DLDI system in general
Xenon++ for making mshl2tools for everyone to use
dnniwa485 for making his automated batch file for Moonshell 2 (which has yet to work for me before I find another automated way) which prompted me to make this
akari21 on YouTube for making the video tutorial of Moonshell 2 ROM-loading, which is the basis for this
GBATemp community for great years of support for flashcarts
 

Ace

GBATemp's Patrick Bateman
OP
Member
Joined
Apr 8, 2009
Messages
1,034
Trophies
0
Age
29
Location
Manhattan
Website
goo.gl
XP
538
Country
Couldn't figure out how I was supposed to change the config.ini. Besides, this it the third time this method works for me. I'll poke around see if I can change it later.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Like for micro