BinHexEdit problems...

Need help editing the game? Check for help here!

Moderators: Darksaber, General_Trageton, Forceflow

Post Reply

BinHexEdit problems...

rogue518
Commander
Posts: 2061
Joined: Wed Jul 12, 2000 11:01 pm
Contact:

Post by rogue518 » Tue Apr 09, 2019 11:16 pm

I've been trying to install BinHexEdit for months but keep getting MSFLXGRD.OCX not correctly registered: file is missing or invalid.

Sincerely, Rogue518
'Stay in Attack formation!' Darth Vader aka: Anakin Skywalker During the 'Battle Of Yavin'

User avatar
capitanguinea
Cadet 1st Class
Galactic Empire
Posts: 101
Joined: Sun Aug 30, 2015 3:59 pm

Post by capitanguinea » Tue Apr 09, 2019 11:27 pm

what kind of OS are you using?

rogue518
Commander
Posts: 2061
Joined: Wed Jul 12, 2000 11:01 pm
Contact:

Post by rogue518 » Tue Apr 09, 2019 11:29 pm

Windows 10

Sincerely, Rogue518
'Stay in Attack formation!' Darth Vader aka: Anakin Skywalker During the 'Battle Of Yavin'

Bman
Lieutenant JG
Posts: 703
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Tue Apr 09, 2019 11:51 pm

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.
Last edited by Bman on Fri Aug 23, 2019 4:23 am, edited 1 time in total.
W-I-P: ISD-II, XQ-1 Platform1, (Imp) Escort Carrier, Misc, & TFTC.

User avatar
Darksaber

Fleet Admiral (Administrator)
Posts: 10318
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Wed Apr 10, 2019 12:54 am

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
You do not have the required permissions to view the files attached to this post.
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate

Good Things Come To Those Who Wait....
Darksaber's X-Wing Station

Justagai
Cadet 1st Class
Posts: 206
Joined: Mon Dec 08, 2014 10:59 pm

Post by Justagai » Wed Apr 10, 2019 2:35 am

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.

rogue518
Commander
Posts: 2061
Joined: Wed Jul 12, 2000 11:01 pm
Contact:

Post by rogue518 » Wed Apr 10, 2019 3:01 am

Thanks Darksaber and Justagal that did the trick!!! For some reason installing this: https://1drv.ms/u/s!AoEpIrw6LOkUjNttIsFA-nJDShOtiQ helped.... ;)


Sincerelly, Rogue518
'Stay in Attack formation!' Darth Vader aka: Anakin Skywalker During the 'Battle Of Yavin'

Bman
Lieutenant JG
Posts: 703
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Thu Apr 11, 2019 2:15 am

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.
W-I-P: ISD-II, XQ-1 Platform1, (Imp) Escort Carrier, Misc, & TFTC.

Jerebaldo10
Recruit
Posts: 1
Joined: Mon Aug 05, 2019 6:30 pm

Post by Jerebaldo10 » Mon Aug 05, 2019 6:42 pm

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

Bman
Lieutenant JG
Posts: 703
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Fri Aug 23, 2019 5:19 am

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.
W-I-P: ISD-II, XQ-1 Platform1, (Imp) Escort Carrier, Misc, & TFTC.

User avatar
keiranhalcyon7
Ensign
Posts: 274
Joined: Tue Jan 02, 2018 6:41 am

Post by keiranhalcyon7 » Fri Aug 23, 2019 9:22 pm

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.

Bman
Lieutenant JG
Posts: 703
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Sat Aug 24, 2019 1:59 am

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.
W-I-P: ISD-II, XQ-1 Platform1, (Imp) Escort Carrier, Misc, & TFTC.

JeremyaFr
Lieutenant Commander
XWAU Member
Posts: 1606
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Thu Aug 29, 2019 5:08 pm

Hello,
Since BHE v0.5 doesn't work anymore, you can use BHE v2:
BinHexEdit v2

Bman
Lieutenant JG
Posts: 703
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Thu Aug 29, 2019 11:03 pm

Beautiful. Thanks Jeremy
W-I-P: ISD-II, XQ-1 Platform1, (Imp) Escort Carrier, Misc, & TFTC.

Post Reply