spraypaint
New member
- Joined
- Jul 11, 2006
- Messages
- 1
- Programming Experience
- 3-5
I am using a Stand Alone Resource File, although I would much rather use a custom binary file. I understand how the custom binary works for VB 6, however most if not all the commands have been upgraded in VB.NET 2005, I have been able to store files useing the tutorial, I have not been able to read the files from it :< here is a link to the tutorial http://gpwiki.org/index.php/VB:Tutorials:Custom_Resource_Files
What I need is either the correct info on the tutorial for VB.NET 2005 basically the same tutorial that WORKS for vb.net 2005 or some code bits for the flow charts show below. I cant seem to store text files in the resource file, I know theres a way, I'm just overlooking it. Having spent 2 weeks on this part of the game, I'm now getting upset and need a fresh pair of eyes to help with the problem :>
The Resource File is using Standard ResourceWriter and RW.AddResource to place and then ResourceManager and RM.GetResource to pull it back out, and as I have not figured out how to store the text file im not sure how to read it back, I would prefer that durring the game's run-time no files be wrote to the users system I would rather they all be read from the file to memory and worked with in memory, still hazy on how that is accomplished.
Game Editor's Flow Chart
User Edits Details (Done)
User Saves Details (Done)
User Compiles Details (Need Help)
Images Renamed and Sorted (Done)
Images Stored in Resource File (Done)
Detail File Re-Saved With Renamed and Sorted Info (Done)
Store New Detail File In Resource File (Need Help) (File is a Flat Text File)
Resource File Closed
Ini File Created (Done)
User Notified Compile Finished (Done)
Exit Editor (Done)
Game (File Loading) Flow Chart
User Selects File To Load (Done)
File Loading (Not Started)
Read Ini File (Not Started)
Read and Load Data From Resource File (Need Help)
User Plays Game (Done)
Game Ends (Done)
What I need is either the correct info on the tutorial for VB.NET 2005 basically the same tutorial that WORKS for vb.net 2005 or some code bits for the flow charts show below. I cant seem to store text files in the resource file, I know theres a way, I'm just overlooking it. Having spent 2 weeks on this part of the game, I'm now getting upset and need a fresh pair of eyes to help with the problem :>
The Resource File is using Standard ResourceWriter and RW.AddResource to place and then ResourceManager and RM.GetResource to pull it back out, and as I have not figured out how to store the text file im not sure how to read it back, I would prefer that durring the game's run-time no files be wrote to the users system I would rather they all be read from the file to memory and worked with in memory, still hazy on how that is accomplished.
Game Editor's Flow Chart
User Edits Details (Done)
User Saves Details (Done)
User Compiles Details (Need Help)
Images Renamed and Sorted (Done)
Images Stored in Resource File (Done)
Detail File Re-Saved With Renamed and Sorted Info (Done)
Store New Detail File In Resource File (Need Help) (File is a Flat Text File)
Resource File Closed
Ini File Created (Done)
User Notified Compile Finished (Done)
Exit Editor (Done)
Game (File Loading) Flow Chart
User Selects File To Load (Done)
File Loading (Not Started)
Read Ini File (Not Started)
Read and Load Data From Resource File (Need Help)
User Plays Game (Done)
Game Ends (Done)