Author Topic: Need a little direction (format of files, or existing tool)  (Read 17197 times)

Yare

  • *
  • Posts: 17
    • View Profile
I got the idea in my head to try and hack out a nude patch for FF7. I searched around and extracted the file "ruam" from battle.lpg, which is Tifa's chest bundled with a texture, so far as I can tell.

Is there any utility currently available that can open/edit the texture part of these bundled files, or is there a file format whitepaper on them somewhere?

I'm a fairly accomplished C++ / Java / C# programmer so writing a utility isn't the problem, but I'd like to save myself the trouble of decoding the file format since somebody else already obviously has (or the LPG tools wouldn't be able to display it. heh).

Any help in this matter would be greatly appreciated.

trickstar66

  • *
  • Posts: 224
    • View Profile
    • http://radicalgarbage.250free.com
Need a little direction (format of files, or existing tool)
« Reply #1 on: 2004-07-08 02:10:39 »
pervert...

Yare

  • *
  • Posts: 17
    • View Profile
Need a little direction (format of files, or existing tool)
« Reply #2 on: 2004-07-08 02:22:35 »
Actually, a pervert is defined as a person whose behavior deviates from what is acceptable especially in regards to sexual behavior.

Since I don't intend to derive sexual stimulation from this (indeed, there is plenty of FF7 porn out there for that without making such an effort), it would be technically innacurate to label me as a pervert.

I tend to think of it more as "fan service" or perhaps a "technical demo"  =P

trickstar66

  • *
  • Posts: 224
    • View Profile
    • http://radicalgarbage.250free.com
Need a little direction (format of files, or existing tool)
« Reply #3 on: 2004-07-08 03:31:27 »
UGHH!! Fine then. Your new title is: horny person

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
Re: Need a little direction (format of files, or existing to
« Reply #4 on: 2004-07-08 04:03:11 »
Quote from: Yare
I got the idea in my head to try and hack out a nude patch for FF7.

This has got to be the dumbest thing I've ever read. My brain is actually trying to wrap around why. So U can See TiFa;s Bewbies!!! LOLOL!O!L! I an teh HaX0r!!!1!!!!one!!
Quote

I searched around and extracted the file "ruam" from battle.lpg, which is Tifa's chest bundled with a texture, so far as I can tell.

First, you are in for a heck of a surprise. Sorry, no textures! But you got to look at teh Tifa's headless Bewbies!!! It's teh Sexi!!1!1!!!
Quote

Is there any utility currently available that can open/edit the texture part of these bundled files, or is there a file format whitepaper on them somewhere?

What texture are you talking about? The vertex shading? I'm wondering, do you know what a vertex is? Do you know about color interpolation across a normal with arbitrary colored vertices?
Quote

I'm a fairly accomplished C++ / Java / C# programmer so writing a utility isn't the problem, but I'd like to save myself the trouble of decoding the file format since somebody else already obviously has (or the LPG tools wouldn't be able to display it. heh).

The fact you want to see polygon breasts calls your whole ability to code into doubt. You see, learning languages requires displine. This is a trait that I have found lacking in people who wanna see teh haWt Tifa Bewbies with teh teXtur3s!
I might be dramatizing it a bit, but that what your request sounds like to me.
Quote

Any help in this matter would be greatly appreciated.

I would suggest your first step would be to learn the difference between vertex shading and textured polygons.

After that, maybe find yourself a girlfriend.
 
/yea, I know I'm being pretty ravonous, but for goodness sakes! Requets like this show nothing immaturity and a general lack of thinking skills. At least I wholly admit I can't spell, but at least I enjoy engageing a brain cell or two.

Yare

  • *
  • Posts: 17
    • View Profile
Need a little direction (format of files, or existing tool)
« Reply #5 on: 2004-07-08 05:50:53 »
Halkun, I'm sorry you feel that way.

There are many nude patches for many different games. The reason is that there is demand. Why do you work on your projects? There is demand for what you are doing and satisfying that demand makes you feel a sense of accomplishment. What I am trying to do is no different. That is, unless you look down on nudity as some sort of terrible thing.

You seemed like a decent enough person while I lurked the forums, but you jumped to so many conclusions about me and my life based on a single post in this forum that I have to call your wisdom and maturity into question.

Rather than offer a helping hand by providing me with the information I was missing and possibly recruit another person into helping hack/mod FF7, you've pretty much killed the interest I had in wanting to work with you guys on your projects (you certainly don't NEED my help, but I would have liked to help).

Also, your exaggerated spelling, punctuation, l33t speech, and alternating "!"'s and "1"'s makes no sense at all, since my posts was written in proper formal English.

Forgive my assumption but I figured that everyone here was a mature adult, and wouldn't have any kind of problem handling adult-oriented topics without reacting like a child. If you are not adult enough to handle topics discussing nudity, of if you think that liking porn somehow makes a person juvenile or unintelligent, then I apologize for bringing it up and I pity you.

Quote
Do you know about color interpolation across a normal with arbitrary colored vertices?


Yes, actually. Its a very archaic/beginner technique that's not used often anymore today, but I and anyone else versed in more advanced vertex formats would have begun by learning it and thus be familiar with it. Any non-textured meshes you see today (in professional apps, that is) are rendered with a vertex or pixel shader, rather than RGB verts. And even that is rare. Almost everything now is textured AND pixel/vertex shaded and sometimes I forget about pure untextured unshaded RGB verts since they really aren't used professionally anymore and haven't been for a long time. But I've gotten off the subject.

I am aware of the differences between texture-mapped vertices and RGB-shaded vertices. Looking at the files in the viewer again, I can see now that they aren't using textures. There was absolutely no need to jump on me simply because I assumed the game used textures. You have infinitely more familiarity with the FF7 files than I do, and your reply could have been a simple "No textures. RGB verts." and it would have sufficed. The rest of it was essentially unprovoked personal attacks, which is very immature.

Quote
The fact you want to see polygon breasts calls your whole ability to code into doubt.

No it doesn't. Those two things are 100% unrelated, and if you think somehow that they are, then you are committing a HUGE logical fallacy. The specific fallacy you committed is called "ad hominem". If you search around a bit on the internet I'm sure you can figure out what it is.

Textured vertices require a VECTOR3 for the "xyz" location, a VECTOR2 (or Point) for the "u" and "v" texture map values (ranging from 0.0 to 1.0, one each for up to 8 texture passes).

RGB vertices, on the other hand, don't require the VECTOR2 for the uv values, and instead have a DWORD for the RGB(sometimes A) values.

Both require a VECTOR3 for the normal if the vertices are untransformed. If the vertices ARE transofrmed before you light/shade them, they will need a FLOAT value containing the reciprocal of the homogenous w instead.

Also, I'm not sure how girlfriends fit into all of this, but in case you are unaware -porn and girlfriends are not mutually exclusive.

//EDIT
If you want to start over fresh and be mature/civilized, please let me know. Despite your knee-jerk reaction to my post, you still seem like a fairly intelligent and knowledgable person.

EmperorSteele

  • *
  • Posts: 933
    • View Profile
Need a little direction (format of files, or existing tool)
« Reply #6 on: 2004-07-08 06:35:32 »
Well, then, there you go.  Get a program that will alter the vertex shades, and you'll be good to go.

However, i really don't see this working.  In order for Tifa to be "nude", you'd have to get rid of her skirt and you'd have to seperate her breasts to look more natural; (as it stands now, shes got more of a uni-boob), and ff7 is very picky about the models being redone.  Aeris would be impossible, and Yuffie.. well, lets not delve into making minors run around naked, okay?

And besides which, since you simply CANNOT add more polygons, you'd be looking at 8-sided boobs and a 4-sided butt cheeks.. and i'm afriad that isn't too attractive.  Even WITH antialising on, it'd still look pretty bad.

And this is all based on the battle models.  The field model characters?  Forget it, theres simply not enough there to work with to make such an attempt worth while.

And guys, i know it's gonna be peverse, but lets be a little more supportive around here.  Thanks to the ppl on this board, Cloud and co finally have hands.. lets give them something to DO with them ;P

Yare

  • *
  • Posts: 17
    • View Profile
Need a little direction (format of files, or existing tool)
« Reply #7 on: 2004-07-08 06:47:21 »
Yes, I'm attempting to work with the battle models. I'm not trying to do a full nude -I'm not a 3d modeller by any means and would not be able to alter the model.

I wanted to just do a topless mod to start. That would lead lead into more legitimate (read: non-nude) re-skins (though skin may be the wrong term) of other characters and monsters.

Since its not as simple as editing a texture, it may be too much of a hassle. I could manually alter the vertex colors for Tifa's chest model, but I'm not sure how the result would look. Probably sub-par.

Messiah99

  • *
  • Posts: 235
    • View Profile
Need a little direction (format of files, or existing tool)
« Reply #8 on: 2004-07-08 07:35:27 »
Well, as much as Id never have a care about using it, a top-less/nude mod would be interesting to see just for the fact that it would show definite progress with the editing of the models. Think about it: now isnt the right time for it, since even after everything thats been done thus far, theres still so much more that has yet to be figured out. But imagine being able to play with the models to the extent that one could make such a drastic change in appearance as that?

Darkdevil

  • *
  • Posts: 728
    • View Profile
    • Http://darkdevil177.5u.com
Need a little direction (format of files, or existing tool)
« Reply #9 on: 2004-07-08 08:59:47 »
Woah!!!! Never seen THAT side to Halkun....

j00 g0tz teh pwnzorz'd by teh H4lku|\|!

*ahem*

Back to normal programming.  

You need to get a life kid.  If you want to see tifa nude, try searching the Shoujoai forums...Plenty of shit there for you.

Jedimark

  • *
  • Posts: 2056
    • View Profile
Need a little direction (format of files, or existing tool)
« Reply #10 on: 2004-07-08 09:07:01 »
Heh.. this topic is hillarious.

Messiah99

  • *
  • Posts: 235
    • View Profile
Need a little direction (format of files, or existing tool)
« Reply #11 on: 2004-07-08 09:10:08 »
Quote from: Jedimark
Heh.. this topic is hillarious.

It was worth it just to see halkun go off like that. :lol:

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
Need a little direction (format of files, or existing tool)
« Reply #12 on: 2004-07-08 09:22:44 »
Here's the crux of the story.

Square-Enix is not ID software, nor are they infogrames. The fact of the matter is they sunk millions and millions of dollars into the creation of FF7 in a very high-risk/high-return gamble that payed off very very well. This doesn't change the fact that they are a large Japanese comapny with incredible multinational ties.

It has been in my experiance that large Mutinational/Japanese companies do not express a great deal of pleasure when others start to impinge upon what they own. Not only that, they will bend over backwards with legaly questionable tactics to make sure no one does.

I want to document the internals of FF7 because I wish to advance my knowlage on how modern Japanese-style Role playing Games are made. It affords me a remarkable opputunity to understand the programming culture that created it, which I find absolutly facinating.

I did this several years ago with my Playstation doc for the same reason. I wanted to investigate how the PS1 computer system functioned. I also wanted to learn, just a little bit, about Sony's R&D culture, something very secret. When one sees the buildings a secritive culture builds, you can't help to wonder about the people who participated in that culture, and who made it. I find that very exciting.

When my PSX doc made slashdot I got a lot of praise. I also got slammed by the most unlikely of people.

I was eviscerated by the PSX homebrew community, the very people I was trying to help.

I got very angry and vile letters from people telling me that I was single-handedly destroying the PSX homebrews. Sony didn't take too kindly to me vivisecting the PS1 for all to see and started to systematically shut down all the information points that I got my information from. One of these was a public PSXDev mailing list that deveopers used to talk about game deveopment. It was also the prime resourse where the homebrewers gather thier information as well.

With PSXDev gone, I got some scathing emails with lots four letter words. Then the people who said it was OK for me to use their information on my doc suddenly were demanding me to remove it. This is why I dropped my psx doc shortly after publishing it.  

I'm also pretty sure some programmers were fired for violation of Sony's non-disclosure agreement by posting Sony's propriatary infomation publicly.

Then the lawsuit started.

I was involved in the Sony vs Connectix lawsuit. Sony didn't take too well for a compeating PS1 product. The problem was what Connectix was doing was perfectly leagal. That didn't stop Sony from attempting to have a judge decalre that the simple act of copying a PSX BIOS from a hard drive to a computer's memory was illigal. (Therefore making every single PSX emulator illigal)  reguardless if you owned a PSX or not.

Sony lost the injuction.

That is not to say that they did shut down a perfectly valid piece of technology. Something I'm still a bit tiffed about.

SO what does this have to do with FF7?

Well, I'm not going to lie when I say that my "Gears" document is proably going to enbale people to do things with Square's engine that they never intended. Boobies not withstanding, in a perfect world, someone could take my doc and make an entire clean-room version of Square's engine. If they want to do that, I have no problems with that. I simply doing this for educational peruposes and what you do with you education is up to you.

However.

I forsee that someone is going to do something that going to tick off Square-Enix. The next thing I know I'm going to have to deal with nastygrams from them because I was the "enabler".

Talking from experiance, corporite nastygrams from international companies are a pain in the ass to deal with.

The sad thing is simply documenting something for educational purposes is a right that America is slowly loseing. They already made it de-facto illigal in the U.S. to tell how DVD encryption works. Writing things like the PSX doc and Gears is my way of protesting and showing that what I'm doing is for the common good (education) and not the common evil (piracy)

It's also why I append my real name to the document, as a show of contempt.

So go ahead and make your boobs, make em jiggle if you want! But please bear in mind that the most harmess of fun can be back-ported into a PSX ISO. Then it goes from God's mouth, to Square's ear, to you, to me, to the cleaners.

Though, I guess this is a non- issue. The real fun begins when we have a program that can execute field files.

I mean, look what happened to the last program that could do that.

Oh, that's right, that doen't exist anymore...

mirex

  • *
  • Posts: 1645
    • View Profile
    • http://mirex.mypage.sk
Need a little direction (format of files, or existing tool)
« Reply #13 on: 2004-07-08 09:38:21 »
Weell halkun never thought that you would go so wild on someone :)
Generally hands patch and boobs patch is the same ... just moving of some vertices.
After reading your last post i see the general point, but anyhow ... things can be done even without your documents, i mean someone would be able to do it anyhow, i bet we here are not only ones who know how it works inside...

Quote
Though, I guess this is a non- issue. The real fun begins when we have a program that can execute field files.

I mean, look what happened to the last program that could do that.

Oh, that's right, that doen't exist anymore...

What program is that ?

Yare
So technically it could be possible, but hard to do. You see up to date we cannot write new 3d files from scratch that would engine handle, so only way is to change old files ... and only simple changes currently can be done ... like vertex coords, maybe vertex colours and such (but i never tried it so im not sure). No new textures applying, no adding new polys or verts. I think that Alhexx's software Ultima can do something to models, try to look at www.alhexx.com. When you change the files pack them back into battle.lgp and they should work.
Maybe you should ask author of Hands patch how did he do it.

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
Need a little direction (format of files, or existing tool)
« Reply #14 on: 2004-07-08 09:48:30 »
Quote from: mirex

What program is that ?


It's was a Japanese program I believe. lasyan3 has bits of it and is doing a post-mortum. It is from this program the scripting opcodes were extracted. However lasyan is only giving me the specifacations from the program and not the program proper. So I don't know much about it. I'm very greatful that I can use his specs to furthur the field file deveopment.

It also keeps me in the clear.

That's irritating is that I had to study intellecual property law for a few years just to know what's right and wrong. You shoudn't have to do this.

Darkdevil

  • *
  • Posts: 728
    • View Profile
    • Http://darkdevil177.5u.com
Need a little direction (format of files, or existing tool)
« Reply #15 on: 2004-07-08 10:21:21 »
Basicly you're saying that if Squeenix grab a hold of the document you're writing, and it has (providing everybody contributes SOMETHING) all our names on it, We can all get "nastygrams" from squeenix with cease and desist orders for our actions on this forum, And our own personal projects?

**** that, If it comes down to it, Ill carry on just to spite them >_> </cockyness>

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
Need a little direction (format of files, or existing tool)
« Reply #16 on: 2004-07-08 10:43:39 »
Heh..."Squeenix"

I *adore* that name.

I donno, depends. I haven't talked to any Square contacts in ages. Even Lucasarts was very leary of the SCUMM engine. When the first Doom came out and the first editors were being made, there was a lot of lawyer-ing about. I just talk from expericance, I can't tell the future.

Messiah99

  • *
  • Posts: 235
    • View Profile
Need a little direction (format of files, or existing tool)
« Reply #17 on: 2004-07-08 10:51:04 »
Quote from: halkun
Heh..."Squeenix"

I *adore* that name.

Agreed!

Quote from: halkun
I just talk from expericance, I can't tell the future.

In which case we can only hope that history doesnt repeat itself should a day come when enough has been learned to make the game our b*tch, haha. :lol:

trickstar66

  • *
  • Posts: 224
    • View Profile
    • http://radicalgarbage.250free.com
Need a little direction (format of files, or existing tool)
« Reply #18 on: 2004-07-08 14:19:02 »
I think we all love the humorous parody of SquareEnix that is "Squeenix". :lol:  I totally agree with Halkun about education however. I bet you anyhting that in a few years it's going to be "illegal" to code programs thanks to Bill Gates and his never-ending river of complaints. I say KILL BILL!! (volume 1 that is) :D  It'll be illegal thanks to the complaint that learning C++ and Basic is an enabler to decoding copyright protected programs. :roll:  Teachers that we all know and love will be sent to jail. :weep:  Sad future indeed unless we do something about it and for the Gears project, I salute you Halkun!!

Yare

  • *
  • Posts: 17
    • View Profile
Need a little direction (format of files, or existing tool)
« Reply #19 on: 2004-07-08 18:23:01 »
halkun,

Quote
So go ahead and make your boobs, make em jiggle if you want! But please bear in mind that the most harmess of fun can be back-ported into a PSX ISO. Then it goes from God's mouth, to Square's ear, to you, to me, to the cleaners.


I was not aware of the legal troubles you have had surrounding FF7 modding. I don't hold it against you for not aiding me in this endeavour, since I have no desire to see Square/Enix pursue legal action against you as a result of something I did.

to the person who referred to me as "kid",

The use of the word 'kid' implies that I am a minor. Since I am not a minor, and haven't been for some years now, I find your use of it when describing me very derogatory. Also, I'm aware that there is plenty of Tifa Hentai out there. I enjoy creating things, but I am no artist by any stretch of the imagination. Its not so much me wanting to see Tifa's boobs, as providing that chance to other people in the original media rather than with hand-drawn art.

That probably made no sense at all.

Meh.

I'll continue looking into it on my own, and if I make any progress I'll post a patch here (if that's alright).

trickstar66

  • *
  • Posts: 224
    • View Profile
    • http://radicalgarbage.250free.com
Need a little direction (format of files, or existing tool)
« Reply #20 on: 2004-07-08 19:54:06 »
If you wanted something original you should have done something like a new wardrobe for the characters. I don't think a nude patch is the answer to everything. Anyway, the boobs will be as bad as the Tomb Raider II patch with the whole uni-boob thing. :lol:

Darkdevil

  • *
  • Posts: 728
    • View Profile
    • Http://darkdevil177.5u.com
Need a little direction (format of files, or existing tool)
« Reply #21 on: 2004-07-08 20:14:35 »
Quote from: Yare


to the person who referred to me as "kid",

The use of the word 'kid' implies that I am a minor. Since I am not a minor, and haven't been for some years now, I find your use of it when describing me very derogatory.


Relax, I call everyone I don't know kid...Its what I do.

Quote from: yare

 Also, I'm aware that there is plenty of Tifa Hentai out there. I enjoy creating things, but I am no artist by any stretch of the imagination. Its not so much me wanting to see Tifa's boobs, as providing that chance to other people in the original media rather than with hand-drawn art.


Thats a very poor excuse.  
1.  No anatomical detail.
2.  Angular, uni-breast.
3.  You can modify the polygonal shape of the character, mening you cant even start.

Yare

  • *
  • Posts: 17
    • View Profile
Need a little direction (format of files, or existing tool)
« Reply #22 on: 2004-07-08 21:33:43 »
Quote
Thats a very poor excuse.

You misunderstand my statement. I wasn't making an excuse, but offering a reason.

I tinkered with the verts' RGB values and managed to make all of the shirt verts her flesh tone rather than the white/grey shirt color, but I left the suspenders.

I imported it into the game, but it just doesn't look right without nipples.

Doing regular color changes to create a new wardrobe would be easy to do for all the characters. Easier than adding nipples, that is.

Jedimark

  • *
  • Posts: 2056
    • View Profile
Need a little direction (format of files, or existing tool)
« Reply #23 on: 2004-07-08 21:43:53 »
Quote from: Yare
but it just doesn't look right without nipples.


Heheh.. oh god are you for real Yare? This is so funny...

Felix

  • *
  • Posts: 13
    • View Profile
    • http://www.ohtheirony.co.uk
Need a little direction (format of files, or existing tool)
« Reply #24 on: 2004-07-08 21:50:37 »
Quote from: Yare
Quote
Thats a very poor excuse.

You misunderstand my statement. I wasn't making an excuse, but offering a reason.

I tinkered with the verts' RGB values and managed to make all of the shirt verts her flash tone rather than the white/grey shirt color, but I left the suspenders.

I imported it into the game, but it just doesn't look right without nipples.

Doing regular color changes to create a new wardrobe would be easy to do for all the characters. Easier than adding nipples, that is.


Dude... Get a video/girlfriend/porn website account...