Tutorial How to make 3DS Games with Unity

  • Thread starter Thread starter Keksfresser
  • Start date Start date
  • Views Views 223,477
  • Replies Replies 513
  • Likes Likes 30

Should I add some Demo Projects?


  • Total voters
    54
  • Poll closed .
U should keep an eye on "FLAX Engine and Godot", they make really progress. i dont like Unity at all. Feels to overloaded with half-baked features, UI is nothing if ur a artist (yeah i know, theres an asset store) not really thought to the end.

*edit* had a typo :)
 
Last edited by xScarYx,
Flex Engine
I don't think using an engine made by some guy that only had 11 releases since 2017 is better than using unity that has a giant community, an asset store full of whatever you could ever need, and an engine that might leave many things to be desired but it's getting constant updates and new versions... godot might be worth trying tho
 
I don't think using an engine made by some guy that only had 11 releases since 2017 is better than using unity that has a giant community, an asset store full of whatever you could ever need, and an engine that might leave many things to be desired but it's getting constant updates and new versions... godot might be worth trying tho

ups my bad, had a typo. i mean FLAX Engine
 
Ok. Nevermind, i managed to fix the problem by myself. If you did consider assisting me though, then thank you for your time.

Yes I would like to know how too
If anyone knows please help me on this!

Alright I got it to work but now I get this error (Any help?):
Unable to create ROM .cci
"C:\Nintendo\Sam\SDK\ctr_sdk\tools\CommandLineTools\ctr_makerom32.exe" -f card "C:\UnityGame\3DS\SuperSoarin3DS\SuperSourin3DS\Temp\StagingArea\Player.axf" -desc "C:\Nintendo\Sam\SDK\ctr_sdk\resources\specfiles\ExtApplication.desc" -banner "C:\UnityGame\3DS\SuperSoarin3DS\SuperSourin3DS\Temp\StagingArea\Banner.bnr" -icon "C:\UnityGame\3DS\SuperSoarin3DS\SuperSourin3DS\Temp\StagingArea\Icon.icn" -rsf "C:\UnityGame\3DS\SuperSoarin3DS\SuperSourin3DS\Temp\StagingArea\Application.rsf" -DROMFS_ROOT="RomFplatform S" -DTITLE="game" -o "C:\UnityGame\3DS\Builds\SuperSoarin3DSBuild1.cci"

stderr[

]
stdout[
[MAKEROM ERROR] Failed to make cci: Syntax error
File : C:\UnityGame\3DS\SuperSoarin3DS\SuperSourin3DS\Temp\StagingArea\Application.rsf
Line : 2
"Soarin" is unexpected.

]
at UnityEditor.N3DS.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.N3DS.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00038] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\Command.cs:74
at UnityEditor.PostProcessN3DS.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.N3DS.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00016] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:1630
at UnityEditor.PostProcessN3DS.CreateCCI (Boolean developmentBuild, System.Collections.Generic.List`1 cfaList, System.String installPath, System.String stagingArea) [0x002e7] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:999
at UnityEditor.PostProcessN3DS.PostProcess (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String stagingAreaDataManaged, UnityEditor.RuntimeClassRegistry usedClassRegistry) [0x003b4] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:285
UnityEditor.HostView:OnGUI()
 
Last edited by Sammyueru,
.
 

Attachments

  • 1.PNG
    1.PNG
    51.3 KB · Views: 229
  • 2.PNG
    2.PNG
    58.5 KB · Views: 208
  • 3.PNG
    3.PNG
    43.2 KB · Views: 163
Last edited by TheCrossovers,
I had these problems, I installed ARM CC 5.4
and this IL2CPP error was removed and I managed to export CIA
I hope it will help you...
LUCK!!

Ve a google el es tu mejor amigo:D
 
do you know where I can find UnityNew3DS_2_0_1
Thanks for helping me. I’ve been trying to find where that Unity documentation was for a long time. Now I’ve managed to get something running involving a full room, albeit at like 10 FPS. (The models are Switch-quality, which obviously causes that.) Still fun to mess around with.

Thank you again.
 
  • Like
Reactions: Zellix
HOW?!
i managed to fix it too by adding the environment variables manually, that seemed to fix it, until i got these errors:
unknown.png
It's to do with the IL2CPP or armcc, im not sure, i did install it and it should work properly, it's also got the same path, the files are there, they just don't work?!
has anyone managed to fix this

everything i try doesnt work
 
has anyone managed to fix this

everything i try doesnt work
Ok i fixed it
idk how tough but now i get a banner error

Error 1.
Unable to create banner
"C:\Nintendo\BALLKOUR\SDK\ctr_sdk\tools\CommandLineTools\ctr_makebanner32.exe" -noicn BannerSpec.bsf "F:\Games\BallKour New 3DS\Temp\StagingArea\Banner.bnr"

stderr[

]
stdout[
MAKEBANNER FATAL ERROR: Language "English" LongName is necessary for region "All".
]
at UnityEditor.N3DS.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.N3DS.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00038] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\Command.cs:74
at UnityEditor.PostProcessN3DS.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.N3DS.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00016] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:1630
at UnityEditor.PostProcessN3DS.MakeBannerAndOrIcon (System.String stagingArea, System.String bnrPathName, System.String cbmdPathName, System.String iconPathName) [0x00157] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:843
at UnityEditor.PostProcessN3DS.CreateCCI (Boolean developmentBuild, System.Collections.Generic.List`1 cfaList, System.String installPath, System.String stagingArea) [0x000cb] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:952
at UnityEditor.PostProcessN3DS.PostProcess (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String stagingAreaDataManaged, UnityEditor.RuntimeClassRegistry usedClassRegistry) [0x003b4] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:285
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Error 2.
Error building Player: Unable to create banner
"C:\Nintendo\BALLKOUR\SDK\ctr_sdk\tools\CommandLineTools\ctr_makebanner32.exe" -noicn BannerSpec.bsf "F:\Games\BallKour New 3DS\Temp\StagingArea\Banner.bnr"

stderr[

]
stdout[
MAKEBANNER FATAL ERROR: Language "English" LongName is necessary for region "All".
]
at UnityEditor.N3DS.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.N3DS.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00038] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\Command.cs:74
at UnityEditor.PostProcessN3DS.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.N3DS.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00016] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:1630
at UnityEditor.PostProcessN3DS.MakeBannerAndOrIcon (System.String stagingArea, System.String bnrPathName, System.String cbmdPathName, System.String iconPathName) [0x00157] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:843
at UnityEditor.PostProcessN3DS.CreateCCI (Boolean developmentBuild, System.Collections.Generic.List`1 cfaList, System.String installPath, System.String stagingArea) [0x000cb] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:952
at UnityEditor.PostProcessN3DS.PostProcess (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String stagingAreaDataManaged, UnityEditor.RuntimeClassRegistry usedClassRegistry) [0x003b4] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:285
 
Just use the default banners for now and try to compile.
It took me a long time to get a banner working, and tbh i don't think it's worth the trouble, if i ever made a proper game i'd just ask some of the very talented people around here to make a banner for me and attach it to my .CIA and be done with it
 
Just use the default banners for now and try to compile.
It took me a long time to get a banner working, and tbh i don't think it's worth the trouble, if i ever made a proper game i'd just ask some of the very talented people around here to make a banner for me and attach it to my .CIA and be done with it
yeah it works now but i got another problem

error:
Failed running C:\Program Files (x86)\ARMCC_Nintendo_5\bin\../bin64\armcc.exe -c -I "C:/Nintendo/UnityNew3DS_1_3_0/Editor/Data/PlaybackEngines/N3DS/Tools\il2cpp\bdwgc\include" -I "C:/Nintendo/UnityNew3DS_1_3_0/Editor/Data/PlaybackEngines/N3DS/Tools\il2cpp\libil2cpp\include" -I "Temp/StagingArea\il2cppOutput" -I "C:\Nintendo\BALLKOUR\SDK\ctr_sdk\include" --gnu --cpu "MPCore" --split_sections --apcs=/interwork --littleend --arm --vfe --signed_chars --no_rtti --wchar --wchar16 --multibyte_chars --dollar --exceptions --remove_unneeded_entities --diag_style=ide --data_reorder --fpmode=fast -O2 "-Otime" --no_debug --no_debug_macros --diag_suppress=1,68,186,368,177,550 -D "NN_COMPILER_RVCT" -D "NN_COMPILER_RVCT_VERSION_MAJOR=4" -D "NN_COMPILER_RVCT_VERSION_MINOR=1" -D "NN_PROCESSOR_ARM" -D "NN_PROCESSOR_ARM11MPCORE" -D "NN_PROCESSOR_ARM_V6" -D "NN_PROCESSOR_ARM_VFP_V2" -D "NN_HARDWARE_CTR" -D "NN_PLATFORM_CTR" -D "NN_HARDWARE_CTR_TS" -D "NN_SYSTEM_PROCESS" -D "NN_DEBUGGER_KMC_PARTNER" -D "NN_COMPILER_OPTION_ARM" -D "NN_EFFORT_FAST" -D "__STDC_LIMIT_MACROS" Temp\Il2CppCache\__N3DS_AssemblyLinkInfo.cpp -o Temp\Il2CppCache\__N3DS_AssemblyLinkInfo.o Temp\Il2CppCache\__N3DS_AssemblyLinkInfo.cpp(38,46) : error #22: invalid hexadecimal number Temp\Il2CppCache\__N3DS_AssemblyLinkInfo.cpp(38,48) : error #65: expected a ";" armcc : Temp\Il2CppCache\__N3DS_AssemblyLinkInfo.cpp: 0 warnings, 2 errors UnityEngine.Debug:LogError(Object) NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:57) NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:24) ArmccCompiler:Compile(String, String, Boolean) (at C:/buildslave/unity/build/PlatformDependent/N3DS/Editor/Managed/ArmccCompiler.cs:195) ArmccCompiler:CreateLinkInfo(String[], String) (at C:/buildslave/unity/build/PlatformDependent/N3DS/Editor/Managed/ArmccCompiler.cs:307) ArmccCompiler:CompileDynamicLibrary(String, IEnumerable`1, IEnumerable`1, IEnumerable`1, IEnumerable`1) (at C:/buildslave/unity/build/PlatformDependent/N3DS/Editor/Managed/ArmccCompiler.cs:103) UnityEditorInternal.IL2CPPBuilder:Run() (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:161) UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry, Boolean) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:41) UnityEditor.HostView:OnGUI()
 
yeah it works now but i got another problem

error:
Failed running C:\Program Files (x86)\ARMCC_Nintendo_5\bin\../bin64\armcc.exe -c -I "C:/Nintendo/UnityNew3DS_1_3_0/Editor/Data/PlaybackEngines/N3DS/Tools\il2cpp\bdwgc\include" -I "C:/Nintendo/UnityNew3DS_1_3_0/Editor/Data/PlaybackEngines/N3DS/Tools\il2cpp\libil2cpp\include" -I "Temp/StagingArea\il2cppOutput" -I "C:\Nintendo\BALLKOUR\SDK\ctr_sdk\include" --gnu --cpu "MPCore" --split_sections --apcs=/interwork --littleend --arm --vfe --signed_chars --no_rtti --wchar --wchar16 --multibyte_chars --dollar --exceptions --remove_unneeded_entities --diag_style=ide --data_reorder --fpmode=fast -O2 "-Otime" --no_debug --no_debug_macros --diag_suppress=1,68,186,368,177,550 -D "NN_COMPILER_RVCT" -D "NN_COMPILER_RVCT_VERSION_MAJOR=4" -D "NN_COMPILER_RVCT_VERSION_MINOR=1" -D "NN_PROCESSOR_ARM" -D "NN_PROCESSOR_ARM11MPCORE" -D "NN_PROCESSOR_ARM_V6" -D "NN_PROCESSOR_ARM_VFP_V2" -D "NN_HARDWARE_CTR" -D "NN_PLATFORM_CTR" -D "NN_HARDWARE_CTR_TS" -D "NN_SYSTEM_PROCESS" -D "NN_DEBUGGER_KMC_PARTNER" -D "NN_COMPILER_OPTION_ARM" -D "NN_EFFORT_FAST" -D "__STDC_LIMIT_MACROS" Temp\Il2CppCache\__N3DS_AssemblyLinkInfo.cpp -o Temp\Il2CppCache\__N3DS_AssemblyLinkInfo.o Temp\Il2CppCache\__N3DS_AssemblyLinkInfo.cpp(38,46) : error #22: invalid hexadecimal number Temp\Il2CppCache\__N3DS_AssemblyLinkInfo.cpp(38,48) : error #65: expected a ";" armcc : Temp\Il2CppCache\__N3DS_AssemblyLinkInfo.cpp: 0 warnings, 2 errors UnityEngine.Debug:LogError(Object) NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:57) NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:24) ArmccCompiler:Compile(String, String, Boolean) (at C:/buildslave/unity/build/PlatformDependent/N3DS/Editor/Managed/ArmccCompiler.cs:195) ArmccCompiler:CreateLinkInfo(String[], String) (at C:/buildslave/unity/build/PlatformDependent/N3DS/Editor/Managed/ArmccCompiler.cs:307) ArmccCompiler:CompileDynamicLibrary(String, IEnumerable`1, IEnumerable`1, IEnumerable`1, IEnumerable`1) (at C:/buildslave/unity/build/PlatformDependent/N3DS/Editor/Managed/ArmccCompiler.cs:103) UnityEditorInternal.IL2CPPBuilder:Run() (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:161) UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry, Boolean) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:41) UnityEditor.HostView:OnGUI()
please help i really want to get my 3ds game to work
 
please help i really want to get my 3ds game to work
I'm afraid you're on uncharted territory. My guess is that there's something wrong with your installation of the nintendo SDK for unity. But try anything you can think of, gradle to internal, changing package name. Any other setting you can think of mixing up a little. Perhaps open a fresh blank project and see if THAT compiles. Then at least you know the problem is in this project and not in your installation of the SDK. Trial and error, try to discard possible causes, and possible solutions
 
please help i really want to get my 3ds game to work
Did you manage to run one of the template projects?

I recommend doing this first and then just duplicating the template project and gradually porting your game to it.

Also, only use shaders present in the template project.
 
Did you manage to run one of the template projects?

I recommend doing this first and then just duplicating the template project and gradually porting your game to it.

Also, only use shaders present in the template project.
yeah i only tried to use templates

the main thing i tried is the controller test but still didnt work
 
Hi, i have one big problem : I made about forty builds of my game and until then everything was going well but since last night I have the arm error with the black background, I cannot launch my game and I tried all solutions (even use cia build of unity, convert and enable options in luma settings) nothing works and i'm out of ideas

edit : i forgot to say, it work on citra
 
Last edited by RGeeK,

Site & Scene News

Popular threads in this forum