How to change the Sunshine Lighting

Talk about how to change the way the game looks here.

How to change the Sunshine Lighting

Postby Kra » Sun Jun 08, 2008 7:45 am

I found how to change the sunshine lightning in Forest Ultimate. It's not a very big discovery but it's useful if you want to make a night skin without this orange lightning.

How to change the sunshine lightning:
The texture is in this file : data\effect_nt.xvm, which contains a lot of effects as Telepipe, explosion, loading effect... The sunshine lightning is in the Image 31.

Before:
Image

If I fill the texture with blue:
Image

So with a transparent texture, you can remove the lightning :
Image

How to change the lightning of objects:
Doors are still orange, we need to change lightning of objects.

Open the file data\lightentry.bin with an hex editor.
Offset 0040 to 007F = Lightning object for Forest 1 (normal)
Offset 0080 to 00BF = Lightning object for Forest 2 (normal)

Offset 0D00 to 0D4F = Lightning object for Forest 1 (ultimate)
Offset 0D50 to 0D9F = Lightning object for Forest 2 (ultimate)

Just copy the data from forest 1 and 2 (normal) to forest 1 and 2 (ultimate).

Before:
Image

After:
Image

This picture is the lightning objets of the area "Forest 1" in lightentry.bin
The bytes in red/green/blue are the colors.
Image
Kra
 
Posts: 1197
Joined: Sat Jun 07, 2008 11:55 am
Location: France
Guildcard 1: 0
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Vibestar » Tue Apr 13, 2010 4:39 pm

Oh, I just realized this is what I was looking for in here. D'you know which offsets are responsible for which areas and which objects?
Image
Image
Image
User avatar
Vibestar
 
Posts: 399
Joined: Thu Jan 07, 2010 8:39 pm
Guildcard 1: 0
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Kra » Tue Apr 13, 2010 5:15 pm

Nope sorry I know nothing else about this file.
Kra
 
Posts: 1197
Joined: Sat Jun 07, 2008 11:55 am
Location: France
Guildcard 1: 0
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Vibestar » Tue Apr 13, 2010 5:26 pm

Um, it's really sad cause I did manage to find out required offsets for Caves 1 only.

Before
Image

After
Image
Image
Image
Image
User avatar
Vibestar
 
Posts: 399
Joined: Thu Jan 07, 2010 8:39 pm
Guildcard 1: 0
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby HeartBreak301 » Tue Apr 13, 2010 5:27 pm

Radioactive lilies. :blink:
Image
User avatar
HeartBreak301
 
Posts: 1714
Joined: Mon Oct 26, 2009 8:47 am
Guildcard 1: 22752848
Guildcard 2: 22804145
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Vibestar » Tue Apr 13, 2010 5:28 pm

HeartBreak301 wrote:Radioactive lilies. :blink:

I need this effect for my cartoon skin.
Image
Image
Image
User avatar
Vibestar
 
Posts: 399
Joined: Thu Jan 07, 2010 8:39 pm
Guildcard 1: 0
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Lee » Tue Apr 13, 2010 5:29 pm

ffs do I have to do everything around here.

TLightData = Record // Light Entry 0x40 Bytes
L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14, L15,
L16: Single;
End;

Filesize 6528 bytes
102 Entries

You do realise they are floats right?

Something doesn't add up though....
Beware the forum Bahamut :ninja:

Crono114 wrote:I tried to outsmart me

Lee wrote:Well that's not hard
User avatar
Lee
Site Admin
 
Posts: 10406
Joined: Sat Jun 07, 2008 1:22 am
Location: United Kingdom
Guildcard 1: 22665216
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Lee » Wed Apr 14, 2010 3:58 am

Image
Image
Image
-_- kra you ass it's 68 bytes per entry not 64.
Beware the forum Bahamut :ninja:

Crono114 wrote:I tried to outsmart me

Lee wrote:Well that's not hard
User avatar
Lee
Site Admin
 
Posts: 10406
Joined: Sat Jun 07, 2008 1:22 am
Location: United Kingdom
Guildcard 1: 22665216
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Vibestar » Wed Apr 14, 2010 4:08 am

Lee wrote:[url=http://img34.imageshack.us/i/light3f.jpg/]

It's lightentry.bin, isn't it? What is it opened with?
Image
Image
Image
User avatar
Vibestar
 
Posts: 399
Joined: Thu Jan 07, 2010 8:39 pm
Guildcard 1: 0
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Lee » Wed Apr 14, 2010 4:11 am

Vibestar wrote:
Lee wrote:[url=http://img34.imageshack.us/i/light3f.jpg/]

It's lightentry.bin, isn't it? What is it opened with?


When I want to edit a typed binary file, what do you think I do. Answer that and it explains the picture. And yes it's lightentry.bin .
Beware the forum Bahamut :ninja:

Crono114 wrote:I tried to outsmart me

Lee wrote:Well that's not hard
User avatar
Lee
Site Admin
 
Posts: 10406
Joined: Sat Jun 07, 2008 1:22 am
Location: United Kingdom
Guildcard 1: 22665216
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Vibestar » Wed Apr 14, 2010 4:16 am

Lee wrote:When I want to edit a typed binary file, what do you think I do.

Particle editor? Sorry, I have no the slightest idea, really. Give me a chance.
Image
Image
Image
User avatar
Vibestar
 
Posts: 399
Joined: Thu Jan 07, 2010 8:39 pm
Guildcard 1: 0
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Lee » Wed Apr 14, 2010 4:22 am

*headdesk

someone else can explain how dumb you just managed to be. I'm going to nap.
Beware the forum Bahamut :ninja:

Crono114 wrote:I tried to outsmart me

Lee wrote:Well that's not hard
User avatar
Lee
Site Admin
 
Posts: 10406
Joined: Sat Jun 07, 2008 1:22 am
Location: United Kingdom
Guildcard 1: 22665216
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Dream » Wed Apr 14, 2010 1:49 pm

When lee wants to edit something with a gui, he programs the dang thing himself because he can look at raw data and figure out how it's structured.
I'll be around to check for battle mode PMs every once in a while.
User avatar
Dream
 
Posts: 3071
Joined: Mon Dec 29, 2008 11:55 pm
Guildcard 1: 0
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Lee » Wed Apr 14, 2010 9:14 pm

Don't bitch me if it goes nuclear, I had very little time to debug it.

Config file will let you change the names in the tables etc.

Always keep a backup of your light entry.
You do not have the required permissions to view the files attached to this post.
Beware the forum Bahamut :ninja:

Crono114 wrote:I tried to outsmart me

Lee wrote:Well that's not hard
User avatar
Lee
Site Admin
 
Posts: 10406
Joined: Sat Jun 07, 2008 1:22 am
Location: United Kingdom
Guildcard 1: 22665216
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0

Re: How to change the Sunshine Lighting

Postby Vibestar » Thu May 27, 2010 11:10 am

Lee wrote:Don't bitch me if it goes nuclear, I had very little time to debug it.

Config file will let you change the names in the tables etc.

Always keep a backup of your light entry.

I just posted half-feedback half-question on this editor in here.
Image
Image
Image
User avatar
Vibestar
 
Posts: 399
Joined: Thu Jan 07, 2010 8:39 pm
Guildcard 1: 0
Guildcard 2: 0
Guildcard 3: 0
Guildcard 4: 0


Return to Skins



Who is online

Users browsing this forum: No registered users