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 > Civ2-Strategy-Archive > Does this work?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread   
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Paul is offline Paul
Emperor
Zwolle, The Netherlands
Mar 1999
time: 06:12
Post  Old Post 07-06-2000 13:26 Visit Paul's homepage!
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
Support Apolyton or Terrorists Win

Sorry, it appears that this one still has the same problem.

Smash is offline Smash
Emperor
Civ2 Diehard
Jul 1999
time: 21:12
Unhappy  Old Post 08-06-2000 09:42
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Remove this text

I give up

MacUser is offline MacUser
Prince
Olathe, KS, USA
Jul 1999
time: 23:12
Question  Old Post 08-06-2000 04:38
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Paul: I use the PC daily, I just repress the memory!

Smash: Here is the response from WinZip -

Hi, I am writing in response to your message:

>
> Do you have a Macintosh compatible version of WinZip? I have an iMac running OS 8.6.

Sorry, WinZip works only on Windows.

The Info-ZIP group produces command line Zip/Unzip software for a
variety of other platforms, including the Mac, MVS, and various versions
of Unix. I suggest you take a look at their home page at

http://www.info-zip.org/pub/infozip/

You can also check

http://garbo.uwasa.fi

which has an extensive collection of Macintosh file utilities.

Please let me know if you have any further questions.


-- Chuck Campbell, WinZip Technical Support


I find it very curious that Paul is having such problems with your text file. Perhapes some additional PC users could confirm this behavior. I have always assumed that Simple Text and applications such as Notepad were the most basic of text editors and could produce cross-platform files. Ah, but what do I know. Something is obviously amiss! Again, I had no problems with your file.

------------------
Different is GOOD!

AOL IM--JacSamDad

Smash is offline Smash
Emperor
Civ2 Diehard
Jul 1999
time: 21:12
  Old Post 08-06-2000 05:50
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Lose 30 kilos (of popups)

finding a zip utility was/is not the problem

Scouse Gits is offline Scouse Gits

Emperor
Liverpool, United Kingdom
Nov 1999
time: 05:12
  Old Post 08-06-2000 12:52 Visit Scouse Gits<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Remove this text

Regret - having the same problem - end of line markers not recognised as such by PC.
Does the Mac use the ASCII character set?


------------------
____________
Scouse Git[1]

"CARTAGO DELENDA EST" - Cato the Censor

Paul is offline Paul
Emperor
Zwolle, The Netherlands
Mar 1999
time: 06:12
Post  Old Post 08-06-2000 13:46 Visit Paul's homepage!
Edit/Delete Message Reply w/Quote
#36 Report this post to a moderator
Get a bigger avatar today!

It probably does, otherwise the whole text would be unreadable garbage. It is just the end-of-line markers that appear to be the problem.

MacUser is offline MacUser
Prince
Olathe, KS, USA
Jul 1999
time: 23:12
  Old Post 08-06-2000 16:53
Edit/Delete Message Reply w/Quote
#37 Report this post to a moderator
Inflate your Upload Space

I just checked the "Macworld Mac Secrets" book and confirmed that ASCII is the same for all religions whether Windows, Mac or "anything else" (Unix? ) I'll ask this to some real programers and see if they know the answer. This is really curious.

------------------
Different is GOOD!

AOL IM--JacSamDad
[This message has been edited by MacUser (edited June 08, 2000).]

Tom DeMille is offline Tom DeMille
Prince
Kingston, Ontario, Canada
Jan 2000
time: 00:12
Post  Old Post 08-06-2000 17:37
Edit/Delete Message Reply w/Quote
#38 Report this post to a moderator
Support Apolyton buy from Amazon

Hey, I'm a real programmer!

I dug around some c++ docs concerning text editors, and have found the problem.

DOS and Windows use ASCII 13 (carriage return) and ASCII 10 (linefeed character) in combination as their new line marker.

UNIX and Mac use only the linefeed character.

So straight text files are not compatible cross platform. What else is new...

Smash, if you could just toss in an ASCII 13 character everytime you hit enter, it would be appreciated.

Paul is offline Paul
Emperor
Zwolle, The Netherlands
Mar 1999
time: 06:12
Post  Old Post 08-06-2000 19:25 Visit Paul's homepage!
Edit/Delete Message Reply w/Quote
#39 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Well, it's good to see that we finally know the cause of the problem and a possible solution. Smash, I hope this will help you get your scenario working on both Windows and Mac.

Steve Clark is offline Steve Clark
King
Colorado Springs, CO
Oct 1999
time: 22:12
Post  Old Post 08-06-2000 19:57
Edit/Delete Message Reply w/Quote
#40 Report this post to a moderator
Avatar Enlargement: We've got the solution

In case you don't know how to do that, just do:

#include <iostream.h>
cout << "string\n";
or
cout << "string" << end1;
where 'string' is the text string.

j/k

[This message has been edited by Steve Clark (edited June 08, 2000).]

Smash is offline Smash
Emperor
Civ2 Diehard
Jul 1999
time: 21:12
Post  Old Post 08-06-2000 20:51
Edit/Delete Message Reply w/Quote
#41 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

huh?

Tom DeMille is offline Tom DeMille
Prince
Kingston, Ontario, Canada
Jan 2000
time: 00:12
Post  Old Post 08-06-2000 22:14
Edit/Delete Message Reply w/Quote
#42 Report this post to a moderator
Avatar Enlargement: We've got the solution

I think Steve is suggesting you write yourself an app in C. A bit tricky for a non programmer. I remember using Think C for the mac a decade ago, but unfortunately don't have a mac compiler available right now. If I did I'd write a quick and dirty text editor for you.

Do you have a Java interpreter installed on your machine? I could bang off a Java text editor for you.

Or you could try http://www.mac.org/utilities/texeditplus/ . This is a mac text editor that mentions it will reformat text for MS-DOS BBSs. This might save the text in the right format.

It's interesting that the Mac doesn't have trouble with the extra carriage return character in DOS text files. I guess it just ingores it.

edit: Or, you can just tell pc people to fix the damn text file themselves. It's not hard. Just open it in wordpad (or any word processor other than notepad), and resave it as a straight text file.
[This message has been edited by Tom DeMille (edited June 08, 2000).]

Steve Clark is offline Steve Clark
King
Colorado Springs, CO
Oct 1999
time: 22:12
Post  Old Post 08-06-2000 22:57
Edit/Delete Message Reply w/Quote
#43 Report this post to a moderator
Put an end to popups!

Actually, I was just trying to be cleverly funny. Guess it didn't work.

Tom DeMille is offline Tom DeMille
Prince
Kingston, Ontario, Canada
Jan 2000
time: 00:12
Post  Old Post 08-06-2000 23:25
Edit/Delete Message Reply w/Quote
#44 Report this post to a moderator
Help yourself to an AD-FREE life

quote:

#include <iostream.h>
cout << "string\n";
or
cout << "string" << end1;
where 'string' is the text string.


Oh, I just got it! Ha, ha! Good old American humour.
[This message has been edited by Tom DeMille (edited June 08, 2000).]

SCG is offline SCG
King
of less than all that I see
Jun 2000
time: 00:12
  Old Post 08-06-2000 23:59
Edit/Delete Message Reply w/Quote
#45 Report this post to a moderator
Full PM-box? Change here!

quote:


#include <iostream.h>
cout << "string\n";
or
cout << "string" << end1;
where 'string' is the text string.


As someone who has just spend much of the last 6 hrs helping people proofread their beginning Ada and C programs, I guess I'm still in that mindset

So, actually this is a C++ program, not a C program, if anyone really wanted to try that out somewhere C would use printf statements instead, as well as a slightly different file to include. The printf statement in place of cout might have even helped Smash get the gist of the code just from context.

also, can anyone spot the typo in the alternate way to print a new line?

thats right! the 1 should be an l
(lower case 'L')


As one other side note to the actual problem, I'm surprised I didn't think of that - there are a lot of people who load their programs from notepad to UNIX and I always have them do a search and replace on all those pesky little carriage returns (^M) - they don't affect anything compilerwise, but do confuse text editors like emacs.

and my appologies to Tom and Steve - like i said, i've been spending too long today pointing out the obvious and just couldn't help myself

edit: odd - I just tried to edit this page, since the <iostream.h> was missing in my original post - but its already there???

wonder if it will show up this time :|
[This message has been edited by SCG (edited June 08, 2000).]

SilverDragon
Guest

Not Yet
time:
Post  Old Post 09-06-2000 02:23
Edit/Delete Message Reply w/Quote
#46 Report this post to a moderator
Suffering from ads?

How could you win without shake's and INs? What's the point of being able to have an extra city for only one turn? I'm curious.

Smash is offline Smash
Emperor
Civ2 Diehard
Jul 1999
time: 21:12
Post  Old Post 09-06-2000 07:39
Edit/Delete Message Reply w/Quote
#47 Report this post to a moderator
Get a bigger avatar today!

I have no idea what you guys are talkng about so it ends here ...For now.

I tryed to make a OCC game that would have things that I think make it hard.No Shake's means Mono and cathedral slowing the effect of "we love days"

No Ike's means slower science.

Less civ means less help with techs and tribute.

I made 2 civs have vendettas but it doesn't give consistant results.

It was meant as a small puzzle just for something different.You'll notice the city is not well placed for OCC.I wanted the player to have to build a palace and have a supported settler as a result of disbanding Mingapulco.You can't disband with 1 city so it was meant to give few seconds of puzzle solving.

It can be won relatively easily depending on what "Evan" and "Venger" do.First 2 tests I was wiped out by 3 triremes of knights that "Evan" sent.I tweaked it alittle and I landed in 1930s.

MacUser is offline MacUser
Prince
Olathe, KS, USA
Jul 1999
time: 23:12
Talking  Old Post 10-06-2000 19:02
Edit/Delete Message Reply w/Quote
#48 Report this post to a moderator
Remove this text

Tom, SCG and Steve: You guys are just too damn tough! Talk about "Code Warriors"! Don't want to meet you guys in a dark ally with only AppleScript at my side! It's all I can do to change the Type and Creator codes in ResEdit! This is why I bought the book "Mac Programming for Dummies" (which I never got around to reading )! FYI: it came with a free copy of CodeWarrior Lite compiler and Apples resource editor ResEdit.

I now feel enlighted and educated! Plus I get to write the authors of MacSecrets and point out their error about ASCII being cross-platform!

------------------
Different is GOOD!

AOL IM--JacSamDad
[This message has been edited by MacUser (edited June 10, 2000).]

 
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:12.
Apolyton Time is 00:12.
    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.0479 seconds (90.18% PHP - 9.82% 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