Interactive Configuration ... lost in bytespace ? Helpertool
Re: Interactive Configuration ... lost in bytespace ? Helper
prototype wrote:Yes it's very good! Great work, thank you Scachi.
Very useful to find some mistakes like that:
I am glad that you like it.
It took a couple of tries go get to a result that was easy enough to spot the important information in and still was easy enough to merge it somehow into the existing program.
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Interactive Configuration ... lost in bytespace ? Helper
I am glad you did it and the look is great to organize all mods
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic!
Scripting, a game in the game.
Believe or dare, It's Titanic!
-
Prototype - Major General
- Posts: 3251
- Joined: Sun Dec 16, 2012 1:43 pm
Re: Interactive Configuration ... lost in bytespace ? Helper
Small update - Additional Features 1.6.1 :
Filehistory for up to 5 last loaded files with right click (context menu) on "File" button.
For that and future additions the program now uses a "bt-ic.ini" file that it creates where the program is located.
The reload icon is now animated for a short time after clicking in it as it was hard to see if the button does anything at all.
The icons and animation files are now included in the .exe and gets unpacked into the dir the ic-bytetable.exe is located on the first run.
Going back to gaming and gpc scripting now ;-)
Filehistory for up to 5 last loaded files with right click (context menu) on "File" button.
For that and future additions the program now uses a "bt-ic.ini" file that it creates where the program is located.
The reload icon is now animated for a short time after clicking in it as it was hard to see if the button does anything at all.
The icons and animation files are now included in the .exe and gets unpacked into the dir the ic-bytetable.exe is located on the first run.
Going back to gaming and gpc scripting now ;-)
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Interactive Configuration ... lost in bytespace ? Helper
I have been making changes to my script and wanted to add some more, so I decided to run your tool again to see what available memory slots that I have.
When I run my WW2 script, I get and error message:
Line 9914 (File .....) Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.
I tried it on a smaller script and it worked. Have you ever encountered this?
When I run my WW2 script, I get and error message:
Line 9914 (File .....) Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.
I tried it on a smaller script and it worked. Have you ever encountered this?
-
UK_Wildcats - Brigadier General
- Posts: 2243
- Joined: Thu Jan 08, 2015 6:53 pm
Re: Interactive Configuration ... lost in bytespace ? Helper
Can you pm me the script just for debugging purposes ? I'll delete it afterwards.
The lines between the <cfgdesc> and </cfgdesc> might be enough for me to fix my program.
I think I have no sane checking of bits and bytes used at the moment.
If one sets an ic entry byteoffset > 127 or bit > 7 it mail fail.
I'll add some checking to prevent array limits caused crashes with the next update.
The lines between the <cfgdesc> and </cfgdesc> might be enough for me to fix my program.
I think I have no sane checking of bits and bytes used at the moment.
If one sets an ic entry byteoffset > 127 or bit > 7 it mail fail.
I'll add some checking to prevent array limits caused crashes with the next update.
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Interactive Configuration ... lost in bytespace ? Helper
UK_Wildcats_Fans wrote:I have been making changes to my script and wanted to add some more, so I decided to run your tool again to see what available memory slots that I have.
When I run my WW2 script, I get and error message:
Line 9914 (File .....) Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.
I tried it on a smaller script and it worked. Have you ever encountered this?
I have done some testing with randomly created interactive configuration files,
I got quite a lot of the error you have reported. Thank you for reporting that.
I hope I have fixed now all array related problems in the new version 1.6.2
You can grab it from github and give it a try if you like.
https://github.com/J2Kbr/GtunerIV/issue ... -409021681
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Interactive Configuration ... lost in bytespace ? Helper
Scachi wrote:UK_Wildcats_Fans wrote:I have been making changes to my script and wanted to add some more, so I decided to run your tool again to see what available memory slots that I have.
When I run my WW2 script, I get and error message:
Line 9914 (File .....) Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.
I tried it on a smaller script and it worked. Have you ever encountered this?
I have done some testing with randomly created interactive configuration files,
I got quite a lot of the error you have reported. Thank you for reporting that.
I hope I have fixed now all array related problems in the new version 1.6.2
You can grab it from github and give it a try if you like.
https://github.com/J2Kbr/GtunerIV/issue ... -409021681
New Version 1.6.3 , changed two things:
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.
https://github.com/J2Kbr/GtunerIV/issue ... -409021681
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Interactive Configuration ... lost in bytespace ? Helper
New Version 1.6.4 , fixes another possible cause for a crash - Thanks to UK_Wildcats_Fans for reporting it
https://github.com/J2Kbr/GtunerIV/issue ... -409021681
https://github.com/J2Kbr/GtunerIV/issue ... -409021681
Last edited by Scachi on Fri Aug 03, 2018 2:40 pm, edited 1 time in total.
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: Interactive Configuration ... lost in bytespace ? Helper
Great job figuring this out. Without your tool, I would have been able to identif that I had two problems in my script.
1. I am calling an illegal bitoffset because of my operator error (see below code)
2. I was using the same pmem address (90) for two items.
J2Kbr - Shouldn't #1 above be caught when compiling the code? This is a fantastic tool that would awesome to have as part of the Gtuner assuming you can work out something with Scachi.
1. I am calling an illegal bitoffset because of my operator error (see below code)
2. I was using the same pmem address (90) for two items.
- Code: Select all
[AUTO SPRINT TOGGLE]
group = true
shortdesc = Enable or disable the AUTO SPRINT toggles. You will likley need to disable this toggle when using hold breath with snipers.
byteoffset = 2
bitsize = 1
bitoffset = 90
control = checkbox
default = 1
item = Enable Auto Sprint Toogle
J2Kbr - Shouldn't #1 above be caught when compiling the code? This is a fantastic tool that would awesome to have as part of the Gtuner assuming you can work out something with Scachi.
-
UK_Wildcats - Brigadier General
- Posts: 2243
- Joined: Thu Jan 08, 2015 6:53 pm
Re: Interactive Configuration ... lost in bytespace ? Helper
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
https://github.com/J2Kbr/GtunerIV/issue ... -410526558
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
https://github.com/J2Kbr/GtunerIV/issue ... -410526558
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Who is online
Users browsing this forum: No registered users and 36 guests