1. If you are going to register on XLNation, please make sure you do not use a proxy server.
    If you use a proxy server your registration will most likely get blocked due to spammers and hackers using proxy servers to hide their real IP address.

    If your using your home or work IP address and have not received your registration email, check your spam folder.
    PLEASE DO NOT ASK TO HAVE YOUR ACCOUNT DELETED IF YOU HAVE POSTED IN THE FORUM! If so we do not delete accounts due to the mess it can make on the forum.
    Dismiss Notice
  2. Please see the following thread for more information
    XLN's future is looking bad

Tutorial Duplicating Road SGBin files

How to rename and duplicate a road SGBin file.

  1. XL Nation Staff
    First you need Okeanos tools

    CXlUnpack.exe --
    https://mega.co.nz/#!9UJiQZga!r1fHWdiYTuCBFHi9DMUWOIg-mTKDErE9OrJOOb7voG0
    CXLPackager.exe -- https://mega.co.nz/#!YNoEVabA!frOugj97k75e7mBTEgmTkerCOOGQs8L_GDJp9O-7Cws

    I will use the "r_wy_road_05x40x40.sgbin" in this example.

    Unpack it with cxlunpack,exe.



    [​IMG]


    go to the folder where you extracted the files. rename them to something new. note: you cannot change the character count, but can change to any character..



    [​IMG]


    at this point you would edit the diffuse, nmap or whatever texture you want using this method. http://forum.citiesxl.com/viewtopic.php?f=59&t=1375

    next you would open the files graph.bin and r_wy_ohad_05x40x40 with a HEX editor.



    [​IMG]




    [​IMG]


    The easiest and safest thing to do here is press Ctrl + F and search\replace any of the old names with the new ones, but use as much of the word as you can, as to not replace something else,

    eg. search for "r_road_10x20" and replace with "r_ohad_10x20" this will update the new texture names.
    next search for "r_wy_road" and replace with "r_wy_ohad".

    the Graph.Bin has the name of the sgbin, so whatever you name it here, has to be the name of the new sgbin file as well.

    pretty much any file that you renamed. and save\close them both.

    Next open CXLPackager.exe and open the ORIGINAL sgbin, eg "r_wy_road_05x40x40.sgbin"

    now right click on the files to be replaced, (all of them except the 0.0.00. and 255.255.) and choose replace,find the new ones.



    [​IMG]


    once you've replaced them all, right click again and choose properties, and rename so they match the new filenames.



    [​IMG]


    then file save as, the same name you put in the graph.bin, "r_wy_ohad_05x40x40.sgbin"
    skullz613 likes this.