Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Delta Force (https://novahq.net/forum/forumdisplay.php?f=101)
-   -   [DFX] Bin File Tool (https://novahq.net/forum/showthread.php?t=50638)

Linker 02-19-2020 09:57 AM

Bin File Tool
 
Good morning all,

Im returning from a long vaca away from DF (about 10 years). It was my child hood game and i always enjoyed playing with the map editor. Ive been away so long now, the WAC files are free to use. So im learning to program them in now. My issue though is im trying to get the .bin program to open, but get an error message.

"component MSCOMCT.OCX or one of its dependencies not correctly registered: a file is missing or invalid"

Anyone have a answer to the problem or a different method to work with .bin files and WAC files?

MAJWIZ 02-19-2020 04:04 PM

You need a BIN FILE EDITOR there is one in this site in util.
to open a BIN file put the bin file in the bin file folder then select bin to text.
once you are done editing your files select text to bin. done

Sil 02-20-2020 12:51 PM

Depending if MSCOMCT.OCX present in the bin program folder, you may need to register it or if not download Visual Basic controls with it.
Open cmd/powershell as admin, navigate to the folder containing the .ocx (cd "path to folder e.g C:\bintool") then enter regsvr32 MSCOMCT.OCX

If you run into problems registering the control, it will more than likely be due to 32bit Windows vs 64bit.

See link below:

how-to-use-the-regsvr32-tool-and-troubleshoot-regsvr32-error-messages

Guest001 02-23-2020 04:57 PM

Manually edit the bin file in notepad by using Bin2Txt and Txt2Bin.

Start by converting any working bin file to text.

The structure isn't that hard to understand, you can plainly see where all the data goes.

Linker 02-23-2020 07:32 PM

I started playing with the editor, and have been quite successful in remembering all the fun things you can do in it. As for the WAC, I playing with it by simply writing the code, its pretty easy after spending some time with it. Still working on a few things like briefing...ect, but have the events and text coding down pretty well.
Its led me to the an old idea. Not sure how many people are still editing, but was hoping to get a custom made campaign by the player going. I looked back at some of my old messages and maps from 2005 and apparently i still have the idea and need to just do it. My last map i submitted 1 year ago, nearly to the day has 4500 downloads, so there must be some people still playing the game.
Anyone up for some mapping and re-living some good times?

Guest001 02-26-2020 12:42 AM

This map has all the extra files. Bin LWF etc...

.ain
.bin
.bms
.dbf
.end
.env
.lwf
.mis
.pcx
.til
.wac

OPERATION SAVAGE GARDEN
https://novahq.net/images.php?Item=M...483&Thumb=true
Download Operation Savage Garden

* AFIK it works the same way for all DF games from BHD and above :gj:

Guest001 02-28-2020 01:42 AM

RE: BIN Editor

OK, it runs just fine on windows 10 but on an older Windows 7 machine the same issue occurred and it failed to run with dll errors.

After investigation I found that the variables.ini file was corrupt.

This was easy to fix by extracting the original from the zip download from NHQ and pasting it over the corrupt one.

Also keeping it away from other program dlls would be a good idea so it might be best to put it in it's own folder.


All times are GMT -5. The time now is 06:27 AM.

Powered by vBulletin®