Typedef creation error (and struct builder suggestion)

Find a Bug? Have a Problem? Like to Suggest a Feature? Do it Here

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

Typedef creation error (and struct builder suggestion)

Postby martix » Sun Jan 10, 2010 10:10 pm

When I try to define a new typedef I get:
"Internal error applying changes."

Which happens in all cases, no matter what parameters I supply!

XP Pro SP3
Last edited by martix on Mon Jan 11, 2010 2:36 am, edited 1 time in total.
User avatar
martix
Acker
 
Posts: 55
Joined: Sun Feb 17, 2008 5:53 pm

Re: Typedef creation error

Postby L. Spiro » Sun Jan 10, 2010 10:25 pm

This is caused by either no memory or by a locking problem in MHS.

Unfortunately, the Template Editor is buggy as hell (probably the buggiest I am capable of doing).
If it is a locking problem, restarting MHS should fix it.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Re: Typedef creation error

Postby martix » Sun Jan 10, 2010 10:27 pm

Not really. The error is persistent and permanent.
Simply restarting doesn't cut it.

Edit 1: I also have a suggestion for the struct builder(in case it does not have such a feature yet).
When you add a bitfield automatically add the amount bits specified by the Bits field below the bitfield entry in a subtree structure(with collapsible +/- boxes and the indent). That way the user only has to edit the descriptions and everything would look nice and clean. Then in the template viewer use checkboxes or similar.
Or any other such solution that simplifies work with bitfields.

Edit 2: I tried, I really tried. But the struct builder is unusable at present! It shifts and shuffles entries at its own will. I tried making me a struct of about 150 members, and when I tested, nothing was where it should have been. I opened in the builder and it had completely randomized all entries. And dynamic arrays are confusing. How are offsets of members after a dynamic array computed?
User avatar
martix
Acker
 
Posts: 55
Joined: Sun Feb 17, 2008 5:53 pm

Re: Typedef creation error (and struct builder suggestion)

Postby L. Spiro » Tue Jan 12, 2010 7:46 am

Well that is what I get for coding while high on morphine sitting in a hospital bed after a lung collapse.

The Template Editor is mostly worthless. I can not believe how horrible my planning was on that.
It does work for simple structures, but particularly only if you add all of the members exactly in order. If you edit things afterwards it can shuffle them. But it is actually only the tree that gets shuffled. But because you think it has been shuffled you will start trying to change the order of things, and then it really does become shuffled.

But there are internal errors as well, so just forget about the Template Editor. That is what I did.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Re: Typedef creation error (and struct builder suggestion)

Postby martix » Wed Jan 13, 2010 9:41 am

Completely possible. :)

Should we hold hopes for revival?
Even with the current set of features, its incredibly powerful, were it to work(mainly because of the dynamic arrays).

Or, perhaps you know of another hex editor that possesses such features(the dynamic part). If that is the case please share name of said editor...
User avatar
martix
Acker
 
Posts: 55
Joined: Sun Feb 17, 2008 5:53 pm

Re: Typedef creation error (and struct builder suggestion)

Postby L. Spiro » Wed Jan 13, 2010 10:41 am

If I finish my remake it will have a perfect Template Editor.


For now, you can use 010 Editor.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Re: Typedef creation error (and struct builder suggestion)

Postby martix » Wed Jan 13, 2010 8:50 pm

Woohoo... Great editor! Doesn't have MHS's GUI, but then again, I don't really need it. C-style is enough of a treat.
Thanks!
User avatar
martix
Acker
 
Posts: 55
Joined: Sun Feb 17, 2008 5:53 pm


Return to Bugs/Problems/Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests

cron