Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: Rick's utilities?  (Read 3396 times)

Jifodus

  • Bay Watcher
  • Resident Lurker
    • View Profile
    • Dwarf Fortress Projects
Re: Rick's utilities?
« Reply #15 on: January 03, 2008, 08:23:00 pm »

quote:
I'm using an ini file, called "memory."

If the file name is an ini file and it is named "memory" (without the dot) and you don't have extensions shown, then it should work.

quote:
I'm using XP. However, I'm putting the files under C:\, so it's easier to type in the cmd prompt. Could that be it?

Try downloading: http://www.geocities.com/jifodus/reveal_memory_ini_g.zip
It has the memory.ini for 33g and reveal.exe.
Extract both to the same directory (try a brand new directory first), and try running reveal from within that directory in the console.
code:
extract to: C:\df_utilities
Start > Run > cmd
cd C:\df_utilities
reveal

If you still get an error, report it.

Anyway, Vista+Utilities didn't have a problem. The only error I encountered was when I ran DF as administrator, and the utility as a non-administrator. The error was failing OpenProcess. I also tried a standard account with no problems.

Logged

Luckymoose

  • Bay Watcher
    • View Profile
Re: Rick's utilities?
« Reply #16 on: January 04, 2008, 12:51:00 pm »

I have the update memory.ini file and it still says it is not meant for that version of DF even when it should be.
Logged

0x517A5D

  • Bay Watcher
  • Hex Editor‬‬
    • View Profile
Re: Rick's utilities?
« Reply #17 on: January 05, 2008, 11:23:00 pm »

Man, I am really not understanding this.  There just isn't much room for things to go wrong.

Okay, another longshot: Hammer and both Mooses, Start menu, Search, search for files named memory.ini on all local hard drives.

If there are any in directories like C:\WINDOWS, report that.

Another longshot: run REGEDIT, navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping

In the IniFileMapping key, check if there is anything named memory.ini.  If there is, report that.

I'm not even sure if this matters.  I don't know if Rick is using the INI file API or parsing it himself.

Logged

Slappy Moose

  • Bay Watcher
    • View Profile
Re: Rick's utilities?
« Reply #18 on: January 11, 2008, 06:54:00 pm »

quote:
Originally posted by Jifodus:
<STRONG>
Try downloading: http://www.geocities.com/jifodus/reveal_memory_ini_g.zip
</STRONG>

I tried that memory.ini in "C:\dwarf\" but that didn't work with adjuststart.
Same problem, it says wrong version.

quote:
Originally posted by 0x517A5D:
<STRONG>Okay, another longshot: Hammer and both Mooses, Start menu, Search, search for files named memory.ini on all local hard drives.

If there are any in directories like C:\WINDOWS, report that.

Another longshot: run REGEDIT, navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping

In the IniFileMapping key, check if there is anything named memory.ini.  If there is, report that.
</STRONG>


I didn't find anything under "IniFileMapping" or my entire computer, except the memory thing I downloaded.

I'm running XP, and I have administrator power.

Logged
Zaneg Thazor: Armok Reincarnate Story http://www.bay12games.com/forum/index.php?topic=19291.msg196691#msg196691

[Healthcare Update Thread] Personally, I can't wait for doctors to get possessed and start surgically attaching axes to champion soldier's arms.

0x517A5D

  • Bay Watcher
  • Hex Editor‬‬
    • View Profile
Re: Rick's utilities?
« Reply #19 on: January 11, 2008, 07:35:00 pm »

Okay.  I'm running out of ideas here.

Here's a quick test program.  Run it, cut&paste the results.
http://www.yourfilehost.com/media.php?cat=other&file=754testforslappymoose.zip

Logged

Dasqoot

  • Bay Watcher
  • He-wenching for the cause.
    • View Profile
Re: Rick's utilities?
« Reply #20 on: January 11, 2008, 10:06:00 pm »

Did anyone ever figure this out? I'm having the same problem, the .ini file is working with reveal.exe, but not adjuststart.exe
Logged

0x517A5D

  • Bay Watcher
  • Hex Editor‬‬
    • View Profile
Re: Rick's utilities?
« Reply #21 on: January 12, 2008, 05:25:00 pm »

quote:
Originally posted by Dasqoot:
<STRONG>Did anyone ever figure this out? I'm having the same problem, the .ini file is working with reveal.exe, but not adjuststart.exe</STRONG>

What error message?

Due to a foolish mistake on my part, the 33g .INI entry on Rick's page was wrong for several hours.  I believe the symptoms were that reveal worked but not heal or  warp worked.  I don't remember if adjuststart was affected.  Anyway, try making a new .INI file from the correct data on Rick's page.

Logged

Slappy Moose

  • Bay Watcher
    • View Profile
Re: Rick's utilities?
« Reply #22 on: January 12, 2008, 10:20:00 pm »

Quote
Originally posted by 0x517A5D:
<STRONG>Okay.  I'm running out of ideas here.

Here's a quick test program.  Run it, cut&paste the results.
http://www.yourfilehost.com/media.php?cat=other&file=754testforslappymoose.zip</STRONG>[/QUOTE ]

I am testforslappymoose.exe
pid_from_FindWindowW             == 00001450
tid_from_FindWindowW             == 00001434
pid_from_FindWindowA             == 00001450
tid_from_FindWindowA             == 00001434
pe_header_timestamp              == 476CA6CE
dwarf_fortress_loc               == 008A3474
Copy this to the clipboard, then press a key to exit...

Logged
Zaneg Thazor: Armok Reincarnate Story http://www.bay12games.com/forum/index.php?topic=19291.msg196691#msg196691

[Healthcare Update Thread] Personally, I can't wait for doctors to get possessed and start surgically attaching axes to champion soldier's arms.

0x517A5D

  • Bay Watcher
  • Hex Editor‬‬
    • View Profile
Re: Rick's utilities?
« Reply #23 on: January 13, 2008, 02:50:00 am »

That's exactly as it should be.  I dunno what the problem is then.

I'll try to give this more attention this weekend.

Hey, what is the size in bytes of your memory.ini file?  I have a sneaky suspicion....

Logged

Neal

  • Escaped Lunatic
    • View Profile
Re: Rick's utilities?
« Reply #24 on: January 14, 2008, 09:19:00 pm »

The current .33g memory.ini (starts with [generic] DWARF_FORTRESS=0x008A3474) works for me under Vista/Intel 32bit.  It must be in the directory you are running reveal.exe from.  You must designate some areas to be mined so that the surrounding tiles are allocated.  

I don't have the access level issue.  It could be because I used
TweakUAC to disable the escalation prompts (always allow escalation).

Your reveal.exe does not have to be in the DF folder or the program files folder.  The memory.ini should be 582 bytes long.

Also if all you want to do is adjust the starting points, the free version of Artmoney works great.

[EDIT: Artmoney not allmoney]

[ January 14, 2008: Message edited by: Neal ]

Logged

Slappy Moose

  • Bay Watcher
    • View Profile
Re: Rick's utilities?
« Reply #25 on: January 17, 2008, 10:08:00 pm »

quote:
Originally posted by 0x517A5D:
<STRONG>Hey, what is the size in bytes of your memory.ini file?  I have a sneaky suspicion....</STRONG>

582 bytes.

Logged
Zaneg Thazor: Armok Reincarnate Story http://www.bay12games.com/forum/index.php?topic=19291.msg196691#msg196691

[Healthcare Update Thread] Personally, I can't wait for doctors to get possessed and start surgically attaching axes to champion soldier's arms.

0x517A5D

  • Bay Watcher
  • Hex Editor‬‬
    • View Profile
Re: Rick's utilities?
« Reply #26 on: January 18, 2008, 02:11:00 am »

582.  Well.  Well.

I had a suspicion that the INI was saved in unicode instead of ascii.  But apparently not.

At this point I got nothin.  We've covered it all, as far as I can see.  I don't know where to go next.

Logged
Pages: 1 [2]