Tutorial How to make 3DS Games with Unity

  • Thread starter Thread starter Keksfresser
  • Start date Start date
  • Views Views 225,686
  • Replies Replies 522
  • Likes Likes 30

Should I add some Demo Projects?


  • Total voters
    54
  • Poll closed .
i have a few errors (and questions)when trying to build .cci files in unity 3ds : and here it is

1. i got two errors when building:
Code:
ApplicationName='\X86\bin\ctrload.exe', CommandLine='-n test.cci', CurrentDirectory='DIRECTORYBLAHBLAH'
  at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0
  at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0
  at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
  at UnityEditor.Utils.Program.Start (System.EventHandler exitCallback) [0x0006b] in C:\buildslave\unity\build\Editor\Mono\Utils\Program.cs:44
  at UnityEditor.Utils.Program.Start () [0x00003] in C:\buildslave\unity\build\Editor\Mono\Utils\Program.cs:28
  at UnityEditor.N3DS.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.N3DS.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x0000a] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\Command.cs:65
  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:1654
  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) [0x0040f] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:293
UnityEditor.HostView:OnGUI()


AND



Code:
Error building Player: ApplicationName='\X86\bin\ctrload.exe', CommandLine='-n test.cci', CurrentDirectory='DIRECTORYTOGAMEFOLDER'
  at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0
  at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0
  at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
  at UnityEditor.Utils.Program.Start (System.EventHandler exitCallback) [0x0006b] in C:\buildslave\unity\build\Editor\Mono\Utils\Program.cs:44
  at UnityEditor.Utils.Program.Start () [0x00003] in C:\buildslave\unity\build\Editor\Mono\Utils\Program.cs:28
  at UnityEditor.N3DS.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.N3DS.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x0000a] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\Command.cs:65
  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:1654
  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) [0x0040f] in C:\buildslave\unity\build\PlatformDependent\N3DS\Editor\Managed\PostProcessN3DS.cs:293


ALSO

how do I make the both screens work at the same time?

any help would be great!

I am using unity 5.6.6f2(64 bit) cracked with unihavker 4.5(for unity pro and the 3ds option)
i also have armcc 5 for nintendo and ctr sdk installed(and added to PATH)
:)
I have check for the ctrload.exe but I couldnt find it
edit: it happened during " coverting managed assemblies to C++" stage
Regarding your build it looks like either the path is too long/has special characters or the SDK is not correctly installed. In addition, remember to fill in Project Settings > Player, the Long Names, short name, and title (title can't have spaces). You should also toggle the EULA agreement.

On the other hand, both screens work (always). For different rendering between cameras, you just need a camera per screen and that's it. Remember to set the Target Display to Lower LCD in the bottom camera.
 
Last edited by Manurocker95,
Also got the microphone working + speech recognition. The default microphone doesn't work because audioclip.SetData doesn't work on N3DS and Microphone.Start always return null clip. However, making a custom nn::mic native microphone, you can capture the mic and use the bytes to create a PCM with them.

View attachment 580904
Post automatically merged:

Reworked the camera plugin


That's an amazing set of progress - i wish there was a tutorial series for us less code inclined. Still its cool too see all these options are available for Unity!
 
That's an amazing set of progress - i wish there was a tutorial series for us less code inclined. Still its cool too see all these options are available for Unity!

If there's anyone interested in fighting with Native Plugins in cpp + Unity, I can share my code :) But it was not an easy task. Btw, I also got Augmented Reality working :D

 

Site & Scene News

Popular threads in this forum