Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-02-2005, 05:32 PM
Position Position is offline
Junior Member
 
Join Date: Nov 2003
Location: San Diego, CA
Posts: 20
Default Hardcoding Notes.txt pointers?


When I'm running 5 Party skins at once, I'd love all of them to reference the same Notes.txt file in memory. Faster, frees up resources.

Anyone doing this? Please give quick instructions.
Reply With Quote
  #2  
Old 05-02-2005, 10:19 PM
Luv2DriveTT Luv2DriveTT is offline
Junior Member
 
Join Date: Apr 2004
Location: USA
Posts: 3
Default Re: Hardcoding Notes.txt pointers?

[ QUOTE ]

When I'm running 5 Party skins at once, I'd love all of them to reference the same Notes.txt file in memory. Faster, frees up resources.

Anyone doing this? Please give quick instructions.

[/ QUOTE ]

Import notes into Poker Tracker, then export back out.

TT [img]/images/graemlins/club.gif[/img]
Reply With Quote
  #3  
Old 05-03-2005, 01:04 AM
Position Position is offline
Junior Member
 
Join Date: Nov 2003
Location: San Diego, CA
Posts: 20
Default Re: Hardcoding Notes.txt pointers?


?

That makes all the Notes.txt files the *same* as each other, but still separate in the computer's memory when they're all running.

I'm looking for a way to have the computer load a Notes.txt file just once for running all the skins at once.
Reply With Quote
  #4  
Old 05-03-2005, 03:52 AM
bobdibble bobdibble is offline
Member
 
Join Date: Jun 2004
Location: The Muck
Posts: 86
Default Re: Hardcoding Notes.txt pointers?

You can't do this. Even if you were to trick all the skins to load the same file, they are each going to allocate memory internally to load the file into.
Reply With Quote
  #5  
Old 05-03-2005, 11:53 PM
Position Position is offline
Junior Member
 
Join Date: Nov 2003
Location: San Diego, CA
Posts: 20
Default Re: Hardcoding Notes.txt pointers?


Thank you. That was the kind of answer I was looking for, even if it's disappointing!
Reply With Quote
  #6  
Old 05-04-2005, 04:09 PM
gamb00ler gamb00ler is offline
Junior Member
 
Join Date: Jan 2003
Posts: 0
Default Re: Hardcoding Notes.txt pointers?

The only help I can offer is telling you how to make Party skins share the same physical disk file. To do so, you must be running WinXP (may have to be Pro version, not sure). There is a risk to doing it also...you may loose updates to the file if you attempt to make notes updates from multiple skins.

The command: fsutil hardlink create newfile existingfile
will make a newfile that is actually only a pointer to existingfile. So, if you want to create a notes.txt file in Empire that points to the same physical disk file in Party, the full command would be:

fsutil hardlink create c:/Program Files/EmpirePoker/notes.txt c:/Program Files/PartyPoker/notes.txt
Reply With Quote
  #7  
Old 05-05-2005, 05:46 AM
bobdibble bobdibble is offline
Member
 
Join Date: Jun 2004
Location: The Muck
Posts: 86
Default Re: Hardcoding Notes.txt pointers?

Ya.. but as I mentioned above, PP is surely loading the notes into memory rather than scaning the file every time it needs the info, so hardlinking the files probably won't save memory. In fact, it may even end up causing problems if multiple skins want to update the file at the same time.
Reply With Quote
  #8  
Old 05-06-2005, 05:00 PM
CORed CORed is offline
Senior Member
 
Join Date: Sep 2002
Posts: 273
Default Re: Hardcoding Notes.txt pointers?

I your are running XP, 2000 or NT, with NTFS, there is a free utility called NTFSLink that allows you to create hard links, so you can, in essence, have the same file in multiple directories. However, this may not work if the software opens the file with an exclusive lock when it's running (the second site that you open wouldn't be able to open the file because the first already has it locked. Also, if you have multiple programs writing to the file at the same time, your the date could easily get scrambled.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.