""
All times are GMT +2. The time now is 09:10 PM.  

Go Back   PSX/PS2/PS3 Scene Newz > PlayStation2 Forums > PS2 Homebrew/Dev & Emu Scene > Official UlaunchELF Forums

Official UlaunchELF Forums Discussion for the most unofficial build of launchELF!

Reply
 
Thread Tools Display Modes
  #1  
Old 10-01-2008, 04:31 PM
vsub's Avatar
vsub vsub is online now
Registered User
 
Join Date: Sep 2006
Posts: 164

One really strange bug with ule


The PsuPaste isn't working ONLY on SMS folder.I have more than 100 save on my memory card and I successfully make a psu backup copy of all of my programs and saves but not on SMS folder.When I try to make a psu backup copy of it a message appear "Paste Failed" but if I copy the folder and paste it(not psupaste) ule copy it without problems???

Inside the SMS folder are
Code:
Skins
icon.sys
MEDIA PLAYER.ELF
SMS.icn
USBD.IRX
USBM.IRX
I try to make a new folder(with different name)and copy the SMS there and try to make psu copy but again "Paste Failed".I can't make a copy nor to restore it from psu.I tried with ule 4.05 too but it's the same problem as with 4.29.Also tried to delete some saves(4mb) and place SMS by using Copy=>Paste(that works) and I tried to make psu of it but again "Paste Failed"

What's so special about this program that I can't make psu backup of it(it's not the size,CodeBreaker is 4mb save)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 10-01-2008, 06:25 PM
suloku suloku is offline
Undead WU
 
Join Date: Apr 2005
Posts: 469
This is a guess, but try renamig "MEDIA PLAYER.ELF" to "MPLAYER.ELF".

It's possible that the space is the problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 10-01-2008, 07:14 PM
dlanor dlanor is offline
Contributor
 
Join Date: Sep 2004
Posts: 4,733
Quote:
Originally Posted by suloku View Post
This is a guess, but try renamig "MEDIA PLAYER.ELF" to "MPLAYER.ELF".

It's possible that the space is the problem.
No.

The length of a file or folder name does not affect the storage requirements on MC. In all MC-related code and storage structures the space alloted for a name is always exactly 32 bytes. Note that this is not intended for use as a C-string, which would reduce the useful length to 31 characters (due to the need for a terminator NUL), but it is a binary array of 32 bytes, all of which are useable for real name characters. Names longer than that will be reduced to 32 characters when files/folders are moved to or created on an MC.

The real problem of vsub is that Sony did NOT implement subfolders for gamesave usage, though they did implement them at driver level. This means that Sony's gamesave handlers, including their normal Browser, are unable to deal properly with folders inside gamesaves, and the same goes for all gamesave backup formats based on Sony methods.

That includes the ".psu" file format designed by EMS for their PC-MC transfer adaptors, which format has also been implemented for the psuPaste function of uLE.

The SMS folder breaks against the Sony rules of not having folders inside a gamesave folder, and therefore the SMS folder can never be handled by tools or formats limited to the Sony rules, unless you delete the "Skins/" subfolder before making the backup.

With the "Skins/" folder present the proper way of backing up the SMS folder is to use the regular "Paste" command, since that is not limited by the rules and formats of gamesaves. (It also doesn't preserve all flags that games may care about, but to SMS that doesn't matter.)


@vsub:
The stuff above clearly explains the problem you had, and for the backup already made there is nothing to be done. That SMS '.psu' backup file is hopelessly botched, so just delete it.

You were on the right track using the regular 'Paste' command, as that is how you must always deal with folders that have subfolders inside.

But for gamesaves of real games you should always use psuPaste, as that is the only way of preserving the unique flags and timestamps when backing up to a non-MC medium. It is only in copying between two MCs that uLE can preserve everything even when the regular Paste command is used.

Edit:
Since you had so many saves, and if you tried to back everything up with a single 'psuPaste' command, then you may need to check if you really got all the saves backed up. The psuPaste command will break off when handling a folder with subfolders, so all gamesaves that should have been handled after it will be ignored.

The way I would handle the backup of such an MC is as follows.

01: Start FileBrowser and browse to the source MC
02: Press 'Square' to mark all folders on the MC for handling
03: Move highlight cursor to SMS folder and press 'Cross' to unmark it
04: Open the R1 menu and use 'Copy' to memorize all folders except SMS in clipboard
05: Browse to destination folder on non-MC media
06: Open the R1 menu and use 'psuPaste' to backup all memorized folders to '.psu' files
07: Browse to source MC again
08: Move highlight cursor to the SMS folder
09: Open the R1 menu and use 'Copy' to memorize the SMS folder alone
10: Browse to the destination folder again
11: Open the R1 menu and use 'Paste' to backup the SMS folder as a normal copy

NB: I realize that this description is more detailed than you would need. I'm not doing that to piss you off, but merely because I expect noobs to see this post as well, and many of them will need all the step-by-step details they can get.

Best regards: dlanor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-01-2008, 07:23 PM
vsub's Avatar
vsub vsub is online now
Registered User
 
Join Date: Sep 2006
Posts: 164
Quote:
Originally Posted by suloku View Post
This is a guess, but try renamig "MEDIA PLAYER.ELF" to "MPLAYER.ELF".

It's possible that the space is the problem.
I though about that too but my code breaker is with this name "Code Breaker.ELF" and I CAN make a PSU backup copy of it.

...The problem is because of the skins folder,ule can't create full backup of the save if there's folder inside the save(and if I want to make a backup I'm not allowed to use skins for SMS)

Edit:While I was testing and writing an answer dlanor already answered on my question
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 10-01-2008, 08:13 PM
vsub's Avatar
vsub vsub is online now
Registered User
 
Join Date: Sep 2006
Posts: 164
Quote:
Originally Posted by dlanor View Post
Edit:
Since you had so many saves, and if you tried to back everything up with a single 'psuPaste' command, then you may need to check if you really got all the saves backed up. The psuPaste command will break off when handling a folder with subfolders, so all gamesaves that should have been handled after it will be ignored.

The way I would handle the backup of such an MC is as follows....
I'm using ule since 3.41 and I know how to copy/backup my saves(when I backup my card or my saves I first backup all my saves and leave the programs for last.I backup them separately when I backup my saves since the programs are a lot bigger than any on my saves and just to be sure I copy my saves first ).All my saves are ok

Quote:
Originally Posted by dlanor View Post
NB: I realize that this description is more detailed than you would need. I'm not doing that to piss you off, but merely because I expect noobs to see this post as well, and many of them will need all the step-by-step details they can get.

Best regards: dlanor
No problems I explain in almost the same way when I explaining something
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 10-02-2008, 12:26 AM
suloku suloku is offline
Undead WU
 
Join Date: Apr 2005
Posts: 469
I didn't notice "Skins" was actually a dir, that's why I went for the space, as I don't remember any sony gamesave filename to have a space and I thought that could be the problem.

I'm glad all was cleared up, Dlanor made a very clear and complete explanation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT +2. The time now is 09:10 PM.