Results 1 to 5 of 5

Thread: Notepad ...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Notepad ...

    Hi, I have a question ...

    It evolves around Windows' text editor "Notepad", which is for example used for simple editing and alteration of Rome TW's data files. I have used it for a long time, yet now I'm running into this problem. Namely when I'm trying to replace quite a number of text-entries with a slightly altered one automatically ("replace all"): this action results in me watching the computer replace the word each time individually, taking slightly less than a second per entry.

    Explicitly: what I'm talking about is this. I want to replace, in DMB (approx. 176kb here), each time "data" with "mymod/data" in an attempt to make such mod compatible with the infamous -modswitch. Later, I should replace each mymod/data/textures with data/textures, as these changes are not necessary. Efficient. It least so it sounds. Until you see the computer taking 'bout one second per entry of the thousands(?)! (Worst of all is, that I can't leave that window, or it'll freeze ...).

    [Compare: I let it run for a quarter of an hour and it was only about halfway through; I wanted to check memory-usage ... capital error of course, it froze.]

    The thing is, when I used to do some modding a couple of months ago, I recall similar actions only took perhaps five seconds or so for the whole file, which was a different, and probably bigger, DMB.

    I'm clueless as to why this is happening. Is it my nostalgic mind that is deceiving me, or is my software/hardware getting rheumatic?

    Help!

    Ps: I put this in the Basement because I think it's a notepad problem, thus software. Should you think it's necessary to move this to technical questions about modding/rtw, do so.
    "Tempus edax rerum." Ovid, Metamorphoses
    Under the patronage of Virgil.

  2. #2
    belson's Avatar Civis
    Join Date
    Aug 2006
    Location
    Fullerton, CA, USA
    Posts
    133

    Default Re: Notepad ...

    Is it only Notepad's replace, or all replace commands? Try it in Wordpad and anything else you have on that machine and see what happens. Make sure you start task manager before you run the tests so you can watch the CPU and memory usage.

    I can't imagine Notepad being the problem, because its one of the simplest programs that runs in Windows. But you never know.
    It is an unfortunate fact that we can secure peace only by preparing for war. -John F. Kennedy

  3. #3

    Default Re: Notepad ...

    well, I never used the "replace all", mostly because then I'm suspicious of it replacing something that I didnt want it to in the first place. So my only suggestion is to do like I do, and replace everything one by one by clicking on "replace". I'm sure you can click faster than one time per second, so it will be faster.

    Otherwise, there are probably other free .txt editors that you can DL with similar features, though I'm not sure that notepad is behind your problem.
    Chivalry - Total War I Settlement Plans and Buildings Dev...
    and Public Relations person, pm me with any specific questions concerning the mod...

    Consilium Belli member

    under the patronage of Sétanta

  4. #4
    Sammur-amat's Avatar Ordinarius
    Join Date
    Jun 2006
    Location
    Eternal City's corporal parking lot
    Posts
    746

    Default Re: Notepad ...

    Quote Originally Posted by The White Knight View Post
    Hi, I have a question ...
    Yup ...its all in our beloved Microsoft's Notepad....no worry...
    Patience is Virtue...& Patience with Microsoft's products is somewhat Necessity..

    Ps ..You can always do "good ol'" manual replacement...
    ... Are You Shpongled?
    member of S.I.N.

  5. #5

    Default Re: Notepad ...

    Thank you for the replies! :original: Manual replacement costs even more time and gets on your nerves. I have noticed that when I paste something small (for example: "mymod/") it takes just as long for the text to appear on screen. Alternatively I can of course type it all. No, what I did was copy it to Word, which fixed it in seconds, and copied it back. Swiftly. In the meantime I'll look for a replacement.
    "Tempus edax rerum." Ovid, Metamorphoses
    Under the patronage of Virgil.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •