(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-21-24 09:57 PM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - ROM hacking with Java? New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Ailure

Mr. Shine
I just want peace...








Since: 11-17-05
From: Sweden

Last post: 6333 days
Last view: 6332 days
Posted on 03-09-06 02:09 AM Link | Quote
Ok, someone probalby would have to help me here. My Java knowledge is kind of basic, although i'm starting to get good at it.

Thing is, I looked through the API and I don't find any way to read certain bytes in a certain offset, and the other way around with writing certain bytes in a certain offset. Help would be appercited, as that's pretty much the only obstacle my editor would have. :/
neotransotaku

Sledge Brother
Liberated from school...until MLK day








Since: 11-17-05
From: In Hearst Field Annex...

Last post: 6335 days
Last view: 6333 days
Posted on 03-09-06 02:50 AM Link | Quote
You wan to use the RandomAccessFile class to be able to have the freedom to seek and read and write wherever you want.
Ailure

Mr. Shine
I just want peace...








Since: 11-17-05
From: Sweden

Last post: 6333 days
Last view: 6332 days
Posted on 03-09-06 12:06 PM Link | Quote
Originally posted by neotransotaku
You wan to use the RandomAccessFile class to be able to have the freedom to seek and read and write wherever you want.
Ah, thanks. I look it up on the API. I post if I have any success (or not) later. I didn't look through the API close enough I guess (But then, it's REALLY huge ).


(edited by Ailure on 03-09-06 11:11 AM)
neotransotaku

Sledge Brother
Liberated from school...until MLK day








Since: 11-17-05
From: In Hearst Field Annex...

Last post: 6335 days
Last view: 6333 days
Posted on 03-09-06 01:38 PM Link | Quote
However, the API is divided in a sensible fashion so, you could have explored the java.io package a little more closely But yeah, the API is quite extensive, but at least there is one and it is documented quite well in comparison to a few other APIs I've worked with, like the GTK library for UNIX GUIs
Guy Perfect









Since: 11-18-05

Last post: 6335 days
Last view: 6333 days
Posted on 03-10-06 12:37 PM Link | Quote
The JDK also comes with a utility called "javadoc" which will parse your source code (if you comment it using their little convention) and automatically generate API reference HTMLs exactly like the ones in the Official Java Documentation.
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - Programming - ROM hacking with Java? |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.010 seconds; used 366.86 kB (max 448.91 kB)