[Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?

Results 1 to 9 of 9
  1. #1
    Enthusiast AMANIE is offline
    MemberRank
    Aug 2007 Join Date
    Germany - StuttgartLocation
    27Posts

    [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


  2. #2
    Account Upgraded | Title Enabled! Swatty is offline
    MemberRank
    Oct 2006 Join Date
    264Posts

    Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?

    It hnk it isn

  3. #3
    Apprentice CryptO is offline
    MemberRank
    Oct 2007 Join Date
    13Posts

    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

  4. #4
    Alpha Member Shortor is offline
    MemberRank
    Jun 2007 Join Date
    1,627Posts

    Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?

    luca's opl editor aint finished

  5. #5
    Legendary Phantom* is offline
    MemberRank
    Aug 2006 Join Date
    CanadaLocation
    259Posts

    Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?

    Quote Originally Posted by CryptO View Post
    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)

  6. #6
    Alpha Member Shortor is offline
    MemberRank
    Jun 2007 Join Date
    1,627Posts

    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#.

  7. #7
    Affenzirkus Sung is offline
    MemberRank
    Aug 2006 Join Date
    GermanyLocation
    1,113Posts

    Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?

    Quote Originally Posted by Shortor View Post
    dragons-lair.org | Repository

    it's a simple OPL viewer from DeathArt. written in C#.
    he already got one. he just need a editor or a path how to over hex.

  8. #8
    Enthusiast Windcape is offline
    MemberRank
    Oct 2007 Join Date
    39Posts

    Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?

    Quote Originally Posted by Sung View Post
    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.

  9. #9
    Apprentice CryptO is offline
    MemberRank
    Oct 2007 Join Date
    13Posts

    Re: [Q] .OPL - Edit File? OPL Editor v2.0 (BakaBug)?

    Right on man, thanks alot for that.

    Quote Originally Posted by Phantom* View Post
    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)



Advertisement