Prosper said:This will be the thread for talking about my project named Frostling.
I am aiming for a advanced trading application that will allow you to have trading sessions with someone over the net.
It will work like this.
1. Start Fallout
2. Load your game
3. Run Frostling
4. (Frostling peeks at inventory Data)
5. (Frostling Pauses Game)
From here you begin your trade by connecting to your friend.
Problem #1
I cannot decide whether reading from the memory of the game or reading from the games saved file would be a better way to go.
Karel said:Definitely save game files. On modern operating systems, it's very hard to read memory of other programs. Also, you don't even know where all the values are saved!
Kanhef said:I think a better question is, Why read from the program's memory? It's harder to access under any operating system, and has much more data that you're not interested in. For example, the game has to keep track of every item on the current map. In the east side of the Den, there are about twenty instances of 10mm JHP (in slavers' inventory and weapons); you'd have to make sure you don't use one of those, rather than what's in the player's inventory. You could modify the program's memory, but you'd be making a lot of unnecessary work for yourself.
Karel said:http://en.wikipedia.org/wiki/Address_space_layout_randomization
Not in Vista by default as I thought, but in reasonable operating systems it already works. Also, consider that you have to start first your program, than from it Fallout to get access to the memory (because if you have two separated processes, you can't easily access the memory if you are not root/administrator). Tinkering with memory may raise alerts of antivirus-antispyware-firewall software.
Emulation of older Windows systems will be hidden deep inside, so that will pose a problem too. Fallout save-game files are relatively well documented, there are many programs that read them - you will save yourself a lot of work.
Searching memory is slow (most new computers have at least 1-2 GB plus several gigabytes of swap).
Karel said:teamx.ru
http://www.nma-fallout.com/forum/viewtopic.php?t=39667
I didn't say I know where the documents are, but I know about savegame editors, so somebody must know what to do with the files. I haven't classical trainers (modifying game runtime memory) around.