GtunerIV icon indicating copy to clipboard operation
GtunerIV copied to clipboard

IC-Bytetable - Helpertool to show the GUI pmem byteoffsets/sizes/name/... in a table

Open Scachi opened this issue 7 years ago • 9 comments

This tool "IC-Bytetable" helps Titan Two script creators to keep track of the used pmem byteoffsets of their GUI, spot free space easily and does some error checking like overlapping memory space and more.

It does parse a gpc script from file or clipboard, searching for Interactive Configuration declaration, showing the result in a table.

You can import/export/select/edit pre-settings for easy creation of one click configuration buttons. More information can be found at the forum: https://www.consoletuner.com/forum/viewtopic.php?f=26&t=6935

QT Version: New rewritten app utilizing the QT library is available via github: https://github.com/Scachi/IC-Bytetable Compiled for Windows: https://github.com/Scachi/IC-Bytetable/releases/tag/Test_0007

AutoIt Version This old version is for Windows OS as it is using the AutoIt script language. The autoit version for download is always available here: Compiled script/exe:IC-Bytetable_win-exe_v1.6.23.zip AutoIT source code:IC-Bytetable_autoit_Src_v1.6.23.zip

Screenshot: screenshot_v1_6_9

Scachi avatar Sep 13 '17 20:09 Scachi

I have created a little tool in autoit script language (win only) that I use for finding free byteoffsets and a little error checking.

Forum post: https://www.consoletuner.com/forum/viewtopic.php?f=26&t=6935

ic-bytetable IC-Bytetable_win-exe.zip IC-Bytetable_autoit_Src.zip

Scachi avatar Sep 14 '17 22:09 Scachi

Thinking more about it, an order number would be a great addition anyway. This would/should/feature request allow us to split the Interactive Configuration into parts and put them into multiple GPH files while still being able to put some new options in between (location wise in the window) others gph files Interactive definitions.

This may require to define ordering positions with decimal numbers for beeing able to put something between ordering number 1 and 2, as an example

Scachi avatar Sep 16 '17 13:09 Scachi

This is genius. Taking it a step further, why can't it just do memory allocation on its own? Totally abstract this from the user altogether.

PablosScripts avatar Sep 18 '17 06:09 PablosScripts

I have updated my program: Some buttons to paste from clipboard, or select a file, or reload the last file You can alter the values in the columns "new-val" and "new-hex" by dblclick on the cell you want to change, it updates the other cell automatically You can import a configstring and see the difference to the default settings with some error checking You can export selected items , it will create a GIVICFG: configstring for the selected items only or if nothing is selected for all values with a new value in the column "new-hex"

..it may contain fewer bugs now ;-) ..

grafik

Added a icon to the program grafik

IC-Bytetable_win-exe_v1.5.0.zip IC-Bytetable_autoit_Src_v1.5.0.zip

Scachi avatar Jul 21 '18 17:07 Scachi

Thanks to protoype for the idea, featuring a "PMem-Usage" button to spot free/used space easier.

grafik

New Version 1.6.4 : Bugfix for another thing being able to cause a crash

New Version 1.6.3 , changed two things: Fixed bug with resizing of the bit/byte usage labels in the top at the PMEM-Usage window The Escape key no longer closes the main window, it will only close the PMEM-Usage window if it has focus when you press Escape. The PMEM-Usage window gets placed right of the main window when it is opened for the first time when the desktop has enough space left for it to fit.

Version 1.6.2 Changes : The program shouldn't crash anymore by invalid byte/bit usage or something similiar. Fixed bug with fix32 not being displayed correctly in the PMEM-Usage table. Scrolling to the entry by dbl clicking on a byteoffset works from both lists for the other now.

IC-Bytetable_win-exe_v1.6.4.zip IC-Bytetable_autoit_Src_v1.6.4.zip

Scachi avatar Jul 30 '18 21:07 Scachi

New Version 1.6.7: fixed: this program was blocking Escape key press for all windows, not only for the own GUI windows

New Version 1.6.6: Fixed possible crash on export of values Add copy/paste to right-click context of the main list to copy selected values to a different offset. Holding down shift-key on copy will only copy the new-val/new-cfg entries. Without shift key it will copy the selected new-val and if none are found use the default-val instead.

New Version 1.6.5: Checks for all required fields for each control type Right-click context menu entry to calculate byte/bitsize of selected or checked items Messageboxes have topmost bit set PMEM-Usage gui gets the height of the main windows when it gets placed right of the main window

grafik

IC-Bytetable_win-exe_v1.6.7.zip IC-Bytetable_autoit_Src_v1.6.7.zip

Scachi avatar Aug 05 '18 15:08 Scachi

Version 1.6.9: Holding Shift key down while clicking the Reload button will reapply the current sorting order after reload.

Version 1.6.8: corrected fix16 calculation negative values should be converted correctly now on input/import haven't tested this version much so adding this as a separate comment to keep the old version too.

IC-Bytetable_win-exe_v1.6.9.zip IC-Bytetable_autoit_Src_v1.6.9.zip

Scachi avatar Aug 18 '18 09:08 Scachi

Update, autoit program version 1.6.23 - download link in the very first post Fixed and issue not showing bitsize < 8 elements in bit detail table

Scachi avatar May 24 '20 09:05 Scachi

aimbot

decarlos12345 avatar Sep 12 '21 14:09 decarlos12345