Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [Release] GSC Dump Searcher

[Release] GSC Dump Searcher

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
19 Posts 8 Posters 2.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Ox_undefined Ox_

    Ox_ said in GSC Dump Searcher:

    Nice project for sure, but, and I hate to say it, I don't really see any reason why this would be used over a normal program that does this, and is quite frankly does it a lot better. I'm not even seeing regex support and looking at the source very quickly, I don't think the gui will even be responsive while searching and searching might be quite inefficient.

    Maybe try to think of some features that make sense for gsc specifically, since anything that's related to just normal text searching has already been done by others, and done way better than anyone who browses this forum could do.
    I can't think of too many ideas for you, but one thing that sometimes annoys me a bit, is encountering some custom gsc function they call, and then I have to search where the function is defined so I understand what's happening.
    That process could be made easy.

    I'm glad you took the comment this way, kinda of felt bad about writing it, but couldn't resist writing it either.
    And yeah, I for sure understand the appeal of you mostly making it for your own needs, it's fun. Sometimes that's all the reason one needs 🙂

    But anyway, some tools, personally I've been using AstroGrep to do this. But there's so much, pretty much every half decent text editor will have a "search in files" feature. Even Windows search does this, though, it of course shouldn't be anyone's choice for this.

    I Googled for a few secs and found many recommendations for different tools, though one stuck out. Someone said "010 Editor will search inside files in 0 sec". Well I had to check that out, and holy shit.
    I don't know how, but it literally displayed results in less than a second. And that was right after I installed the tool and just went straight to "find in files". So it's not like I made it index the gsc folder first or something.
    Even searching "health" in the gsc folder, which obviously is going to come up with like a million results, took less than 2 seconds. And I even keep my gsc dump on my slow hdd instead of on any of the ssds or the m.2 (though, I'd assume the files were cached to my memory by this point).
    Probably going to make this my new go to tool for this, it's even a great text editor on top of having such stupidly efficient searching.

    Another suggestion:
    Maybe you'd want to skip trying to reinvent the wheel on an efficient search engine and use something that's already available?
    Perhaps Grep, which you might know from Linux.
    I'd guess it's probably better than anything either of us could ever hope to make. And probably does searching "in 0 sec", like that text editor I tried above.

    TheHiddenHourundefined Offline
    TheHiddenHourundefined Offline
    TheHiddenHour
    Contributor
    wrote on last edited by TheHiddenHour
    #6

    Ox_ 010 Editor looks like a wonderful program but it has a hefty price tag 😐 . However, it does offer scripting support and is worth the cash so honestly something I see myself investing into in the future for my general workflow.

    AstroGrep is actually what I was envisioning for this project to evolve into, thanks for showing it to me. One of the main things I wanted was to peek into the file and line where the instances were found. I'll give it a try 👍

    Edit: I just tried AstroGrep and it's actually slower than my project doing both case sensitive and case insensitive searches. Maybe there's some configuration I need to do 🤔 .

    Ox_undefined 1 Reply Last reply
    0
    • TheHiddenHourundefined TheHiddenHour

      Ox_ 010 Editor looks like a wonderful program but it has a hefty price tag 😐 . However, it does offer scripting support and is worth the cash so honestly something I see myself investing into in the future for my general workflow.

      AstroGrep is actually what I was envisioning for this project to evolve into, thanks for showing it to me. One of the main things I wanted was to peek into the file and line where the instances were found. I'll give it a try 👍

      Edit: I just tried AstroGrep and it's actually slower than my project doing both case sensitive and case insensitive searches. Maybe there's some configuration I need to do 🤔 .

      Ox_undefined Offline
      Ox_undefined Offline
      Ox_
      wrote on last edited by
      #7

      TheHiddenHour said in GSC Dump Searcher:

      Ox_ 010 Editor looks like a wonderful program but it has a hefty price tag 😐 . However, it does offer scripting support and is worth the cash so honestly something I see myself investing into in the future for my general workflow.

      AstroGrep is actually what I was envisioning for this project to evolve into, thanks for showing it to me. One of the main things I wanted was to peek into the file and line where the instances were found. I'll give it a try 👍

      Edit: I just tried AstroGrep and it's actually slower than my project doing both case sensitive and case insensitive searches. Maybe there's some configuration I need to do 🤔 .

      Oh yeah, I just tried the free trial. If I'm going to start using it, I'll just get a cracked version haha.
      And is AstroGrep really inefficient? Maybe you didn't have the files cached to memory when you ran it, and then had when you ran your program?
      Well anyway, AstroGrep was pretty much just the first thing I found years ago when I was searching for a program to do this, it had all I needed, regex, responsive gui while searching, peek results, search & destination history, file types, and umm probably something else that I often use as well.
      Didn't do research on how efficient it is or whatever. Who knows, maybe it's not efficient at all.

      1 Reply Last reply
      0
      • Mr. Androidundefined Offline
        Mr. Androidundefined Offline
        Mr. Android
        Plutonium Admin
        wrote on last edited by
        #8

        Jesus Christ.. A mature discussion of work.. on Plutonium.. I never thought I'd see the day.
        @OP regardless of it's use, It's good to see some nice work, practice makes perfect after all. Nice job posting the source etc too, really helps trust and allows others to learn or comment.

        1 Reply Last reply
        1
        • Deicideundefined Offline
          Deicideundefined Offline
          Deicide
          wrote on last edited by
          #9

          https://pastebin.com/ymYk8yKw

          You guys seem to be missing _globallogic.gsc in your linked dumps. Here you go. 🐖

          JezuzLizardundefined 1 Reply Last reply
          0
          • Deicideundefined Deicide

            https://pastebin.com/ymYk8yKw

            You guys seem to be missing _globallogic.gsc in your linked dumps. Here you go. 🐖

            JezuzLizardundefined Offline
            JezuzLizardundefined Offline
            JezuzLizard
            Plutonium Staff
            wrote on last edited by
            #10

            Deicide Hey would you happen to have any more of the missing scripts? I'm working on repairing the BO2 scripts to make it possible to recompile them, but I am missing some scripts and the Cerberus Decompiler and fast file explorer does not extract them.

            Deicideundefined 1 Reply Last reply
            1
            • JezuzLizardundefined JezuzLizard

              Deicide Hey would you happen to have any more of the missing scripts? I'm working on repairing the BO2 scripts to make it possible to recompile them, but I am missing some scripts and the Cerberus Decompiler and fast file explorer does not extract them.

              Deicideundefined Offline
              Deicideundefined Offline
              Deicide
              wrote on last edited by Deicide
              #11

              JezuzLizard List what scripts you're missing and ill see if i have them and pastebin them to you 🙂

              Getting that _globallogic to work normally decompiled will be a challenge indeed. I wish you luck homie.

              Xerxesundefined 1 Reply Last reply
              0
              • Deicideundefined Deicide

                JezuzLizard List what scripts you're missing and ill see if i have them and pastebin them to you 🙂

                Getting that _globallogic to work normally decompiled will be a challenge indeed. I wish you luck homie.

                Xerxesundefined Offline
                Xerxesundefined Offline
                Xerxes
                Plutonium Staff
                wrote on last edited by
                #12

                Deicide You could also just zip up the whole dump you have and share it with us, maybe there are a few nice additions or changes we don't know of yet.

                1 Reply Last reply
                1
                • Deicideundefined Offline
                  Deicideundefined Offline
                  Deicide
                  wrote on last edited by Deicide
                  #13

                  Sure. No problem.

                  https://www6.zippyshare.com/v/Tn6DONDD/file.html

                  Likely that many files are copies of others as i've gotten dumps from many sources and combined them together, and most gsc's have a txt file to match. Txt files are the decompiled copies, gsc's are usually compiled properly (but sometimes they are not). I attained the source of _globallogic.gsc from somewhere else. So this has no compiled GSC. For example. But you could always dump it using a GSC Retriever or just simply making your own program to dump it from memory yourself.

                  There are numerous other types of files here that aren't in the OP's dump. CSC, SHOCK, Graph, LUA, etc etc. Likely other GSC's as well.

                  Have fun ❤ 🐕

                  JezuzLizardundefined 1 Reply Last reply
                  0
                  • Deicideundefined Deicide

                    Sure. No problem.

                    https://www6.zippyshare.com/v/Tn6DONDD/file.html

                    Likely that many files are copies of others as i've gotten dumps from many sources and combined them together, and most gsc's have a txt file to match. Txt files are the decompiled copies, gsc's are usually compiled properly (but sometimes they are not). I attained the source of _globallogic.gsc from somewhere else. So this has no compiled GSC. For example. But you could always dump it using a GSC Retriever or just simply making your own program to dump it from memory yourself.

                    There are numerous other types of files here that aren't in the OP's dump. CSC, SHOCK, Graph, LUA, etc etc. Likely other GSC's as well.

                    Have fun ❤ 🐕

                    JezuzLizardundefined Offline
                    JezuzLizardundefined Offline
                    JezuzLizard
                    Plutonium Staff
                    wrote on last edited by
                    #14

                    Deicide Would you be able to upload it to another site? I am unable to download from the current link.

                    Deicideundefined 1 Reply Last reply
                    0
                    • JezuzLizardundefined JezuzLizard

                      Deicide Would you be able to upload it to another site? I am unable to download from the current link.

                      Deicideundefined Offline
                      Deicideundefined Offline
                      Deicide
                      wrote on last edited by
                      #15

                      JezuzLizard Mediafire

                      JezuzLizardundefined 1 Reply Last reply
                      0
                      • Deicideundefined Deicide

                        JezuzLizard Mediafire

                        JezuzLizardundefined Offline
                        JezuzLizardundefined Offline
                        JezuzLizard
                        Plutonium Staff
                        wrote on last edited by
                        #16

                        Deicide Thank you.

                        Deicideundefined 1 Reply Last reply
                        1
                        • JezuzLizardundefined JezuzLizard

                          Deicide Thank you.

                          Deicideundefined Offline
                          Deicideundefined Offline
                          Deicide
                          wrote on last edited by
                          #17

                          JezuzLizard Please keep me updated with this reverse engineering process you're embarking on.

                          I would very much like to see the _rank gsc and _globallogic gsc fixed up for both PC and Console. Good luck!

                          JezuzLizardundefined 1 Reply Last reply
                          0
                          • Deicideundefined Deicide

                            JezuzLizard Please keep me updated with this reverse engineering process you're embarking on.

                            I would very much like to see the _rank gsc and _globallogic gsc fixed up for both PC and Console. Good luck!

                            JezuzLizardundefined Offline
                            JezuzLizardundefined Offline
                            JezuzLizard
                            Plutonium Staff
                            wrote on last edited by
                            #18

                            Deicide Since my main interest is in zombies I haven't done anything specific to multi yet. But when I get to gametypes_zm I will compare the multi scripts that correspond to the zm scripts killing 2 birds with 1 stone. I make no guarantees however. The more core a script is the harder it is to debug so even if I fix many errors in _globallogic.gsc its unlikely it will work. I'll still do it though since it can be used as a superior reference to any current dump since it will have near parity with the original script.

                            I intend on making an initial release of this project probably later today assuming I can check the remaining scripts by then.
                            I only have to look thru another 6 scripts, and then I will start gametypes_zm.

                            1 Reply Last reply
                            0
                            • Joscahundefined Offline
                              Joscahundefined Offline
                              Joscah
                              wrote on last edited by Joscah
                              #19
                              This post is deleted!
                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Donate