Author
|
Topic: Trying to make a table for Suikoden I and II (PSP) (Read 2 times)
|
Gemini
Guest
|
|
« Reply #15 on: January 21, 2010, 05:28:29 pm » |
|
Oh Jesus, not gzip again! °0° At least I'm glad I've got it all implemented for FF7. This format is truly diabolic.
|
|
|
|
creaothceann
Guest
|
|
« Reply #16 on: January 21, 2010, 05:37:42 pm » |
|
@DarknessSavior: I should add that when I said "read through the help file", I meant only the part that lists the constants, variables and functions of the already shipped units (SYSTEM, CRT, DOS, etc). lol pascal
It's not standard pascal though.
|
|
|
|
BRPXQZME
Guest
|
|
« Reply #17 on: January 21, 2010, 05:43:22 pm » |
|
Yes, but all non-mainstream programming languages, API’s, and compilers—especially formerly-mainstream ones—are easy targets.
|
|
|
|
KaioShin
Guest
|
|
« Reply #18 on: January 22, 2010, 04:54:03 am » |
|
Is Turbo Pascal even object-oriented? I know Delphi is, but IIRC TP was before that. If he is learning Java anyway right now I wouldn't confuse him with another non-OO language. He can write that extraction tool just as easily in Java and since he has to learn it anyway (I assume it's for college or something) that'll also give him a huge boost in motivation to make progress with Java.
|
|
|
|
creaothceann
Guest
|
|
« Reply #19 on: January 22, 2010, 06:23:34 am » |
|
Is Turbo Pascal even object-oriented?
Yes, since version 5.5. Anyway, you don't need OOP for simple file manipulation (imo).
|
|
|
|
DarknessSavior
Guest
|
|
« Reply #20 on: January 22, 2010, 09:44:11 am » |
|
As far as Java goes, the only stuff I know how to do is really simple stuff. Concatenation, simple arithmetic, and System.out.println stuff. We just started. Yes, it's for college, but I don't have to take it. I chose to take it, hoping that since it's "Intro to Programming" that it would help me out in the realm of ASM (that way I could at least start thinking like a programmer).
So I don't see myself writing some sort of extraction program in Java just yet. Or even by the end of the semester (I'm not 100% of the topics we're covering, but we're only doing the first six chapters out of this giant Java textbook, "Absolute Java").
~DS
|
|
|
|
BRPXQZME
Guest
|
|
« Reply #21 on: January 22, 2010, 10:38:59 am » |
|
Gonna go out on a limb and recommend you just learn Python. I ain’t ever used it myself, but my experience from watching high-schoolers pick it up is that it makes stuff like this a cinch. Well-documented. zlib is part of the standard package, so you don’t even need to do anything funky to get it set up.
|
|
|
|
Gemini
Guest
|
|
« Reply #22 on: January 22, 2010, 11:01:32 am » |
|
I wonder if java has a good native support for GZip. That would make the un/packer a lot faster to code, especially if it can work with buffers (:9).
|
|
|
|
BRPXQZME
Guest
|
|
« Reply #23 on: January 22, 2010, 12:01:31 pm » |
|
Does it have native support? Yes. Is it good? ...depends on what you need. Some have felt the need to re-implement the functionality, for example.
|
|
|
|
golden
Guest
|
|
« Reply #24 on: January 22, 2010, 12:24:22 pm » |
|
Gonna go out on a limb and recommend you just learn Python. I ain’t ever used it myself, but my experience from watching high-schoolers pick it up is that it makes stuff like this a cinch. Well-documented. zlib is part of the standard package, so you don’t even need to do anything funky to get it set up.
I recommend it as well, I'm using it for my projects' tools. If you want to, DarknessSavior, you can check out this post which describes how something similar could be accomplished in Python.
|
|
« Last Edit: January 22, 2010, 12:30:48 pm by golden »
|
|
|
|
Gemini
Guest
|
|
« Reply #25 on: January 22, 2010, 04:42:25 pm » |
|
Does it have native support? Yes. I knew about this one. IIRC, they've used pure C code for that with DLLs or whatever other systems use. :/ I'm not completely sure what's wrong with the default implementation, but as long as it decompresses from buffers it should be fine, especially for this kind of rearchivation programs.
|
|
|
|
Kitsune Sniper
Guest
|
|
« Reply #26 on: January 22, 2010, 07:36:00 pm » |
|
:/ I'm not completely sure what's wrong with the default implementation, but as long as it decompresses from buffers it should be fine, especially for this kind of rearchivation programs.
It says so on the page. "For example, we needed to full access to zlib to add the packet compression support to pure Java SSH system, but they are useless for our requirements." There's a bug in Java's zlib implementation that won't let them do this, so they made their own version. :p
|
|
|
|
Gemini
Guest
|
|
« Reply #27 on: January 23, 2010, 08:30:46 am » |
|
I read that part. Still, it doesn't explain if it's important or not for code using files rather than online streams.
|
|
|
|
Rudy
Guest
|
|
« Reply #28 on: March 02, 2010, 07:58:09 pm » |
|
are you still working on it?
|
|
|
|
Vegetaman
Guest
|
|
« Reply #29 on: March 04, 2010, 05:02:36 pm » |
|
I'd suggest C#, as it makes this kind of manipulation ridiculously easy (at least, over C++). However, be very careful, as some commands (like filestream) can wind up being notoriously slow...
|
|
|
|
|