..:: PCSX2 Forums ::..
Register | Help | Log In |
Register PCSX2 Site Forums Member List Donate View Today's Posts Search

Current time: 09-06-2010, 03:39 AM Hello There, Guest! (Login — Register)

..:: PCSX2 Forums ::.. / PCSX2 Discussion and Support / General Discussion v
« Previous 1 ... 143 144 145 146 147 ... 436 Next »
/ For advanced user ...


User(s) browsing this thread: 1 Guest(s)

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
For advanced user ...
Author Message
mushu Offline
Newbie

Posts: 4
Joined: Jan 2010
Location:
Reputation: 0
Post: #1
For advanced user ...
Ok, the subject was not very clear, it was to tease the pcsx2 gurus ...

I want to find a generic way to uncompress ps2 ELF (packed with the wellknown tool "ps2-packer from Nicolas Noble).

As I can't find an out of the box tool, I thought about PCSX2.

Every packed ELF are automatically unpacked by the PS2 (assumption), to be able to run it of course.

So I wonder if it were be possible to load an ELF within PCSX2, let it uncompress the ELF, and then dump the memory ?

Any advice/suggestion would be appreciated.

Thank you.
01-29-2010 02:17 PM
Find all posts by this user Quote this message in a reply
diegochiha Offline
Pcsx2 config tweaker
****

Posts: 1.222
Joined: Mar 2009
Location: Uruguay
Reputation: 0
Post: #2
RE: For advanced user ...
if you want to run a game simply make an iso and load it trough the emu,loading an elf file makes no sense at all

[Image: 2ymccqu.jpg]
Thanks to SonicXPS2 for the sig
01-29-2010 05:27 PM
Find all posts by this user Quote this message in a reply
mushu Offline
Newbie

Posts: 4
Joined: Jan 2010
Location:
Reputation: 0
Post: #3
RE: For advanced user ...
(01-29-2010 05:27 PM)diegochiha Wrote:  if you want to run a game simply make an iso and load it trough the emu,loading an elf file makes no sense at all

I don't want to run a game, or the ELF. I want to unpack it.

ELF are packed to take less space, it is just like auto-extractible-zip, the PS2 CPU knows how to unpack them on-the-fly.

I got some news from the Nicolas 'Pixel', the author, which confirm what I thought and aimed to do. His unpacker were built on the pcsx2 code in fact Smile but has been only released as alpha ...
01-29-2010 07:13 PM
Find all posts by this user Quote this message in a reply
Zeydlitz Offline
Plugin Author
*****

Posts: 1.090
Joined: Dec 2008
Location:
Reputation: 2
Post: #4
RE: For advanced user ...
There is a bunch elf decompressers you could find, when ask google 'PS2 elf decompresser'. Top results was on SjCRUNCH
01-29-2010 11:37 PM
Find all posts by this user Quote this message in a reply
mushu Offline
Newbie

Posts: 4
Joined: Jan 2010
Location:
Reputation: 0
Post: #5
RE: For advanced user ...
Ok. So here are more information, as I had already did my job on google.

sjcrunch/sjuncrunch is a tool written by Oopo, and it uses LZO library. This compresser is not very used nowadays.

My ELF files are compressed with the ps2-packer (with the false version 0.4.4 on ps2dev, according to the sources Nicolas Pixel Noble gave me, it is in fact 1.0rc2 ...). It seems nicolas unpacker can't uncompress them, and won't as he doesn't work on this since long ago.

But as said above, he made it from the pcsx2 sources, that's why I am here now. The emulator has to decompress these ELF, as would the real PS2 do ... I'd like to look at the sources, but I don't where to begin my search ... so many files ...
01-29-2010 11:47 PM
Find all posts by this user Quote this message in a reply
Zeydlitz Offline
Plugin Author
*****

Posts: 1.090
Joined: Dec 2008
Location:
Reputation: 2
Post: #6
RE: For advanced user ...
You could not obtain sources only by decompression of elf, decompressed elf is still elf -- BINARY executive format. Only non-binary info you could expected is debug symbols, but they usually is strippe.
01-30-2010 08:17 AM
Find all posts by this user Quote this message in a reply
mushu Offline
Newbie

Posts: 4
Joined: Jan 2010
Location:
Reputation: 0
Post: #7
RE: For advanced user ...
(01-30-2010 08:17 AM)Zeydlitz Wrote:  You could not obtain sources only by decompression of elf, decompressed elf is still elf -- BINARY executive format. Only non-binary info you could expected is debug symbols, but they usually is strippe.

Yes, thanks for the advice but I know that already. I'm new to PCSX2, but not really to development Smile

I want to uncompress/unpack it, that's all ! Smile

If you really need to know the final reason, it is that an ELF can contain multiple ELFs combined. I want to split them as individual parts, but when the ELF is packed, it is not possible.
01-30-2010 02:33 PM
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:


Current time: 09-06-2010, 03:39 AM

Contact Us | PCSX2 | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication

Powered By MyBB, © 2002-2010 MyBB Group.
Theme created by IncadudeF and modified by bositman