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
101
Trophies
0
Age
37
Location
moon
XP
694
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
  • Psionic Roshambo @ Psionic Roshambo:
    It could get banned from PSN but you can change your ID I think?
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    K3Nv2 @ K3Nv2: Did you try wearing them?