Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Hex Editing or something like it.


Hex Editing or something like it.

Author
Message
Oblivion_Of_Pain
Oblivion_Of_Pain
Forum God
Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)

Group: Forum Members
Posts: 3, Visits: 5
I'm using VB 6.0 and I'm trying to make an editor for an old playstation game. I'm using CDmage to extract files off of the CD. I can use a hex editor to edit the files, but I want to us VB to automate the process and make it more user friendly. I'm not a total newb with VB but what I'm looking to do, I might as well be. I've looked at over 100 pages here of code and programs looking for something that I can use to build on. I found one good hex editor, but it's quite complex for me and the author wrote it with almost no comments so I'm not making heads or tails of it. I'm hoping that someone can help me with some simple coding to edit in hex, I don't actually want to display the hex at all, just have it so users can select something out of a list box and have my program change the file I'm editing. I'm not sure I'm making myself clear but any help would be much appreciated.

"Tribute?!?!?! You steal men's souls and make them your slaves!!!"

--Alucard

"Perhaps, the same could be said of all religions!!!!"

--Dracula

CASTLEVANIA: SOTN
Keithuk
Keithuk
Forum God
Forum God (291K reputation)

Group: Moderators
Posts: 1.9K, Visits: 5.5K
Welcome to A1vbcode Oblivion_Of_Pain.

What file type are you trying to edit?

I think you best bet is to do a search on PSC Wink

Keith

I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

Oblivion_Of_Pain
Oblivion_Of_Pain
Forum God
Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)

Group: Forum Members
Posts: 3, Visits: 5
One file extension is .21, there's a .mes, and a .ent, which all seem to be proprietary to the game. But, they're alot like .dat that some older games use. We know the values we want to edit if you open those files in a hex editor.

"Tribute?!?!?! You steal men's souls and make them your slaves!!!"

--Alucard

"Perhaps, the same could be said of all religions!!!!"

--Dracula

CASTLEVANIA: SOTN
Keithuk
Keithuk
Forum God
Forum God (291K reputation)

Group: Moderators
Posts: 1.9K, Visits: 5.5K
The file extension doesn't make any difference, its the type of file format we need to know. Is it pure Ascii or Binary? Wink

Keith

I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

Oblivion_Of_Pain
Oblivion_Of_Pain
Forum God
Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)Forum God (1.2K reputation)

Group: Forum Members
Posts: 3, Visits: 5
Binary.



On related note, is there a way to work with string variables the same way as text boxes using things like selstart, sellength and seltext? Because, if I can load the files I want as either hex or even a long string of binary, I think that would be the easiest way for me to edit it the way I want to.

"Tribute?!?!?! You steal men's souls and make them your slaves!!!"

--Alucard

"Perhaps, the same could be said of all religions!!!!"

--Dracula

CASTLEVANIA: SOTN
Keithuk
Keithuk
Forum God
Forum God (291K reputation)

Group: Moderators
Posts: 1.9K, Visits: 5.5K
Oblivion_Of_Pain (10/20/2007)

On related note, is there a way to work with string variables the same way as text boxes using things like selstart, sellength and seltext?

Yes you you can read the file using the Line Input function. Wink

Keith

I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search