Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

HexView 3.1 for StdLib


  • Please log in to reply
48 replies to this topic
majkinetor
  • Moderators
  • 4512 posts
  • Last active: Jul 29 2016 12:40 AM
  • Joined: 24 May 2006
v1.91
- hexa cursor moving bug fix
- sync scroll bug fix
- badly calculated offset fixed
- code is commented and polished
- added third (optional) parameter to start with specific tab open.
Posted Image

Laszlo
  • Moderators
  • 4713 posts
  • Last active: Mar 31 2012 03:17 AM
  • Joined: 14 Feb 2005
If something is selected in the ASCII view, can you automatically select the corresponding hex digits, too? The other direction works, fine.

majkinetor
  • Moderators
  • 4512 posts
  • Last active: Jul 29 2016 12:40 AM
  • Joined: 24 May 2006
Well, I could do that... I started once but it was borring so I stopped after deducing that such functionality is not very useful :?
Posted Image

majkinetor
  • Moderators
  • 4512 posts
  • Last active: Jul 29 2016 12:40 AM
  • Joined: 24 May 2006
v1.95

- Structs tab implemented.

Notes: I used Structures.str file from the RosAsm. Look at this file to see the format of struct definition (every char is important). The format is like this:

[RECT]

but it can also look like this
[code][ACMFORMATCHOOSE]ACMFORMATTAGDETAILS_FORMATTAG_CHARS[/color]|szFormat B ACMFORMATDETAILS_FORMAT_CHARS...

The latter will probably not work as only the first format is currently supported. The second contains some constants, like the blue one, which I can't use now...

U can use D, W and B now.

This file is pretty big, so feel free to remove uneeded structures or create your own.


To see integers that were there in version 1.0 just choose some struct containing only integers, like RECT or SIZE.

Posted Image
Posted Image

majkinetor
  • Moderators
  • 4512 posts
  • Last active: Jul 29 2016 12:40 AM
  • Joined: 24 May 2006
v2.0 b1
- Reverse struct interpretation. Add - infront of struct name, for instance "-RECT" (thx skan)
- Tooltip to show struct members when current tab is not struct tab. You can toogle it in setup tab.
- Bug fix (inproper selection count, see pic above)
- Some minor improvements of struct tab.

NOTE: Example removed from the include file. You can't see it by executing HexView.ahk any more.
Posted Image

majkinetor
  • Moderators
  • 4512 posts
  • Last active: Jul 29 2016 12:40 AM
  • Joined: 24 May 2006
v2.0 rc1

- Interface redesigned to add space for more tabs and options.
- Sync scrolling now works in ascii. If you move cursor in asci edit appropriate byte will be selected in hexa view. If you have tooltip ON you can see the decimal value of the byte that will be automaticaly selected by cursor moving.
- Options to set hex format for struct members and/or offset
- Show or hide header in struct list view (enable it to sort and move columns)
- Last active tab is now saved and restored on next run. You can override this by using pActiveTab parameter
Posted Image

majkinetor
  • Moderators
  • 4512 posts
  • Last active: Jul 29 2016 12:40 AM
  • Joined: 24 May 2006
v2.0 rc2
- Includes merged so you can include HexView easier. Package now includes:
HexView.ahk - contains hexview include
Structures.str - contains default structure list
EXAMPLE.ahk - example of usage- You can override struct list that is by default taken from the Structures.str file. If you don't want to use this file, or if you just want to override it in some situations, define HexView_structList global variable before calling HexView. The variable should contain struct definitions the same way like in file. For example:
HexView_structList = [SIZE]- Some minor improvements.
Posted Image

Laszlo
  • Moderators
  • 4713 posts
  • Last active: Mar 31 2012 03:17 AM
  • Joined: 14 Feb 2005
A wish: could you change the first parameter to be an address? For viewing AHK variables only an & has to be added: HexView(&s, 132), but inspecting results of dllcalls, pointing to structures will become much easier.

majkinetor
  • Moderators
  • 4512 posts
  • Last active: Jul 29 2016 12:40 AM
  • Joined: 24 May 2006
True.

Thx
Posted Image

majkinetor
  • Moderators
  • 4512 posts
  • Last active: Jul 29 2016 12:40 AM
  • Joined: 24 May 2006
v2.0
- Width can be changed now. Your last width is saved (so now you can see long struct names)
- Active selection is saved on exit and returned on next load (so your struct view is returned the way you left it)
- Changed first parameter to be address instead variable (Thx Laszlo)
- Double left click at the struct row copies row to clipbord
- New Option: copy entire row or just a value
- Double right click at the struct row displays text at the address

txt := "You see me"
	l := 1

	VarSetCapacity(STRUCT, 16)
	InsertInteger(&txt, STRUCT)
	InsertInteger(l,	STRUCT, 4)

	HexView(&STRUCT, 16)
return
#include HexView.ahk

Posted Image
Posted Image

majkinetor
  • Moderators
  • 4512 posts
  • Last active: Jul 29 2016 12:40 AM
  • Joined: 24 May 2006
version 3.0

See History on first page
Posted Image

majkinetor
  • Moderators
  • 4512 posts
  • Last active: Jul 29 2016 12:40 AM
  • Joined: 24 May 2006
v3.1

- Synchronised selection of hex and ascii edits reimplemented using
subclassing instead of timer. HexView doesn't create timer anymore and selection sync is real time.
Posted Image

step
  • Members
  • 21 posts
  • Last active: Feb 21 2012 11:04 PM
  • Joined: 23 Jan 2012
To make HexView load I had to replace all occurrences of aMember[X] with aMember___X___ for any X

  • Guests
  • Last active:
  • Joined: --
Can't download,Is there any backup source file?

stevenp
  • Members
  • 197 posts
  • Last active: Sep 23 2014 05:47 PM
  • Joined: 28 Aug 2006
Just checked the Cache, there is no HexView
majkinetor, please reupload it
is there an alternative?
"Simplifying complexity is not simple"