Views: 20,068,434 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-27-24 09:20 AM |
Guest: |
Main - Posts by CodingKoopa |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 201/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
This tutorial will show you how to make a shortcut to Hans, so that you can have multiple rom hacks for the same game, and you don't have to load Hans every time (you still need to go to the Homebrew Launcher, though, this will NOT go onto your home menu!).
The way this works is that you are essentially making a new app, but redirecting the executable to Hans. Covered: - .xml (eXtensible Markup Language) - .smdh (System Menu Data Header) - .txt configuration for Hans Prerequisites: - 3DS/2DS/New 3DS with homebrew - Hans (comes with Smea's starter pack, but you should make sure it's updated) - The custom romfs and/or code you want to use (more info here) - Notepad ++ (optional) First, you have to make the smdh. This file contains the icon, title, and description for your app. The only editor that seems to work for me is this online one. Making the smdh is pretty self explanatory, it will ask for a title, description, small icon, and large icon. If you are using a rom hack that came with an "icon.bin", then you don't have to make your own, but you can still preview and modify it if you want. Regardless of whether you made the smdh or downloaded it, move it to your SD card (preferably in /3ds) and name it something short, memorable, and with the .smdh extension, obviously. Now, you will need to write the XML for the shortcut. This is what does most of the work. I would suggest using notepad++, but any plain text editor works. <shortcut>
This acknowledges the fact that the xml is a shortcut, and it should launch Hans. You shouldn't have to change this line.
<executable>/3ds/hans/hans.3dsx</executable> <icon>/path/to/smdh.smdh</icon>
This is the path to the smdh that we created earlier, which you will have to change to where you saved your smdh to.
<arg>-f/3ds/hans/titles/blarg.txt</arg>
This passes an argument to the Hans executable, telling it to use the blarg.txt configuration, and look for blarg.romfs/.code INSTEAD of titleid.romfs/.code. This is what allows you to have multiple rom hacks for the same game. Don't worry about the contents of the .txt for now, we will go over that later.
</shortcut> This is the end of the shortcut portion of the xml. <targets selectable="false">
This is probably the trickiest part. It shows what game to use, the one you would select while loading Hans
<title mediatype="x">y</title> X is the game type. 0 = NAND title, for the system. 1 = Software title, on the SD card (digital). 2 = Cartridge title (physical). Y is the full, 16 digit game title id. You can find this by: - Finding your game on 3dsDB - Copying the name of the folder that braindump made - Starting Hans with your game, and writing it down from the menu You can have as many targets as you want with this format, so you can target the same title id, for physical and digital. For example: <title mediatype="1">0004000000169500</title>
<title mediatype="2">0004000000169500</title> Finally, close the target section. </targets>
We're almost done. In fact, this part is a bit unnecessary, since you can do it inside Hans, but still, it can be useful to know how to edit hans' configuration files. First, go into your xml, to the 4th line with arg, and look at the path, and find it on your SD card. Create a new .txt file, and name it whatever you typed on that arg line, which in our example would be blarg.txt. The only two lines that we care about are: romfs : 0
0 = true
code : 0 1 = false Be sure to set them accordingly, if you do edit the configuration outside of Hans. Hopefully, now, you have a good idea of how shortcuts work. Here's my setup for Pokemon Sinking Sapphire, a rom hack of Pokemon Alpha Sapphire: /hans ^SS.romfs ^SS.code /3ds ^SS.xml ^SS.smdh /3ds/hans/titles ^SS.txt Good Luck! ____________________ Website | Twitter |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 202/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
The tools zip appears to be missing ctrtool, try this one.
Also, PSA: Recently, there was an update to Braindump that made it output a .CXI file instead of a romfs.bin and an exefs.bin. This format is compatible with Citra, and can be extracted with: ctrtool -p --exefs=exefs.bin --romfs=romfs.bin *.cxi
You should change the last part to the full name of the CXI that you need to extract.____________________ Website | Twitter |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 203/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
Make sure that your version of Hans is updated, grab it from here. In the first few releases, NSMB2 was broken for everyone.
If it still doesn't work, then it's probably a problem with your romfs.bin. Make sure that: - It's in the right location (/hans, not /3ds/hans) - You did every step - You didn't mess around with the Region and Language I got this error a lot when doing this, and if none of those work, the best thing you can do is restart the process. ____________________ Website | Twitter |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 204/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 205/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 206/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 207/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 208/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
Well, some people get the cartridge versions of games as gifts, get it in a bundle, ect. Plus, Spacey said in the post that you that he would be buying games from the eShop, you even quoted it yourself.
Posted by Spacey ____________________ Website | Twitter |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 209/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 210/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 211/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 212/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 213/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 214/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 215/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
Posted by iZackefx You have a nice backyard By now, most of the snow has melted here (from Saturday, none this morning), but, like MrRean said, there's supposed to be a lot this weekend. ____________________ Website | Twitter |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 216/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
The DS has 2 CPUs. The ARM9 does most of the work, and is therefore usually the only CPU you have to work with. Code for the ARM9 is located in arm9.bin, in the filesystem of a DS game. The ARM7 does more minor things, such as WIFI and sound. Code for it is located in arm7.bin, in the filesystem of a DS game. Finally, if you open the overlays folder inside kiwi.ds, you'll find a bunch of files named overlay_xxxx.bin. These .bins are additional code, that the game can load and unload at will. If you want to edit these, you'll have to first decompress them with NSMBe (don't use the latest version, you have to use a specific one), and make your changes.. You won't be editing these files manually, but it's useful to know IMO. Also, if you're gonna be ASM hacking any DS game, I would strongly suggest taking a look at the ASM Hacking forum at NSMBHD. I probably should have read all of the original post ____________________ Website | Twitter |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 217/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
I'm starting to miss a few Windows exclusive games (that are unplayable in a VM/with Wine), so I decided to dual boot Windows 7 alongside Ubuntu, onto my external hard drive. I spent the better half of a day trying to figure out why the Windows 7 installer wasn't accepting my external, only to find out that I had to reformat it to MBR instead of GPT.
But, it still wouldn't accept my external. I found out that the setup doesn't allow you to install to a USB device. YAY. Apparently, you can use imagex, bcdboot, and bootsect, but the script complains about missing DLLs. (this is XP PE, booted from a flash drive. 7 PE complains about ureg.dll) I tried the same method, except manually from the command line. That looked like it worked, since I didn't get any error messages, but when trying to boot from my external, I get error:file 'grub/i386-pc/normal.mod" not found
.(no picture, sorry.)
When I changed Legacy to UEFI in the BIOS, nothing was recognized, and when I reverted that change, in Ubuntu, I could no longer change the back lighting for my laptop's monitor using the keys on my keyboard. Now, I guess I'll reformat and try WinToUSB. It seems pretty sketchy, but I'm really running out of options... As for the brightness, it's actually a bug that happened in Windows 8/10, which I fixed by changing the graphics drivers, and not touching the brightness buttons. Once I switched to Ubuntu, this never happened until not, which is weird... EDIT: WELL, THIS IS GREAT. JUST FANTASTIC. The flash drive I was booting Win7 PE and WinXP from got overwritten while I was trying the first method, so I have no way to run WinToUSB. And I broke my brother's flash drive. Just because technology doesn't hate me enough, now my 2nd monitor is at the wrong resolution. That's been happening randomly on startup ever since I upgraded from Ubuntu 13.10 to 15.10. ____________________ Website | Twitter |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 218/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
Over the past few days, I've been hacking the absolute crap out of my 3DS.
I downgraded from 9.9(?) to 9.2, installed Devmenu to SysNAND, created EmuNAND, unlinked the NANDs, and updated EmuNAND to 15.0. Anyways, my CtrBootManager Screen: Home Menu: ____________________ Website | Twitter |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 219/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
CodingKoopa |
| ||
Lakitu she/her Level: 48 Posts: 220/560 EXP: 782142 Next: 41401 Since: 10-13-14 Last post: 1009 days ago Last view: 238 days ago |
This tutorial will show you how to manage DS saves on a 3DS, using the new TWLSaveTool. This does not support 3DS Games.
Can you run unsigned CIAs? No: Go to Part 1A. Yes: Go to Part 1B. (if unsure, you probably can't) Part 1A: Installing the 3DSX Do you have access to The Homebrew Launcher? No: Unfortunately, you are out of luck. Yes: Continue. Do you have PokéTransporter or Pokémon Dream Radar installed to your 3DS? No: Unfortunately, you are out of luck. Yes: Continue. Step 1: Download this zip, and extract it to the root of your SD Card. Step 2: Launch The Homebrew Launcher, and select TWLSaveTool. Continue to Part 2. Part 1B: Installing the CIA Is your SysNAND on 9.2 or lower?(EmuNAND doesn't matter) No: Go to Part 1A. Yes: Continue this part. Step 1: Download the CIA, and move it to anywhere on to your SD Card. Step 2: Install the .cia to your home menu using your favorite CIA (un)installer such as Dev Menu (I suggest going with this one, though it's kinda hard to find.), FBI, or Big Blue Menu. Step 3: Admire the beautiful banner, and launch TWLSaveTool from the Home Menu. Continue to Part 2. Part 2: Extracting the save Step 1: Now that you're in the application, press L to backup your save file. Take note of the file name used. Step 2: Turn off your 3DS and put the SD Card in your computer Step 3: On the root of your SD card, there's a folder named "TWLSaveTool". Inside it, there will be a file (more than one if you backed up multiple saves.), named the "file name used" we saw in Step 1. Now, make your changes to the save, or download a save, or whatever. Continue to Part 3. Part 3: Importing the save Step 1: Put your new .sav in the "TWLSaveTool" folder from part 2, and name it the "file name used" from that part. Step 2: Run TWLSaveTool using the same way you did in Part 1A/B. Step 3: Press R to import the save. Compatibility All DS games are supported except for: - WarioWare D.I.Y - Band Brothers DX - Art Academy DS - Pokémon Typing Adventure Kinda FAQ The Homebrew Launcher says "Missing target title"! You need PokéTransporter or Pokémon Dream Radar installed to your 3DS. I got error code e1213401! You need PokéTransporter or Pokémon Dream Radar installed to your 3DS. TWLSaveTool won't reconize my save! Make sure that your new save is in the TWLSaveTool folder on the root of your SD card (NOT in /3ds/TWLSaveTool), and it has the exact name showed on screen. Links GBATemp Release Thread Github Repo ____________________ Website | Twitter |
Main - Posts by CodingKoopa |
Page rendered in 0.436 seconds. (2048KB of memory used) MySQL - queries: 23, rows: 229/229, time: 0.014 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |