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 > Scenario League / Civ2-Creation -Archive > Dll questions
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
Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:14
Question  Old Post 26-06-2001 08:40
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Dll questions Help yourself to an AD-FREE life

Ok, I downloaded the dll gadget, gif-X-tractor and I wanna change the leader pictures in a scenario that is being developed. But the instructions simply are not adequate to get me started.

1.) Is a separate folder required? Do I have to place substitute dlls in a folder within the scenario folder?

2.) If so, how do I "get at" the original dlls that are default?

3.) Ok, I admit it. I'm an historian and game designer, not a computer whiz. Could someone run me throught the gif-X-tractor routine just once with an example so that I can see exactly how it is done?

Thanks in advance,
Exile

shamrock is offline shamrock
Warlord
Los Angeles, CA
Jul 1999
time: 05:14
Cool  Old Post 27-06-2001 06:18
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Browse Apolyton AD-FREE

Actually it's really easy, Exile - here's an example from the scenario I just created, "ATLANTIS: The Lost Empire ."

1. Start Gif Xtractor

2. Select "File | Open"

3. Select the .dll file you wish to edit. This file will be in your civ root directory. For this example, I've chosen "ss.dll"

4. You should now see a listing of 46 images:

Image #1 80824
.
.
.
Image #46 244268

5. You may recognize image#1 as the backdrop for the spaceship



6. This is the image that I want to replace, so I select "Image | Save Gif(s)..."

7. I use this GIF file as a template for the image I want to replace it with, making certain that it doesn't exceed the max size (80824 bytes). Instead of a spaceship, I want the player to build a Deep-Sea Submersible instead of a spaceship, but I can't have the submersible being built in space so I pick a more fitting backdrop.




8. Now I select "Image | Load Gif..." and load up this file.

9. I save the ss.dll and voila, this is the result:



Hope that helps!

Last edited by shamrock on 27-06-2001 at 06:23

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:14
Question  Old Post 27-06-2001 08:39
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Exquisite! Support Apolyton, buy Galactic Civilizations

Your spaceship/submarine is a wonder! beautiful!

You mentioned changing dll within the civ2 program. Will this permanently change these images?

How do make sure that the image sizes are the same/will fit?

Exile

edit; Ok, I tried following the directions you gave. Here is what happened. Step 1; ok. step 2; ok. step 3; here is where things stopped. "Select the dll you wish to edit" Are you saying that I must know the file name of the dll and enter it into the text box at the bottom of the little window? "This file will be in the civ root directory." What, exactly, is the "root" directory? I tried going into the scenario; the sound file is the only file that came up. I tried going directly into the civ2 program; none of the files that appeared in the box had any dlls in them. I tried going at the civ2 program through the c drive-program files->microprose->civ2. The files that appeared in that box didn't have any dlls in them either. Obviously I'm missing something.

What now?
Exile

Last edited by Exile on 27-06-2001 at 10:56

shamrock is offline shamrock
Warlord
Los Angeles, CA
Jul 1999
time: 05:14
  Old Post 28-06-2001 05:58
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Re: Exquisite! Full PM-box? Change here!

Yes, the first step is to backup or rename the original dll file. Definitely do this before you do anything else (unless you like reinstalling civ...)

As for ensuring the same image sizes, here's the deal. The physical size isn't as important as the file size, but it's generally a good idea to make your replacement picture the same physical size as the original (i.e. the same width and height) so that it makes sense within the context of the game. However, file size is the real key. Just make sure that your new file is the same size or smaller than the original (via the graphics program or windows explorer, etc). A good way to achieve this is to reduce the number of colors in your new image.

Re step 3, no you don't need to type in the file name. If you are in the correct directory, all the dll files will be displayed in the "File Open" dialog box because dll files are selected by default. By correct directory, I mean the civ root directory, or more simply the directory in which you installed civ. In my version of Civ (MGE), there are several dlls in this directory:
Civ2Art.dll
cv.dll
Intro.dll
mk.dll
pv.dll
ss.dll
Tiles.dll
timerdll.dll
Wonder.dll
XDaemon.dll

If you don't have these files, then I'm confused too!

Also keep in mind that any changes you make to a dll file will only be reflected if the dll is in the root directory. In other words, even if you place the modified dll file in your scenario folder, the game will still reference the file in the root folder instead (just like menu.txt).

Does this help at all??

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:14
  Old Post 28-06-2001 08:43
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Incomprehensible! Support Apolyton, buy GURPS/ Alpha Centauri

Well, I can't find any dlls no matter where I look. Perhaps something went wrong with the downloading process. Until I acquire more knowledge of dlls and how this thing works, it's going on the shelf for the time being. Players will just have to look at the Gandi picture and use their imagination that it's actually Alphonso XIII of Spain.

But thanks anyway, Shamrock.

Exile

kIndal is offline kIndal
King
de la taifa de Almería, Spain.
Oct 2000
time: 06:14
  Old Post 28-06-2001 12:03 Visit kIndal's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Re: Exquisite! Support Apolyton, buy Civilization: The Boardgame

quote:
Originally posted by Exile
I tried going at the civ2 program through the c drive-program files->microprose->civ2. The files that appeared in that box didn't have any dlls in them either. Obviously I'm missing something.

What now?
Exile


I believe that I know what is your problem, dll files are invisible so you have to make all your files visible or you cannot see them.

You have to go to "my Pc" in your computer pick in and go to "look" or "see" (I don´t know the traslating in English version), now you go to "fild´s options" (the last one) and open a menu with three menus: "general","look" and "kind of file", pick in "look" and now you can see a opcion that say "show all files" activate it and now you can see dll files.

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:14
  Old Post 28-06-2001 15:46
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Hmmmm. Support Apolyton, buy Civilization 2

Thanks, Jesus, I'll try it.

Exile

edit; EUREKA!!!! There they are!! THANK YOU, JESUS!!!!

You know, with all the explanations I got from everyone out there, not one person said anything about the dlls being "hidden." Nowhere in the instructions that came with the X-tractor did anyone have the presence of mind to say, "oh, and by-the-way, the dll files are all usually hidden, so the first thing one must do is reveal these files; here's how to do that." Nooooooooooooo. And then, when I can't make the thing work, I look like a complete idiot because I can't seem to figure it out! AAAAAAGGGGGGHHHHH!!!

Apparently everyone just assumed that I knew that. It's certainly off the topic at hand, but that seems to be the main problem with learning anything about using this *&%$#@ (computer). Everyone just assumes that others must know certain, NECESSARY things. Have I ever come on like a computer whiz? I seem to recall admitting freely that wrestling with this thing is like streetfighting with a boa constrictor; just when I think I've got it--I don't!

Oh well, now I'll attempt to play with this stuff and see what happens. I expect disaster.

Rant-for-the-day,
Exile

Last edited by Exile on 28-06-2001 at 17:02

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:14
  Old Post 29-06-2001 00:17 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Civilization 2

AFAIK the dll´s usually aren´t hidden, not mine anyway...
Apart from that, you may find my DLL hacking guide a nice technical background doc about this. If not, it also includes a list of all the images and where to find them.
(Or was this included in GifX too? I´m not sure)

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:14
  Old Post 29-06-2001 05:04
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Thank you, Mercator Remove this text

But I'm approaching this very gingerly. I've backed up the dlls that are normally there, identified the ones that require changing, and acquired new photos and images to put in their place.

My attempt to download paintshop pro ended, however, in disaster. No go.

So I'm putting the idea on hold for a little while during which time I'll finish fine tuning Age of War so it can be released.

I am anxious to see Spanky's Road to Empire scenario in order to learn just how he does it and how he arranges things.

I will take a look at your guide, too.

Salutations,
Exile

Spanky is offline Spanky
Chieftain
Basel, Switzerland
Jun 2000
time: 06:14
  Old Post 29-06-2001 14:24
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton buy from Amazon

Exile, for some advance hints on that (basically on how I stuck the portraits into frames), see the post in my 'Preview' thread. (I kind of outdid myself length-wise - let's hope it helps... otherwise, you would have to specify your question a bit).

I did base my instructions on Paint Shop Pro, though.

Cheers,
Spanky

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:14
  Old Post 29-06-2001 15:14
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton buy from Amazon

yes, Spanky, I saw it. Unfortuneately, without PSP, a lot of your effort there is in vain. What I'll do is wait until your scenario is available, download it, and look very closely at how you arranged things to see if your method is one that I want to duplicate.

But thanks,
Exile

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:14.
Apolyton Time is 00:14.
    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.0470 seconds (89.03% PHP - 10.97% 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