Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
Acmlm's Board - I2 Archive - - Posts by Eliad |
User | Post | ||
Eliad Micro-Goomba Level: 6 Posts: 1/12 EXP: 692 For next: 215 Since: 01-28-05 Since last post: 275 days Last activity: 273 days |
| ||
I'm making a Save State Editor, and I can't seem to get the 'Load ROM' thing right. Here's my code for Form1: Private FileData() As Byte 'create an array to hold the bytes of the save file Private OpenFile As String 'the name of the loaded file Private Sub menu_About_Click() Form5.Show Form1.Hide End Sub Private Sub menu_Characters_Click() Form3.Show Form1.Hide End Sub Private Sub menu_Items_Click() Form4.Show Form1.Hide End Sub Private Sub menu_Load_Click() 'open the common dlg and save file name into OpenFile string variable OpenFile = CommonDialog1.FileName 'if OpenFile is 0 (they hit cancel) exit sub If Len(OpenFile) = 0 Then Exit Sub 'open the file as binary and load it all into the FileData() array Open OpenFile For Binary As #1 ReDim FileData(LOF(1) - 1) Get #1, , FileData Close #1 Me.Caption = FileData(0) End Sub Private Sub menu_Quit_Click() End End Sub Any help would be much appreciated, thanks. |
|||
Eliad Micro-Goomba Level: 6 Posts: 2/12 EXP: 692 For next: 215 Since: 01-28-05 Since last post: 275 days Last activity: 273 days |
| ||
Hahah... That's nice. Must have taken some skill to get a SNES controller working with your NES? | |||
Eliad Micro-Goomba Level: 6 Posts: 3/12 EXP: 692 For next: 215 Since: 01-28-05 Since last post: 275 days Last activity: 273 days |
| ||
This looks like a cool hack. Keep up the good work. | |||
Eliad Micro-Goomba Level: 6 Posts: 4/12 EXP: 692 For next: 215 Since: 01-28-05 Since last post: 275 days Last activity: 273 days |
| ||
It gave me a type mismatch error. Private Sub menu_Load_Click() 'open the common dlg and save file name into OpenFile string variable OpenFile = CommonDialog1.ShowOpen() 'if OpenFile is 0 (they hit cancel) exit sub If Len(OpenFile) = 0 Then Exit Sub 'open the file as binary and load it all into the FileData() array Open OpenFile For Binary As #1 ReDim FileData(LOF(1) - 1) Get #1, , FileData Close #1 Me.Caption = FileData(0) End Sub |
|||
Eliad Micro-Goomba Level: 6 Posts: 5/12 EXP: 692 For next: 215 Since: 01-28-05 Since last post: 275 days Last activity: 273 days |
| ||
Gave me a syntax error. | |||
Eliad Micro-Goomba Level: 6 Posts: 6/12 EXP: 692 For next: 215 Since: 01-28-05 Since last post: 275 days Last activity: 273 days |
| ||
Could someone please fix this and post a reply with it? =\ Private Sub menu_Load_Click() 'open the common dlg and save file name into OpenFile string variable OpenFile = CommonDialog1.ShowOpen 'if OpenFile is 0 (they hit cancel) exit sub If Len(OpenFile) = 0 Then Exit Sub 'open the file as binary and load it all into the FileData() array Open OpenFile For Binary As #1 ReDim FileData(LOF(1) - 1) Get #1, , FileData Close #1 Me.Caption = FileData(0) End Sub |
|||
Eliad Micro-Goomba Level: 6 Posts: 7/12 EXP: 692 For next: 215 Since: 01-28-05 Since last post: 275 days Last activity: 273 days |
| ||
It kinda does... It still doesn't say .zst in the 'choose filetype' area... | |||
Eliad Micro-Goomba Level: 6 Posts: 8/12 EXP: 692 For next: 215 Since: 01-28-05 Since last post: 275 days Last activity: 273 days |
| ||
No no. I also had a problem with the cancel error, which you just told me how to fix. Thanks. Edit: How do I make it so it can only open the Breath of Fire 2 ROM (English version)? (edited by Eliad on 01-29-05 11:00 PM) |
|||
Eliad Micro-Goomba Level: 6 Posts: 9/12 EXP: 692 For next: 215 Since: 01-28-05 Since last post: 275 days Last activity: 273 days |
| ||
What is the code to do that, and how do I get a GFX string from a ROM? | |||
Eliad Micro-Goomba Level: 6 Posts: 10/12 EXP: 692 For next: 215 Since: 01-28-05 Since last post: 275 days Last activity: 273 days |
| ||
I'm trying to make a Save State Editor that works with Breath of Fire 2 for SNES. | |||
Eliad Micro-Goomba Level: 6 Posts: 11/12 EXP: 692 For next: 215 Since: 01-28-05 Since last post: 275 days Last activity: 273 days |
| ||
I knew I was needing to use the saved state all along, I just chose the wrong words to use... =\ | |||
Eliad Micro-Goomba Level: 6 Posts: 12/12 EXP: 692 For next: 215 Since: 01-28-05 Since last post: 275 days Last activity: 273 days |
| ||
I believe they do have headers... 5A53 4E45 5320 5361 7665 2053 7461 7465 2046 696C 6520 5630 2E36 Or, in plain English... ZSNES Save State File V0.6 |
Acmlm's Board - I2 Archive - - Posts by Eliad |