News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - PhOeNiX

Pages: 1 2 3 [4]
Newcomer's Board / Re: How to hack ISOs
« on: April 10, 2011, 02:00:11 pm »
Only XA audio is stored that way. Movies are made up of interleaved sectors of video and audio streams depending on the encoding parameters. Let's say, 8 sectors of video data (regular sectors) and 2 sectors of audio (Mode 2 form 2 sectors), that's why you still need to dump movies the raw way.

Programming / Re: Documentation Software
« on: April 09, 2011, 07:37:23 pm »
Mmm, as i understand, you need something similar to github or google code, but on your local machine :P. If your code is fre,e you should be confortable uploading your programs on github and then use its features to achieve your goals. For closed source projects, mm you should use some other tool like that wich can be downloaded and executed on your local machine.

Programming / Re: Documentation Software
« on: April 09, 2011, 07:14:46 pm »
I don't know if you are talking about source code documentation or project documentation. For documenting code, you would use an automated doc generator like doxygen or javadoc if you are programming in java.For projects documentation you should use UML instead, describing your applications architectures and then write a doc explaining your design strategies and commenting the UML diagrams.

Newcomer's Board / Re: How to hack ISOs
« on: April 08, 2011, 07:45:08 pm »
Obviously TOC Changer cannot  resolve problems regarding custom file systems, but it's still usefull once you edit the custom file system.

Newcomer's Board / Re: How to hack ISOs
« on: April 08, 2011, 05:47:06 pm »
Indeed, TOC Changer is a repointer too. It can change the LBA of any file inside the image. Changing the LBA you wiil be able to move your files inside the ISO.

You can use to extract and reinsert XA audio files in your image.

Sorry for this, i was sure it used gtk# only  ::)

Yes, you are right, but i have written this tool mainly to enable the checksum feature. Many users at our board could not apply an xdelta patch to their ISO even if it was dumped from the same game used to create the patch. Another reason why i made this tool is that i don't like .NET Framework for simple tools (it's seems to shoot a fly with a bazooka ;)). As far I know all the xdelta frontend, not only yours, need .NET to work and Mono doesn't support Windows Form (i like making cross-platform tools :P).

-EDIT- For the final user there is Delta Patcher Lite, which is the same of xdeltaUI plus checksum enabling/disabling and original file backup.

In Java should be relatively simple:
InputStream comprIS=new GZIPInputStream(new FileInputStream("your file name here"));

or if you want to work on buffers

InputStream comprIS=new GZIPInputStream(new ByteArrayInputStream(byte_buffer));

but i'd sudgest using BufferedStream, instead of loading the whole file in memory

InputStream comprIS=new GZIPInputStream(new BufferedInputStream(new FileInputStream("your file name here")));

//your code here


Pages: 1 2 3 [4]