|
| ||||||
|---|---|---|---|---|---|---|
|
| Welcome to Yoshi Lighthouse. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| Questions/Answers; Doesn't fit in any of the lessons here? | |
|---|---|
| Topic Started: Jul 28 2009, 05:23:45 PM (326 Views) | |
Teawater
|
Jul 28 2009, 05:23:45 PM Post #1 |
|
Who are you calling an old man?
![]()
|
Here you will post questions that do not fit in any of the lessons taught. I hope your questions get answered. :) |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
Salanewt
|
Jul 28 2009, 05:30:22 PM Post #2 |
![]()
Star Yoshi
![]()
|
I have a very quick question. Do you know how I can make the program edit the text of another program? I need to know for the editor (I know...). Have a nice day.
|
|
Have a nice day! Yoshi is the ultimate video game character ever... If you don't believe me, then try beating me in Super Smash Bros. Brawl. My friend code is 3308-4556-9868. My nickname is Yoshi. To use a sword, /\ and / again. | |
![]() |
|
Teawater
|
Jul 28 2009, 06:31:58 PM Post #3 |
|
Who are you calling an old man?
![]()
|
Yes, I did it in my program (text file) but I have forgotten.... let me look it up.... STEP 1: FIRST LOAD FILE TO PROGRAM..... Try adding a Text box to your form. (and change C:\test.txt to whatever file, textfiles work, not sure about any other type? ) Dim FILE_NAME As String = "C:\test.txt" Dim objReader As New System.IO.StreamReader(FILE_NAME) TextBox1.Text = objReader.ReadToEnd objReader.Close() Source: http://www.homeandlearn.co.uk/NET/nets8p2.html STEP 2: is save..... but first maybe you would like to try step 1 first, let me know how it works.... |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
Salanewt
|
Jul 28 2009, 06:34:10 PM Post #4 |
![]()
Star Yoshi
![]()
|
Oh, thank you. I will see if this works. EDIT: I have one more question... Keeping in my head the answer to the first question, is it possible to get Visual Basic to only allow one type of file to be opened? Have a nice day.
|
|
Have a nice day! Yoshi is the ultimate video game character ever... If you don't believe me, then try beating me in Super Smash Bros. Brawl. My friend code is 3308-4556-9868. My nickname is Yoshi. To use a sword, /\ and / again. | |
![]() |
|
Teawater
|
Jul 28 2009, 06:41:28 PM Post #5 |
|
Who are you calling an old man?
![]()
|
Ok, but please note the STEP 1 above does not include that Open Dialog box in my Character 1 RPG, I take it you might want, do you not? (Otherwise your question would not have made sense....) I have a feeling the answer is yes, it would probably be a "Filter" command, however to quote the code I may have to look it up. |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
Salanewt
|
Jul 28 2009, 06:45:29 PM Post #6 |
![]()
Star Yoshi
![]()
|
Um, just in case your answer is not what I am talking about (and my question does not make sense (although the filter will help quite a bit)), I am thinking of making this program like any other game editor (can only be opened with the related ROM). Thanks, I will try out the filter. Have a nice day.
|
|
Have a nice day! Yoshi is the ultimate video game character ever... If you don't believe me, then try beating me in Super Smash Bros. Brawl. My friend code is 3308-4556-9868. My nickname is Yoshi. To use a sword, /\ and / again. | |
![]() |
|
Teawater
|
Jul 28 2009, 06:49:51 PM Post #7 |
|
Who are you calling an old man?
![]()
|
Even though there is a filter command to ( Save as type: FILENAME??.EXTENSION, Example: *.gba ) You could probably check to see if certain text in the file exists (that you don't edit) and if it doesn't cancel the Open... Post has been edited. |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
Salanewt
|
Jul 28 2009, 06:53:11 PM Post #8 |
![]()
Star Yoshi
![]()
|
Oh, thank you. One last question... Could you please tell me how to use the filter command? Have a nice day.
|
|
Have a nice day! Yoshi is the ultimate video game character ever... If you don't believe me, then try beating me in Super Smash Bros. Brawl. My friend code is 3308-4556-9868. My nickname is Yoshi. To use a sword, /\ and / again. | |
![]() |
|
Teawater
|
Jul 28 2009, 07:02:22 PM Post #9 |
|
Who are you calling an old man?
![]()
|
openFD.InitialDirectory = "C:\" openFD.Title = "Open a Text File" openFD.Filter = "Text Files|*.txt" openFD.ShowDialog() where openFD is the name of the Open Dialog Box you put in a form. Source: http://www.homeandlearn.co.uk/net/nets4p7.html That is a good example of how filter is used, if you want more extensions.... Example: openFD.Filter = "Text Files|*.txt|Gameboy Advance Rom|*.gba" must not be a | at the beginning or end, however the titles and extensions must be separated by |. |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
Salanewt
|
Jul 28 2009, 07:15:12 PM Post #10 |
![]()
Star Yoshi
![]()
|
Oh, thank you for this information. It will probably help me when working on the editor. Have a nice day.
|
|
Have a nice day! Yoshi is the ultimate video game character ever... If you don't believe me, then try beating me in Super Smash Bros. Brawl. My friend code is 3308-4556-9868. My nickname is Yoshi. To use a sword, /\ and / again. | |
![]() |
|
Teawater
|
Jul 28 2009, 07:21:27 PM Post #11 |
|
Who are you calling an old man?
![]()
|
You are very welcome, let me know how it comes out and if you have anymore additional questions. |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
Salanewt
|
Aug 11 2009, 02:44:45 PM Post #12 |
![]()
Star Yoshi
![]()
|
Hello, I am having a problem right now. A little while ago, I started making the interface of the editor and I saved it as Mario and Luigi Editor. However, when I open it in Visual Basic, I am unable to edit it. The file that does come up is "ToolStripButton1.image". If you know how I can get the program back, I would appreciate it, thank you. I tried saving the extension as .vb, but it is actually .resx. Have a nice day. ![]() Edit: Never mind, thank you. I have thought about it, and I just made a new one. |
|
Have a nice day! Yoshi is the ultimate video game character ever... If you don't believe me, then try beating me in Super Smash Bros. Brawl. My friend code is 3308-4556-9868. My nickname is Yoshi. To use a sword, /\ and / again. | |
![]() |
|
Teawater
|
Aug 11 2009, 08:46:32 PM Post #13 |
|
Who are you calling an old man?
![]()
|
Okay, also it would have helped if you would had uploaded the folders you are having problems with, but since it does not matter anymore, there would be no point. How are things going so far? |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
Salanewt
|
Aug 11 2009, 08:51:44 PM Post #14 |
![]()
Star Yoshi
![]()
|
Oh, things are doing well, thank you. The editor does not actually do anything yet, but I have the interface ready. This means that I just have to make the program open/save the ROM, read the text, as well as some secret snippets that will help for text editing. Have a nice day.
|
|
Have a nice day! Yoshi is the ultimate video game character ever... If you don't believe me, then try beating me in Super Smash Bros. Brawl. My friend code is 3308-4556-9868. My nickname is Yoshi. To use a sword, /\ and / again. | |
![]() |
|
Teawater
|
Aug 11 2009, 11:01:01 PM Post #15 |
|
Who are you calling an old man?
![]()
|
I'm pretty much at a brick in the wall for helping until I can finally actually figure out how to get all the data displayed in the program, as you can see in the cbox, I was investigating further into how it can be done, but it has not been solved yet, I don't think. |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
Salanewt
|
Aug 11 2009, 11:16:45 PM Post #16 |
![]()
Star Yoshi
![]()
|
True enough. Anyway, I am going to continue searching tomorrow. If I still can not find anything, then I will release the pre-beta version of the editor (text viewer, if there is text). Have a nice day.
|
|
Have a nice day! Yoshi is the ultimate video game character ever... If you don't believe me, then try beating me in Super Smash Bros. Brawl. My friend code is 3308-4556-9868. My nickname is Yoshi. To use a sword, /\ and / again. | |
![]() |
|
Teawater
|
Aug 11 2009, 11:26:33 PM Post #17 |
|
Who are you calling an old man?
![]()
|
Cool. You know, since I am trying to help so much is there any possibility that we both could be known as "Author" of it? Just a thought. Edit You'd be Primary, I'd be Secondary. Which is slightly different than "Credits" |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
Salanewt
|
Aug 11 2009, 11:40:06 PM Post #18 |
![]()
Star Yoshi
![]()
|
Well, if I did not know any better, I would say that you read my mind. Anyway, I decided to put you as a member/assistant/maker of the editor back when you joined the HEX testing team (and then decided again when you started testing it). Not to mention all of your help. This is why you will be in the "credits"/about section of the editor. Have a nice day.
|
|
Have a nice day! Yoshi is the ultimate video game character ever... If you don't believe me, then try beating me in Super Smash Bros. Brawl. My friend code is 3308-4556-9868. My nickname is Yoshi. To use a sword, /\ and / again. | |
![]() |
|
Teawater
|
Aug 11 2009, 11:45:29 PM Post #19 |
|
Who are you calling an old man?
![]()
|
I read your mind? Nice! ...... Oh yeah, I also think that all author's should have the source code before they can even be true Author's (I think, but I'm not sure.) Edit- I suppse that would be the slight difference, hmm. |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
Salanewt
|
Aug 12 2009, 12:01:11 AM Post #20 |
![]()
Star Yoshi
![]()
|
True. I will supply the source code to all of the other authors when after each version of the editor has been released. Have a nice day.
|
|
Have a nice day! Yoshi is the ultimate video game character ever... If you don't believe me, then try beating me in Super Smash Bros. Brawl. My friend code is 3308-4556-9868. My nickname is Yoshi. To use a sword, /\ and / again. | |
![]() |
|
Teawater
|
Aug 12 2009, 12:06:44 AM Post #21 |
|
Who are you calling an old man?
![]()
|
Cool. Now... BinaryReader StreamReader StringReader TextReader I am hoping to find a way that uses one of these to see the data of the ROM. Whether it succeeds or not, will depend on what I do and what I find on the internet. |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
Salanewt
|
Aug 12 2009, 12:22:43 AM Post #22 |
![]()
Star Yoshi
![]()
|
Thank you very much. I have a feeling that your best bet might be "StringReader", since the Hecadecimal values are all strings, this might be easier. Of course, with the HEX editor that I have been using, binary should be possible as well. Have a nice day. |
|
Have a nice day! Yoshi is the ultimate video game character ever... If you don't believe me, then try beating me in Super Smash Bros. Brawl. My friend code is 3308-4556-9868. My nickname is Yoshi. To use a sword, /\ and / again. | |
![]() |
|
Teawater
|
Aug 12 2009, 12:30:31 AM Post #23 |
|
Who are you calling an old man?
![]()
|
With that, I suceeded in getting C:\Users\bls712\Desktop\1277 - Mario And Luigi Superstar Saga (U)(Rising Sun).gba in the textbox, however I currently have not gotten anything else in the textbox yet. |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
Salanewt
|
Aug 12 2009, 12:35:13 AM Post #24 |
![]()
Star Yoshi
![]()
|
Ah, okay. Is there any way to display certain Hex offsets in the box, and not all of them (to avoid getting the Hexadecimal values for enemy stats, etc.)? Anyway, I was wondering... Could you please tell me how I make it so everything in my program only appears in the one tab? Thank you in advance. Have a nice day.
|
|
Have a nice day! Yoshi is the ultimate video game character ever... If you don't believe me, then try beating me in Super Smash Bros. Brawl. My friend code is 3308-4556-9868. My nickname is Yoshi. To use a sword, /\ and / again. | |
![]() |
|
Teawater
|
Aug 12 2009, 12:40:02 AM Post #25 |
|
Who are you calling an old man?
![]()
|
Tabs- First click on the Tab you are working on, then just drag whatever you want to be shown un that specific tab, and do that with the other tabs, it's all very simple, so you should get the hang of it easily. Offsets- I have no idea, I have yet to figure that out, makes me think math will be involved. |
| If you ever find an error in any of my reference materials, PLEASE let me know. | |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Visual Basic · Next Topic » |
- Pages:
- 1
- 2












10:51 AM May 24
