Feature #4515

ArmA Version Changer

Added by luemmel almost 6 years ago. Updated almost 6 years ago.

Status:Closed Start date:09/14/2009
Priority:Normal Due date:
Assignee:mikero % Done:

0%

Category:SetVersion (Dos Tools)
Target version:Completed
Affected Version:

Description

Tool to change the version in a config.cpp by new default value automatically.

Required features:

- select a pbo file
- decompress pbo
- set new version default value (for instance: 1.00)
- convert if binarized, change, re-convert
- compress

History

Updated by kju almost 6 years ago

  • Status changed from New to Assigned

That'd be quite nice tool indeed.

That said I think mikero can change the value directly.

Updated by mikero almost 6 years ago

  • Category set to PboDll source
  • Status changed from Assigned to In progress

tool on it's way at next release of the dll and friends..

Updated by kju almost 6 years ago

wohoooooo :)

tx mikero!

Updated by kju almost 6 years ago

  • Status changed from In progress to Resolved

Available now. Please test and report back.

Updated by luemmel almost 6 years ago

maybe i used the tool in a wrong way. i always got the message: File config.cpp: EOF encountered

what i did:

1) i put all files (depbo.dll,main.cpp, setversion.exe, config.cpp) into one directory.
2) dos box: setversion 1.03 config.cpp
3) result: File config.cpp: EOF encountered

attached my test config.cpp (version 1.08) => tried to change to 1.03

Updated by kju almost 6 years ago

Actually mikero you did not get the full idea here.
The tool should use a pbo as source,
unpack, change the config and repack internally
and provide the very same pbo again with only the requiredVersion value set to 1.0.

To change a config.cpp is meaningless as this can be done via text editor the same way.

Updated by luemmel almost 6 years ago

i am lost :-)

you are right. this is what i want to have (use directly a pbo file). but in the help/instruction file the syntax requires a cpp or bin file.

------
Useage

SetVersion 1.03 SomePath\Config.cpp or Config.bin
------

i tried to use a pbo instead of a cpp file but i got the error message that the file is invalid so i assume that a cpp have to be used.

can you probide me an example file and command line how to use this tool?

Updated by mikero almost 6 years ago

hi Q you are right about the pbo aspect. i'll revise it, as far as 'meaningless' not quite. The intention there was a broadside change of multiple cpp's but basically, you're spot on right

@luemmel, EOF problem fixed (for other reasons) with latest dll

Updated by luemmel almost 6 years ago

generally it works! but i got in some cases following error messages:

1) Rpa Output is ofp, extern class is not supported
2) EOF message still exists if it is a cpp file (bin works)

Updated by kju almost 6 years ago

  • Status changed from Resolved to Assigned
  • Target version set to Work in progress

Updated by kju almost 6 years ago

  • Category changed from PboDll source to SetVersion (Dos Tools)

Updated by mikero almost 6 years ago

thanks luemmel. The exe is a dog and being thouroughly revised to better suit the real need. Thanks for you feedback regardless and sorry for the aggravation.

Updated by mikero almost 6 years ago

  • Status changed from Assigned to Resolved
  • Target version changed from Work in progress to Completed

version 2.00 is now on site (requires latest dll)

options exist to include / not include changing config.CPP if encountered. (you might not wish to do so)

enjoy

Updated by mikero almost 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF