Announcement

Collapse
No announcement yet.

Cosmic Cheat ELF + ASM...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    I was actually looking at the older unpacked copy last night. The damn thing is about 3.4 MB of empty space, which just seems really odd.

    Heh, I had that same problem when I was using ps2dis on some psx memory dumps.

    I haven't really read any of the ps2 development stuff, but is there some odd minimum size for ELFs?

    Comment


    • #17
      Not at all. However, there's a max one can have loaded in memory at a time, but that doesn't necessarily correspond to the size of the ELF initialized.
      I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

      Comment


      • #18
        Makes sense. But that still makes it really odd that the thing is that big, when most of it's empty space. I just have this feeling that with some hex editing it could be trimmed down to around the same size it is packed without any compression.

        Comment


        • #19
          Perhaps for something to function properly, some other things had to be set to value 0...again, even now PS2 dev is not a perfected art, and there are always ways to make improvements. That, and Sjeep abandoned this project.
          Last edited by Lazy Bastard; 08-31-2006, 01:46:44 PM.
          I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

          Comment


          • #20
            The thing is, the insertion point is about 3.4 MB into the file, and between the ELF header, there's seemingly nothing. I'm just thinking you could trim out most of the stuff between the header and the insertion point, edit the address for that, and it should work.

            Comment


            • #21
              Even then, after a crunch, the ELF would be around the same size. Still, feel free to play with it if you liike.
              I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

              Comment


              • #22
                I'm thinking it'd load faster if it wasn't needing to be unpacked in memory first, and wasn't 3.5 MB when it was decompressed. Not that such a thing is probably of much signifigance.

                Comment


                • #23
                  Perhaps. Can you use PCSX2 in homebrew graphics mode to test ELFs with your XBOX?
                  I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

                  Comment


                  • #24
                    Not very likely. The xbox just doesn't have enough memory. It's got only got 56 MB accessable through linux, and the other 8 MB dedicated to the graphics processor.

                    Comment


                    • #25
                      Most ELFs don't require too much ability, and I don't believe the emulated EE would eat up too much memory. You should give it a try.
                      I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

                      Comment


                      • #26
                        Eh, I might as well try it. Might not work, but then, there's a small chance it will.

                        Comment


                        • #27
                          In any case, it may help you figure some things out before you get a working PC. Note: Only abut half the homebrew progs I've tested work in PCSX2 (these work on a real PS2). The ticket here is that you need to set the graphics setting to GSdx9 0.9.0 (non SSE2) and CDVDROM to CDVDNull, under Config.

                          I also use PCSX2t.exe most of the time, as, for some reason, I run into trouble when running homebrew stuff on PCSX2.exe, at least on this PC at work.
                          I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

                          Comment


                          • #28
                            I'm not sure if wine has working directx 9 emulation yet. Which may be a problem. And, I might not have enough swap space on there. There's only 2 GB of the drive I can use for linux, and only 128 MB of that is a swap partition.

                            Comment


                            • #29
                              Ah. Well, good luck in any case, if you give it a try.
                              I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

                              Comment


                              • #30
                                Heh, I disassembled the uncrunched elf and stripped out everything outside of actual code or data, and exported it as a binary in .elf form. I managed to significantly mess up headers somehow or another (or perhaps just not change headers to reflect the changes), but humorously enough, the new size was 193kb; only 91kb more than the crunched one.
                                I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

                                Comment

                                Working...
                                X