View Full Version : MapTweaker Utility (beta) - Copy/Paste/Resize Bix Files!


Dr Alimentado
Jan 03, 2004, 08:47 AM
[Edit 18/01/04: version 0.9b added]

This is an early beta of my MapTweaking Utility. It currently does copy/paste (within a map or between maps), map resizing, map 'nudging', and has an analyser tool (plus tile properties dialog etc.)

It's pretty rough round the edges at the moment, it only works with uncompressed bic/bix/biq files and it dosen't update resource or continent counts when you copy and paste (you have to reload the bix in civ3XEdit to get this.) However, it provides some much missed functionality from the editor so with a little care you may get some use from it :)

Here's the MapTweaker.exe:

[Updated version 0.9b added 18/01/04]
MapTweaker0.9b.exe (http://www.civ3duelzone.com/forum/uploaded/DrAlimentado/200411814740_MapTweaker0.9b.zip)



Here is a DLL this version uses to get at the pcx files:

FreeImage.DLL (http://www.danwilliamson.net/forum/uploaded/DrAlimentado/200311303014_FreeImageDLL.zip)


And if you don't have them already you will need the 1.1b .NET runtimes I'm afraid, get them from micro$oft here:

.NET runtimes (http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en)


Here's the readme:

=============================================


Overview:
-------------------
This is a 'very beta' release of my MapMaking tool. It is a MDI (multiple document interface) application that can load and display uncompressed bic/bix/biq files, perform various operations and save the changed data to a bic/bix/biq again. As it dosen't actually do real 'map-making' yet this beta version is more appropriately called MapTweaker. :)

Current features are copy and paste functionality, map resizing and nudging, resizeable minimap, painting terrain/resources, and analysis stats dialog.


What you need to run MapTweaker:
--------------------------------------------------------
This utility was made with .NET and as such requires the .NET 1.1 runtime. You can download it from microsoft at this url: http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en

In order to read pcx files (only used for resources.pcx in this current form) I have used a dll called FreeImage.dll, it is a 'free source' dll released under a GNU General Public Licence. The documentation for this can be found in it's zip. It needs to be placed in the same directory as the MapMaker.exe. At some point I will eliminate the need for a 600k dll by writing a couple of k of code to do the pcx reading manually... call me lazy for the moment. [Dianthus from CFC has kindly given me his C++ source for reading pcx files, I have a crack team converting it to vb.net... watch this space!]



Installation:
---------------------
Just unzip the MapMaker.exe and FreeImage.dll into your main Civilisation III folder. You can optionally unzip them into another folder anywhere you like and the first time you run the app you will be prompted to manually set the location of the Civilisation III folder.
MapMaker makes no registry entries on your computer and can be uninstalled by simply deleting the exe.



Limitations and workarounds:
-----------------------------------------------
The Map gfx are just a simple representation of the actual tiles, this keeps the loading and displaying of gfx fast. I may yet add an in-game gfx window that will display the map as it would be seen in civ3 when I get the directx sdk going... but I have a ton of other features I want to add first!

The utility in it's current state does little to nothing with the image data in each tile. This means that when you perform operations that move tiles around the map the edges of the changed areas will appear pretty screwy when you load the bix in civ3edit - however the underlying data is correct. To get the correct image data again reload the changed bix into civ3XEdit and paint (change) a tile where it is screwed up and civ3edit will readjust the image(s) appropriately. Eventually I'll get round to figuring out the patterns for this too.
It is important to reload a changed bix into civ3XEdit to allow it to readjust the resource and continent counts also.

You should only use basic maps with this version of MapTweaker - if you have cities or units placed on the map and change the tiles they are sitting on it will cause unpredictable behaviour. You can export and import the basic map data from civ3XEdit for this purpose.

The Selection Tool is a little clumsy around the edges of a selection, you can however modify the selection (or just toggle individual tiles to be selected) by holding down CTRL and clicking.

Note that for the moment MapTweaker can only load uncompressed bix files - To save an uncompressed bix file in civ3XEdit goto View-Options and uncheck the 'Compress BIC File' box. I'll add decompression functionality soon enough :)

Due to the way in which pcx files are currently read non-standard transparent colours will display incorrectly. This means that mods that use pcx files with transparent colours which are different from the colours in the standard pcx files will have problems displaying resources correctly. This will be fixed when I actually write some code to read the pcx files. Custom graphics that use the same transparent colours as the equivalent PTW file should load and display with no problems.

The continent data is not yet updated in anyway by MapMaker. As long as you load the changed bix into civ3XEdit all will be well but it means that the analysis tool will attribute resources to the wrong continents after moving tiles around the map. This will be fixed in a future version.



Known bugs:
----------------------
Start Locs added in maptweaker (by copying a tile with a start loc) may crash the bix (drat!), a workaround is to remove the start loc in civ3XEdit before loading the bix in MapTweaker or after using MapTweaker in civ3XEdit remove it in tile properties, using the r-click -> Delete -> Start Loc will crash it though. I think I know what is causing this, a fix shouldn't be too hard. [still not fixed... for the moment I advise working on maps with no start positions, or at least not copying or placing start locs in maptweaker.]


Bug Reports:
-----------------------
This is an early beta version and there are no doubt plenty of bugs I haven't caught yet! Every time the application runs it creates a debugLog.txt file, if you would like to make a bug report try and recreate the bug (with debug logging set to verbose preferably) then send a description of the error plus the debugLog.txt file and bix file generated during that operation to this email address:

MapTweakDebug@craven-griffiths.net.


You are welcome to send questions comments or ideas to this email address:

MapMaker@craven-griffiths.net


Alternatively just post your bugs and/or comments in the forum thread where you got this from :)




credits:
-------------
Gramphos and others for the incredibly helpful file format threads at Poly. No file format threads = no MapTweaker, nuff said.
ideas, encouragement (ie. listening to me ranting), alpha testing and web space: All the Civ3DuelZone.com MapMaking staff and Admins (and special mention to Melifluous for some early code :D)
Dianthus for providing his source code for pcx reading.
All who give feedback and bug reports in the various forums.





Version History
-------------------------

changes from 0.8b to 0.9b

Features and functionality:
- added C3C (BIQ) support. [Added new terrain types, note: Marsh and Volcano will be visible but unpickable in the brush picker when using non-C3C maps, if pasted from a C3C map into a non-C3C map they will revert to: marsh-> grassland ; volc-> mountains.]
- added change tile bonuses functionality to Tile properties dialog, changed the layout and interface of dialog.
- added selection tools and new menu; analyse selection, deselect tiles of type/terrain, select all/none
- made resources gfx slighlty oversized on map to enhance visibility, added resource gfx toggle in Options-Map gfx

Bug Fixes:
- fixed the reset code in the Resize and Nudge Dialogs so that they reset properly after applying the tool - should fix fatal errors after using the 'apply' button :O
- fixed error with pasting tiles containing modded resources into non-modded map - If you paste tiles with resources that don't exist in the target map (the resourceID number is > max No.of resources) the resource will now be deleted.
- fixed minimap scrolling 'sticking' with very small maps

Misc:
- added BIC Mode indicator in map properties dialog. Useful because C3C editor can save files with .bic/.bix extensions - but actually saves them in BIQ file format! MapTweaker will detect that these files are actually BIQ files and save them as such. Added a pop-up to notify user when such a map is loaded too.
- improved the paint terrain and paint resource functions to better detect whether they should paint or not.
- overhauled the InfoPanel code, messages outputted to user should be more meaningful... (removed some useless messages, added some useful ones, increased the default no of retained messages to 50, added a max no of messages and purge messages options to Options-General)


============================================





Ideas, bug reports, questions, All feedback is welcome :)

Aggie
Jan 03, 2004, 09:48 AM
I used this utility once already and it is AWESOME :worship:

Thanks DrA :thumbsup:

Antiochus VII
Jan 04, 2004, 10:52 AM
I have to agree - it's going to make things a LOT easier to tweak for different scenarios! :thanx:

Dianthus
Jan 04, 2004, 04:37 PM
Originally posted by Dr Alimentado
In order to read pcx files (only used for resources.pcx in this current form) I have used a dll called FreeImage.dll, it is a 'free source' dll released under a GNU General Public Licence. The documentation for this can be found in it's zip. It needs to be placed in the same directory as the MapMaker.exe. At some point I will eliminate the need for a 600k dll by writing a couple of k of code to do the pcx reading manually... call me lazy for the moment.

Hey, Dr, you're lazy :). I wrote some code to do this for my CIVReplay stuff, feel free to use it if you want. The source is <here> (http://www.civfanatics.net/uploads6/ReadPCX.zip)

Dr Alimentado
Jan 04, 2004, 07:46 PM
:cool:

wow, thanks Dianthus! mucho appreciation :goodjob:

(of course I now have to learn some c++ syntax! I am a vb-er but I am sure if I apply some brainpower I'll figure it.)

Rhye
Jan 08, 2004, 04:51 AM
GREAT!!!!!!! Where Firaxis is lazy there's someone who's not! Thank you, I'll download it at once! (And please, make it compatible with BIC and BIQ :) )

Dr Alimentado
Jan 08, 2004, 07:56 AM
BIQ support will be in the next release hopefully, BIC files are already supported :)

Rhye
Jan 08, 2004, 11:04 AM
When is it going to be? I've resized my BIX from 180x180 to 170x170 and I wonder if I should add marshes, volcanos, etc. again or I should wait for next release and re-size again

Gramphos
Jan 08, 2004, 03:08 PM
Originally posted by Dr Alimentado
BIQ support will be in the next release hopefully, BIC files are already supported :)
I hope you find the updated BIQ reference on Poly useful for adding BIQ support. The double defenition of terrain values makes it hard to keep things compatible if you just try to upgrade old functions (and work with saves as well *sigh*) But your utility should not have sush big problem of that, since it's not so very big as C3MT.

Dr Alimentado
Jan 09, 2004, 04:57 AM
Rhye - next release will be in a week or two.

Gramphos - thx for the update! The file format threads are completely invaluable to me.

Lynx-Eyed
Jan 12, 2004, 02:19 PM
First I have to say: Thanks alot!!! This tool is very usefull for very map maker at civfanatics. But I ahev some little problem with your map tweaker and I hope perhaps you or someone can help me with this. When I try to save the resized map I get following error message:
Error writing to File
Error during save:
System.ArgumentException: Source array was not long enough. Check srcIndex and lenght, and the array's lower bounds
at System.Array.Copy (Array SourceArray, Array destinationArray, Int32 destinationArray)
at DrAm.Map.write2file (String sFilename)

Please help me because I want to use this tool!!!! Perhaps it isn't such a big problem, but for me this error message looks like a spanish dialect spoken backwards by an old chinese woman from Switzerland (you know what I mean :D :D :D ).

Dr Alimentado
Jan 12, 2004, 04:55 PM
Ouch, thanks for the heads up Lynx-Eyed. If you can reproduce the error after setting the degug Logging level = verbose (in options) then send me the debuglog.txt file and the bix/bic file it would help me greatly in fixing any bug.

C3C support is about done, I'll release 0.9b at the end of the week most likely.

wangyushi
Jan 12, 2004, 10:26 PM
Thanks!

Lynx-Eyed
Jan 13, 2004, 11:31 AM
I know what the problem is, I used the C3C editor to save my bix and bic files. I will wait until your release of a version which supports biq files too. I hope it will be soon. Can't wait!!!!

Dr Alimentado
Jan 14, 2004, 05:15 PM
Found an interesting thing; bic and bix's saved in the C3C editor are actually biq files with the wrong file extension :o!

The new version will correctly detect files despite the file extension...

biq support, and a couple of new features and bug fixes due at the weekend.

ainwood
Jan 14, 2004, 05:53 PM
By any chance can it be used to convert maps in BIC format to maps in BIQ format?

Dr Alimentado
Jan 15, 2004, 09:30 AM
The C3C editor already does this if you load and save a .bic or .bix file, it just uses the current file ext instead of '.biq' for the filename. The actual data is in the biq file format and has the correct biq version numbers etc. embedded within it, I think I'm right in saying you just need to manually change the file ext to '.biq' in the save dialog (or in windows explorer after saving.)

At the moment I have it so that my app automatically detects the actual file format (and informs you if it dosen't match the file ext) on loading, and then saves it in the same format with the correct file ext on saving.
I could add the ability to manually set the BIC mode to save in if it's useful to you.

ainwood
Jan 15, 2004, 03:56 PM
OK, but is the C3C editor backwards compatable? Eg - can I load a PTW BIX and convert it to a Civ3 BIC?

Dr Alimentado
Jan 15, 2004, 06:46 PM
No it isn't, you can only upgrade files to biq's (same as civ3XEdit upgrades bic's to bix's.)

Changing the BIC mode of normal map files (just a map, no custom rules enabled and no units or cities on the map) will be fairly straightforward to implement. But doing the same for files with custom rules won't be possible until I add in support for scenarios generally.

Lynx-Eyed
Jan 16, 2004, 07:21 AM
Actually I think it sucks that you can't import maps from biqs to bix or bic!

Phoenix
Jan 16, 2004, 10:07 AM
Dr Alimentado - You are GOD!!! This has saved me hours of work in modifing my scenario. Firaxis should sign you up imediatly! :) Thanks a lot. :)

Dr Alimentado
Jan 18, 2004, 08:17 AM
Posted the new version 0.9b in first post.

Main change is C3C support. Here's the full list:


changes from 0.8b to 0.9b

Features and functionality:
- added C3C (BIQ) support. [Added new terrain types, note: Marsh and Volcano will be visible but unpickable in the brush picker when using non-C3C maps, if pasted from a C3C map into a non-C3C map they will revert to: marsh-> grassland ; volc-> mountains.]
- added change tile bonuses functionality to Tile properties dialog, changed the layout and interface of dialog.
- added selection tools and new menu; analyse selection, deselect tiles of type/terrain, select all/none
- made resources gfx slighlty oversized on map to enhance visibility, added resource gfx toggle in Options-Map gfx

Bug Fixes:
- fixed the reset code in the Resize and Nudge Dialogs so that they reset properly after applying the tool - should fix fatal errors after using the 'apply' button :O
- fixed error with pasting tiles containing modded resources into non-modded map - If you paste tiles with resources that don't exist in the target map (the resourceID number is > max No.of resources) the resource will now be deleted.
- fixed minimap scrolling 'sticking' with very small maps

Misc:
- added BIC Mode indicator in map properties dialog. Useful because C3C editor can save files with .bic/.bix extensions - but actually saves them in BIQ file format!
MapTweaker will detect that these files are actually BIQ files and save them as such. Added a pop-up to notify user when such a map is loaded too.
- improved the paint terrain and paint resource functions to better detect whether they should paint or not.
- overhauled the InfoPanel code, messages outputted to user should be more meaningful... (removed some useless messages, added some useful ones, increased the default no of retained messages to 50, added a max no of messages and purge messages options to Options-General)



please note this is still very much a beta, I have some suspicions about altered start locations in mapTweaker being the possible cause of a bug... (if I'm right it will be fixed soon) use at your own risk anyhow!


All feedback welcome :)

Dr Alimentado
Jan 18, 2004, 12:39 PM
Glad you like it Phoenix :)


Here's a very provisional list of what gets added next in some sort of rough order.


things todo next list:

update the start loc data in the bix
update resources and continent counts
implement changing BIC mode (for non-modded maps only), this will allow maps to be downgraded (or upgraded) between .bic .bix and .biq files.

flip selection, rotate selection.
stretch/shrink maps

compressed files support
inline pcx reading (removing the need for the DLL)

new map function (mainly for pasting a section as a new map)
cut functionality

clone brush, replace brush

improve the minimap refresh method to only redraw the changed area (currently it redraws the entire map, hence the slow speed on large maps)




slightly longer term:

overlay information and gfx (mines/roads etc.)

fancy map generation - with a ton of parameters!
inc. heat/humidity maps for generating into

unit and city support (?)
generate map from image (?)
multiple object clipboard (?)

Aggie
Jan 18, 2004, 05:20 PM
Originally posted by Phoenix
Dr Alimentado - You are GOD!!!

I am also very happy with the update :love: And what you promise us next makes it an unmissable tool for mapmakers :goodjob:

Shabbabaram
Jan 18, 2004, 06:51 PM
oooo this is cool.... I sut want ONE more thing in it

a SCALE option

it would of course have to delete all the overland stuff, but if you could scale even jsut the land, that would be totally awesome, I'm trying to modify the default sengoku mod, and i've found amap of japa that would be great if I could jsut get it a bit bigger...

Dr Alimentado
Jan 18, 2004, 07:35 PM
Would a scale function be the same as a 'stretch' function? ie. stretching the actual landmasses?

If so then that feature is already planned :) (although you have given me pause for thought on what I will do with the overlay stuff, hmm...)

If not then explain again please :D

Lynx-Eyed
Jan 19, 2004, 10:39 AM
Thank you very much! I'm downloading right now.....

Dr Alimentado
Jan 19, 2004, 04:16 PM
er... I hope you didn't misread me and are expecting the 'stretch' function to be in the present release!

...that feature is already planned :)

Hopefully it will get in for the next release, but no promises.

Of course it is still a useful utility even without a stretch function ;)

Shabbabaram
Jan 20, 2004, 09:34 PM
ooo hey I know!

Remeber the bmp to bic utility? What if you made it so you could export the map as a bmp? Ppl woudl change it in photoshop, and then import it. right into your editor.
As it stands, that old BMP to Bic prog is a bit outdated, that way, you wouldn't really need a scale attribute, cause ppl could just export to PS and scale the BMP (as long as they keep it in indexed colour)

ps yes, scale would be the same as stretch. A conflict of idioms... I guess I've been workin in maya too much :P

Rhye
Jan 26, 2004, 08:13 AM
thanks, master!

Rhye
Feb 09, 2004, 09:13 AM
I've added your name in the 'thanks to' section of the readme of my mod.
How is your wishlist going?

Sims2789
Feb 22, 2004, 10:59 PM
when i tried to run the program, this here pop-up is what i got. do i need that stupid and uterly pointless .NET Passport for this to work or something? Even so, this tool seems like it'll be GREAT.:goodjob:

anarres
Feb 23, 2004, 05:17 AM
No, you need the .NET Framework - something totally different.

The .NET Framework is a set of dlls used by programs written in .NET. This is equivalent to the VB runtime dlls (VBRUN40.DLL, etc) and the C++ runtime dlls (MFC42.DLL and MSVCIRT.DLL).

The download is quite big (several megs), but the idea is that once you have this set of runtime dlls you can run any program written in .NET.

I am suprised you don't have it already - it's over a year since major companies started using it in programs. You can get it from Micro$oft (http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en), amongst other places...

sabrewolf
Feb 23, 2004, 11:02 AM
if you don't go to http://windowsupdates.microsoft.com , you may not have the runtime environment. try it if you've got a good internet connection. something around 14 MB.

anarres
Feb 23, 2004, 11:34 AM
Well the link I gave in my post was to the downlaod page for the 1.1 .NET Framework.

Of course there are other reasons for going to the windows update, but if you just want the Framework then the link I gave will be quickest.

calgacus
Mar 07, 2004, 11:57 PM
Absolutely wonderful :worship:

Puts the stinky Firaxis editor to shame :goodjob:

One comment. The new maps I create with this always crash in the editor. I have to import then into the default conquest BIQ a save afresh for it to work. :hmm:

One request: if you ever can, it'd be great if you could create a resizing facility in order to make existing maps bigger or smaller (rather than simply focusing into or out of a map). But I know this is probably not possible (for enlarging at least) because the square of most maps would be too big! :eek:

Krabius
Mar 18, 2004, 07:34 AM
When I load a map it gives me an error that a FreeImage.dll can not load.

And I downloaded that .NET thing that you said to, in the first post.

Know how to solve this problem?

By the way I got Windows 2000.

anarres
Mar 18, 2004, 07:40 AM
Krabius, if you give the exact text of the error I think I can help.

Just to check - you definitely downloaded and installed the .NET framework?

Krabius
Mar 18, 2004, 11:59 AM
Sorry!!! I just checked the first message and saw the link to download the needed dll file.

superjib
Mar 22, 2004, 07:31 PM
Hello Dr Alimentado !

At first, I congratulate you for your impressive tool !
You done the best Civ-utility for me !

Secondly, I saw you things to do list, and I only see one thing :
Units and city support of course !!!

I dream of the day you'll make the capacity to modify a mod by stretching the map without units and cities falling in ocean... Plouf ! All is to redo...

Good work !

immortals84
Apr 12, 2004, 03:03 AM
Youve been praised so much but you cant be prasied enough!

Plexus
Apr 22, 2004, 02:57 PM
How did I not know about this? This is absolutely excellent work, Doctor.

Tholish
Oct 16, 2004, 08:24 PM
Request(probably a faux pax to put it here): global terrain substitution function. For instance, if you wanted an ice age map you would use such a function to (1) replace all Coast with Marsh and (2) replace all Grassland with Tundra and (3) replace all Jungle with Forest.

I want this so I can replace all Ocean/Sea/and Coast tiles with a land terrain modified to look like water, for Future underwater living/floating cities/sea reclamation/global warming effects. Without having to simply paint it in on a world map. Though that would probably be easier than making a tool.

I'm sure there are other possible uses for such a tool, though.

anarres
Oct 17, 2004, 09:27 AM
Dr Alimentado has stopped visiting CFC, and won't continue this application.

I am his brother and am currently in the process of getting the source code for this app from him, and will continue it. At CDZ we use this app all the time and lots of people want modifications, so I think it is worth it.

Tholish, your idea will get added to the list, and providing I get time to look at this app at all I will implement the suggestion. :)

Cyber Dreyk
Oct 17, 2004, 09:46 PM
MapTweaker is a very useful utility and it will very good if you continue your brother's work!
Good luck! :)

General Joey
Oct 19, 2004, 01:59 AM
Good luck with it, it's an extremely handy tool.
Just one bug: When you paste an area, you have a little error message, but nothing critical.

FrantzX
Oct 19, 2004, 08:08 PM
Will you release the source code to this excellent program?

Nazbol
Oct 26, 2004, 07:50 PM
I have a problem in your programm
1. I resized map
2.Saved it
3.When I try to open it in Civ3edit was error

What I can do with this problem

Cyber Dreyk
Oct 26, 2004, 08:38 PM
I have a problem in your programm
1. I resized map
2.Saved it
3.When I try to open it in Civ3edit was error

What I can do with this problem
Dr Alimentado told about bug with starting locations, possible you have the same problem. Try to resize map after removing all starting locations.

Bungus
Nov 11, 2004, 01:01 AM
I just found a strange bug...
I increased the size of a map (10 tiles or so) and copy pasted soome parts. Everything looked fine,; I've been editing the scenario with the map for a couple months now, and tonight I just tried playing it without debug mode on. Guess what?
Some (most) of the area I added is not covered in black, as if it had already been explored. It starts the game already revealed, although stil covered in fog of war. Which parts of the map are covered and which are visible seems almost random. No land tiles are visible, it is mostly, but not only, ocean tiles. And this is just in the added section of the map.
So, no idea the cause of this, other than the use of the increase size tool. If you use it, make sure to test the map out without debug mode on.
I'm sure theres a way to fix it, if anyone else has had this problem before please tell.
Here is the rarely used groucho head

Bungus
Nov 11, 2004, 01:53 AM
Hey Bungus, I had the same problem. I did some tests and found the cause of the problem. If you use the resize map tool, the tiles it adds are ocean. But these are nooooo ordinary ocean tiles... they twist and darken a man's soul... and devour alive any ships that happen across her treacherous waters...
Less notably, they also show up in game as if they were already explored. The same is true with any type of terrain you add in the maptweaker. You have to copy and paste terrain from the unaltered section of your map, and then paste it over the added portion. You can then alter it later as normal in Civ3Edit.
Hope this helps you,
Bungus

Bungus
Nov 11, 2004, 01:57 AM
awesome, yeah, that helped alot. Thanks. You the man.

Big Brother LS
Nov 15, 2004, 10:41 AM
just want to say thankyou for this great utility :)

Aion
Dec 28, 2004, 10:11 AM
I just tried to download this, but the link didn't work. I got an error saying 'The link could not be saved. The web page might have been removed or had its name changed.'
It's a pity, though, because this utility sounded very useful. Is there any possibility to get it?

anarres
Dec 28, 2004, 04:53 PM
The file linked on the first page is hosted on a site I admin, which is currently undergoing a server move.

The links in the first page will be working again within a week, but here it is in the meantime. :)

http://www.civfanatics.net/uploads8/200411814740_MapTweaker0.9b.zip

Aion
Dec 29, 2004, 06:01 AM
Ok, thank you very much!

ShiroKobbure
Apr 14, 2005, 11:17 AM
can I crop out parts of the map? I want to delete certian parts to make the map smaller but not resize the parts I want to keep

iNDUSTRIALg0D
Jun 24, 2005, 05:35 PM
i got a bit of a prob... i keep getting "bicx tag not present at start of file". i keep getting this stupid error. one time it actually worked though. then when i tried to load the same exact file again it gave some sh*t.

JuanM
Jul 22, 2005, 03:46 PM
great program, but if you have cities pre-placed on a map and want to manipulate it (even nudging it), then all the cities' locations get scrambled, and replicate cities appear all throughout the map ruining it entirely...

iNDUSTRIALg0D
Jul 23, 2005, 01:43 AM
another thing that sucks bout this prog is when you use different terrain (for default) and you add some terrain in the maptweaker. the added terrain appears different in the editor for some reason. this prog also doesnt work too well with tweaking borders either

ImhotepII
Feb 11, 2006, 03:51 AM
hm, long time no posts in here...



well i want to resize a map, problem is the DLL file is no longer available....

does someone know where i can get one from?
or where i can find another programm to resize C3C maps?

Celtic American
Feb 11, 2006, 08:00 PM
Actually I think it sucks that you can't import maps from biqs to bix or bic!

Make your own map tweaker.

Anyway, could you please give a new link for the Freeimage on the first page? It doesnt work any more.
thx

William GBTW
Mar 24, 2006, 02:37 PM
I want the freeimage.dll

babalooey
Mar 26, 2006, 04:46 PM
I want the freeimage.dll
Found a copy at http://freeimage.sourceforge.net/download.html

William GBTW
Mar 26, 2006, 04:50 PM
Thanks :) I'll try it out!

William GBTW
Mar 26, 2006, 05:00 PM
But make sure that when you unzip it you manually copy and pasted the FreeImage.dll into the main folder.

William GBTW
Mar 26, 2006, 05:02 PM
I just used it sucessfully without a hitch up. Its great. Thanks Babalooey :)

Nwoll
Oct 07, 2006, 05:14 PM
Does this work with C3C (.biq files)?
Is there anything else i can use to crop a .biq map?

Theta
Oct 07, 2006, 10:38 PM
Does this work with C3C (.biq files)?
Is there anything else i can use to crop a .biq map?
Open the editor and press F11/12 i beleive.

Roman Legion
Oct 08, 2006, 12:19 AM
Ah, William, proud, and glad your still representing Ismaia, my old friend.

Nwoll
Oct 08, 2006, 10:03 PM
Thank you, I got it to work now!

Roman Legion
Oct 08, 2006, 11:21 PM
William fly the Flag of Ismaia Proudly.

Virote_Considon
Jan 07, 2007, 07:35 AM
OK, I've been editing my Greek map, and It looks fine in the MapTweaker, but when I open it in the editor, it looks like this:
http://forums.civfanatics.com/uploads/48847/MapTweakerProblem.PNG

Does anyone know how to get rid of this problem?

Mirc
Jan 07, 2007, 10:01 AM
Isn't it supposed to look like this? :)

Virote_Considon
Jan 07, 2007, 11:01 AM
Nope. Note: The Minimap (at the top), the terrain at the top, and the fact that if I use the fix mentioned at the beginning of the thread (brushing over terrain in the editor), everything I have added turns into Coast.

Mirc
Jan 07, 2007, 02:06 PM
Ah, so you tried to add or change existing terrain in Map Tweaker? Then I don't know, I've never done that. I do have to use that fix when resizing maps though. :)

Virote_Considon
Jan 07, 2007, 02:36 PM
Well, I figured a way around the problem: basically, you just use the Map Tweaker to enlarge .biq's, and to copy parts of one .biq to another. Then, you save and make any changes in the editor manually.

Also note: DELETE ALL STARTING LOCATIONS PRIOR TO COPY/PASTING. Otherwise, it will crash in the editor.

rifleman
Jan 20, 2007, 08:29 PM
i got a bit of a prob... i keep getting "bicx tag not present at start of file"...

I'm having the same problem.

I just downloaded the program, the dll, net and everything. I'm hoping to tweak a map from Conquests, but every time I try to open one, the error pops up.

Am I missing something?

Virote_Considon
Jan 22, 2007, 07:08 AM
Go into the options in the editor, and uncheck "Compress .biq files". Then open the map and save.

rifleman
Jan 31, 2007, 06:14 PM
Awesome, Thanks!

I didn't realize the editor did that.

Virote_Considon
Feb 01, 2007, 05:31 AM
Oh, be sure that once you\'re happy with your map, you make sure that you make it compress .biq files again, because I didn\'t, and it started playing up and not opening the files when the file size got to a certain number (more than 3000KB). My file\'s safe now, though...

BadKharma
Jul 16, 2007, 09:51 PM
Hate to bump, however I have encountered a problem. I made a map using the utilites cut an paste feature however whenever I try to move around the map using the Civ3 editor it crashes. I saved it as a compressed biq after using the map tweaker but I still am having the crash problem.

Virote_Considon
Jul 17, 2007, 06:21 AM
Did you delete all the starting locations before you started? I always forget to do that...

BadKharma
Jul 17, 2007, 05:14 PM
You know to be honest I never looked to see if the copy and pasted part had starting positions. Thanks for pointing that out didnt realize it was something that could cause a problem.

matteo773
Aug 03, 2007, 08:18 AM
Right, hate to bump an old thread again but every time I resize a scenario using the maptweaker then save it, the BIQ editor will open it up once but every time after that it crashes and asks me to send an error report any ideas how to fix this? It's not urgent so don't worry too much about it.

Virote_Considon
Aug 04, 2007, 09:04 AM
See the above posts. Could they address the problem?

If not, then do you still have units/cities on the map?

matteo773
Aug 04, 2007, 10:11 AM
:blush: I just tried a whole lot of things on it and I think it was the units :blush:. Thanks for the help!

Hrafnkell
Jan 13, 2008, 08:11 AM
Hate to bump a thread again but I read about this utility in another thread Rise of Rome (http://forums.civfanatics.com/showthread.php?p=6361096) and came over here to DL it and discovered the FreeImage.dll download link doesn't take you to a download. I got the dll anyway from dlldll.com and thought I'd make note of that here for anyone attempting to download the utility. I'm looking forward to trying it out.

grimm103
Jan 13, 2008, 07:30 PM
Hate to bump a thread again but I read about this utility in another thread Rise of Rome (http://forums.civfanatics.com/showthread.php?p=6361096) and came over here to DL it and discovered the FreeImage.dll download link doesn't take you to a download. I got the dll anyway from dlldll.com and thought I'd make note of that here for anyone attempting to download the utility. I'm looking forward to trying it out.

Another thing you can do is downloading from here
http://sourceforge.net/project/downloading.php?groupname=freeimage&filename=FreeImage3100Win32.zip&use_mirror=internap
this will allow you to download freeimage.dll if u have any problems just message back because i have the complete download of it.

imperator1961
Feb 28, 2008, 05:32 AM
Another thing you can do is downloading from here
http://sourceforge.net/project/downloading.php?groupname=freeimage&filename=FreeImage3100Win32.zip&use_mirror=internap
this will allow you to download freeimage.dll if u have any problems just message back because i have the complete download of it.

Ok, I have downloaded it, but when I try to open a BIQ file with MapTweaker I have a message of error: is impossible to open the BIQ, the FreeImage.dll is impossible to charge. I have unzipped it in the same folder as MapTweaker, in the folder of Civilisation Complete.

BadKharma
Feb 28, 2008, 10:33 AM
Ok, I have downloaded it, but when I try to open a BIQ file with MapTweaker I have a message of error: is impossible to open the BIQ, the FreeImage.dll is impossible to charge. I have unzipped it in the same folder as MapTweaker, in the folder of Civilisation Complete.
Did you read the read me included?
Note that for the moment MapTweaker can only load uncompressed bix files - To save an uncompressed bix file in civ3XEdit goto View-Options and uncheck the 'Compress BIC File' box. I'll add decompression functionality soon enough :)

imperator1961
Mar 17, 2008, 06:00 AM
Did you read the read me included?

Yes, I have uncompressed the .BIQ. The message come with each type of .BIQ I try to open. IS the .BIQ files not covered by this program? I have read that version 0.9 cover the .BIQ files, but I am not able to open these. The error message is the same.

BadKharma
Mar 20, 2008, 02:37 PM
Well I dont know why you are having a problem then I can open uncompressed biq's using it.

imperator1961
Mar 21, 2008, 04:30 AM
Well I dont know why you are having a problem then I can open uncompressed biq's using it.

Maybe the problem is that I have the Conquest Complete version of game?

Virote_Considon
Mar 21, 2008, 05:19 AM
That should not be the case- I myself use C3Complete, and can open uncompressed .biq files, too. Could you perhaps give us a couple of screensots, one of the error message, one of your map tweaker folder? That could help.

BadKharma
Mar 22, 2008, 02:18 AM
Maybe the problem is that I have the Conquest Complete version of game?
No I have Civ3 Complete myself. And the editor is the same as the one included with conquests. Do you have the FreeImage.dll in the maptweaker folder? Also in the folder you should have a mapmakerConfig.xml and debugLog.txt.

imperator1961
Mar 29, 2008, 02:08 PM
That should not be the case- I myself use C3Complete, and can open uncompressed .biq files, too. Could you perhaps give us a couple of screensots, one of the error message, one of your map tweaker folder? That could help.

Thanks Virote. Here are the screenshots:

http://img142.imageshack.us/img142/2572/civiiiaqt2.png

http://img241.imageshack.us/img241/3425/civiiibbm5.png

Thanks!

Virote_Considon
Apr 04, 2008, 06:38 AM
Sorry I took so long in replying to this thread.

From looking at your folder, it looks like you're missing FreeImage.dll, which I have in the same folder as Map Tweaker. Does that help?

Underpaid
Sep 27, 2008, 04:43 PM
Uh, I got MapTweaker, AND put FreeImage.dll in the same directory as it, but it won't load any .bix or .biq files. It opens .bic's just fine though.

And yes, I did selection "Uncompress BIC files" in the options.

jatibi
Oct 14, 2009, 04:48 AM
The download links aren't working anymore. Can someone please re-upload?

My harddrive crashed and gone with it are 6GB of civ3 stuff :(

EDIT: i'm lucky. found it on my external hd. i'm trying to contact the creator, then upload it

EDIT_2: here it is: http://forums.civfanatics.com/downloads.php?do=file&id=13490&act=down