Page 1 of 1

BinHexEdit problems...

Posted: Tue Apr 09, 2019 11:16 pm
by rogue518
I've been trying to install BinHexEdit for months but keep getting MSFLXGRD.OCX not correctly registered: file is missing or invalid.

Sincerely, Rogue518

Re: BinHexEdit problems...

Posted: Tue Apr 09, 2019 11:27 pm
by capitanguinea
what kind of OS are you using?

Re: BinHexEdit problems...

Posted: Tue Apr 09, 2019 11:29 pm
by rogue518
Windows 10

Sincerely, Rogue518

Re: BinHexEdit problems...

Posted: Tue Apr 09, 2019 11:51 pm
by Bman
I can't get BHE to fully function on Windows10 64x either in editing mode. My guess is that the .ocx are outdated files that were meant for Win XP Pro and older O/S's, maybe Windows 7 X86 32-bit and in compatibility mode? Pretty much most of the MSDN library files that were native to VB6.0 and older. As O/S's change, so do the HL language compilers. Your best option is to install an older O/S on a small separate HD and boot from that, install BHE there, then finally transfer your file(s) back to your newer hard drive.

Re: BinHexEdit problems...

Posted: Wed Apr 10, 2019 12:54 am
by Darksaber
Here's BHE without the installer
BinHexEdit0525.rar
latest BHEDSUCPModulev1.5 included

Either go to my website here at the bottom of the page you will see

Visual Basic 5 Learning Edition Runtime Files and Visual Basic 6 Run Time Files

Ty installing Visual Basic 6 Run Time Files first though

You need these installed to run BHE, I don't know if these will run on Win10 though

If not try searching for Visual Basic 6 Run Time Files for windows 10

Hope this helps

Re: BinHexEdit problems...

Posted: Wed Apr 10, 2019 2:35 am
by Justagai
For some reason, running the BHE installer along with the VB5/6 installer doesn't seem to work in Windows 10 for some reason. I haven't tried running BHE without the installer.

There is a BHE installer that includes the VB5 files. https://1drv.ms/u/s!AoEpIrw6LOkUjNttIsFA-nJDShOtiQ

That one should work for sure. I have no idea why running the installers separate doesn't work.

Re: BinHexEdit problems...

Posted: Wed Apr 10, 2019 3:01 am
by rogue518
Thanks Darksaber and Justagal that did the trick!!! For some reason installing this: https://1drv.ms/u/s!AoEpIrw6LOkUjNttIsFA-nJDShOtiQ helped.... ;)


Sincerelly, Rogue518

Re: BinHexEdit problems...

Posted: Thu Apr 11, 2019 2:15 am
by Bman
I have all the above since 2001/2006 and could not keep BHE from CTD when you try to edit something on Windows10 64x. Thanks Justagai for your link too, will try it out this weekend.

Re: BinHexEdit problems...

Posted: Mon Aug 05, 2019 6:42 pm
by Jerebaldo10
Hi all, I've got UCP 2.6 installed and ready to go, but first wanted to tackle something that's bothered me since the Tie Fighter days: the uselessness of space bombs compared to heavy rockets. I wanted to drastically up their damage and just hope it doesn't make any XWA campaign missions impossible to beat. I installed BinhexEdit using the newest installer that comes with the old runtimes. That appeared to install fine. When attempting to use Binhex to edit any project, however, I get a "Run-time error '70: Permission Denied" error, and the Binhex CTDs. So, sounds like exactly what the poster above has experienced.

I've already tried fully excluding the executable from antimalware, and all of Windows Defender's exploit protection functions. I'm running Windows 10 x64 1903 with the latest patches, if that helps.

Thanks,
-Jerebaldo10

Edit: Was able to work around it by using an WinXP SP3 VM

Re: BinHexEdit problems...

Posted: Fri Aug 23, 2019 5:19 am
by Bman
Justagai, thanks for download but still doesn't work for Windows 10 X64. When double clicking a field to go into edit mode in the .exe, BinHexEdit closes after the same popup box "Run-time error '70: Permission Denied". I think this because BinHexEdit trying to use an outdated .ocx object control file that will not work on Windows 10 platform. I'm not fond of using MXvTED4.2 because it seems to change other field values when you edit something to auto-balance other stats.

Unless a new editor is made, I'm beginning to think a patcher.xml file is next best option. Does anyone know what is the actual Offset say for example the "[4/289] Weapons - Power" section in BinHexEdit for the first weapon type slot "280" Half Red Laser => LaserRebel.opt ? BinHexEdit displays the Offset as "1790136" 4 bytes, for value "250". I don't think that is the true offset description. Put another way, how would it be translated into the actual Offset alpha-numeric Hex value ? The input value of 250 I assume would need to be translated too.

What I'd like to do is replace BinHexEdit and MXvTED4.2 with something like this that is more flexible:

<Patch Name="Weapons-Power Stats" Description="To Change Weapon Slots Powers">
<Item Offset="1790136" From="250" To="300"/>
<Item Offset="1790140" From="500" To="600"/>
< . . . all way down to slot 307/>
</Patch>

Other sections too Weapons - Speed, duration, type etc. These define attributes of how all weapon slot types behave for all .opt models with WP hardpoints. It would probably be more efficient to have a .cfg, .txt or .ini global file where the "values" are read and translated through a hook .dll file. But just to get a working patcher.xml file for now is good enough.

Re: BinHexEdit problems...

Posted: Fri Aug 23, 2019 9:22 pm
by keiranhalcyon7
Quite possibly, the most robust solution would be to use XWA patcher's underlying I/O libraries to reimplement BHE without all the aged dependencies.

Re: BinHexEdit problems...

Posted: Sat Aug 24, 2019 1:59 am
by Bman
Edit: I figured out how to find/translate the actual offsets. BHE references each offset in decimal format. 0, 16, 32, 48, ... etc. Hard part is applying new values above 255 (FF in hex) I'm not clear about how to do that accurately.

Re: BinHexEdit problems...

Posted: Thu Aug 29, 2019 5:08 pm
by JeremyaFr
Hello,
Since BHE v0.5 doesn't work anymore, you can use BHE v2:
BinHexEdit v2

Re: BinHexEdit problems...

Posted: Thu Aug 29, 2019 11:03 pm
by Bman
Beautiful. Thanks Jeremy