ROM Hack [Release] Usagi 3DS Theme Editor (+ .Net Library) - Testers Wanted

usagirei

Well-Known Member
OP
Member
Joined
Jan 26, 2016
Messages
164
Trophies
0
XP
255
Country
Brazil
I get this crash when I try to re create my lost attack on pizza (titan theme)

System.ArgumentNullException: Value cannot be null.
Parameter name: src
at System.Buffer.BlockCopy(Array src, Int32 srcOffset, Array dst, Int32 dstOffset, Int32 count)
at ThemeEditor.Common.Graphics.RawTexture.<EdgeBleed>g__EdgeBleedY18_0(Int32 r, Int32 y0, Int32 y1, <>c__DisplayClass18_0& ) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.Common\Graphics\RawTexture.cs:line 177
at ThemeEditor.Common.Graphics.RawTexture.EdgeBleed(Int32 x, Int32 y, Int32 sx, Int32 sy) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.Common\Graphics\RawTexture.cs:line 208
at ThemeEditor.WPF.MainWindow.LoadImage_PostExecute(LoadImageResults args) in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.Images.cs:line 355
at ThemeEditor.WPF.RelayCommandAsync`2.<Execute>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.<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)

Can you send me the crashing files? (I think it's an Image)

Edit:
NVM, found out why, will fix once I wake up.
 
Last edited by usagirei,

someguy12345

Well-Known Member
Member
Joined
Nov 25, 2014
Messages
102
Trophies
0
Age
37
Location
moon
XP
704
Country
United States
Hey guys, for some reason whenever I import bcwav files as SFX, it never saves them. I import my bcwav's, save the file, then if I try to use the theme it just uses the default SFX. If I open the theme again in the theme editor, and go to the "Experimental" SFX importer, it shows nothing (as if I never imported them at all). Anyone know what might be causing this issue?
 

miraclaime

custom themes maniac
Member
Joined
Jun 12, 2015
Messages
486
Trophies
0
Location
In your house, naked
XP
391
Country
Indonesia
Hey guys, for some reason whenever I import bcwav files as SFX, it never saves them. I import my bcwav's, save the file, then if I try to use the theme it just uses the default SFX. If I open the theme again in the theme editor, and go to the "Experimental" SFX importer, it shows nothing (as if I never imported them at all). Anyone know what might be causing this issue?
You need to enable the sfx option in the flags tab
 

V0ltr0n

Well-Known Member
Member
Joined
Jan 5, 2016
Messages
484
Trophies
0
Age
39
XP
542
Country
United States
@usagirei Not sure what is happening, but after the latest update, I get this crash whenever I try to load a theme with bgm. I know for a fact nothing is wrong with the bgm, because I've loaded themes that work with bgm on the 3ds just to test and I get the same error.
Log:

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.<Execute>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.<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)

EDIT: NVM. Apparently my audio had come unplugged and I didnt even notice. If you have no output device, it crashes the editor.
 
Last edited by V0ltr0n,

Bidoofguy

Custom Title:
Member
Joined
Mar 21, 2009
Messages
100
Trophies
0
Age
32
Location
Location: Location:
XP
696
Country
For some reason any option that causes the "Picking file" text to show up (Open, Save and the various Imports and Exports) causes it to crash. "Generate Preview" works, but that's kinda useless if I can't actually open anything. The problem is probably on my end, since it used to work on my machine, but I'm not sure what I did to break it, and it said to report it, so...

System.Runtime.InteropServices.COMException (0x80040154): Class not registered (0x80040154 (REGDB_E_CLASSNOTREG))
at MS.Internal.AppModel.IFileDialog.Advise(IFileDialogEvents pfde)
at Microsoft.Win32.FileDialog.RunVistaDialog(IntPtr hwndOwner)
at Microsoft.Win32.FileDialog.RunDialog(IntPtr hwndOwner)
at Microsoft.Win32.CommonDialog.ShowDialog()
at ThemeEditor.WPF.MainWindow.<>c__DisplayClass117_0.<LoadTheme_Execute>b__0() in D:\GIT\Projects\3DS Theme Editor\ThemeEditor.WPF\MainWindow.Themes.cs:line 145
at System.Threading.Tasks.Task`1.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.RelayCommandAsync`2.<Execute>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.<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)
 

usagirei

Well-Known Member
OP
Member
Joined
Jan 26, 2016
Messages
164
Trophies
0
XP
255
Country
Brazil
For some reason any option that causes the "Picking file" text to show up (Open, Save and the various Imports and Exports) causes it to crash. "Generate Preview" works, but that's kinda useless if I can't actually open anything. The problem is probably on my end, since it used to work on my machine, but I'm not sure what I did to break it, and it said to report it, so...
--snip--

That's kinda hard to pinpoint, did you cancel an windows update halfway, or anything of the sorts? It SEEMS a COM extension (likely related to the Vista+ Folder Browser Dialog) isn't behaving, or was unregistered.

Try running the Editor from a shorter path, such as C:\Editor, prefereably from a physical drive if its currently on a network share.

If it doesn't work, which operating system are you using, and where is the editor currently located?
 

dimmidice

Well-Known Member
Member
Joined
Sep 12, 2009
Messages
2,359
Trophies
2
XP
3,005
Country
Belgium
Incase you ever decide to update Usagi I got some suggestions that'd be convenient.

1. Make it so you can set a default folder to load the images from. (Top,Bottom,Large,Small,Closed,Open) So less folder navigating is required.

2. Being able to link color buttons would be awesome. E.g. click on button once to link it to A, twice for B, etc etc. then if you change any of the linked A ones they all change to the same color. Would be handy.

3. Automatically have it export the icon when saving like it does preview. It's only 2 clicks to export the icon so it's no biggy, but you do have to do it every time.

That's all i can think of at the moment. Usagi is definitely a huge improvement over the previous theme editor. These are just some small quality of life improvement suggestions.


Edit: Some more ideas. Being able to toggle between row views so you can see small borders and such would be nice also.
 
Last edited by dimmidice,
  • Like
Reactions: Geneolgia
D

Deleted User

Guest
Does anybody know how to compile this in Visual Studio? Keep getting tons of errors.
 

Kirbyhammer7

Active Member
Newcomer
Joined
Oct 15, 2017
Messages
25
Trophies
0
Age
46
XP
66
Country
United States
Does anyone have any tips for me? I tried to add my own SFX, they are all .bcwav files converted from 32 bit float 32000Hz stereo wav files (none of which are longer than one second), but when I install the theme, it just makes my system crash (and I have to delete a system folder on the SD card to un-brick my "bricked" 3DS). What am I doing wrong? I have SFX for the Openlid, Close, Launch, and Cursor, and I ensured the SFX flag is set to "enabled". What am I doing wrong? This is very frustrating, so thanks for any help.
 
D

Deleted User

Guest
Does anyone have any tips for me? I tried to add my own SFX, they are all .bcwav files converted from 32 bit float 32000Hz stereo wav files (none of which are longer than one second), but when I install the theme, it just makes my system crash (and I have to delete a system folder on the SD card to un-brick my "bricked" 3DS). What am I doing wrong? I have SFX for the Openlid, Close, Launch, and Cursor, and I ensured the SFX flag is set to "enabled". What am I doing wrong? This is very frustrating, so thanks for any help.
Make sure that the file size does not exceed 3.4MB
 
D

Deleted User

Guest
The music file does not, and the sound files (combined) do not. Does the entire theme (SFX+Music+images) have to be smaller than 3.4MB total?
Nope, just the music. And make sure the quality dosen't exceed 32,000 Hrz at the max
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu