[Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?
Hi Guys
I will edit the citys, now i have search for the Texture (.GTX) and the
Moddelier files (.GB) ! Than i have search the files to set in Game. And
i have found it ../data/MAPS/ !
Now i have search for a editor and found BakaBug OPL editor v2.0.
I can open this .OPL Files but i can not edit this files?
Can u help me? I will Delete house and walls in Temp.
And add new Walls but not on self place.
Any can help me pls.
And Guys big sorry for my bad english, but iam a old German Men,
and it is a long time since i learn english ;) i hope u can understand me.
Thx for all - and thx for read my littel Post :P
Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?
Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?
Hey Guys,
I'm also looking for a OPL editor, although kinda trying to work around having only OPL editor 0.2 from BakaBug for the graphics part of it. Only part where I'm hitting a bump is the conversion from the hex values of the location in a hex editor and the ones I'm getting from the editor. Values just don't seem to match up, if anyone could point me in the right direction, could add something up, although might be linux based as far as the program will be concerned.
CryptO
Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?
luca's opl editor aint finished
Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?
Quote:
Originally Posted by
CryptO
Hey Guys,
I'm also looking for a OPL editor, although kinda trying to work around having only OPL editor 0.2 from BakaBug for the graphics part of it. Only part where I'm hitting a bump is the conversion from the hex values of the location in a hex editor and the ones I'm getting from the editor. Values just don't seem to match up, if anyone could point me in the right direction, could add something up, although might be linux based as far as the program will be concerned.
CryptO
Considering if you know the header structure, the crc32 start, and can calculate a new crc32, the object structure is..
path_length = unsigned long (4 bytes)
relative_path = char[path_length] (signed ascii string)
// Vector3D (x, y z)
position_x = float (4 bytes)
position_y = float (4 bytes)
position_z = float (4 bytes)
// Quaternion (x, y z, w)
rotation_x = float (4 bytes)
rotation_y = float (4 bytes)
rotation_z = float (4 bytes)
rotation_w = float (4 bytes)
// Vector3D (x, y z)
scale_x = float (4 bytes)
scale_y = float (4 bytes)
scale_z = float (4 bytes)
Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?
dragons-lair.org | Repository
it's a simple OPL viewer from DeathArt. written in C#.
Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?
Quote:
Originally Posted by
Shortor
he already got one. he just need a editor or a path how to over hex.
Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?
Quote:
Originally Posted by
Sung
he already got one. he just need a editor or a path how to over hex.
It's not that simple Sung, how would you design a editor?
A example value from DeathArt's OPL viewer is
Code:
Path: DATA\OBJECTS\common\hidden-5
Position:
X: 0,8539455
Y: 0,01059771
Z: 1674,813
Rotation:
X: 0
Y: 0,2955202
Z: 0
W: 0,9553365
Scale:
X: 1
Y: 1
Z: 1
How would you implement this? As editable fields, as graphics ? Delete/Remove ?
Tell me, and I'll forward it to DeathArt, who can brew a editor together.
Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?
Right on man, thanks alot for that.
Quote:
Originally Posted by
Phantom*
Considering if you know the header structure, the crc32 start, and can calculate a new crc32, the object structure is..
path_length = unsigned long (4 bytes)
relative_path = char[path_length] (signed ascii string)
// Vector3D (x, y z)
position_x = float (4 bytes)
position_y = float (4 bytes)
position_z = float (4 bytes)
// Quaternion (x, y z, w)
rotation_x = float (4 bytes)
rotation_y = float (4 bytes)
rotation_z = float (4 bytes)
rotation_w = float (4 bytes)
// Vector3D (x, y z)
scale_x = float (4 bytes)
scale_y = float (4 bytes)
scale_z = float (4 bytes)