[edit]
VB sucks.
If you want an easy language, go Delphi (aka object pascal).
If you want a descent language go either: C#, C++ or Java.
-_-
Quote from: "Argg0"VB sucks.
If you want an easy language, go Delphi (aka object pascal).
If you want a descent language go either: C#, C++ or Java.
-_-
ridiculous. visual basic works wonders and it's more intuitive than c. and java... come on please.
for what concern me, perfect choice zodiac.
I never said C or Java were easier than VB... I said Delphi is.
Well, to make it short, I lost my VB6 CD.
Then I had to choose 120mb Delphi or 680mb VB6.
After 3 days of dling Delphi here I am.
I read a lot about Delphi and they all said it was easier than VB if with any Pascal experience. Else it was
harder.
Well, since I never really liked the fact that you could see the source code with notepad of a compiled VB program, I'll do my best to learn Delphi.
So, in other words it starts...
NOW!
If you need any help/have doubts, feel free to ask.
I'm not experienced in Delphi as I'm in C++, but I think I'll be able to help.
Are you using Borland?
Not sure about other compilation programs, but, in Borland, Ctrl Space is your friend.
What you could C++ this whole time and never volunteered to make a program? <_<'
内乱罪!!
Yeah, Borland. Anyone ever created any other Delphi compiler?
I only findout you needed help coding a while ago...
And I did offer help, more than once.
All offers got ignored...
Well, I thought you said you weren't very familiar with hex editing...
And as for coding it's the first time I read that you can code.
Not to mention that I don't want anyone to:
Patch file, Import in CD mage, then load Savestate.
rofl.
Anyway it's too late now. Coding is a useful skill and I already started.
And I have to say Delphi 'feels' much more reliable than VB. So I don,t regret my choice.
My univercity is about Informatic (it's not CS though), more focused on programming.
I've never had a reason to go on hex things... If I actually knew what you guys need, I could help, go after knowladge.
But I don't know what you need exactly. Without knowing what you need exactly, I can't help.
Quote from: "Argg0"Without knowing what you need exactly, I can't help.
I'm not sure myself. XD
Yeah, that's common.
So common that I have two subjects just for this problem (user not knowing what he wants, finding out what he wants).
Too bad that I suck at it and almost failed on the first one and might fail on the second (still on it).
Huh? Ã"_o
I don't follow you anymore
The client (who wants the software) not knowing what he wants.
That's common.
Ah, lol
Hey, I do have one question.
Private/Public what's the difference? Is is that you can only use a define variable in the current function if it's private? I never really got it in my Java class. I kept making everything public.
Quote from: "Argg0"I only findout you needed help coding a while ago...
And I did offer help, more than once.
All offers got ignored...
in answered you twice or trice and never heard anything from you
I found the info rather vague when you said... >_>
Don't remember why I didn't reply. I think I stoped caring or something...
Private means that only the class that possess it can alter/use that thing.
Public can be changed by stuff outside the class.
Basically, it's a security thing. If you don't want to accidently mess up use private.
If you make everything public and take care while coding, there will be no difference.
Hadn't enough time yesterday for some Delphi or even to answer most topic, so just wanted to say thanks.
XD
Going back at it. Maybe I'll be able to start coding Rad's Toolkit this week-end?
Crap... what's the easiest way to load an entire file into memory & manage it?
I can only store about 100kb in an array of bytes. That sucks. :?
And I searched but couldn't find anything about how I could let the user click a button, choose its folder with FFT files to modify and click OK. All files would then have the correct path to load them. (sorry I have no idea how it's called in English, in fact, my XP is in French >_>')
I was expecting this to be easier.
What Delphi compiler are you using?
Borland?
If so, under the system tab there is lots of Dialogs, OpenDialog is what you want.
It brings the usual windows Open box. It returns a string with the file name. So you go like...
if (OpenDialog1.execute) then
Memo1.Lines.LoadFromFile(OpenDialog1.filename);
Would throw the file text on the Memo1.
About the bytes problem... I'm not sure. I don't know variable limitations and such on Delphi (like I said before, I use C++ >_<)...
Still can't get the SelectDirectory function to work...
Well, I started coding the program and all I've done until now is loading all the proper data into separate arrays. That took me more than half an hour dammit. :S
Look how newbie my source looks:
var
FilePath : String;
SCUS : File;
Ab1 : array[0..4095] of byte;
Ab2 : array[0..5152] of byte;
ASIte : array[0..15] of byte;
ASThr : array[0..11] of byte;
ASJmp : array[0..23] of byte;
ASChr : array[0..15] of byte;
ASMSk : array[0..7] of byte;
ASRea : array[0..87] of byte;
Job : array[0..7679] of byte;
IteIte : array[0..3071] of byte;
IteWep : array[0..1023] of byte;
IteShl : array[0..31] of byte;
IteArm : array[0..127] of byte;
IteAcc : array[0..63] of byte;
IteChm : array[0..47] of byte;
InS : array[0..767] of byte;
SIA : array[0..1999] of byte;
Sks : array[0..4399] of byte;
MSk : array[0..239] of byte;
AEm : array[0..223] of byte;
StA : array[0..639] of byte;
Poa : array[0..95] of byte;
JbR : array[0..189] of byte;
JLv : array[0..17] of byte;
begin
FilePath := 'C:\SCUS_942.21';
AssignFile(SCUS, FilePath);
FileMode := fmOpenRead;
Reset(SCUS, 1);
Seek(SCUS, $4F3F0);
BlockRead(SCUS, Ab1, 4096);
Seek(SCUS, $503F0);
BlockRead(SCUS, Ab2, 5152);
Seek(SCUS, $51810);
BlockRead(SCUS, ASIte, 16);
Seek(SCUS, $51820);
BlockRead(SCUS, ASThr, 12);
Seek(SCUS, $5182C);
BlockRead(SCUS, ASJmp, 24);
Seek(SCUS, $51844);
BlockRead(SCUS, ASChr, 16);
Seek(SCUS, $51854);
BlockRead(SCUS, ASMSk, 8);
Seek(SCUS, $5185C);
BlockRead(SCUS, ASRea, 88);
Seek(SCUS, $518B8);
BlockRead(SCUS, Job, 7680);
Seek(SCUS, $536B8);
BlockRead(SCUS, IteIte, 3072);
Seek(SCUS, $542B8);
BlockRead(SCUS, IteWep, 1024);
Seek(SCUS, $546B8);
BlockRead(SCUS, IteShl, 32);
Seek(SCUS, $546D8);
BlockRead(SCUS, IteArm, 128);
Seek(SCUS, $54758);
BlockRead(SCUS, IteAcc, 64);
Seek(SCUS, $54798);
BlockRead(SCUS, IteChm, 48);
Seek(SCUS, $547C4);
BlockRead(SCUS, InS, 768);
Seek(SCUS, $54AC4);
BlockRead(SCUS, SIA, 2000);
Seek(SCUS, $55294);
BlockRead(SCUS, Sks, 4400);
Seek(SCUS, $563C4);
BlockRead(SCUS, MSk, 240);
Seek(SCUS, $564B4);
BlockRead(SCUS, AEm, 224);
Seek(SCUS, $565E4);
BlockRead(SCUS, StA, 640);
Seek(SCUS, $56864);
BlockRead(SCUS, Poa, 96);
Seek(SCUS, $568C4);
BlockRead(SCUS, JbR, 190);
Seek(SCUS, $56982);
BlockRead(SCUS, JLv, 18);
end;
Man, I searched and searched but I still have no idea of how to create a frame after pressing a button... I don't want to do all my work in a single window. Ã"_o
Can you help?
I ask again... What compiler are you using?
Borland
Found it. Well, I know that I'll have to use ShowModal for my purposes. I'm not sure as how to use it though.
how are progresses with this?
Mmmm, slow.
I almost got everything planed except for my font editor. Same for the text editor since I want to make a file the user can edits to sets converting values at loading/saving, that way punctuation marks could be converted, just like that).
Don't push me, I'm a newb at programming. Almost all my experience comes from SC Triggers; XD.
Quote from: "Zodiac"Mmmm, slow. :D i was just wondering when i'll have to search for my PSX again
as long as the only patching way is through excel i have no chances...
Yeah, I know.
I'm currently designing, and I never thought that alone would take this much time.
After that, it's text editing, then the saving function and it should be up.
I want to do the text editing right now as the users will be able to directly modify the ability name and quote directly from the Ability Editing form. I don't want to do something that I'll remove afterwards when I'd implement the text editing.
Sorry for not replying for a while... I've been pretty busy.
If you are having trouble with codes, you can send them to me and I'll take a look (commenting them will help, also using good variable names).
ps: Don't do that in French or I won't be able to help >_>
Huh... I never even take notes in french.French is a good language to chat, write texts & talk, but other than that it's horrible. Especially french translated games; they make me want to puke.
status?
Bad; I don't feel like coding these days.
Quote from: "Zodiac"Bad; I don't feel like coding these days.

i see. by the way i noticed that you are complaining alot about the hosting... can you explain me in detail what is the problem? maybe i can work something out.
AH, first there is auritech.eu and this one: byethost.
The problem with your site is its location. Loading the site from the US/Canada is extremely long. I did speed tests and it's response times are 5+ seconds while Google is 0.14 sec.
As for byethost, it very often happens to me that:
- The page doesn't load completely (images missing)
- MySQL database isn't updated properly when I view a page to switch the 'read/unread' flag.
- No response at all sometimes, then I hit refresh and it's OK.
- The server is too often down IMO.
Quote from: "Zodiac"AH, first there is auritech.eu and this one: byethost.
The problem with your site is its location. Loading the site from the US/Canada is extremely long. I did speed tests and it's response times are 5+ seconds while Google is 0.14 sec.
As for byethost, it very often happens to me that:
- The page doesn't load completely (images missing)
- MySQL database isn't updated properly when I view a page to switch the 'read/unread' flag.
- No response at all sometimes, then I hit refresh and it's OK.
- The server is too often down IMO.
i see. anyway at least from here this webpage was always a lightning... damn fast at least charges in less then a sec.
for what concerns the forum it seems to have slowed down a little lately