Hex, binary and related stuff.
How do you properly script in XVI32 simple actions like:FIND 4F 67 67 53 00 02
DEL <all bytes to start of file> ;how do you tell the script to do this?
FINDNEXT 4F 67 67 53 00 02 ;I need a command like this
DEL <all bytes to end of file> ;same as before
I read the guide throughly but I couldn't find a way to run these actions with the few commands the program makes available to use in the script editor.
Do you know a hex editor with a more extended script-editing feature?
Is this some assembly?
To "delete" just mov 0 data into the address, there isn't really "deleting" data at this low level though. To compare strings, you need a buttload of jumps and compare each character, if any character doesn't fit the condition you go on to the next set of characters.
Assembly is boiler plate: the language.
ah no even though it looks like assembly, it's just the editor internal script feature. I'll copy-pase the list of commands from the guide:
too bad it's so limited, if I could throw in the script some assembly, that would be nice but looks like it's not supported.
I'm trying to extract .ogg audio files from an archive by the way, since it's a proprietary archive format I cannot open it with 7zip nor Winrar, IsoBuster cannot differentiate between the audio files either, so I've been extracting the tracks manually, which works pretty well:
but since there're dozens of tracks, I'm trying to automate the process, it's not complicated because what I do manually it is literally what I posted in the OP between the code tags, if only I could run a script like that...
kek.. sadly I cannot afford that.
Anyways, here is the archive header (in pic too):
(above is hex, below is string)
Does it look like anything you saw before? the file extension is .arc but I already tried FreeArc and it didn't work, I compared the header to FreeArc generated archives too and it's completely different so I ruled this option out.
The end of the file has no signature too.