Kuribo64
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

Pages: 1 2 3 4 5 ... 7 8 9 10 11 12 13 14 15 ... 24 25 26 27 28
CodingKoopa
Posted on 12-31-15 05:17 PM, in [Tutorial] How to make Hans Shortcuts Link | #66745
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>
<executable>/3ds/hans/hans.3dsx</executable>
This acknowledges the fact that the xml is a shortcut, and it should launch Hans. You shouldn't have to change this line.

<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>
</shortcut>
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.
This is the end of the shortcut portion of the xml.
<targets selectable="false">
<title mediatype="x">y</title>
This is probably the trickiest part. It shows what game to use, the one you would select while loading Hans
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
code : 0
0 = true
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
Posted on 01-02-16 11:36 PM, in How to dump the content of 3DS games, edit & repack them, and play them, even on the newest firmware Link | #66791
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
Posted on 01-03-16 02:06 AM, in Hans just displaying trash on left side of screen Link | #66800
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
Posted on 01-03-16 08:41 PM, in Kuribo64 Town Square Link | #66812
So, I finally got Citra working in Linux.
[thumbnail]
Would anyone be interested in a tutorial or compatibility list?

____________________
Website | Twitter


CodingKoopa
Posted on 01-03-16 09:04 PM, in Hans just displaying trash on left side of screen Link | #66814
Hiccup, I think you missed this post :P

____________________
Website | Twitter


CodingKoopa
Posted on 01-04-16 09:30 PM, in 3DS Homebrew Link | #66829
Is there any advantages for downgrading from 9.9 to 9.2, or does this only apply to people on the latest firmware?

____________________
Website | Twitter


CodingKoopa
Posted on 01-05-16 03:05 AM, in Kuribo64 Town Square Link | #66833
Is NSMBHD down for anyone else?

____________________
Website | Twitter


CodingKoopa
Posted on 01-05-16 09:32 PM, in 3DS Homebrew (rev. 2 of 01-05-16 09:32 PM) Link | #66841
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
I'm definitely buying games digitally from now on, but for the games I already own on cartridge it might be nice to install them as digital copies


____________________
Website | Twitter


CodingKoopa
Posted on 01-06-16 03:35 AM, in 3DS Homebrew Link | #66847
Sure, I still need to dump that game anyways.

Tomorrow, I might be able to do it. I'll send you a PM when it's uploaded to Drive.

____________________
Website | Twitter


CodingKoopa
Posted on 01-09-16 01:16 AM, in The Birthday Wishes Thread Link | #66913
Thank You!

____________________
Website | Twitter


CodingKoopa
Posted on 01-11-16 03:05 AM, in Post your desktop! Link | #66942
I decided to go with a dual monitor wallpaper :)
[image]
I got it from here.

____________________
Website | Twitter


CodingKoopa
Posted on 01-13-16 09:42 PM, in Kuribo64 Town Square Link | #67008
Can someone with a 5.5.0 Wii U test this (click the 5.5.0 link)?

Mine was auto-updated to 5.5.1 (I know that there isn't any significant homebrew, but still, I find it pretty interesting)

____________________
Website | Twitter


CodingKoopa
Posted on 01-17-16 08:51 PM, in Snow! Link | #67081
It's finally beginning to snow where I live.
[thumbnail]

____________________
Website | Twitter


CodingKoopa
Posted on 01-20-16 01:51 AM, in how to hack the wiiu Link | #67107
My Wii U said it was hungry, so I smeared some peanut butter in the disc drive.

Then, I had to make a sacrifice to the haxx0r gods with exactly 3 drops of blood, no more no less.

A few satanic rituals later, Boom! Kernel exploit.

____________________
Website | Twitter


CodingKoopa
Posted on 01-21-16 08:28 PM, in Snow! Link | #67138
Posted by iZackefx
Yeah, I got a pretty nice dusting of snow this morning.
-image-

You have a nice backyard :O

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
Posted on 01-23-16 12:41 AM, in The theory behind reverse engineering files (rev. 2 of 01-23-16 12:48 AM) Link | #67148
To add to what Arisotura said, the game's code is usually spit into 3 different files.
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 :P

____________________
Website | Twitter


CodingKoopa
Posted on 01-24-16 11:34 PM, in Magical Adventures of Technology hating me (rev. 2 of 01-25-16 12:12 AM) Link | #67198
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.
[thumbnail]
(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.
[thumbnail]

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.
[thumbnail]
That's been happening randomly on startup ever since I upgraded from Ubuntu 13.10 to 15.10.

____________________
Website | Twitter


CodingKoopa
Posted on 01-31-16 09:49 PM, in Post your desktop! Link | #67458
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:
[thumbnail]
Home Menu:
[image]

____________________
Website | Twitter


CodingKoopa
Posted on 02-01-16 09:51 PM, in Kuribo64 Town Square Link | #67464
#1 best reason to get a 3DS custom firmware: Giving yourself infinite play coins.

[image]

____________________
Website | Twitter


CodingKoopa
Posted on 02-04-16 01:46 AM, in [Tutorial] How to Export and Import NDS Saves on a 3DS Link | #67495
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.
[image]
[image]

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.
[image]
[image]

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.

[thumbnail]
[thumbnail]
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.

[thumbnail]


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"!

[image]

You need PokéTransporter or Pokémon Dream Radar installed to your 3DS.

I got error code e1213401!

[thumbnail]

You need PokéTransporter or Pokémon Dream Radar installed to your 3DS.

TWLSaveTool won't reconize my save!
[thumbnail]

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

Pages: 1 2 3 4 5 ... 7 8 9 10 11 12 13 14 15 ... 24 25 26 27 28

Main - Posts by CodingKoopa

Page rendered in 0.436 seconds. (2048KB of memory used)
MySQL - queries: 23, rows: 229/229, time: 0.014 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.