Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > Bmp2ctp2
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
silveraxe is offline silveraxe
Settler

Oct 2001
time: 06:15
Question  Old Post 05-10-2001 10:25
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Bmp2ctp2 Support Apolyton, buy Galactic Civilizations

Hi there fellows.

I have a problem when I'm going to transfer the .bmp to .txt
this is how I write:
bmptoctp2.exe [-1]

And then it sais that it was a problem when he tryed to create the file.

I thing it can be because of:
1.wrong bit thing it shall be 8-bit but in mspaint I can only change to 256 colors, 24bit and 16bit. HOW SHALL DO IT?
2.Do you have to put the bmptoctp2 in the ctp2folder?

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:15
Post  Old Post 05-10-2001 20:28 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Enter the AD-FREE zone

To have the error message would be . To know what is wrong helps a lot.
As you get a message like this: Size 48X96 (should be 4608 bytes, is 4610) everything is OK.

1. So far as I know a 8bit encode 256 colors that means 8bit and 256 colors is nearly the same. And I also tried this I saved a picture in M$paint as 256 color file and opend it in Paint Shop Pro 4 and tiook a look on the picture information: It was 256 color picture with 8 bits.

2. You don't need to put the bmp2ctp2.exe into your CTP2 folder. It is only necessary to put the created *.txt file into your ..\ctp2_program\ctp\ folder.

And finaly if you are in the game you have to open the chat window by typing (') of course without the brackets and type /importmap YourMapName.txt.

You have only be shure that the map that you are whishing to load has the same size as the current loaded map.

-Martin

silveraxe is offline silveraxe
Settler

Oct 2001
time: 06:15
  Old Post 05-10-2001 23:04
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
mapsizes Support Apolyton, buy Galactic Civilizations: Deluxe Edition

If you need to have exact size of the map I would like to know the different sizes.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:15
  Old Post 06-10-2001 15:36 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Civilization 2

To figure out the different sizes of maps ust open the const.txt in your ..\ctp2_data\default\gamedata\ folder, and search for such lines:

code:
# # These map size settings must all be defined, # and in this order # MAP_SIZE_SMALL 26 52 2 MAP_SIZE_MEDIUM 48 96 2 MAP_SIZE_LARGE 64 128 2 MAP_SIZE_GIGANTIC 70 140 2


That means a default small map as a size of 26X52 fields and a gigantic map a size of 70X140 tiles. If you change these values for example like:

code:
# # These map size settings must all be defined, # and in this order # MAP_SIZE_SMALL 26 52 2 MAP_SIZE_MEDIUM 48 96 2 MAP_SIZE_LARGE 64 128 2 MAP_SIZE_GIGANTIC 71 141 2


Your gigantic map has a size of 71X141 tiles.

If you like to make a map for a mod like Apolyton Pack you have to edit the file with the according prefix APOL_const.txt for normal maps and APOLUL_const.txt for ultra gigantic maps.

Here are the values from the APOLUL_const.txt:

code:
# # These map size settings must all be defined, # and in this order # MAP_SIZE_SMALL 26 52 2 MAP_SIZE_MEDIUM 48 96 2 MAP_SIZE_LARGE 70 140 2 MAP_SIZE_GIGANTIC 140 280 2


It depends on the map size for wich Apolyton Pack version the map should be made for smaller maps use the Apolyton Pack. CTP2 the way it should be and for really gigantic maps the ultra gigantic map version.

-Martin

silveraxe is offline silveraxe
Settler

Oct 2001
time: 06:15
  Old Post 06-10-2001 22:23
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
DONT WORK Support Apolyton, buy Galactic Civilizations

I have a bmp that is 199*99 256 color
i write in msdos:
bmptpctp2 [-1] mymap.bmp mymap.txt
if you are swede it sais "fel uppstod när filen skulle skapas"
if not it sais that it is something wrong when he should create the file.

i'll send you the map here, can you please transform it and then attach it on a new message.

Attachment: bar.bmp
This has been downloaded 5 time(s).

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:15
  Old Post 06-10-2001 22:33 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Enter the AD-FREE zone

I had this problem too. I have a feeling you are using the wrong colours. The sample bitmap included with the program is wrong for the new version of Bmp2ctp2. I think the colours are the problem.

I think this file has the correct colours:

Attachment: input.bmp
This has been downloaded 5 time(s).

silveraxe is offline silveraxe
Settler

Oct 2001
time: 06:15
  Old Post 06-10-2001 22:59
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
NO!!! Tired of ads?

no it doesn't work.
BTW is it all the colors in that map?

can someone see if you can fransform my map

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:15
Post  Old Post 07-10-2001 01:26 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Get a bigger avatar today!

quote:
bmptpctp2 [-1] mymap.bmp mymap.txt


No brackets the correct line is:

bmptpctp2 -1 mymap.bmp mymap.txt

I also tried to convert this map to scenario file format (not scenario save game format). I guess you wanted to create an island with forrests and jungle. I needed a little bit of time to figure out that you have to use black instead of green for forrests.

Here is your map to install this map put it the unzipped *.zip file into your
..\ctp2_program\ctp\save\maps folder and use the option load map in the cheat editor.

BTW here is thread about the same topic: Crash Course in BMP2CTP2

-Martin

Attachment: bar.zip
This has been downloaded 10 time(s).

silveraxe is offline silveraxe
Settler

Oct 2001
time: 06:15
  Old Post 07-10-2001 13:30
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
AAAA NICE! Enter the AD-FREE zone

it was only the brackets that was the problem, you know [ -1 ]
^ ^
BUT it sais "Size: 210x210 (should be 44100 bytes, is 44520 bytes)"

Eeeh what?

silveraxe is offline silveraxe
Settler

Oct 2001
time: 06:15
  Old Post 07-10-2001 14:25
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
importing map Inflate your Upload Space

when I wrote the last thing I got a txt even if it was wrong
I put it in ctpprogram/ctp
and in the game (') chat /importmap put.txt

BUT DIDN'T WORK
can be that he did wrong when converted it to txt.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:15
Post  Old Post 07-10-2001 16:28 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Remove this text

Read my above post again:

You created a 210X210 size map. Therefore I would use the gigantic map versions of Cradle or Apolyton Pack. To load the map you have to edit the APOLUL_Const.txt or CEAB_Const.txt. In both files you will find lines like this:

code:
# # These map size settings must all be defined, # and in this order # MAP_SIZE_SMALL 26 52 2 MAP_SIZE_MEDIUM 48 96 2 MAP_SIZE_LARGE 70 140 2 MAP_SIZE_GIGANTIC 140 280 2


To load the map the last line must look like:

code:
MAP_SIZE_GIGANTIC 210 210 2


Now start a new game with the ultra gigantic map version of Cradle or Apolyton Pack. Note that your map is huge and the default maps are very small. If you make your map for a default game you would get serious problems with pollution and city numbers.

Your game should be on a gigantic map now. The map size is now 210X210 the same size like the map that you whish to import. That is a very important thing, because if the loaded map has a different size as the map that should be imported, your map import trial will fail. Now if your map has the right size open the caht window and type: /importmap put.txt or however you called the *.txt file. So far as I know it doen't matter if the program tells you that the are some bytes missing or too much.

-Martin

silveraxe is offline silveraxe
Settler

Oct 2001
time: 06:15
  Old Post 08-10-2001 00:45
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
WOHO!! Avatar Enlargement: We've got the solution

YEEPEE!!!

I finally got i work

I HAD TO PUT THE TXT FILE INTO /CTPPROGRAM/CTP/SAVE/MAPS !!!!!!!!!

OmniGod is offline OmniGod
Prince
Philadelphia, PA, USA --> Really Canadian
Dec 1999
time: 00:15
  Old Post 09-10-2001 10:21 Visit OmniGod's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Glad to see people are still using the bmptoctp2 convertor... maybe I'll see if the world map or a new world map can be created for Civ III...

Oh and hello again, to all who rememeber me =)

If you need anyhelp with maps, email me.. I'll see what I can do. =)

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:15.
Apolyton Time is 00:15.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0365 seconds (89.04% PHP - 10.96% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net