Item Search
     
BG-Wiki Search
Page 107 of 154 FirstFirst ... 57 97 105 106 107 108 109 117 ... LastLast
Results 2121 to 2140 of 3070

Thread: Show me those .dats!     submit to reddit submit to twitter

  1. #2121
    Cerberus
    Join Date
    Feb 2008
    Posts
    463
    BG Level
    4
    FFXI Server
    Carbuncle

    Well it did in fact change all the spots I needed it to! But I think its adding some bytes for some reason like Galka - Hume M (0F) it seemed to have added bytes to the texture. Like everywhere there is an 0A, there is now an 0D in front of it xD?

    Oh heres the table completed


    galka_hex = "ffff5c00"
    elvm_hex = "ffff5900"
    elvf_hex = "ffff2b00"
    humeM_hex = "ffff0f00"
    humeF_hex = "ffff5C00"
    mithra_hex = "ffff5800"
    taru_hex = "ffff3e00"

  2. #2122
    Very Sexy Nerd
    Join Date
    Oct 2005
    Posts
    8,732
    BG Level
    8
    FFXI Server
    Carbuncle

    Can you give me a sample dat so I can mess with it? I've just been using my own file with the hex thrown in

    edit: Found a small mistake, don't think it's responsible for what you indicated, but updated:

    Spoiler: show
    ##############################
    #this is the part you'll want to modify however you want
    #you'll have to modify them, since I only have the elvm you specified

    galka_hex = "ffff5c00"
    elvm_hex = "ffff5900"
    elvf_hex = "ffff2b00"
    humeM_hex = "ffff0f00"
    humeF_hex = "ffff5C00"
    mithra_hex = "ffff5800"
    taru_hex = "ffff3e00"

    ##############################

    def openFile (input)
    file = File.open(input, 'rb')
    #read input file
    text = file.read
    return text.unpack('H*').first
    #unpack into a hexdump, returns an array of size 1
    end

    def writeFile (name, input)
    file = File.open(name, 'w')
    #open a new file w/ specified name
    input = input.to_a
    file.puts input.pack('H*')
    #repack the array back
    end

    puts "Usage: ruby mooshy.rb inputdat.dat" if ARGV.size != 1

    galka = ARGV[0] #input file name
    dat = openFile(galka) #read hex content

    original_name = galka.gsub(".dat","") #get rid of the .dat in the file name

    elvM = dat.gsub(galka_hex, elvm_hex) #sub data and assign it to elv
    writeFile(original_name + "_elvM.dat", elvM) #write it to originalname_elvM.dat

    elvF = dat.gsub(galka_hex, elvf_hex)
    writeFile(original_name + "_elvF.dat", elvF)

    mithra = dat.gsub(galka_hex, mithra_hex)
    writeFile(original_name + "_mithra.dat", mithra)

    humeM = dat.gsub(galka_hex, humeM_hex)
    writeFile(original_name + "_humeM.dat", humeM)

    humeF = dat.gsub(galka_hex, humeF_hex)
    writeFile(original_name + "_humeF.dat", humeF)

    taru = dat.gsub(galka_hex, taru_hex)
    writeFile(original_name + "_taru.dat", taru)

    (The writefile for humeF was using humeM as input)

    edit: I see what you're saying, lemme fix it

  3. #2123
    Cerberus
    Join Date
    Feb 2008
    Posts
    463
    BG Level
    4
    FFXI Server
    Carbuncle

    Yar its still adding 0D's >0<; Heres a Galka Rune Staff
    I appreciate you making this :D Its really cool already

    http://www.mediafire.com/?tv111k8ociwyouj

    I had it make me a file called merp.dat with this

    merp = dat.gsub(galka_hex)
    writeFile(original_name + "_merp.dat", merp)

    and it gave me a hex file with FFFF 5C00 0D0A in it ?

  4. #2124
    Very Sexy Nerd
    Join Date
    Oct 2005
    Posts
    8,732
    BG Level
    8
    FFXI Server
    Carbuncle

    Oh, I know why XD

    When it's repacking the hex, it's treating it like as if it were ascii characters, and it sees 0A(newline) and adds in a 0D(carriage return) because fucking windows, lol

    Lemme see how I should go about fixing this

  5. #2125
    Cerberus
    Join Date
    Feb 2008
    Posts
    463
    BG Level
    4
    FFXI Server
    Carbuncle

    Haha

  6. #2126
    Radsourceful

    Join Date
    Jul 2007
    Posts
    1,964
    BG Level
    6
    FFXI Server
    Bismarck

    Damn, /slow.

    http://dl.dropbox.com/u/547381/RaceSwapper.exe

    C#, so will need .NET

    Assumes input file is galka, outputs as <infilename> elvm.dat, <infilename> taru.dat etc

  7. #2127
    Very Sexy Nerd
    Join Date
    Oct 2005
    Posts
    8,732
    BG Level
    8
    FFXI Server
    Carbuncle

    Fixed, needed binary mode, lol

    Spoiler: show
    ##############################
    #this is the part you'll want to modify however you want
    #you'll have to modify them, since I only have the elvm you specified

    galka_hex = "ffff5c00"
    elvm_hex = "ffff5900"
    elvf_hex = "ffff2b00"
    humeM_hex = "ffff0f00"
    humeF_hex = "ffff5C00"
    mithra_hex = "ffff5800"
    taru_hex = "ffff3e00"

    ##############################

    def openFile (input)
    file = File.open(input, 'rb')
    #read input file
    file.binmode
    text = file.read
    return text.unpack('H*').first
    #unpack into a hexdump, returns an array of size 1
    end

    def writeFile (name, input)
    file = File.open(name, 'w')
    file.binmode
    #open a new file w/ specified name
    input = input.to_a
    packed = input.pack('H*')
    file.puts packed
    #repack the array back
    end

    puts "Usage: ruby mooshy.rb inputdat.dat" if ARGV.size != 1

    galka = ARGV[0] #input file name
    dat = openFile(galka) #read hex content

    original_name = galka.gsub(".dat","") #get rid of the .dat in the file name

    elvM = dat.gsub(galka_hex, elvm_hex) #sub data and assign it to elv
    writeFile(original_name + "_elvM.dat", elvM) #write it to originalname_elvM.dat

    elvF = dat.gsub(galka_hex, elvf_hex)
    writeFile(original_name + "_elvF.dat", elvF)

    mithra = dat.gsub(galka_hex, mithra_hex)
    writeFile(original_name + "_mithra.dat", mithra)

    humeM = dat.gsub(galka_hex, humeM_hex)
    writeFile(original_name + "_humeM.dat", humeM)

    humeF = dat.gsub(galka_hex, humeF_hex)
    writeFile(original_name + "_humeF.dat", humeF)

    taru = dat.gsub(galka_hex, taru_hex)
    writeFile(original_name + "_taru.dat", taru)


    Should work 100% now :D

  8. #2128
    Cerberus
    Join Date
    Feb 2008
    Posts
    463
    BG Level
    4
    FFXI Server
    Carbuncle

    lol They're both amazing! Julians still adds an 0A at the very bottom of the dat though xD aside from that it works perfectly~
    Radecs works great too!
    Now all I need to do is hotfix the mithra effects and figure out how to fix the taru effects >0<; (if I 8008 the rings scale and everything but the rainbow shine and other stuff is way too big :<, if I 4004 I think it will be offset for giantarus)

    Thanks again to both of you though, I really appreciate it!

  9. #2129
    Very Sexy Nerd
    Join Date
    Oct 2005
    Posts
    8,732
    BG Level
    8
    FFXI Server
    Carbuncle

    doh, was using puts instead of print (puts adds a \n, print doesn't, my bad)

    Spoiler: show
    ##############################
    #this is the part you'll want to modify however you want
    #you'll have to modify them, since I only have the elvm you specified

    galka_hex = "ffff5c00"
    elvm_hex = "ffff5900"
    elvf_hex = "ffff2b00"
    humeM_hex = "ffff0f00"
    humeF_hex = "ffff5C00"
    mithra_hex = "ffff5800"
    taru_hex = "ffff3e00"

    ##############################

    def openFile (input)
    file = File.open(input, 'rb')
    #read input file
    file.binmode
    text = file.read
    return text.unpack('H*').first
    #unpack into a hexdump, returns an array of size 1
    end

    def writeFile (name, input)
    file = File.open(name, 'w')
    file.binmode
    #open a new file w/ specified name
    input = input.to_a
    file.print input.pack('H*')
    #repack the array back
    end

    puts "Usage: ruby mooshy.rb inputdat.dat" if ARGV.size != 1

    galka = ARGV[0] #input file name
    dat = openFile(galka) #read hex content

    original_name = galka.gsub(".dat","") #get rid of the .dat in the file name

    elvM = dat.gsub(galka_hex, elvm_hex) #sub data and assign it to elv
    writeFile(original_name + "_elvM.dat", elvM) #write it to originalname_elvM.dat

    elvF = dat.gsub(galka_hex, elvf_hex)
    writeFile(original_name + "_elvF.dat", elvF)

    mithra = dat.gsub(galka_hex, mithra_hex)
    writeFile(original_name + "_mithra.dat", mithra)

    humeM = dat.gsub(galka_hex, humeM_hex)
    writeFile(original_name + "_humeM.dat", humeM)

    humeF = dat.gsub(galka_hex, humeF_hex)
    writeFile(original_name + "_humeF.dat", humeF)

    taru = dat.gsub(galka_hex, taru_hex)
    writeFile(original_name + "_taru.dat", taru)


    Should work fine now.

    Highly recommend picking up some basic scripting, it's an incredibly useful ability :D

  10. #2130
    Cerberus
    Join Date
    Feb 2008
    Posts
    463
    BG Level
    4
    FFXI Server
    Carbuncle

    Quote Originally Posted by Julian View Post
    doh, was using puts instead of print (puts adds a \n, print doesn't, my bad)
    Should work fine now.

    Highly recommend picking up some basic scripting, it's an incredibly useful ability :D
    Yeah! You guys make me want to learn so I can make things easier :D

  11. #2131
    Ridill
    Join Date
    Aug 2004
    Posts
    12,275
    BG Level
    9
    FFXIV Character
    Septimus Atumre
    FFXIV Server
    Gilgamesh
    FFXI Server
    Bahamut

    Quote Originally Posted by Mooshywooshy View Post
    Hmm, i'd need to look into how the colored egg does it, I havent looked at that dat since I was just a hex baby.
    My guess would be that it changes colors through hex itself, which this mod does use but only for 1/2 the glows, the other 1/2 needed to be hue changed. But i'll look into it for sure
    My thought was that if we couldn't have awesome magain staves for each element, maybe we can have an awesome magain staff for all elements. (And who know, maybe the will add in a unique staff for all elements! Delusions are fun.)

    Quote Originally Posted by SephYuyX View Post
    Duh.
    Dont you guys know Mooshy works for SE on the side.
    This staff will be in the game next month.
    If Mooshy worked for Square, our equipment would be a lot more awesome.

  12. #2132
    Cerberus
    Join Date
    Feb 2008
    Posts
    463
    BG Level
    4
    FFXI Server
    Carbuncle

    Well, there would be more Goobbue cars at least :B

  13. #2133
    Very Sexy Nerd
    Join Date
    Oct 2005
    Posts
    8,732
    BG Level
    8
    FFXI Server
    Carbuncle

    Quote Originally Posted by Septimus View Post
    My thought was that if we couldn't have awesome magain staves for each element, maybe we can have an awesome magain staff for all elements. (And who know, maybe the will add in a unique staff for all elements! Delusions are fun.)
    Part of me wishes I still cared about this game, so I could look into seeing if stuff like this would be possible (at the very least, if not done through modifying files, it would probably be possible through plugins and stuff), but then the other part of me is glad I don't play it anymore. >_>

  14. #2134
    Ridill
    Join Date
    Aug 2004
    Posts
    12,275
    BG Level
    9
    FFXIV Character
    Septimus Atumre
    FFXIV Server
    Gilgamesh
    FFXI Server
    Bahamut

    Quote Originally Posted by Mooshywooshy View Post
    Well, there would be more Goobbue cars at least :B
    And please explain to me how would that would not be awesome?

  15. #2135
    Cerberus
    Join Date
    Feb 2008
    Posts
    463
    BG Level
    4
    FFXI Server
    Carbuncle

    Quote Originally Posted by Septimus View Post
    And please explain to me how would that would not be awesome?
    lol Sometimes I destroy immersion

    --lol--
    Thanks to Julian and Radec I did 56 ports with hotfixes for mithra and Taru in about 10 minutes lul

  16. #2136
    Professional Pixel Pusher
    Join Date
    Sep 2007
    Posts
    2,827
    BG Level
    7
    FFXI Server
    Ragnarok

    Jesus Mooshy... they should be offering you a job :D

  17. #2137
    Cerberus
    Join Date
    Nov 2006
    Posts
    443
    BG Level
    4
    FFXI Server
    Titan

    mooshy please use this song for your next video all dramatic and shit
    http://endlessvideo.com/watch?v=09RU...ure=plpp_video

  18. #2138
    Cerberus
    Join Date
    Feb 2008
    Posts
    463
    BG Level
    4
    FFXI Server
    Carbuncle

    lol I think Abyssea battle music is already in line for the next video >0<;

    http://i5.photobucket.com/albums/y198/Elfkin/sfsdn.jpg

    Staves are done and ported, just need to hotfix Elvaan F ones and package for upload! (HumeF hold staves like savages!)
    --edit--

    http://i5.photobucket.com/albums/y19...elestaves3.jpg

    \Download/
    http://www.mediafire.com/?rpohi44ho6fzfkq

    All done (i hope)

  19. #2139
    Sea Torques
    Join Date
    Aug 2009
    Posts
    505
    BG Level
    5
    FFXI Server
    Ragnarok

    These are probably going to make my computer explode. but I am totally ok with it.

  20. #2140
    Cerberus
    Join Date
    Feb 2008
    Posts
    463
    BG Level
    4
    FFXI Server
    Carbuncle

    So I was sitting down to check out the hex of the jeweled egg and realized, i have no idea what dat the jeweled egg is >< I cant find it in AV and I dont actually have one so I cant process monitor it ;;

    ==found it ~.~==

    DONE, EGG SCYTHE

    http://i5.photobucket.com/albums/y19.../EGGSCYTHE.jpg

Page 107 of 154 FirstFirst ... 57 97 105 106 107 108 109 117 ... LastLast