Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: Alhexx on 2001-05-21 20:56:00

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-21 20:56:00
Hi Guys!

Does anybody of u work with Milkshape 3D? I don't think so...but:

I've developed a converter that converts the .p-Files into Milkshape-RAW-Format. It works pretty good, but until now, it only imports the polygons (with their vertexes  :wink: )
I'm workin' on a new version hat can also import the colors (oh shit...)
(Thanx to Qhimm & Ficedula 4 the .p file format description)

If u'r interested in the converter, u can download it here: http://alhexx.tripod.com/apps/ff7/p_to_raw.zip

U can also convert the files from the battle.lgp, but these files r HUGE! They'r about 100 x the size of the other .p files.
You've got to rename the files there (*) into .p files (*.p)

Important: U can't convert files named '**ab.p' and '**da.p'. If u try, an error will occur.
I suppose that these files aren't 3d models...  :D

If u haven't got Milkshape u can download it here: http://www.swissquake.ch/chumbalum-soft/ms3d/download.html


 - Alhexx

P.S. What do u know 'bout the battle-format 'til now?  :-?

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-05-21 22:02:00
Actually, I do have a copy of MS3D on my own PC, but since I'm not there at the moment I can't have a look 'till I get back to uni later this week.

Sounds good though  :) I look forward to testing it out.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-21 23:39:00
I forgot to mention that this app i *a little bit* BETA, but I have imported Tifa's field model successfully. I've also written another app, that reads out the color pool and writes the RGB Values of each Vertext to a .txt file. It takes much manual work, but it worx (mostly).
I've uploaded this app and tifa's model:  http://alhexx.tripod.com/apps/ff7/p_color.zip    http://alhexx.tripod.com/apps/ff7/tifa_ms3d.zip  

- Alhexx

P.S. U need the VB6-Runtimes to run my apps
(Sorry, no C/C++ Apps)

[This message has been edited by Alhexx (edited May 21, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-05-22 02:32:00
Hey, so long as it works one way or the other we'll be happy.

Could someone post a screenshot or something? Like I said, don't have access to my own PC at the moment...

Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-05-22 07:30:00
I can't wait to go home and try it.
But the link the doesn't work for me.
I wonder why?

**edit**
Nvm, it turned out that my college admin's switched of access to all zip files.   :(

BTW, I'm sure Seph 3D would be really interested in this.  :)

[This message has been edited by The SaiNt (edited May 22, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-22 18:09:00
It's me again!

ficedula: Want some (two   :D ) screenshots? Here we go...
  " TARGET=_blank>http://alhexx.tripod.com/apps/ff7/tifa_field.gif[/URL]    
 
" TARGET=_blank>http://alhexx.tripod.com/apps/ff7/tifa_battle.gif[/URL]  

Info 4 the field model: the converter doesn't import any 'textures' or bones ('till now)
I've had to texture the model manually...
I'm workin' on a new version of the converter that automatically generates a Milkshape-File with groups, colors etc.

Battle Model: That's tifa's head...   :)


I'm lookin closer at the battle files at the moment...

- Alhexx

[edit]
Damn, those links above don't work...use this one instead: http://alhexx.tripod.com/apps/ff7/tifa_ms3d.html

[This message has been edited by Alhexx (edited May 22, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Sir Canealot on 2001-05-22 19:42:00
Intresting! Now I dont know much about any thing but if you improved the feild models could they be used in the remake? Or even in normal FFVII? That would be sweet! Great work guys keep up the good work!
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-22 22:30:00
I've written a new prog (once again   :wink: )

This time it converts the .p-files to Milkshape 3D-ASCII-Files and it creates automatically bitmap textures 4 the model and associates them with the created groups...   :-?
If u want to try it, u can download it:
  http://alhexx.tripod.com/apps/ff7/p_to_ascii.zip  

But be careful, this app is EXTREMELY BETA ! Because I've got a REAL BIG PROBLEM:
Within the .p-Files the colors of the polygons are 'created' by the vertexes, but in Milkshape, the vertexes have no colors. So I've had to create an own group for each polygon (What a mess!) I recommend to use the *old*   :wink: .p-File-to-Milkshape-RAW Converter... (If u try out p-to-ascii, u'll know why...   :D)

If there's a possibility of giving a color to a vertex in Milkshape, it'd be nice if someone told me how...

Sir Canealot: I'm not so far yet, but I'll think 'bout it...

- Alhexx

[This message has been edited by Alhexx (edited May 22, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-05-23 00:44:00
It should be possible to convert back into .P format ... nicking any sections you don't understand from existing .P files ... that's how I did the BMP->TEX conversions anyway, in LGP Tools. After all, we understand *quite* a lot of the .P format.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-23 16:04:00
dude, making a two way converter would make making mods for ff7 so much better. With a background editor and figuring out what part of a .a file controlled walls would make it godly.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-23 13:20:00
Hey, fice: I'll try to convert 'em back to .p format...but does anybody know anything that hasn't been already written down in fice's description? I'd be very happy if someone could give my *all* information (that is known) 'bout the .p file format...
The biggest problem are is the color pool. I've got no idea how to extract 'textures' into color pools... :-?

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-05-23 15:41:00
dark: I didn't think .a files controlled walls; I got the impression they held the animations for the 3d models.
Title: .p, Battle Files 'n Milkshape 3D
Post by: halkun on 2001-05-23 16:12:00
.a file conrols where the character can walk? (actully, it'll be the "floor" not the "walls") this gets intresing. I wuls love to see the poly plain rendered.

Wow I just though of something.. In ff8 I've been trying to devrypt the battle scenes so I can extract a 3d background. But each field has a floor, which is more accurite to the background. a FF8 battle scene/poly plain would almost complete the whole world ^_^

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-05-23 17:47:00
Why would .a files hold that information? Surely it'd just be held in the appropriate field files? After all, the mesh for each location is unique to the location so there's no need to have it in a separate file. Character animations DO get used all over the place, so you would need those held separately.

I thought we'd pretty much determined that the .a files had animations in them; that's what Qhimm seemed to think and I agree with him, though I didn't manage to properly decode a .a file.

Title: .p, Battle Files 'n Milkshape 3D
Post by: halkun on 2001-05-24 00:11:00
That's what I thought too.
Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-05-24 02:14:00
Oh, well problem solved then.

Alhexx: Textures? Why do you need to know anything about textures? Only used for the eyes in FF7 models AFAIK...

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-24 16:03:00
oh....sorry, wrong thing. i havent done much editing in a while.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-24 14:58:00
fice: I didn't think 'bout these 'textures'. I wanted to say that I have no idea how to change the colors of the vertexes in Milkshape... the only possibility to give colors to polygons in Milkshape is to give them textures, but FF7 colors the .p files with the colors from the .p files...
BTW, I'm workin on a converter now, that can convert RAW files back into .p files. If everything works well, I'll probably release a beta of it the next days...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Sukaeto on 2001-05-24 18:49:00
Heh heh . . .

I'm working on a presentation on the technical side of FF7 (graphics, sound, posibbly how the field works.)  This topic (along with several others) has helpful information.

Alhexx:  Do you mind if I use the wire-frame picture of Tifa in my slide show?  I'll be sure to list you on my 'Credits' slide  :)(along with Qhimm and Ficedula, for the LGP utilities; and several others on this board for interesting info)

Title: .p, Battle Files 'n Milkshape 3D
Post by: Srethron Askvelhtnod on 2001-05-25 00:26:00
Yeesh, how many different people now are trying to undermine my upcoming FF7 tech doc?! Ah, heck, I guess competition isn't really a bad thing.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-25 14:30:00
TiadaghtonDude: I'd be very proud of beeing listed in your credits...   :wink:
Of course i DON'T mind, if u'r using these screenshots. And hey, I've uploaded a new screenshot of Tifa's Battle Model, this time complete and skinned...   :)

BTW, because I'm sick of listing every link (http://...) in this forum, I've built something like a *Homepage*... every file i'll publish will be listed in this page, so bookmark it...   :D

 http://alhexx.tripod.com/apps/ff7/ff7.html  


BTW, I've released the first version of 'Ultima', my .p-Tool, it exports .p files as .p-to-raw does, but u don't have to 'open' every file...later versions will (probably) be able to convert raw files back into .p files...

- Alhexx

[This message has been edited by Alhexx (edited May 25, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Sir Canealot on 2001-05-25 18:03:00
Intresting. Now being the nice man you are go and make 5000 polygon versions of all the models in FFVII and put them back into the game. That would be sweet. Now go on get to it!

[This message has been edited by Sir Canealot (edited May 25, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-05-25 19:36:00
I like!

That's going on my bookmarks list, oh yes.

I'll download the program now, I *think* I've got a copy of MS3D knocking around somewhere.

Title: .p, Battle Files 'n Milkshape 3D
Post by: mirex on 2001-05-25 23:35:00
i cant download any file from your page alhexx, i always download html file. Is it only my problem ?
Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-05-26 02:28:00
I made that mistake at first; like a lot of hosts, the files are protected by a gateway. Just click on the link and you get a webpage that links you to the *real* file for download.

Oh, and Srethron: Any chance of an estimated release date on the fabled document of yours?

[This message has been edited by ficedula (edited May 25, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-26 20:53:00
hey alhexx, are the battle models for people full hodies or just peices?
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-27 03:37:00
sweet! check out cwap. its a wolf head.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-27 03:52:00
a lot of the si**s are swords.
i cant find any of the people tho! AAAARRRGGGGHHHHH!!!!!
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-27 16:23:00
Hey, Dark, if u'r searchin' 4 the main characters (tifa, cloud,...), look at these files:
ru**, rx**, rv**, rw** and so on...  :)

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: halkun on 2001-05-27 17:09:00
Wow, we being userped by the newbies. You guys are making me feel bad for not digging around the engine like I used too. I've been meaning to figure out the bytecode in the field files, but have benn busy...yea...busy...
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-27 22:03:00
k thanks

dammit someone registered my name........

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-27 22:08:00
whoohoo! ultima025!
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-27 22:09:00
halkun:   :roll:

dark(ness): It wasn't me...Sorry...

To All: I've uploaded a new screenshot (of snow) and version 0.25 of 'Ultima'. I've fixed some bugs, but it still can't convert raw to .p files (I'm workin' on it, but it doesn't work (I don't understand why...))

- Alhexx

- edit -
Congratulations, Dark(ness), u were able to fin ultima025 in the time between uploading it and writing this post...  :wink:

[This message has been edited by Alhexx (edited May 27, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-27 22:12:00
but the raw-->p option doesnt work. DoH!!!
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-27 22:15:00
Damn, Dark, u'r a real fast guy!

p-->raw: That exactly what i've written in my post!

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-05-28 03:44:00
I've updated LGP Tools (again ... damn bugs!). Don't know how most of you are getting your .P files into Ultima, but anyway, since I was updating anyhow, I added a feature that might help you...

Basically, if you're previewing a HRC skeleton in LGP Tools, then right click and one option is "Export Skeleton". This'll extract all the .P files that skeleton uses into a folder by themselves, ready for you to point Ultima at and do "Convert folder".

Not sure how much help it'll be but I thought it'd make getting the files ready for Ultima to convert easier.

Alhexx: I'll get Ultima 0.25 now. Anything interesting?

Oh, and d'you mind if I add your FF7 page to my webpage Links section? Didn't think you would, but I wasn't sure how permanent that page is.

[This message has been edited by ficedula (edited May 27, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-28 16:39:00
its forbidden, fice
Title: .p, Battle Files 'n Milkshape 3D
Post by: tulkk on 2001-05-28 05:01:00
yeah fice old friend... i can't dl it either :/
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-28 05:21:00
do you guys know where the summon models are?
i was assuming they were in magic.lgp, but i cant find them.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-28 17:03:00
fice: Of course, I don't mind...I'm very proud that I made it up to your links page...   :D

to Ultima025: There's nothing really new, I've fixed some bugs with the convert function and I've tried to convert raw back to .p, but this f**kin' Ultima doesn't want to write the coords of the vertexes into the .p file correct, but I don't understand why.?.but I'm still workin' on it...

LGP Tools Update: Sounds interesting...I'm going to download it now...

- Alhexx

- edit -
Hey fice, I can't download it, too. The Server wants username and a password...and because of this, he puts out : 403 - Access Forbidden (Hum, but I wonder why I can download lgptools 1.31 ???  :-?

[This message has been edited by Alhexx (edited May 28, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-05-28 18:24:00
Damn. Sorry, set the permissions wrong (ie. forget to set them at all); fixed now.
Title: .p, Battle Files 'n Milkshape 3D
Post by: tulkk on 2001-05-28 21:29:00
Hey Alhexx.. I tested your proggie, nice work man  :) though i have a question.. Is it possible to import the whole model into 3dmilkshape or must I import piece by piece and then put 'em together manulaly in 3dmilk? If you haven't implanted that option yet (import a whole fieldmodel), it would be ultra cool if ya would look into that before the next release if it's not to hard...  :) keep up the good work dudes!
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-29 00:21:00
tulkk: I've thougth about this option, too, but I haven't been able to programm it ('till now). First, I've got to figure out, how the pieces are put together. But I think, that I'll find it out some day. At the moment I'm workin' on this motherf :x :xkin' raw-to.p converter (which still doesn't want to work!!! (and I still have no idea why...))

- Alhexx

P.S. YEEEAAHHH! I made it up to Ficedula's Link Page (I have never thought that this will happen so far ( I'm so happy  :) ))

Title: .p, Battle Files 'n Milkshape 3D
Post by: halkun on 2001-05-29 08:23:00
positions are located in the .a files We *really* need to start with those...
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-31 00:57:00
Hey, guys, bad news...
I can't get this raw-to-.p converter running...I just don't understand why it doesn't want to work  :-?
So I've decided to upload the source to see if someone can help me...it's written in Visual Basic 6. So if u can program in VB, take a look at this and tell me, if u know what I've done wrong...
 http://alhexx.tripod.com/apps/ff/raw_to_p.zip


Please Help me...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-31 03:00:00
cant download.......
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-31 03:03:00
al......is that it. are there modules or anything that go with it? filterindex doesnt seem to be a valid command.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-31 03:07:00
i get the stranges feeling cd1 isnt supposed to be a picture box, but thats what it appears to be
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-31 03:13:00
oh. lol. i got it.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-31 03:23:00
ok, al i spend some time looking at it, and the main problem is that you have the variables mixed up. Like this:
Y -> Z
X -> Y

and the outputed x variable is screwed up. ill look into it.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-31 03:25:00
ok, thats not true for all of them. but 1 variable is always screwed up.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-05-31 17:16:00
Hmm,..

CD1 is a 'CommonDialog'.

Maybe you're right...I've also recognized, that the X variable is written badly, but I've got no real idea why...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-31 21:14:00
hey, i just got an idea. maybe the program doesnt write 12 bites for each vertex.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-31 21:26:00
ok, just a guess here but shouldn't there only be 1 comma in the Val? (i.e. Val(Mid$(Poly number %z, y-coordinate):

PolyY(z%, m%) = Val(Mid$(Poly(z%), leer1_1% + 1, leer1_2% - leer1_1%))

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-05-31 21:38:00
PolyY(z%, m%) = Val(Mid$(Poly(z%), leer1_1% + 1 + leer1_2% - leer1_1%))

that writes some of the last vertexes correctly on what i was testing it on.

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-05-31 23:11:00
Not necessarily, the parameters in there are all to Mid$ which can take either 2 or 3 parameters.

Mid$(String, Value) retrieves all of String from position Value onwards

Mid$(String, Val1, Val2) retrieves only part of String from position Val1 onwards (think Val2 is how many chars to read? dunno).

(God, I can't believe I can actually remember any VB ... it's been years since I've used it. Luckily.)

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-01 00:00:00
Fice's right:
Mid$ can use 2 or 3 parameters...

Mid$(String, Starting Position, Chars to Read)

But I don't think that this is the reason...

darkness: 12 Bytes: I thought about this, too, and I think, it's possible. But I still don't understand it.

I've tried to let the app check if the new (manipulated) vertex coords are the same like the original ones...and then I told VB to skip the 'put-sequence', so it shouldn't have written anything, but it did...I wonder why?

- Alhexx

P.S. I won't be at home the next 4 days (Saturday - Monday), so I possibly won't have a chance of posting or uploading anything...

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-01 05:21:00
fice, i think you know more about this than any of us do. why dont you take a look?
Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-01 15:34:00
One word: Exams. I don't have time for much else at the moment.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-01 21:45:00
GOOD NEWS!

I've got this RAW to .p converter running!  :D
Oh, man, there were quite a lot of bugs!  :wink:

Well, okay, I've uploaded the latest version (0.26) of Ultima, so u can download it now.

Read the Readme File first!

- Alhexx

P.S. I've published my e-mail: [email protected]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Srethron Askvelhtnod on 2001-06-02 05:44:00
Fiicedula: Sorry, for being so late in replying, I've only just now noticed your question about the tech doc's release date. I still don't have an official time set, but I want to release a beta soon. I've got about three (untouched until now, two of them will probably require a fair amount of work) sections left to complete, and 5 other supporting files to finish. I'd like to get rough versions of both the 3 sections and at least 2 of the supporting files done, before I release the beta.
Once I can get that done, updates will take the form of refining/expanding the supporting files and adding new info as its discovered.
Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-02 06:11:00
Cool. Whenever it's ready, then.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Sephiroth 3D on 2001-06-02 12:45:00
Alhexx!!! THANK YOU!!! I've been looking for something like this for YEARS!

I'm gonna do some testing, and I might have a pict posted by morning!

Sephiroth 3D

"One who seeks knowledge from another person, doesn't learn half as much as the one who seeks knowledge for himself." - Vincent Valentine, The Sephiroth Chronicals, Book 1: Resurrection

[email protected]  
 Sephiroth 3D's Final Fantasy  
 Sephiroth's 3D Lair  
 Sephiroth 3D's Promised Land

Title: .p, Battle Files 'n Milkshape 3D
Post by: tulkk on 2001-06-03 22:16:00
Yeah... i gotta punch you another "thank you" alhexx  :) ..keep working on your tool.. it owns..  :D
Title: .p, Battle Files 'n Milkshape 3D
Post by: The Skillster on 2001-06-04 01:04:00
ok this is ff7 remake related question
a) can the 3d models be reworked (ie; higher polygon count, more colour) and then reimported into ff7?
b) since your very skilled do you wanna join or ff7remake project? cos we are almost hurting for tech expertease
thanks
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-04 03:10:00
skillster- it is possible, unforunately his program doesnt support it right now. Heres a temporary solution for you:

-Export a battle model
-Add vertecies to make up for the difference between the original file that ur editing and the more complex one in the raw.
-Set that battle model as the source p
-Set the raw for ur edited raw
-convert

That should work

Title: .p, Battle Files 'n Milkshape 3D
Post by: Qhimm on 2001-06-04 16:51:00
This is intriguing... If everyone starts using MilkShape as basis for the 3D work, that could make things easier. Instead of me making OpenGL viewers, I could write MilkShape converters like Alhexx here. Depends how the MilkShape format looks, I'm a newbie there.

Ah well, anyway. I feel I have to take a small break from my project at the moment, so I might as well help map the last parts of the 3D format.

Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-06-04 19:25:00
I was thinking of the same thing as Qhimm here, but I was thinking of someone making a plugin instead of converter. The only problem is I'm not sure what the Milkshape format has and what it doesn't.
Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-04 21:58:00
The Milkshape plugins/formats are all available and documented (well, they give examples) which is more then you get for some formats. I reckon it'd be a good move.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-04 23:24:00
Skillster: a)I'm workin' on it...I think it'll be possible when I enable the 'Save File Infos', but first I've got to program an .p File Preview (like in Fice's LGP-Tools), because then u'll be able to see what u have manipulated directly in Ultima... I've downloaded some VB Sources which document how to program something like this in VB...

b)Hum...Well, if u think that I'll be useful 4 u in the tech remake forum...hey, I'm lookin' forward to see a topic posted by me in the FF7 Remake Forum  :wink: (means, I'll be proud of beeing authorized to the Forum)

Qhimm & SaiNt: I only have written a CONVERTER because I'm not skilled enough to program a plug-in (shame on me...) and because 3DS MAX is too complicated 4 me (shame on me...)

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-04 23:55:00
That's what you get for programming in VB...I'm not sure if it's even possible to program a plugin in VB.

Seriously, consider learning something else (Delphi or C++) ... though leave it until after you've finished a perfect RAW->P converter for us to use! You'll find it makes things a lot easier in the long run, although it would take a while to learn.

Title: .p, Battle Files 'n Milkshape 3D
Post by: halkun on 2001-06-05 00:07:00
Try and see if you can put the people togeather with the .a data I've unlocked. (Qhimm helped)
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-05 00:19:00
Fice: That's exactly what I'm aiming at: Learning C++, but the only app written in C++ by me 'till now is 'Hello World' (shame on me...)

halkun: I'll see what I can do...but hey, that's exactly what I wanted to know about how the .ps are put together, so with your help, I'll (possibly) be able to program this...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-05 16:05:00
awwwww......i wanna be in the remake.....oh well. I got no skills.  :) I can write, but I dont remember the details of the FF7 storyline.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Sukaeto on 2001-06-05 16:15:00
Just thought I'd pop by and say the presentation was a success.

Alhexx, thanks for letting me use your pics of Tifa.

Also, thanks to a lot of other ppl here for the info on how the field files & battle mechanics work.

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-05 17:35:00
Alhexx: Cool. No problems then  :)
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-05 17:51:00
Hey Guys, it's me again!
Could anybody give me a feedback of my RAW->.p Converter? Any Errors, Crashes or sth?

Fice: 'im going to learn C++, but it'll take quite a lot of time until I'll be able to program such apps like in VB, so don't expect me to program in C++ the next weeks...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: halkun on 2001-06-05 18:53:00
Learn C, it's a smaller subset of c++ you can dump all that OO garbage ^_^

/*easy hello world program */
#include
main ()
{
printf("Hello Worldn");
}

Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-06-05 20:00:00
 
Quote
/*easy hello world program */
#include
main ()
{
printf("Hello Worldn");
}

Hehe, halkun your program won't compile :P
Your main function did not return a value.

It should be like this?
/*easy hello world program */
#include
main ()
{
printf("Hello Worldn");
return 0;
}

or this?

/*easy hello world program */
#include
void main ()
{
printf("Hello Worldn");
}

Title: .p, Battle Files 'n Milkshape 3D
Post by: halkun on 2001-06-05 20:45:00
AUUGG! I forgot to void main! Man, I'm retarded! That gets me every time.

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-06 02:06:00
Halkun: So, you're saying don't use C++ because that gives you the *option* of using objects? C++ (and Delphi) don't *force* you to write OO code, the option's just there if you want. There's no way I'd ever use C; it just limits my options far too much.

Your C program would be just as simple under C++ since it'd be the same program? C has *no* advantages over C++.

Plus OO code speeds up development on complex problems soooooo much...

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-06 16:47:00
alhexx - whered you get the sources? i cant find a 3d veiwer type thing.
Title: .p, Battle Files 'n Milkshape 3D
Post by: halkun on 2001-06-06 07:25:00
I'm sorry for my bias against C++, it's just at the tender age of 19 I was scarred by Microsoft with that language as thier weapon. I saw a non-mfc "hello world" written for win95 that was *I swear to god* 11 pages long in a textbook. That's when I gave up programming from 1995-97 and learned to play the bass. I came back to america wondeing what this "Internet" thing was and wanted to know how to compile a web page. Man, MS screwed me up. If it wan't for Linux, I'd probably be in some '80s cover band...
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-06 13:16:00
darkness: Do u mean the raw->p sources? I've deleted it from my page.
Ah, u mean the VB 3D Sources? Go Here:
 http://acky.net/vb/vbgraph/

- Alhexx

P.S. Oh my god, what have I done? Since i started talking 'bout C++ now everybody gets off-topic  :wink:

Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-06-06 15:15:00
That happens really often here. You'll get used to it.  :)
Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-06 15:43:00
Halkun: It may have been written in C++, but that was almost certainly using C code. The reason MFC (or the VCL) makes everything so quick and easy so it *doesn't* take 11 pages is - Objects. That's one reason to use them (under Windows).

Alhexx: Hey, we might get back ontopic at some point.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-06 16:06:00
fantastic...
Title: .p, Battle Files 'n Milkshape 3D
Post by: dagsverre on 2001-06-06 22:12:00
Ah...C++ vs. C debates. Have to say at least *something*...

First on the "hello world" example: Actually both are allowed. The standard form of doing it is actually returning an int, "int main()", the return value is given to the OS on program exit, 0 means success (this return value is frequently checked in shell scripts).

Arguments for using C++ instead: The thing that bothers me mest about C is that you can't make your own types. Many people consider operator overloading bad, personally I would prefer C++ just because I get to write:

string s = "Hello ";
s += "world!";

instead of the hideously ugly strcpy you C folks have to deal with.

The second thing is polymorphism. Things like widget libraries simply can't get done in a decent, extensible way without using polymorphism. Polymorphism is possible in C, but it's very messy, ugly, and slower at run-time.

In my experience, people who prefer C often don't get what polymorphism means. Comments like "the difference between a.DoSomething() and DoSomething(a) is pretty damn academic to me" (seen on Slashdot) reveals that these people clearly don't have a first clue what OOP is really about. You don't have to actually use C++, but at least learn yourself what the "virtual" keyword means (polymorphism = virtual member functions).

About Microsoft: That was code for writing a windows program. Microsoft is well known for creating horrible, illogical APIs. From what you say, I'm pretty convinced that a plain C version of the program would be the same length, the difference is that C++ users have a better chance of escaping that.

[EDIT: Typo]

[This message has been edited by dagsverre (edited June 06, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-06 23:39:00
I should have shut up...
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-12 00:40:00
Hey, Guys, GOOD NEWS !
I've been able to program a .p File Viewer (like in Fice's LGPTools) in VB (hey, Fice, did u understand this? => in VB(!!!)) hehe...
Well, it uses OpenGL (...) and u can download it from my page...

The reason why I'm so happy:
This Viewer is the first step in direction to the 'Save File Infos'-option, so I think, there'll be a new Version of Ultima the next days (I promise nothing  :wink:)

BTW: I've seen, that many things have changed in the forum: Fice's a moderator now (Congrats) and guys like The SaiNt aren't any more. Could anybody tell me, what happened? (Hey, Fice, I think u can tell me what's going on)

BTW 2: Hey, Fice, why don't u post a reply on my 'Your Names...' Topic  :-?

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-12 02:11:00
al...... i doesnt work. every p file's 'expressions are too complex'
Title: .p, Battle Files 'n Milkshape 3D
Post by: mirex on 2001-06-12 10:27:00
btw Alhexx: When i run Ultima 0.56, and try to open .p file, it shows me 'Active X could not create object', and quits.
and thanks for including me in greetings list.
Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-06-12 10:53:00
 
Quote
Originally posted by Alhexx
BTW: I've seen, that many things have changed in the forum: Fice's a moderator now (Congrats) and guys like The SaiNt aren't any more. Could anybody tell me, what happened? (Hey, Fice, I think u can tell me what's going on)
Huh?

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-12 17:55:00
OOPPSS...   :-?

SaiNt: Ehm, sorry, my mistake ...
I thought, you weren't b'cause u'r not listed in the moderators lists on the Main Message Board Page (???)

mirex: Hmm, interesting - I never had this problem...and I have no idea what happened, because I haven't included any special Active-X controls...
Does anybody know what's wrong?

darkness: I'll take a look at it
BTW: Why don't u register your name???

- Alhexx

- edit -

Oops, my mistake again:
SaiNt is listed on the MMBP...in the Remake Forum (what the heck happened to me?)

- edit 2 -

mirex:
1. Ultima 0.56? Cool  :wink:
2. I think I've got an idea: Ultima creates a 'File System Object' to get the .p file's extension to filter it out in the destination file name - perhaps that's the reason?

[This message has been edited by Alhexx (edited June 12, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-12 22:21:00
Hey, I'm havin' one problem with Ultima 0.27 (not released yet):

Does anybody know an OpenGL command witch lets me move the axis up/down and left/right (somehting like the 'glRotatef'-Command ?)
If someone knows, (Qhimm, you're workin' with opengl viewers, don't you?) please let me know.

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-12 22:32:00
OpenGL is my *speciality*. No, it's not programming FF7 editors, it's OpenGL.

What d'you need to do? Move the point that's something's being drawn at? Look at glTranslate command.

hehehe ... if you need to do something in OpenGL, just ask, I'll probably be able to tell you ...


Oh, and as for ActiveX controls: VB probably uses them behind the scenes for lots of stuff. It doesn't exactly give you 100% control over how your app runs.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-12 23:21:00
Hm, that's *really* good! I'll try out this command...perhaps ultima 0.27 will be released soon (thanx to u, fice  :)

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-13 00:23:00
Hey, fice, I think I'll have to list u in my special thanx twice  :)

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: mirex on 2001-06-13 11:33:00
Alhexx: sorry, 0.56 => 0.26
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-13 14:57:00
Nevermind  :)

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-13 17:49:00
I've uploaded 'Ultima 0.27 ßETA Version 2'. If u wonder what the heck it is, download it.

- Alhexx

BTW: Yeah, my first posted topic, and I've crossed the 100 replies border...hehehe

Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-06-13 17:54:00
Alhexx, why don't you head on to this thread and see if you can help me continue my work here?
   http://qhimm.3dstream.net/ubb/Forum4/HTML/000099.html  

BTW, fice, my college posted a list of the top 50 Uni's in UK. IIRC, you said you were in Warwick right? Well, Warcwick got a 10th placing   :)

*Edit*
It was 50 not 5  :)

[This message has been edited by The SaiNt (edited June 14, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-13 20:06:00
Yeah, we're a quite good uni overall. The Computing department's usually placed as top three in the UK though. Mwahahaha.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-13 20:29:00
dead link. try naming it something alpha-numeric.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-14 16:32:00
Fice: OpenGL-related question:
Using the glcolor command (or any other alternative command), is it possible to give the vertexes transparency?

I'm askin' b'cause I think that the reserved Byte in the Color Pool is transparency...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-14 17:36:00
Yes. If you're using floating point colours (you should), use

glColor4f(Red, Green, Blue, Alpha);

Alpha is the transparency level.
Of course, *any* glColor4? command works for alpha.

However, you also need to enable blending

glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);

...is the best setup for straight transparency.

However: do note, if you're doing proper transparency, the polygons *do* need to be drawn in depth order. IE: When you draw a transparent polygon, all the polygons "behind" it need to have been drawn already, so OpenGL can calculate what the new polygon you're drawing will look like.

Title: .p, Battle Files 'n Milkshape 3D
Post by: tulkk on 2001-06-14 18:26:00
yeah.. i can't d/l the latest version of ultima either... :/

ohh.. and btw.. thnx for the greet in the readme  :)

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-14 22:40:00
Fice: Yo, thanx!
tulkk: I think I've got to list some more ppl there...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-15 00:13:00

HAHAHA

Hey, Fice, I've tried out the Alpha Channel, it worx pretty cool...but take a look at this:
  http://alhexx.tripod.com/apps/ff7/snow2.gif  


tulkk: Yo, u can dl it now. (tripod has renamed the file 'ultima027ß2.zip' to '2.zip' - I wonder why? - ah, tripod doesn't like these ß signs)

BTW: I've released the third ßETA
 - Alhexx

BTW: Hey, Fice, how's Ficedula pronounced correctly?   :-?

[This message has been edited by Alhexx (edited June 14, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: tulkk on 2001-06-15 01:17:00
Alhexx: Cool  :) i'l dl right away  :D
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-15 01:54:00
Hehehe, Ultima 027 ßETA 4 released...that means two realeases in less than two hours...

- Alhexx

BTW: Now I'm a Fast Newbie - I got rid of those yellow stars...

Title: .p, Battle Files 'n Milkshape 3D
Post by: tulkk on 2001-06-15 16:45:00
 :D Man, you're releasing 'em as often as a pensioner goes to the bathroom  :wink: hehe..

The proggie is coming along great, i'm impressed.. i mean were do you get the motivation and maybe more important.. the time to dev this proggie?

I can't wait til you add support for full model exporting (viewing/editing).. hehe..  :wink:


I think it's time... *cough* there's another god in the FF7hacking heaven.. Qhimm.. Fice.. make room for Alhexx up there..
and now.. let's gather around the camp fire sacrifice a herd of cute little mammals in front of it to celebrate  :wink:

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-15 16:50:00
doh, im still getting that runtime error '16'
Title: .p, Battle Files 'n Milkshape 3D
Post by: halkun on 2001-06-15 06:19:00
Alhexx, I just wanted to add that you have the *ABSOLUTE WORST TASTE* in windows system colors I've ever seen. I haven't seen color clashes like that since I went through my "neon color scheme" phase when I was in High School. I mean, come on, yellow with a blue title bar. Yuucchh! And don't go swithing to that eggplant colorscheme either. Been done to death, how about a nice rose or wheat scheme. I shudder to think what your desktop looks like. ^_^

[This message has been edited by halkun (edited June 15, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-15 15:23:00
tulkk: GOD? YEAH...but really, I don't think I can really compete with Fice and Qhimm...although I'm workin on it...   :D
And there's another point: Qhimm, Fice and some others are workin one more than only one file type. I think, my speciality will stay 3d models...but I'm gonna work on it, until I crack everything...whole models, animations and so on...man, that's going to be hard work

darkness: Hmm, strange...I have never had this error...when exactly does the error occur? If u tell me, I probably be able to help you...

halkun: WHAT?   :x
Hey, I have the yellow color since about three weeks...before I had neon green (Qbasic-Color 10) that' looked...well...okay
To my Desktop: I've got a picture of Katie Price...

- Alhexx (@ School)

BTW: First an info: I'm livin' in Germany. And I've got one question: Has FF9 PC been released anywhere in th world? (Japan, UK, USA?) Any release dates or sth?

- edit -
Square wanted to release FF9 PC in Germany in February, but they didn't...and there'r no news from then on...

[This message has been edited by Alhexx (edited June 15, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-06-15 18:07:00
You forgot our favourite R & D person, halkun  :)

[This message has been edited by The SaiNt (edited June 15, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-15 19:13:00
Alhexx: No probs  :) Looks like Ultima's coming along pretty well.

How do you pronounce Ficedula? Hmmm. Well, I pronounce it:

Feece-uh-due-la

but my parents pronounce it

Fee-sed-du-la

Take your pick  :) My mum speaks Latin (well, more than I do) so she might be right ... but I like my way better anyway  :D

Title: .p, Battle Files 'n Milkshape 3D
Post by: halkun on 2001-06-15 22:32:00
I pronouce is "Fice" as in rhymes with "vice" as far as his full name, never tried to pronouce it. I call him "fu-de-see-a" to myself but never said it out loud. Execpt now. ^_^
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-15 22:43:00
in the viewer it gives me the error when i open a .p file. in ultima 0.27 its gives me the error when it opens, and closes the program.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-15 23:38:00
I pronounce 'Fice' like 'Vice', too, but now I alos now how 'Feece-uh-due-la' is pronounced...that's good...  :)

darkness: Alright, I'm going to have a look  on that...

tulkk2: I think I've got to add something:
Ultima 0.27 ßETA 4 is just a viewer 'till now - it hasn't got any editing options 'till now, but I hope I'll add these in one of the next three version (maybe this weekend - I'll have much time on saturday  :))

SaiNt: R & D Person?  :-? (Who?)

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-16 01:21:00
research and development
Title: .p, Battle Files 'n Milkshape 3D
Post by: tulkk on 2001-06-16 01:42:00
Alhexx: ohh... ok.  :)

halkun: i don't wanna get offtopic.. just one little question.. you sure knew alot about the psx.. ever dev'd for it?

Title: .p, Battle Files 'n Milkshape 3D
Post by: Srethron Askvelhtnod on 2001-06-16 02:38:00
I guess I'm politically incorrect.    :) I've never pronounced it phonetically... not sure why: Fick-eh-doo-luh.

Alhexx: I don't *think* he's done any deving. At least, if he did, he never told us about it. He *did* work on one little    document  though.  :wink:

[This message has been edited by Srethron Askvelhtnod (edited June 15, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-16 16:01:00
Srethron: Well, of all the people who've posted so far, your pronounciation is closest to mine   :wink: Not that it matters too much.

Edit: Ah, Halkun was the guy who wrote that document? Impressive  :) I got a copy of that doc about a year ago but I never made the connection between Halkun and the author of the doc.

[This message has been edited by ficedula (edited June 16, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: tulkk on 2001-06-16 08:27:00
hehe... ok...  :wink:
Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-06-16 08:53:00
I thought most of you knew halkun was ****** ****** . He posts his URL so much, I thought it was obvious.
Title: .p, Battle Files 'n Milkshape 3D
Post by: halkun on 2001-06-16 11:30:00
Doing PSX Devopment? Naa, not intrested. I can bearly code my way out of a wet paper bag. There is simply not enough system in the PSX do do anything with. It only has 2 meg and no MMU (Unlike what my doc says, turns out the R3000 has an MMU but the R3000A doesn't) That and the tools are illigal to own without signing an NDA. I need to stay clean in case sony gets a bug up thier butt and starts suing again. Now the linux for PS2 ohh, I wish. But that also reqires an NDA and you have no access to the CD-ROM or memcards. An NDA is a non-discorsure-agreement, means that I can't tell sony's little secrets. The PSX doc was written without one, but I was kind of thrown out of the PSX dev community a particular person *cough* *cough* NAGRA *cough* said I ripped off all of his BIOS call info when all the bios really has is a small libc and hardware calls. Oh well. He works for sony's R&D now.
Title: .p, Battle Files 'n Milkshape 3D
Post by: The Skillster on 2001-06-16 11:32:00
yea i posted about this before, i didnt know myself halkun was j**** the guy who helped C****** get S*** off their back in court  :)
that PSX doc is about 4 years old now i think and the HTML page file size has amounted to about a whole megabyte !!!
i pronounced ficedula as fic (as in vice)ee- du-llah.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-16 14:33:00
dark: I've got a bad feeling 'bout this 'Error 16'...I read what this error is - it's got something to do with floats... IOW Ultima can't read out the Coords of the vertexes correctly...What platform do you have? (win98, 95?)

If that's really the reason, I think I can't help you...because Ultima has got to read out the coords as floats...

others: I still don't know who's this R & D person...

- Alhexx

- edit -

Fice, how can I change the thickness of dots created by the gl_POINTS command ?

- edit 2 -

Just wanted to mention that 'U027ß5' is released.

[This message has been edited by Alhexx (edited June 16, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-06-17 02:23:00
glPointSize( size: float ); Any help?
Title: .p, Battle Files 'n Milkshape 3D
Post by: mirex on 2001-06-17 09:20:00
Hello everybody. So I finaly finished my program that rips whole models with colors into 3ds. There are lots of bugs now, but if you want to take a look:  http://sklad.host.sk/ff7tool.rar .
And one question: Who knows how to set polygon to be visible from both sides in 3d Studio ?
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-17 12:53:00
Fice: Thanx

mirex: Sounds interesting - I've downloaded it and I'm gonna try it out...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-17 20:33:00
Alhexx: Windows 98

I wish I had 3ds Max. But im not gonna spend 800 dollars on a program like that.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-17 20:49:00
darkness: hmm, I don't understand that - I'm workin' on Win98, too...   :-?

Has anybody else out there an idea what the heck this error is? Or has anybody else this error?

- Alhexx

- edit -

mirex: Yo, I've tested your 'extractor-converter' - cool. I've converted tifa's field model but I didn't recognize any colors in MAX... (Do I need glasses?) But hey, If u keep on workin' on it or even program a workin' 3ds/3df-to-p converter you could become serious competetion 4 me  :wink:

[This message has been edited by Alhexx (edited June 17, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-18 02:53:00
mebbe its my voodoo 3

someone have any settings suggestions for the setup thing?

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-18 03:06:00
heres my settigs:

3D Filter Quality: Automatic
Alpha-Blending: Automatic
Glide Splash Screen: Disable
Depth Precision (16 Bit): Fast
Level of Detail Bias: 0
Limit Texture Memory: Software Controlled
Maximum Buffered Frames: 1 Pending Buffer
MIP Map Dithering: Disable
Triple Buffering: Disable
Vertical Sync: Disable

Title: .p, Battle Files 'n Milkshape 3D
Post by: mirex on 2001-06-18 10:09:00
Allhex: It worked fine with old 3ds release 3, all colors were there. Hmm, I didn't tested it with MAX. Have to find some better file format description.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-18 16:28:00
darkness: Probably your right, but I don't really understand much of the settigns you have listed...perhaps one of the more skilled guys can think 'bout it...like I said me and my friends, we don't have these problems, so I can't directly work on it...   :(

- Alhexx

- edit -

mirex 1: My name's written with double 'x' - not with double 'l'  :wink:

mirex 2: If you're interested in it - I'm workin on 3DS MAX 3.1.

[This message has been edited by Alhexx (edited June 18, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-19 03:54:00
someone else must have a voodoo 3.......
Title: .p, Battle Files 'n Milkshape 3D
Post by: Srethron Askvelhtnod on 2001-06-19 07:11:00
Ficedula: Heehee. No kidding...

But yeah, Halkun's the guy. I guess now I and SaiNt have the right to feel horrified.   :wink:

[This message has been edited by Srethron Askvelhtnod (edited June 19, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-06-19 10:49:00
Aaaah!
I'm so terrified...

Wait...
What am I supposed to be terrified about again?

Title: .p, Battle Files 'n Milkshape 3D
Post by: mirex on 2001-06-19 20:27:00
Alhexx: I'm really really sorry for that mistake of mine. I hope i wrote your name right this time.

And about that problem with colors - I think i fixed that problem, I have set ambient light to light gray so colours should look better now. Try to download it and run it again please.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-19 23:20:00
I'm downloadin' it right now. Gonna test it. Sound good. I think I have to add this 'Import whole Model' Option, too, but I'm havin' some problems with my hardware right now, so there poyysibly won't be any new realease next days...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: halkun on 2001-06-20 02:22:00
I'm scared too...

what on earth are you talking about?

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-25 01:32:00
Hehehe...I'm back again

No Update for 8 days, but now there's a new version of ultima available. I've added an option to save the models. I hadn't had enought time to test it properly, so it'd be fine if someone could give me a feedback.

BTW: I've found some smileys on the web:  http://alhexx.tripod.com/smile.html  

- Alhexx

- edit -
DAMNIT  :x
Forget 'bout these smileys, tripod doesn't want to view them...

[This message has been edited by Alhexx (edited June 24, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: mirex on 2001-06-25 11:22:00
Yo I can see those simleys just fine.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-25 17:18:00
Hmm, that's strange...the only thing I see is a 'X'...

BTW: I think I'll have to change my web server...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-26 02:08:00
Take a guess...
yeah, right, new Ultima version (ßETA 9)

This time I've added the converter options (w/ new annoying message boxes  :wink:)

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-26 22:30:00
still doesnt work for me >=(
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-27 02:23:00
darkness: Alright, listen up:
I've programmed a 'p-preview darkness edition'. This is the p-preview app, but it writes all action into a logfile(named 'LogFile.txt') in the path of p-preview.
You could do me and you a favor and try it. When the program crashes the logfile will not be completed, so I can see where the program crashed.
 http://alhexx.tripod.com/apps/ff7/p-preview_darkness.zip


Mail the logfile to me, so I can take a look at it.

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-06-27 06:18:00
Identity Loaded
Setting Up Zoom, Angles etc...
Setup Completed
Drawing Triangles...
*CRASH*
Title: .p, Battle Files 'n Milkshape 3D
Post by: mirex on 2001-06-27 10:28:00
alhexx: ask qhimm to put your 'smiles' to his location. I liked some of them.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-27 14:28:00
darkness: Hm, Ok, I'll take a look at this...
mirex: That's an idea. Perhaps I'll ask him...but if u like them, why don't you ask him?

- Alhexx

BTW: We're moving up to the 200 members border  :wink:

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-06-27 14:51:00
darkness: Alright, download the file listed above, I've updasted the file. The app is almost the same; I've added one new entry in the logfile.
The only thing I found out 'till now is that the app crashes using OpenGL commands...but this doesn't really help us...

Check if the app crashes after 'Beginning Triangles-Mode..." or after "Drawing Triangles..."

BTW: Do you have the newest OpenGL drivers? If not, try to download them anywhere...

BTW 2: Why don't u finally register? U'r postin' much, so...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-07-14 21:07:00
Setup Completed
Beginning Triangles-Mode...
Triangles-Mode Running
Drawing Triangles...
 and yes, i have the latest drivers for my 3d accelerator
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-07-19 01:01:00
Where can I get a copy of battle.lgp ??
I have also been trying to look for a program that extracts files from PAC files from my street fighter ex game. can anyone help? yeah it is sorta off topic.
Ultima works pretty good now, but the convert to ascii doesn't really work on my computer, I have O/S: Win98
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-07-21 01:10:00
um......al. you ever gonna reply?
Title: .p, Battle Files 'n Milkshape 3D
Post by: mirex on 2001-07-26 10:36:00
Blue lotus: battle.lgp should have anyone who has final fantasy 7, so try your friends... and it is about 40MB i think.
And about Street Fighter, how big is that PAC file ? If it is not too big, (more then 1MB) send it to me, and ill look at it.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-07-28 23:13:00
Since I'm back again, I've released a new Version of Ultima (Beta 11). I've added some new options, so download it - I think it's worthy...

Darkness: Sorry, for not replying so long, but I couldn't - I had no internet connection. I'm going to release the source code of the viewer, so you can program a little bit. Perhaps you'll find the error faster than me...

- Alhexx

- edit -

I've uploaded the source for p preview.
Maybe you'll take a look at it, Darkness...

[This message has been edited by Alhexx (edited July 28, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-07-29 16:47:00
alhexx - i have very little knowledge in this field. But there is a possibility that i had previously forgotten about. My computer won't run q3a, and i think the reason is that, by default q3a runs on OpenGL instead of D3D. Prohaps a d3d version of your program would work. But i dont know if that would be hard or not.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-07-29 16:49:00
heres the line that vb6 gave me when I debugged:

 glColor3f ColorR(PolyP2(n%) + value3 * 2) / 255, ColorG(PolyP2(n%) + value3 * 2) / 255, ColorB(PolyP2(n%) + value3 * 2) / 255

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-07-29 16:57:00
last time it errored at 55/255, 65/255, 25/255
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-07-29 15:24:00
Darkness: Do you have a mainboard with Intel LX chipset and a Nvidia TNT2 (Ultra) Card?

Darkness: Try this:
glColor3b ColorR(PolyP2(n%) + value3 * 2), ColorG(PolyP2(n%) + value3 * 2), ColorB(PolyP2(n%) + value3 * 2)

The colors should get screwed up, but it should work...
---------------------------------------------

Hey Fice: OpenGL-related question(s):

How do I put textures on the model?

I've had a look at some files, and I think that value3 could have anything to do with textures, but I'm not sure...to find it out, I'll have to know how to handle textures under OpenGL.

Oh, and BTW: How do you view the .tex files? Converting 'em first to .bmp format and then view them? Or view them directly? Is there any Option for viewing/converting the files in your ficedula.dll or ficeconsole.dll?

- Alhexx

- edit -
Corrected OpenGL-Syntax for Darkness

[This message has been edited by Alhexx (edited July 29, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-07-29 19:50:00
To use textures ... that's *slightly* complicated.

First of all you need to get some "raw" texture data into your program. It's up to you how you're going to do that ... not sure how VB'll work. Delphi can do it easily from BMP files for you.

Then, upload it to the video card using glTexImage2D. Note: Width/Height must be powers of two (2,4,8,16,32,etc).

Enable texturing with

glEnable(GL_TEXTURE_2D);

For each vertex, specify the texture coordinate (which position on the texture image to use) with glTexCoordinate. Works a lot like glColor. You can still (and should) specify a colour with glColor as well; it'll be blended into the texture. Specify white to leave the texture unchanged.

Hopefully that's all you need to use simple textures.

To use multiple textures at once you need to use texture bindings. You can do that using

glGenTextures

to create a new "texture object".

and

glBindTexture

to activate a texture.

Basically, say you generate two texture bindings, T1 and T2.

If you did

glBindTexture(T1);
glTexImage2D(....., SomeData1, ...);

glBindTexture(T2);
glTexImage2D(....., SomeData2, ...);

Texture T1 would contain the texture data held in SomeData1, T2 the data from SomeData2.

When you wanted to draw polygons using texture 1, just do

glBindTexture(T1);

to activate it, and so on.

Once you've finished with a texture, use

glDeleteTextures

to remove them.

That's the *basics*. You should really look at a proper tutorial if you get any problems.

How to get at TEX files? My LGP tools can convert them to BMP's easily. There's a Delphi unit on my website (PSXTex) that contains the code I used to do it, if that's any help.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-07-29 21:00:00
nope. voodoo 3 2000 AGP and an abit.

i guess it is also too complex for poly3. oh, and was the b instead of an f on purpose? I tried it both ways.

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-07-29 21:04:00
Alhexx: I just noticed your question about the DLL's  :wink: No, the conversion code isn't in either of the DLL's but I could very easily wrap it up into a DLL for you if you wanted.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-07-29 21:05:00
ok, heres whats wrong: the second glcolor3f it reads makes the expression too complex.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-07-29 23:21:00
Fice Tetxures: Ok, I'll try it out.

Fice DLL: No need for now. I'll use your tex-to-bmp converter temporary...first I just want to check out, if my supose is right, that value3 has got to do with the textures (well, I'm quite sure...)

Darkness 1: The b means Byte; f means Float
Here's how the OpenGL commands are put together (AWAIK, Fice knows it better...)

glcolor3f - Type of arguments (float, nteger, ...)
 |     |
 |     Number of following arguments
 |
Command

Dakrness: hm, interesting...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-07-29 23:31:00
Yes, that's right.

If the expression's too complex,

a) VB is crap
b) Work out some parts in advance and assign them to their own variables. Then just do

glColor3f(RVal, GVal, BVal);

...having stored the values in their own variables, so each line is simpler.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-07-30 02:23:00
Fice: I guess u think answer a) is right, heh?  :wink:

Fice 2: What do you mean talkin' 'bout 'raw' data? Only the RGB values?

I've read the MSDN (MicroSoft Developer Network) 'bout OpenGL. There was an example for how to decode a DIB image for OpenGL. But the Source was for C++...

So it'd be nice if u could wirte a DLL that reads out the 'raw' data out of a BMP or better TEX file...
I think I could programm that myself, but the result of programming it under VB would be REAL SH*T...  :D (that's u'r opinion, too, heh ?)

BTW: take a look at that new .p format topic...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-07-30 02:30:00
Raw data means that, yes: just the RGB values for each pixel, one after the other, in one big data block. I suppose in VB you *could* do it with an uber-byte-array, but it wouldn't be very nice  :wink:

I'll see if I can cram some of my functions into a DLL for you.

Other topic: Took a quick look. Progress Is Good! If you dig anything else up post it; eventually I'll get around to updating the docs on my website...

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-07-30 05:17:00
code:
glColor3b ColorR(PolyP1(n%) + value3 * 2), ColorG(PolyP1(n%) + value3 * 2), ColorB(PolyP1(n%) + value3 * 2)
  glVertex3f VertX(PolyP1(n%)), VertY(PolyP1(n%)), VertZ(PolyP1(n%))
 
  glColor3b ColorR(PolyP2(n%) + value3 * 2), ColorG(PolyP2(n%) + value3 * 2), ColorB(PolyP2(n%) + value3 * 2)
  glVertex3f VertX(PolyP2(n%)), VertY(PolyP2(n%)), VertZ(PolyP2(n%))
 
  glColor3b ColorR(PolyP3(n%) + value3 * 2), ColorG(PolyP3(n%) + value3 * 2), ColorB(PolyP3(n%) + value3 * 2)
  glVertex3f VertX(PolyP3(n%)), VertY(PolyP3(n%)), VertZ(PolyP3(n%))
[/quote]

this seems to work for most of it. except parts of yuffies face are blue and green. the hair is alright though.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-07-30 13:58:00
Fice: Thanx.

Darkness: That's quite good. I'll look if I can finish this way of vierwing models in ultima...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-07-31 01:46:00
darkness: Try this one:

glColor3f ColorR(PolyP1(n%)) / 255, ColorG(PolyP1(n%)) / 255, ColorB(PolyP1(n%)) / 255

If this worx, download Ultima 0.27 BETA 12 and that should make u happy  :)

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-07-31 02:39:00
nope.  :(

i did learn more though.
GlColor3b only works w/o the /255 because that makes the expression too complex.
GlColor3f doesnt work with or without the /255.

the code i posted earlier only seemed to screw up on skin color.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-07-31 02:40:00
my hypothesis: floats just dont seem to work on my comp.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-07-31 12:01:00
darkness: Damnit, I'm stupid! I've copied the wrong code!!! This one:

glColor3s ColorR(PolyP1(n%) + value3 * 2) * 128, ColorG(PolyP1(n%) + value3 * 2) * 128, ColorB(PolyP1(n%) + value3 * 2) * 128

This one *should* work, b'cause it uses shorts, no floats...

BTW: Try downloading Ultima and run this one...

- Alhexx

- edit -
And if this doesn't work, try making an CLng() function on every color...understand me?

example:
glColor3s CLng(ColorR(PolyP1(n%) + value3 * 2) * 128)

I guess that could make the expression too complex, too, but try it...

[This message has been edited by Alhexx (edited July 31, 2001).]

[This message has been edited by Alhexx (edited July 31, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-07-31 22:47:00
the expression isnt too complex anymore, the colors are just a little messed
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-01 00:48:00
Have u downloaded Ultima beta 12 and tried? Colors messed up, too?

The 'F**k Error 16 Mode' of Ultima worx quite fine on my comp; no mixed up colors...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-08-01 16:47:00
it tries to load a file when you boot the program, not giving me time to click it before it crashes.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-01 14:31:00
Loads file at boot? Heh?   :-?
I haven't implemented a 'load file at boot' function or sth like that..

I'll have a look at my source and I'll compile a special version 4 you.

What's your mail, so I can send it to u?

- Alhexx

- edit -

Fice: How 'bout this DLL?

Fice: What format has that 'raw data' got to be? A Sting? An OpenGL Type?

[This message has been edited by Alhexx (edited August 01, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-08-01 22:03:00
I'll get working on the DLL tonight. I've been occupied with the Remake project recently  :wink:

Raw data ... is raw data. Like, no format. Raw. Data without format. Data. Raw. Raw data. No format.

Ahem! Basically its a collection of data. You specify which 'format' you want it to be in - 1 byte per colour value, or whatever - and pass in a massive great block of the stuff.

BTW, what's the VB declaration of glTexImage2D? I don't know how VB handles the GL data types.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-08-01 22:35:00
[email protected]
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-08-01 22:49:00
Alhexx: Are you sure? With the p-preview program, I had to open a file for it to give me error 16. but with the more recent versions for ultima (June-August) it give me error 16 when it starts.
Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-08-01 23:59:00
Alhexx: DLL coded. I've emailed it to you just now.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-02 15:31:00
darkness: I'm sure it doesn't open any file at startup, but I'll have to check the Init-Sequences of Ultima, perhaps it handles floats there...
I haven't been able to program that special edition for you, perhaps I'll do it today...

Fice: Raw data, no format? I mean, when I've got to declare a variable, which variable-format (string, integer, floats, ...). I guess it should be hard to init a variable without format (well I could use that 'Variant' Type...)

glTexImage2D: I'll take a look at it. I'll post in 'bout one hour (perhaps earlier, perhaps later)

DLL: Thanx.

e-Mail: I had to change my mail address, b'cause usa.net wanted me to pay for the account. I think I'll change my address the next time...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-02 17:11:00
Fice: I've implemented your DLL into VB. I've tested the functions, but I'm always getting the return value 1 (iow: File not found...)
Here's an example how I give the Filename into the functions:

"C:eye.bmp"


I've had a look at that source (I've got Borland Delphi 2 installed) and saw a constant called 'FICE_FREAKY_NUMBERS'     :wink: ?

I think I'll spend a lot of time on workin this DLL, but I'm sure, I'll find a way...

Oh, and here's the declaration of glTexImage2D:

glTexImage2D (target As glTextureTargetConstants, level as GLint, internalFormat as GLint, width As GLsizei, height As GLsizei, border As GLint, format As glTIFormatConstants, Type As glPixelTypeConstants, pixels As GLvoid)

- Alhexx

- edit -
Here's how I declared the GetBMPPointer function:

Declare Function GetBMPPointer Lib "Ficetex.dll" (FName As String, Width As Integer, Height As Integer, DataPointer As GLvoid) As Integer

- edit 2 -
I think I know why the files can't be found (Fice: "VB is Crap").

VB handles Strings between two "s. example:
"VB is Crap"

Delphi (and many others) use 's. example:
'VB is crap'

- edit 3 -
I was just browsing the net, searchin' for VB-Delphi tuts and I found sth. like a PChar function that converts Strings to PChars. Could u implement such a function into that DLL: I've tried to implement it and run, but a file called 'cappa.pas' (or sth. like that) was not found...

[This message has been edited by Alhexx (edited August 02, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-08-02 18:49:00
Well, VB does handle strings differently - but the symbol it uses in the source code has nothing to do with that!

My DLL expects you to pass it a null terminated string. I know VB *can* do that because all the Windows API functions that use strings expect null terminated strings. So, however a Windows function that uses a string is declared  in VB - that's how you have to pass in your string to *my* DLL.

uh, yeah, the FICE_FREAKY_NUMBERS result was for when you passed in a dodgy number. Except the final version of my DLL never accepted numbers, just filenames, so not needed  :D

However you're right in that the *standard* way VB handles strings *isn't* the same as most programming languages (it defaults to Wide [unicode] strings, most languages use ANSI.)

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-02 19:08:00
I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!! I'm stupid!!!

Hehe, forget 'bout this string-pchar-problem...
I've forgotten sth. in my declaration:

Declare Function GetBMPPointer Lib "Ficetex.dll" (ByVal FName As String, Width As Integer, Height As Integer, DataPointer As GLvoid) As Integer

Now I'm not gettings 1 anymore.

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-08-02 19:39:00
Incidentally, I'm forced to learn VB since it's part of my course.

Quote
Originally posted by Alhexx
Declare Function GetBMPPointer Lib "Ficetex.dll" (ByVal FName As String, Width As Integer, Height As Integer, DataPointer As GLvoid) As Integer

Honestly, I don't like the way VB defaults to pass by reference.
In fact, I'm not happy with a lot of limitations in VB.

Sorry if it offends anyone though.

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-08-02 21:58:00
That's slightly unusual, but not the main problem.

The REAL problem is that when you pass a VB string by value, it doesn't just pass it by value. It also converts it to another format!

Specifically, a PChar (null-terminated single byte string), which is the standard.

The real question is: If VB is going to support this type (which it needs to, for the Windows API), which is different to IT'S own String type, why the **** doesn't it make it a separate datatype? It's hardly intuitive that passing Strings by value actually converts them to a whole different data format...

Actually, that's one problem. The MAIN reason I don't like VB is that it isn't fully OO. And that just kills it dead as far as I'm concerned. No objects=crap.

However VB7 is supposed to add full OO. Then there's just all the other problems to sort out...

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-03 23:44:00
Fice: Good News & Bad News.

Bad News first:
I can't get your DLL running correctly. I've found a source code that handles textures (also reads out BMPs and converts them into textures).
When I try to use Get***Pointer command, I'm having probs with the DataPointer Variable. The glTexImage2D tells me, it wants a variable (but I give him a variable...)
The Get***Data commands don't work very fine under VB - it mostly crashes when reading out the Data. I've also been able to commit a BSoD.  :D

Good News: Like I said, I've found a source, that reads out BMP and TGAs. I think with this source, I'll be able to read out TEX files myself (I've programmed a function that reads out 8-Bit BMPs). I'm going to have a look at the TEX format. I guess these TEX files are 8-Bit, too. So they've got to have a palette, too, right? I've had a look at your source, and I'm going to try reading out the TEX files tomorrow. But perhaps I'll need your help... (as always...)(Am I already annoying you?)

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-08-04 00:49:00
Well, you've got my code to look at. Don't know whats going on with VB; lack of pointer support is really bad when it comes to things like this....

I'll certainly give you any help you need - except I'm away on holiday for the next week, so no net access. After that, sure.

Title: .p, Battle Files 'n Milkshape 3D
Post by: dagsverre on 2001-08-04 00:58:00
Visual Basic is evil. It's breaking every single programming rule in existance (well, many of them) and when working in it is is very very hard to think of it as something else than a toy. Just do yourself a favor and stay away from the crap...

(At least now you have my opinion...not that it was asked for...)

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-04 14:27:00
Fice: I think I understand at least a bit of your code, so I'll try around a bit...oh, and have fun on holiday!  :)

dagsverre: Yes, yes, I know...VB is crap...and u'r right. Like I mentioned before, I'm going to learn another language like C++ (Visual C++ 6, b'cause I#ve got the MS Visual Studio 6 Package). But I'll need a book to learn it. I've started programming in QBasic, then I changed to VB 4. I teached myself how to program. Then, finally, 'bout 3 months ago, I've bought a book 'bout VB6...that's why I'm able to program sth. like Ultima in VB. I've also got Borland Delphi 2 (AFAIK Version 5 is already available ?)

But C++ is much more complicated and I don't think that a few downloaded tuts will do this job.

So: VB IS crap...but it's EASY...  :wink:

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: dagsverre on 2001-08-04 14:49:00
Depends on what you want to do. If you don't need a windows interface for the program I think it shouldn't take that much time to learn the basics. Problem is that you probably do...

I'd say go for Delphi. It's not as powerful as C++ but it goes a long way and is almost as user-friendly as VB. There's not all that much new between Delphi 2 and Delphi 6 (6 was just released), but I know you can pick up free demos of the newer versions from magazine cover CDs and the like. There's also a trial over at borland.com, it's the same program but it might be time limited (not sure, just know that you can create programs with it).

Of course, since you have already started programming in VB I guess you should stay there until you start on a new program...

Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-08-04 17:27:00
Well, when it comes to choosing what you want to program in, sometimes it's a matter of preference. Actually if you learn a "proper" programming language, you will find a lot of cross referencing among them. VB however is a little odd. In all its simplicity, it also limits you from doing lots of stuff.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Ged on 2001-08-05 15:14:00
Wow!! Good work every1!!

OK. I'm going to the shop.
When I get back I will begin some-sort-of-a-private-project. What I mean is I'm going to begin to make those 3dmodels look better!! Anyone catching up?  :wink:
As soon as I do something i'll post it up, ok?
Now pleeeeeeeeeeeeeeasee somebody ecplain me what is going on in the FF7Remake project? I don't know if I should begin my project or not, cause If someone is aready doing this I don't wanna do it, OK?

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-05 21:46:00
Fice: Need your help, once again!

I hope you read this before beeing on holidays.

Good News: I've been able to program a function that reads out TEX files. It worx pretty fine, but I'm having one question to these multiple textures:

When I use multiple textures, do I have to end my current GL_TRIANGLES before changing to another texture?

example:

glbindtexture ... Tex1
glbegin GL_TRIANGLES
.
. Triangles with Tex1
.
glEnd

glbindtexture ... Tex2
glbegin GL_TRIANGLES
.
. Triangles with Tex2
.
glEnd

I know some of the commands listed above aren't correct, but that's not the problem.

If I try to change the texture within one of these GL_TRIANGLE blocks, the textures aren't changed. But if I change em like listed above, it worx.

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-08-05 22:00:00
Too late.
Fice is already on holiday.
Title: .p, Battle Files 'n Milkshape 3D
Post by: The Skillster on 2001-08-05 23:10:00
u keep at it ged itll be mightly usefull
Title: .p, Battle Files 'n Milkshape 3D
Post by: Ged on 2001-08-05 23:55:00
OK. Simple thing.
I just downloaded the whole thingy, I extracted it to .p files, now what do I do!?
Milkshape only reads *.ms3d files, *.raw says nothing. And btw. which *.p files are responsible for the WHOLE characters, or do i have have do export all parts and join them alltoghter. Anyhow - Alhexx, please send me the Tifa model ([email protected]) and I will take care of it. If I do something with it I will send a screenshot.
Currently I'm working on FF7 backgrounds, so I should post some screens soon.. Currently working on "Northern Cave - Uncut", cause I like this one the most... As soon as I convince my parents that I am not playing games, but working on one I will begin working hard-time. Currently I have a strict 2 hours per day..   :D
Expect tommorow evening a "Northern Cave - Uncut v2.0"   :D  :D  :D

[This message has been edited by Ged (edited August 06, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-06 15:26:00
Fice: I hope he's having fun...well, I guess it's alright. I'll perhaps release BETA 13 today, which won't show textures...

Skillster: Heh? Could u translate this into 'real' english?

Ged: vegetto5@wp.pl? Poland? He, I'm from Poland, too.

Ged 2: 2 hours per day? Hm, I guess you've got to really convince 'em. (My comp was running 10:37:56 yesterday   :D - without reboot!)

Ged 3:
Milkshape: You can't load 'em via 'Open File'. You've got to import them. ('File/Import/RAW' - or sth. like this...)

Whole Models: Bad News: 'till now, you've got to put the models manually. I'm currently workin' on a Version that reads out hrc files and puts the model automatically...but this is going to be hard...I've had to put the Tifa model toghether manually, too. Then I added some 'crappy' textures (milkshape doesn't work with these OpenGL Colors like Ultima does)
Well, I'll send some Tifa/Yuffie models to ya, you can have a look at them...

- Alhexx

BTW: Yeah, my first topic and 200+ replies   :)   :D   :)

- edit -

Ged: You could have a look at this, too:
 http://sklad.host.sk/ff7tool.rar  

I guess I've got to mention that it's from mirex...

[This message has been edited by Alhexx (edited August 06, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Sir Canealot on 2001-08-06 17:35:00
Fice has gone on holiday?
*stamps feat and waves arms*
Wheres the next beta of FF7 music/Cetra?

Curses! I want it now!

Ps..good work every one. I dont have a clue what you are talking about. That must be a good sign.

[This message has been edited by Sir Canealot (edited August 06, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-06 17:43:00
 
Quote
Originally posted by Sir Canealot
stamps feat and waves arms

Sounds funny, but what does that mean?

Fice: I've found a funny bug in his tex2bmp and LGPTools TEX Viewer...

- Alhexx

- edit -

Oh, I've forgotten why I was postin':

Released Ultima 0.27 BETA 13.

And I've published my PGP Key, so if someone wants to mail me and uses PGP, too: we can communicate encrypted now...

[This message has been edited by Alhexx (edited August 06, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Ged on 2001-08-06 22:17:00
Woo-hoo! How nice, someone from Poland!!
Oh. I have those tools already for some time.
OK. I finished "Sephiroths Cave 2.0beta". It suxx.. Well.. Making a background at 8AM just after waking up, working for 2 hours, may not end up a good thing.. Well. I will se how The SaiNt will rate. I think it suxx. If it weren't for the roots.. *sigh*

OH S***M****F******  :x!!!!!!  Now I remember!!! (i didnt use Photoshop for years..) hahahah!!
"Sephiroth Cave 2.0 alpha" come here..

Oh yes. For those who care for my non-sense work look at a preview (watching this image might end up in throwing up and other digestion problems) :
BEFORE : http://strony.poland.com/songo12/SephirothCaveBefore.jpg
AFTER: http://strony.poland.com/songo12/Sephiroths-Cave-2-alpha.jpg

Alhexx - why gmx.de if you're polish?

BTW. Thx for models. Give me few days to learn MilkShape and finish my current project (which suxx of corz) and I will tamper with the models. Eeeww... Did you make the face skins??  :D :D :D

PS. JUST FIXED THE ROOTS!!! YEY!!! Check the screenshot above (updated)... (hah. no one except the saint saw the bad version.. ouef!  :D :D :D)

Title: .p, Battle Files 'n Milkshape 3D
Post by: Ged on 2001-08-06 22:26:00
OK. My work on the backgrounds updated, fixed roots.. Remind the SaiNt to check this one out cause he has the old beta version (alpha is newer  :D)

Before : http://strony.poland.com/songo12/SephirothCaveBefore.jpg
After  : http://strony.poland.com/songo12/Sephiroths-Cave-2-alpha.jpg

Alhexx, why gmx.de if your Polish?
Well, give me some days to learn MilkShape3D and to finish my current project and I will start to tamper with the files you gave me..

Sephiroth XII over and out

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-07 00:13:00
Ged: You haven't read the 'Your Names' Forum (General), have you? I was born in poland, but I 'emigrated' when I was 5. That's quite a lot of time ago now, I'm living 3/4 of my life in Germany - that's why gmx.de.

My roots are in Poland, but I'm livin' in 'Germany.

Milkshape: I guess it's quite easy to learn the basics of Milkshape. (I mean it won't take as long as you would need if u wanted to learn 3DS MAX   :wink: )

BTW: Had a look at those cave graphix - looks good

- Alhexx

- edit -
Sorry, saw this question 'bout the face skins now...

Yes, there's no way to export the OpenGL colors into working textures, so I had to make 'em manually. (laughing 'bout snow's face texture - it's really shi*ty  :D )

[This message has been edited by Alhexx (edited August 06, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-08-07 05:06:00
alhexx: any luck? if not, could you upload the source and let me look at it. seeing the debug messages and stuff is very helpful.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Ged on 2001-08-07 11:43:00
Woaaahh!!
8:40AM.. Maybe I should go to sleep?
Night' all...

Sephiroth XII

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-07 15:49:00
Ged: 8:40AM? Going sleep? Ha, my comp was running for 10:35:57 at saturday (i guess 12pm - 10am) I'm going to bed 'bout 1:00 at night...

darkness: Haven't you recieved my mail? I sent a special version to ya....If not, I'll send it one more time.

- Alhexx

- edit -
Corrected time

- edit 2 -
Ged: Have you checked your ICQ? I'm waiting for your authorization to add you to my list

- edit 3 -
darkness: I've send the (censored) source of Ultima to ya.

[This message has been edited by Alhexx (edited August 07, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Ged on 2001-08-07 21:20:00
Oh damn. Forgot to change my ICQ UIN.
124151932, sorry  :D

IMPORTANT

The SaiNt - Your Sephiroth Patch
How to fix some things?

1) Hair

Clouds hair uses 1 .p file, Sephiroth's, 2.
Load both Sephiroths hair-files (using all Alhexx's tools) and join them into one .p file (after the whole converting.. (if it works)) and then upload to the .lgp file. And make a new patch.

2) Sephiroth - Cloud, and Cloud - Sephiroth

Change all "Sephiroth" to "Cloud" in flevel.lgp

End of ideas.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Ged on 2001-08-08 11:02:00
Another of my great ideas  :wink:

Fixing Sephiroth Limit Break Anim.

From what I heard each character has his own set of animations for particular moves. So to fix Sephiroths anim, put/change to his file Cloud's Animations for things that Sephiroth doesn't have. (Edit Cloud's, copy, paste to Sephiroth's..) Sounds pretty easy but I bet it isn't..

Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-08-08 17:23:00
As a temporary measure,(if you are really desperate) you can combine Sephiroths hair with the model of the head. That way, the game should load it right. Of course, you'll lose the movement his hair has but nevertheless it is a solution.

As for giving him limits that's a whole different story. No easy way around that.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Ged on 2001-08-08 18:49:00
So, update to 1.20 *Hair fixed*

I bet lot's of people except me wait for that..
What about the anim/summons, in readme the anims sounded tough, but summons quite easy. It would at least make him some stronger LB's...

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-09 00:39:00
SaiNt & Ged: Yes, yes, I'm workin one the needed functions. But I'll have to try around with these textures a bit, before I try to add/delete vertexes/polygons.

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-08-09 02:03:00
alhexx: unfortunately the version of ultima doesnt work.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-08-09 02:08:00
alhexx: will ultima work on a computer without 3d acceleration?
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-09 14:58:00
darkness: not working: Do u mean the compliled app or the source?

darkness: acceleration: Not sure. Perhaps that's the point...I'm workin on a TNT2, and every comp I've tested it on was running with a TNT2, too. I think you've got to ask Fice when he's back - he's the king of OpenGL.

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-08-10 03:14:00
Alhexx: i use a voodoo 3, but i was thinking maybe i could use ultima on my old 166 pavilion.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-10 15:26:00
Like I said, I'm not sure. I'm going to test it on (my old) PII 266 with ATI Rage Pro.

The best way to find it out is to test it.

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Ged on 2001-08-10 16:44:00
Alhexx, when are you going to make a Sephiroth 3D extract?

OK. Another thing.

When unpacking those .lgp files i get lots and lots of files with names "BKHA.p" etc.
How do I know which one is for what?

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-08-11 18:30:00
I'm back!

Alhexx: OpenGL acceleration: The MS OpenGL DLL's SHOULD provide software rendering for any situation when the main gfx card can't accelerate rendering.

Textures: Yes, you can't change textures in the middle of polygon rendering. There's only a fairly limited selection of things you CAN do while rendering polygons; change colour, texture coordinates, transformations (Translate, Rotate, Scale), and so on, are all ok; most "major" changes (change active texture, viewport parameters, etc) aren't.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Anonymous on 2001-08-12 02:07:00
if youre talking about the character lgp. then you look at the heiarchy files. for each character. For example: AAAA is cloud's.
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-12 14:21:00
darkness: I've tested it on my 266 - it works, a bit slow, but it works...

Fice: Okay, I guess that shouldn't be THE problem...now I've *only* got to find out, which vertexes have got textures...(oh damn)

Ged 1: Sephiroth 3D extract? What do you mean?
Ged 2: Yeah, take a look at these *.hrc files. If you're searchin' for a character, then use LGPTools' search option (works pretty good). As for the Battle.lgp - there are no hrc files   :(

Fice: Have you ever tried to view a file named 'dfx.tex' from the field.lgp? Try it - it has got 400+ colors   :wink: - too much for your 256 color palette...

- Alhexx

- edit -
BTW: I'm going to start my 'Battle.lgp File Database' today...that's going to be a hard piece of work....

[This message has been edited by Alhexx (edited August 12, 2001).]

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-12 22:07:00
Just wanted to mention that I've released the first Version of my Batlle.lgp Model Database.
You can see it on my Page (see my profile)

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: ficedula on 2001-08-12 22:39:00
Alhexx: Cool! That IS useful.

dfx.tex: I'll take a look. I AM spending most time now on the Remake, though, rather than programming FF7 tools...

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-12 23:50:00
Like I said on my page, I just started the Database...only 'bout 25% are decoded...

THE problem is, that I can imagine from which model this part is. I also don't play a lot FF7 the last time, so I rarely remember the enemies...but the most important models should be discovered. (my Ultima Weapon Model  :( not)

Well, I hope it will help the ppl out there anyway...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Ged on 2001-08-13 13:40:00
My little work :
 http://strony.poland.com/songo12/sephiroth3d.jpg

Heh. His second hand had a flower basket (???)...

Now I'm working on the battle model extract.

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-13 15:42:00
Ged: Just downloaded your Sephiroth extracts, gonna take a look at it. (I didn't want to extract the model myself  :wink: )

B'out your pic: I can't view it - Server not found...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Ged on 2001-08-13 17:21:00
It should work.. Well.. Whatever  :) It's the Seph Field Model.. You can look at it thru the file..
Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-08-13 20:00:00
Ged :I received your attachment  :)
I'll take a look at it tomorrow
Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-13 22:27:00
Ged: Aha
SaiNt: Sorry for that while our chat session, but my connection crashed...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-14 01:33:00
AAAAAAAAAHHHHHHHHHHHHHH!!!!!!!!!!!!

Just wanted to post this, to tell u, that the version of ultima, with which I checked the .p files for the Battle.lgp Database had a TERRIBLE BUG!
That's why there are so many corrupt files!!!

I'm going to update the database tomorrow!

I'M SORRY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

- Alhexx

BTW: Wanted to test this 'Signature Fucntion'

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-14 01:35:00
I wonder where my signature pic is...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: The SaiNt on 2001-08-14 09:11:00
Alhexx : No prb. I guessed something like that happened. BTW, about the Ultima Weapon model, it was the first file .P file I opened but that was a long time ago so I've forgotten which it was.
Title: .p, Battle Files 'n Milkshape 3D
Post by: mirex on 2001-08-15 11:20:00
Ged: as i remember time when i extracted sepiroth, that thing in his right hand ain't flower basket, i think its jenovas head.

(Grose ey  :)

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2001-08-15 15:15:00
SaiNt: I (or better: my friend Yuki) found it! We also found some other models...next update will be today evening...

- Alhexx

Title: .p, Battle Files 'n Milkshape 3D
Post by: Alhexx on 2002-03-07 12:59:00
Huh? Hasn't this topic been closed? Hm, let's make use of my mod skills... :D

 - Alhexx