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
706
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
401
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
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
    AncientBoi @ AncientBoi: [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box]... +1