View Full Version : Editing config.bin
Hi all,
i have tried to edit the main config.bin in bin.pbo.
Eliteness tool works fine and unbpo process is ok, , but i am not able to rapify the modified config.ccp and convert it in bin.
Is there any solution to get this file working?
Thanks
Cheers
Yes...
1. Don't use Eliteness... it does not Unbin the file properly with respect to Arrays and quotes for strings... use Keg's unbin prog.Kegetys website. (http://www.kegetys.net/arma/)
2. The community does not have an Armed Assault rapify prog. available as yet... ie. cpp2bin type of prog.
So, don't bother atm trying to rebin the .cpp file just leave as is...
Very useful tip!
Thanks
Quote[/b] ]1. Don't use Eliteness... it does not Unbin the file properly with respect to Arrays and quotes for strings
this is news to me. Since Kegs took the information directly from me, i'm surprised. Details please.
Quote[/b] ]
2. The community does not have an Armed Assault rapify prog. available as yet... ie. cpp2bin type of prog.
again, incorrect. Elitness2.04.rar (http://andrew.nf/ofp/tools/eliteness2.04.rar)
rapification occurs for any class text, with the option to generate either arma/elite or ofp style encoding. In fact, this is the only significant difference between our tools. Eliteness rapifies, kegs, currently does not.
Moving to A & M Discussion
When I try to to raPify the config.bin after I have made some changes, Eliteness 2.04 gives me an error - "Line xxxxx. No Memory." The line number changes if I try to delete some information (such as the names section).
Any ideas?
@<hidden>
I would have to see the text file concerned. Send it to me via skype or my email.
Regardless, this is a bug, and shouldn't be happening.
Hi Fideco
send me the details please, sooner, the better.
mike.andrew on skype
mikero@<hidden>
or a pm here
thanks
Lol, apols... very quick response to bug fixing on you're part... most excellent.
Good Job... Cheers.
I agree - his repsonse time is incredible.
@<hidden> - Thanks for your help!
Latest eliteness is here
http://andrew.nf/ofp/tools/eliteness2.07.rar
fixes above memory problem and a few more 'features'
i remain unaware of array issues mentioned early in this thread.
phaeden
Dec 10 2006, 00:08
Well, I am able to use it properly now without the memory error - however, now I can't seem to get the files to stay the way I write them.
For example:
Line 21616: plateLetters = "ABCDEFGHIJ";
I've tried changing it to : plateLetters = "0123456789";
but when it raPifies it, it changes it to:
plateLetters = 123456789;
The same thing happens to lines 21634 and 21645:
formatX = 000;
formatY = 000;
when rapified, it changes to:
formatX = 0;
formatY = 0;
As a result, the information is not displayed correctly ingame. I know that my target folder is working as the WGL6 Map Markers work just fine.
Sorry to bother you again - any help is appreciated. http://forums.bistudio.com/oldsmileys/help.gif
No problem here with 2.07 version.
Thanks
wwwwwwwwwwwwwaaaaaa what are you doing to my poor little program phaeden !
sigh. Ok, i'm onto it. and yes, definite bug.
http://andrew.nf/ofp/tools/eliteness2.08.rar
fixes above.
latest 'n greatest version always found at
http://andrew.nf/ofp/tools/index.htm top of page
phaeden
Dec 12 2006, 05:38
The dude is amazing - he did it again - another quick update. This guy should be getting paid.
BTW - It works now:
http://usmc.squadengine.com/forums/uploads//post-37-1165893874.jpg
Sgt_Eversmann
Dec 12 2006, 08:07
thanks for the updated elitness http://forums.bistudio.com/oldsmileys/thumbs-up.gif
best tool for pbos I think so far http://forums.bistudio.com/oldsmileys/smile_o.gif
AngusHeaf
Dec 25 2006, 21:00
I've been trying to get Eliteness to run on my system for the last couple days and I can't figure out why each time I start it it crashes. Phaeden can't figure it out either and I've harassed him a lot on AIM. http://forums.bistudio.com/oldsmileys/wink_o.gif
Any ideas? I've extracted depbo.dll into the Eliteness folder. I tried putting depbo.dll into \system32 as well. I'm using the most recent Eliteness and DePBO 1.44.
When I run Eliteness it says....
Eliteness MFC Application has encountered a problem and needs to close. We are sorry for the inconvenience.
AppName: eliteness.exe AppVer: 1.0.0.3 ModName: msvcrt.dll
ModVer: 7.0.2600.2180 Offset: 00032a16
Any ideas? I'm on WinXPSP2 Home.
stingfish74
Dec 26 2006, 11:23
hey AngusHeaf
I get the same error as well. will wait for some help. but i cant get it to work and get the exact same error as you. http://forums.bistudio.com/oldsmileys/sad_o.gif
stingfish74
Dec 27 2006, 16:03
anyone else getting this error? i tried to install it on my dads computer and still the same error. can someone provide a link to a older verison of this tool? it seems 2.08 may not work!
Jackal326
Dec 27 2006, 18:51
Did you both correctly install the DLL file that accompanies Eliteness?
A quote from the readme file:
Quote[/b] ]OFP general inspection and play tool by Mikero@<hidden>
originally designed to assist with Flashpoint : Elite
place the dll in your windows/system folder
place the gui anywhere that gives you a thrill
stingfish74
Dec 27 2006, 19:07
i stuck it in my windows/system32 folder. i found a older version that works tho.
Quote[/b] ]
I'm using the most recent Eliteness and DePBO 1.44.
I'm using Eliteness 2.08 and I am using DePBO 1.45 with it, this might be the problem here.
Go to Mikero's site.......link at the first post on this page......and get the latest of everything.
Planck
stingfish74
Dec 27 2006, 20:29
well, screw it.
here is the deal... why cant i seem to get the config to work w/out error?
ill open the config.bin using eliteness, make my edit (something small like change a speed of a bullet) then "save as"
place the file back into the folder, re pbo it but i always get a freakin error!
will someone please post some best practices on how to edit the config file? step by step and what tool they are using?
USMCRP3
Dec 28 2006, 01:04
Fixed, I was being a Jacka** http://forums.bistudio.com/oldsmileys/yay.gif
Same error as angus
Extracted to my eliteness folder and tried the system32 dir.
Still doesn't work
AngusHeaf
Jan 12 2007, 20:00
Yes I followed the instructions according to the site linked above in this thread. I tried both the DLL in the system32 directory and the eliteness directory, neither worked. Right now I'm using Eliteness 2.01 which gives me an error when I try to bin a config.cpp file.
I'm pretty depressed. http://forums.bistudio.com/oldsmileys/sad_o.gif
I can't run Eliteness either, and cannot get hold of the older versions either.
Seems I will have to wait for offical tools..
Windows/system or windows/system32 makes no diff or even in same folder as eliteness.exe.
Mikes been away on holidays. He'll pick this up when hes back.
hoz
Hi folks.
I'm not much good at windoze anything being a linux man so doing best i can to sort it out...... basic problem appears to be if you dont' install it on a 'standard' C:\drive, then issues arise.As far as I can tell, it needs c:\windows\system32 to work 'correctly'.
Shall look into that.
Hi Mikero
This could be exactly why it doesn't work for others.
I installed the .dll under c:\windows\system32
and it works properly on 32bit and 64bit systems for me.
Thank you very much for this great tool!
Hi Mikero,
fyi, I have eliteness 2.08 running on a completely seperate windows partition (that is.. not the C partition where my windows installation resides) under 64-bit Windows XP pro.
It runs fine when the depbo.dll is in the same directory as eliteness.exe but not when in the c:\windows\system32 directory.
The afore mentioned errors regarding...
Quote[/b] ]Eliteness MFC Application has encountered a problem and needs to close. We are sorry for the inconvenience.
AppName: eliteness.exe AppVer: 1.0.0.3 ModName: msvcrt.dll
ModVer: 7.0.2600.2180 Offset: 00032a16
might be something like...
- The people in question don't have SP2 installed correctly or
- Their Windows is not right up to date with any MS patches or
- Eliteness might not be compatiable with the runtime on Home edition or
- Eliteness was complied against a later version of the C runtime library and maybe might require later versions of mfc42.dll and msvcrt.dll to be present on their machines.
Anyhoo, just some thoughts...
I have another wee problem for you...
ArmA version 1.2.0.5103 ui.pbo
- Extracts fine
- Select the config.bin thats extracted and hit the Derapify button
- Save the extracted text as config.cpp in the same directory
- Make no changes to config.cpp
- Pbo the directory back up and placed back into ArmA
- Run ArmA and I get the following error...
File ca\ui\config.cpp, line 739: '/RscDisplayMainMap/controls.extern': 'c' encountered instead of '='
When you get a chance to have a look... Cheers.
Thanks for the effort, you're a trooper.
PS. feersum's derapification wouldn't load back up, Keygetys did but had problems with UI artifacts floating about the screen.
Syb, that sounds alot like it is a lint error telling you that there is a problem with the config file.
Killswitch
Jan 19 2007, 14:26
I too, can't get Eliteness 2.08 running using either the 1.44 or 1.45 versions of the DePbo.dll. The DLL has been tested either in the same folder as Eliteness.exe, placed only in %SystemRoot%\system32 or present in both locations. I hope you can figure it out, Mikero, because it seems like a fine GUI tool. I'm making do with the CLI tools in the mean time.
Speaking of those, I have a problem with the rapify tool. It seems to choke on #defines within an #ifdef or #ifndef block. Here's an example:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#ifndef KLSTEST
#define KLSTEST
#endif
class CfgPatches
{
class KLS_Test
{
units[]={};
weapons[]={};
requiredVersion=1.96;
requiredAddons[]={};
};
};[/QUOTE]
Output of rapify 1.20:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">D:\test> rapify config.cpp
rapify Version 1.20
#ifndef KLSTEST
ERROR: Line 2
Expected array[] or =
D:\test>[/QUOTE]
latest version of eliteness (2.09) is available here
http://andrew.nf/ofp/tools
it *might* fix the crash problems. certainly hope so.
@<hidden>
my debpo dll doesn't handle #ifdef #ifndef and neither afaik does the bis engine
Hmmm... Went to your website for v2.09 but couldn't see it anywhere.
Not that v2.08 isn't working fine for me, but it's always nice to keep up with the latest version of things...
Maddmatt
Mar 23 2007, 10:38
latest version of eliteness (2.09) is available here
http://andrew.nf/ofp/tools
it *might* fix the crash problems. certainly hope so.
@<hidden>
my debpo dll doesn't handle #ifdef #ifndef and neither afaik does the bis engine
You need to change the link on your site, it still links to 2.08.
Correct link for 2.09 here (http://andrew.nf/ofp/tools/Eliteness2.09.rar).
Maddmatt
Mar 23 2007, 10:41
Just tried 2.09, it didn't fix the problem for me. I still get the same crash. I will check Windows update, maybe that will help.
Edit: Windows updates didn't make a difference.
As Mikero has written this App with Visual Studio 6.0 SP6 the guys that are having the MFC errors might want to try downloading Visual C++ Express Edition (http://msdn.microsoft.com/vstudio/express/downloads/default.aspx).
It's free and it may update the necessary mfc42.dll and msvcrt.dll to a level that is compatible with Eliteness v2.09.
(That's if you don't have Visual Studio 6.0 with SP6 applied stored away in a bottom draw...)
Cheers, Sy
Maddmatt
Mar 23 2007, 19:52
As Mikero has written this App with Visual Studio 6.0 SP6 the guys that are having the MFC errors might want to try downloading Visual C++ Express Edition (http://msdn.microsoft.com/vstudio/express/downloads/default.aspx).
It's free and it may update the necessary mfc42.dll and msvcrt.dll to a level that is compatible with Eliteness v2.09.
(That's if you don't have Visual Studio 6.0 with SP6 applied stored away in a bottom draw...)
Cheers, Sy
Tried that, didn't help either. Eliteness sound like a good tool, I would really like to be able to use it http://forums.bistudio.com/oldsmileys/sad_o.gif .
Maddmatt... lol, well I'm fresh outta ideas then... sorry. http://forums.bistudio.com/oldsmileys/sad_o.gif
well folks, i am going to have to find a machine where the bloody thing DOES crash!
man, this is frsutrating!
http://forums.bistudio.com/oldsmileys/crazy_o.gif
hmmm.. how about this then...
Try downloading the free Microsoft Virtual PC 2007 software from here (http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx).
And setup another Win32 virtual PC and try running Eliteness from within that... dunno.
Oh, and I think the needing to be installed on the C:\ thing maybe is not the problem... As my eliteness is just sitting in a folder on my O:\ drive with depbo.dll sitting in the same folder and works fine. However, I am running WinXP Pro 64bit so maybe wow64 is dealing with this better than XP32bit...
Maddmatt
Mar 30 2007, 13:19
Hope you manage to fix this soon. Eliteness would be very useful for me.
Eliteness version 2.10 available here (http://andrew.nf/ofp/tools/eliteness2.10.rar)
Killswitch
Apr 1 2007, 02:35
@<hidden>
my debpo dll doesn't handle #ifdef #ifndef and neither afaik does the bis engine
Rgr on the DePBO DLL. One can actually use those preprocessor directives with OFP and ArmA. We used these directives extensively when working on WGL5 and they occur frequently within the chaos that are the WGL5 config files. http://forums.bistudio.com/oldsmileys/biggrin_o.gif
I just tried Eliteness 2.10 (which still crashes inside msvcrt.dll in the way described earlier in this thread). I'll try finding a newer version of it and see where it leads.
Maddmatt
Apr 1 2007, 09:37
I just tried Eliteness 2.10. It still crashes for me as soon as it starts.
hey guys,
sorry a little off-topic but i thought this question might fit here.
i'm still new to this and i'm wondering what program do you use to edit the config.cpp?
wordpad? or is there anything more convenient out there?
Be sure to grab Kegetys Arma tools right here (http://www.kegetys.net/arma/). Use the Unrap tool to convert the .bin file to a text file.
Personally I use notepad to edit the config files, it seems the easiest to me http://forums.bistudio.com/oldsmileys/wink_o.gif
thanks for your reply,
yeah i already have the tools, they are really nice.
i've been using wordpad to edit the config.cpp until now and was hoping there might be something a little more practical around...
sometimes it gets a little labor intensive changing a whole block of values which are basically the same number for example...copy/paste helps a little but not much
oh well i guess i'll have to keep on typing everything then;)
Use ultraedit... I'm sure you can track it down...
Also, in Keygety's 'tools' zip file there is a 'syntax highlighting' import file for Ultraedit that highlights different parts of the 'code'... nice.
hey thanks man!
i'll check it out...
Eliteness2.12 (http://andrew.nf/ofp/tools/Eliteness2.12.rar) now fixes the crashing problem some folks reported.
it also handles the FleaBomb introduced to pbo's made using Flea's pbo makers. You will encounter this 'problem' on many, if not most addons made for Arma from our Russian Komrades.
The newer version of eliteness also prevents system and hidden files being incorporated in a pbo, which, is a real bonus for those guys using cvs or sourcesafe applications to create their addons.
Enjoy.
'flea bomb'http://forums.bistudio.com/oldsmileys/huh.gif
please enlighten... haven't looked at flea's stuff. If he's doing something dodgy I for one would certainly like to know.
'flea bomb'http://forums.bistudio.com/oldsmileys/huh.gif
please enlighten... haven't looked at flea's stuff. If he's doing something dodgy I for one would certainly like to know.
most, if not al pbo tools expect to see a 'standard' resistance header containing three ascii strings, declaring in effect that this pbo is a resistance style vs a cold war crisis one.
arma altered the information contained in these strings to contain what bi call virtual paths. (the location of the parent pbo)
the flea pbo maker is a quick 'n dirty to get the job done. it would not, for instance, understand a cwr pbo if it was bitten by one, and the results for arma pbo's are problematic.
flea essentially stripped these strings out as being unecessary (which was true), declaring only a single, null string, void of information. A wrinkle that the 1.95 engine can 'understand' but, afaik, no one else even thought of doing that.
i doubt flea intended this as a crippler, simply a quick means to an end, to produce resistance pbos. or at least pbo's that the 1.95 engine would forgive. However, past history with our comrades from Moscow where there were indeed deliberate attempts to stop decoding (amalfi's excellent pbo tools eg) mean they will use this one too for the same purpose.
Maddmatt
May 21 2007, 15:15
Eliteness2.12 (http://andrew.nf/ofp/tools/Eliteness2.12.rar) now fixes the crashing problem some folks reported.
Works perfectly. Thanks. http://forums.bistudio.com/oldsmileys/smile_o.gif
http://andrew.nf/OFP/Tools/Eliteness2.14.rar
fixes some irritations with arma style rapification
also corrects some poorly formed 'strings' masquerading as integers
http://andrew.nf/ofp/tools/eliteness2.15.rar
and also
http://andrew.nf/ofp/tools/MikeroDosTools1.4.rar
the dos tools are a dos console version of the functions available in the Gui (Eliteness) and now also include an updated version of patchpbo that will merge two Arma (or elite) pbo files together (or any other pbo file for that matter).
dos tool makepbo now raPifies (binarizes) the relevant file(s) such as config.cpp such as description.ext if allowed to.
see documentation inside rars
Enjoy
kmossco
Jul 25 2007, 06:06
Thanks mate http://forums.bistudio.com/oldsmileys/smile_o.gif this will be useful.
Glad to see you're back http://forums.bistudio.com/oldsmileys/notworthy.gif
.kju [PvPscene]
Jul 25 2007, 06:11
you rock Mikero http://forums.bistudio.com/oldsmileys/notworthy.gif http://forums.bistudio.com/oldsmileys/smile_o.gif
CameronMcDonald
Jul 25 2007, 06:21
Lovely! Wanted to .bin my .cpps for some time now. http://forums.bistudio.com/oldsmileys/biggrin_o.gif
http://andrew.nf/ofp/tools/DePbo1.55.rar
fixes the 'delete' problem with Eliteness 2.15
download and replace the dll contained in the above rar file with that supplied in in the eliteness package
(http://andrew.nf/ofp/tools/Eliteness2.15.rar)
---
also, http://andrew.nf/ofp/tools/MikeroDosTools1.41.rar
now contains an improved patch pbo that allows you to set the prefix header (rather than assume it's name is one of the patched, pbo's)
syntax patchPbo -APrefix\Folder\Name this.pbo that.pbo
output is to that.patched.pbo but the prefix header contains "Prefix\Folder\Name"
Maximus-Sniper
Aug 14 2007, 17:55
Hi
Eliteness 2.15 will not start with the new DePbo.dll (1.55)
Hi
Eliteness 2.15 will not start with the new DePbo.dll (1.55)
he's working on it...
Thanks for that
http://andrew.nf/ofp/tools/Eliteness2.17.rar
.kju [PvPscene]
Aug 15 2007, 06:26
sincere thanks Mikero http://forums.bistudio.com/oldsmileys/thumbs-up.gif
http://andrew.nf/ofp/tools/eliteness2.18.rar
is now available for your viewing pleasure http://forums.bistudio.com/oldsmileys/crazy_o.gif
fixes bug where arma style pbo's could not be created DUH!
(Thankx Planck)
http://andrew.nf/ofp/tools
new versions of
eliteness2.23
dostools1.42
depbodll 1.62
Major improvements above are (mostly) to do with ArmA
better include path statements (very different to ofp)
arma sensitive #defines (not quite as powerful as ofp, in cpp mode)
more aggressive lint checking (arma *loves* semicolons)
will now create bisignatures for MP play
rapified (binarised) rvmat files and lintchecking
among other things .... http://forums.bistudio.com/oldsmileys/whistle.gif
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.