Homebrew Others I have a question on creating my own N64 to 3DS

Walegy0569

Member
OP
Newcomer
Joined
Aug 7, 2022
Messages
10
Trophies
0
Age
19
Location
Florida
XP
171
Country
United States
Okay, I need a favor of some people who know how to make .n64 to .elf formats. The reason why is because I'm trying to port Banjo-Kazooie to the 3DS. I've been trying to learn how to set up .elf to .cia. So, to any creators out there I can honestly use the help and here are the scripts I've been using to make sure this works. Can someone point for me towards the right direction because, I honestly want to make this happen!

(THESE AREN'T MINE FYI & IN THE BOTTOM I'VE BEEN USING THE CURRENT PROMPT.)

  1. #!/usr/bin/bash
    # Get entry point from N64 ROM
    dd if=test.z64 bs=1 skip=8 count=4 of=entrypoint >& /dev/null
    # Convert entrypoint to little endian
    #mips-elf-objcopy -I binary -O binary --reverse-bytes=4 entrypoint entrypoint
    # Construct an ELF
    mips-elf-objcopy -I binary test.z64 -O elf32-bigmips -B mips --adjust-section-vma .data+0x80000000 foo.elf
    # Patch to MIPS III
    printf '\x20\x00\x00\x00' | dd bs=1 seek=36 count=4 conv=notrunc of=foo.elf >& /dev/null
    # Set entrypoint
    dd if=entrypoint bs=1 seek=24 count=4 conv=notrunc of=foo.elf >& /dev/null
    rm entrypoint
    # Dump the headers
    mips-elf-objdump -x foo.elf



(I've been using Windows Powershell, but if anybody has any suggestions, please comment them down.)

 
  • Like
Reactions: Cnotesdip

Ondrashek06

Well-Known Member
Member
Joined
Dec 27, 2019
Messages
1,162
Trophies
0
XP
3,293
Country
Czech Republic
If there was a way to just convert .z64 to .cia, why would emulators even exist? It would be awesome to convert a .cia to .exe or a .nsp to a .cia and other things like that but that's not possible.

Heck, I'd LOVE a .ipa to .apk converter so iPhones become useless.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,373
Country
United Kingdom
If there was a way to just convert .z64 to .cia, why would emulators even exist? It would be awesome to convert a .cia to .exe or a .nsp to a .cia and other things like that but that's not possible.

Heck, I'd LOVE a .ipa to .apk converter so iPhones become useless.
Some people like to experience games as they would have been on hardware which emulators allow them to do where some kind of recompile might colour outside the lines too much.

Equally what is on iphone that is not on android?



As for the matter at hand I did make a thread a while back on what such things entail
https://gbatemp.net/threads/can-i-aka-you-as-i-cant-wont-code-port-this-game-to-this-device.576997/ and it says all I would say here and a bit more besides if you did want to head down this path, though I dare say posters prior and I would share a summation of what this is likely to play out as.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: ill have no wifi for a bit so see ya later