Giter VIP home page Giter VIP logo

3ds-theme-editor's People

Contributors

diagamma avatar usagirei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

3ds-theme-editor's Issues

Crashing on launch attempt

App won't open. I'm on Windows 10 20H2 19042.928. Error is as follows:

System.Windows.Markup.XamlParseException: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception. ---> System.OverflowException: The image data generated an overflow during processing. ---> System.ArithmeticException: Overflow or underflow in the arithmetic operation.
--- End of inner exception stack trace ---
at System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
at System.Windows.Media.Imaging.ColorConvertedBitmap..ctor(BitmapSource source, ColorContext sourceColorContext, ColorContext destinationColorContext, PixelFormat format)
at System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapFrameDecode..ctor(Int32 frameNumber, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapDecoder decoder)
at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
at System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.Windows.Baml2006.TypeConverterMarkupExtension.ProvideValue(IServiceProvider serviceProvider)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at ThemeEditor.WPF.MainWindow.InitializeComponent() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.xaml:line 1
at ThemeEditor.WPF.MainWindow..ctor() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.xaml.cs:line 86
at ThemeEditor.WPF.App.App_OnStartup(Object sender, StartupEventArgs e) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\App.xaml.cs:line 70
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

image

Better handling of Pasting Colours

I really appreciate this feature (As a side off, would like to invoke it with a keyboard input, shift-F10 isn't nice)

But, if a colour was not input,
this is thrown

System.FormatException was unhandled
  HResult=-2146233033
  Message=Token is not valid.
  Source=PresentationCore
  StackTrace:
       at MS.Internal.Parsers.ParseColor(String color, IFormatProvider formatProvider, ITypeDescriptorContext context)
       at System.Windows.Media.ColorConverter.ConvertFromString(String value)
       at ThemeEditor.WPF.ColorPickerSharedData.ColorPickerPaste(ColorPicker colorPicker) in D:\Scratch\Documents\Github\3DS-Theme-Editor\3DS Theme Editor\Templating\ColorPickerSharedData.cs:line 66
       at ThemeEditor.WPF.RelayCommand`1.Execute(Object parameter) in D:\Scratch\Documents\Github\3DS-Theme-Editor\3DS Theme Editor\RelayCommand.cs:line 59
       at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
       at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at System.Windows.Application.Run()
       at ThemeEditor.WPF.App.Main() in D:\Scratch\Documents\Github\3DS-Theme-Editor\3DS Theme Editor\obj\Debug\App.g.cs:line 0
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: 

I'm not really big in C#, so my fix really has been fixing the variable on the spot

sound effects cause the theme to semi brick the 2ds

after putting in my sound effects on my theme, when i installed it with anenome, my 2ds kept crashing. (it was fixed with taking out the sd card) how can i prevent this crash from happening? it only occurs after enabling the sound effects

White Gradient option doesn't show up on a real 3DS

On a real 3DS the top screen shows up as if the White Gradient option were turned off, like if the White Gradient option wasn't working at all.

If I re-save the file in YATA+, then the black-effect goes away, but the colors are different than in the preview (on a real 3DS the color is much brighter, and less saturated).

When I open both the one exported with this, and the one exported with YATA+, they look the same in the preview window, but they look different on a real 3DS.

I have uploaded body_LZ.zip, so you can inspect if this problem is in the file or it's a bug in the saving process.
body_LZ.bin is the one exported with this, and body_LZ_yataplus.bin is exported with YATA+

no mac version

there should be a mac version because there is no mac version and im using a mac

Fast import

Is it possible to auto import top bottom and large icon files?
As it auto recognizes bgm.bcstm files it would be cool if it recognized "up.png", "down.png" and "icon.png" (I usually call mines su.png and giu.png)

Or, you could make a simple icon for icon.png as for most of the images.
icons

I hate going to image > large icon every time. A single click on the "icon" icon (or a shortcut) would make everything smoother.
Thanks!

Color/file picture dropper isn't accurate

when using the dropper of the file icon selection tool the mouse wont accurately depict what you're pointing at,, and I will usually have to go off screen to select the color/picture I want

Crashes whenever i open it

System.Windows.Markup.XamlParseException: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception. ---> System.OverflowException: The image data generated an overflow during processing. ---> System.ArithmeticException: Overflow or underflow in the arithmetic operation.
--- End of inner exception stack trace ---
at System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
at System.Windows.Media.Imaging.ColorConvertedBitmap..ctor(BitmapSource source, ColorContext sourceColorContext, ColorContext destinationColorContext, PixelFormat format)
at System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapFrameDecode..ctor(Int32 frameNumber, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapDecoder decoder)
at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
at System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.Windows.Baml2006.TypeConverterMarkupExtension.ProvideValue(IServiceProvider serviceProvider)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at ThemeEditor.WPF.MainWindow.InitializeComponent() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.xaml:line 1
at ThemeEditor.WPF.MainWindow..ctor() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.xaml.cs:line 86
at ThemeEditor.WPF.App.App_OnStartup(Object sender, StartupEventArgs e) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\App.xaml.cs:line 70
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Bottom Screen Frame Type ≠ Single

It seems I'm unable to select Single as the setting for the Bottom Screen Frame Type option. When I select it it switches itself to whatever option I was on previously.

Don't know what I screwed up, but apparently I did something

Parameter name: path1
   at System.IO.Path.Combine(String path1, String path2)
   at ThemeEditor.WPF.MainWindow.SendTheme_Execute(String ip, Boolean start) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.Themes.cs:line 0
   at ThemeEditor.WPF.MainWindow.SendTheme_Execute(String ip) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.Themes.cs:line 622
   at ThemeEditor.WPF.RelayCommandAsync`2.<Execute>d__11.MoveNext() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\RelayCommand.cs:line 226
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)```

Crashes when i open the application

Hi so everytime i open the application i always get this error, im running on windows 10

System.Windows.Markup.XamlParseException: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception. ---> System.OverflowException: The image data generated an overflow during processing. ---> System.ArithmeticException: Overflow or underflow in the arithmetic operation.
--- End of inner exception stack trace ---
at System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
at System.Windows.Media.Imaging.ColorConvertedBitmap..ctor(BitmapSource source, ColorContext sourceColorContext, ColorContext destinationColorContext, PixelFormat format)
at System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapFrameDecode..ctor(Int32 frameNumber, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapDecoder decoder)
at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
at System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.Windows.Baml2006.TypeConverterMarkupExtension.ProvideValue(IServiceProvider serviceProvider)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at ThemeEditor.WPF.MainWindow.InitializeComponent() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.xaml:line 1
at ThemeEditor.WPF.MainWindow..ctor() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.xaml.cs:line 86
at ThemeEditor.WPF.App.App_OnStartup(Object sender, StartupEventArgs e) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\App.xaml.cs:line 70
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

No WAV or CWAV saves after using the CWAV manager

After importing the sounds in the theme, and saving, I loaded the theme again, and not a single sound seems to have saved. Alternatives? (I have the required files for the job)
[Issue solved, the theme was restricted against the usage of SFX]

GNU/Linux Support

This sentence was translated from Japanese to English by Google translation.
I am now a GNU / Linux user.
However, this editor uses WPF of .net Framework and can not handle easily with .net Core, Mono, Wine. (The screen display is broken in Wine.)
(Also, since Windows is proprietary it is better to correspond to open source OS like GNU / Linux)
Therefore, can you correspond to GNU / Linux?
(There are Qt and Java etc in the cross platform framework.)


この文章はGoogle 翻訳によって日本語から英語に翻訳されました。
私は今GNU/Linuxユーザーです。
しかしこのエディタは.net FrameworkのWPFを使用しており、.net CoreやMono、Wineでは容易に扱うことができません。(Wineでは画面表示が壊れます。)
(またWindowsはプロプライエタリなのでGNU/LinuxのようなオープンソースなOSに対応することは良いことでしょう)
そのためGNU/Linuxに対応してもらえませんか?
(クロスプラットフォームなフレームワークにQtやJavaなどがあります。)

I get this error every time I open up the editor

System.UnauthorizedAccessException: Access to the path './UserData' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at System.IO.Directory.CreateDirectory(String path)
at ThemeEditor.WPF.App.App_OnStartup(Object sender, StartupEventArgs e) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\App.xaml.cs:line 66
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

application crashes with ArgumentNullException

System.ArgumentNullException: model
Parametername: Model Can't be null
bei ThemeEditor.WPF.Themes.ViewModelBase..ctor(Object model, String tag) in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\Themes\ViewModelBase.cs:Zeile 51.
bei ThemeEditor.WPF.Themes.TexturesViewModel..ctor(Textures model, String tag) in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\Themes\TexturesViewModel.cs:Zeile 35.
bei ThemeEditor.WPF.Themes.ThemeViewModel..ctor(Theme model) in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\Themes\ThemeViewModel.cs:Zeile 31.
bei ThemeEditor.WPF.MainWindow.LoadTheme_PostExecute(LoadThemeResults result) in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.Themes.cs:Zeile 226.
bei ThemeEditor.WPF.RelayCommandAsync`2.d__11.MoveNext() in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\RelayCommand.cs:Zeile 0.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

happens when trying to open this theme: https://mega.nz/#F!HQVX0IwC!IfdjNFFMsbWEfxE31UskIA!yIdgybZb

This happens when i try to open my theme

NAudio.MmException: BadDeviceId calling waveOutOpen
at NAudio.Wave.WaveOut.Init(IWaveProvider waveProvider)
at ThemeEditor.WPF.AudioPlayer.SetAudioData(Byte[] wavData) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\AudioPlayer.cs:line 81
at ThemeEditor.WPF.MainWindow.LoadBGM_PostExecute(LoadBGMResults result) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.BGM.cs:line 17
at ThemeEditor.WPF.RelayCommandAsync`1.d__11.MoveNext() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\RelayCommand.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Crashes when sending to 3ds xl

Whenever I try to send a theme via wifi, I get the following crash report:

System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at ThemeEditor.WPF.MainWindow.<>c__DisplayClass131_0.<SendTheme_Execute>b__0() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.Themes.cs:line 691
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ThemeEditor.WPF.RelayCommandAsync2.d__11.MoveNext() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\RelayCommand.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

3D file folder gets corrupted

The 3D file is invisible at first before selecting colors (it still is after selecting them) and once that its saved, it gets that glitched out texture
preview

BCWAV Sound effects not working

I'm using three sound effects on a theme, all converted to BCWAV and all shorter than 2-3 seconds. None exceed the byte limit.

When loaded onto the 3DS the BGM plays and everything works, it's just that the SFX won't for some reason. Any ideas please?

Crash after loading theme a second time.

Worked first time. Also, the smdh doesn't seem to work after making the modifications in Usagi.

NAudio.MmException: BadDeviceId calling waveOutOpen
en NAudio.Wave.WaveOut.Init(IWaveProvider waveProvider)
en ThemeEditor.WPF.AudioPlayer.SetAudioData(Byte[] wavData) en D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\AudioPlayer.cs:línea 81
en ThemeEditor.WPF.MainWindow.LoadBGM_PostExecute(LoadBGMResults result) en D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.BGM.cs:línea 17
en ThemeEditor.WPF.RelayCommandAsync`1.d__11.MoveNext() en D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\RelayCommand.cs:línea 0
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
en System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
en System.Windows.Threading

Application crashes on Windows 10 When loading a theme

Stacktrace:

NAudio.MmException: BadDeviceId calling waveOutOpen
at NAudio.Wave.WaveOut.Init(IWaveProvider waveProvider)
at ThemeEditor.WPF.AudioPlayer.SetAudioData(Byte[] wavData) in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\AudioPlayer.cs:line 78
at ThemeEditor.WPF.MainWindow.LoadBGM_PostExecute(LoadBGMResults result) in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.Themes.cs:line 112
at ThemeEditor.WPF.RelayCommandAsync`1.d__11.MoveNext() in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\RelayCommand.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c__DisplayClass2.b__3(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

I'm attempting to load a body_LZ.bin using the latest build.

Wrong colors showing up and custom cwav sounds not playing.

I chose brown/pink colors for my 3d folders [main: pink - shading/highlight/shadow: brown], but they look completely pale pink when testing it on my 3ds.

How it look with Usagi

How it looks on my 3ds

Frame0-3 and Folder(open+close) are not working either no matter which cwav file I put in them. I even used the same cwav files that work with launcher or open lid for example, but still no sound.

Crashes right after i try to run it.

It said to "Contact the developer with the information below".
System.IO.FileFormatException: The image format is unrecognized. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x88982F07
--- End of inner exception stack trace ---
at System.Windows.Media.PixelFormat.GetPixelFormat(SafeMILHandle bitmapSource)
at System.Windows.Media.Imaging.BitmapSource.UpdateCachedSettings()
at System.Windows.Media.Imaging.BitmapSource.set_WicSourceHandle(BitmapSourceSafeMILHandle value)
at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapSource.CompleteDelayedCreation()
at System.Windows.Media.Imaging.BitmapSource.get_DpiX()
at System.Windows.Media.Imaging.BitmapSource.GetWidthInternal()
at System.Windows.Media.Imaging.BitmapSource.get_Width()
at ThemeEditor.WPF.Markup.IconExtension.b__10_0(BitmapFrame f) in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\Markup\IconExtension.cs:line 42
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source, Func2 predicate)
at ThemeEditor.WPF.Markup.IconExtension.ProvideValue(IServiceProvider serviceProvider) in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\Markup\IconExtension.cs:line 42
at ThemeEditor.WPF.MainWindow.LoadTheme_PostExecute(LoadThemeResults result) in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.Themes.cs:line 188
at ThemeEditor.WPF.RelayCommandAsync`1.d__11.MoveNext() in W:\Projects\3DS Theme Editor\ThemeEditor.WPF\RelayCommand.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Add demo text preview

Usagi should add a demo/game text preview, so you can have an idea of what it will look like,

The preview.png is unable to be previewed

Hi,

I found that usagi generate preview.png which is unable to be previewed by 3ds app such as CHHM2.
I have to change to Preview.png.

I guess this is due to 2DS/3DS is case sensitive

Is it possible to automatically to name the preview as Preview.png?
Cheers,

crashes when opening the application

when i try to open the app i get an error. I also tried downloading a older version but is still get this error
System.UnauthorizedAccessException: Access to the path './UserData' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at System.IO.Directory.CreateDirectory(String path)
at ThemeEditor.WPF.App.App_OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.