QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

[update] Ebootr (second QJ Release)

This is a discussion on [update] Ebootr (second QJ Release) within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I'm baaaack! Originally Posted by the readme Ebootr 1.0.3540.37398 "A kick in the pants" *** WARNING *** This is BETA ...

Reply
 
LinkBack Thread Tools
Old 09-11-2009, 06:41 AM   #1
 
 
Join Date: Apr 2009
Real First Name: Morgan
Location: Around black mesa.
Just Played: SMB
Posts: 83
Trader Feedback: 0
Default [update] Ebootr (second QJ Release)

I'm baaaack!
Quote:
Originally Posted by the readme
Ebootr 1.0.3540.37398
"A kick in the pants"

*** WARNING ***
This is BETA QUALITY SOFTWARE. Because I am human, I make misteaks, and because I make mistakes, there will be bugs that pop up from time to time. So far, I've had no problems generating valid EBOOTs. Test your EBOOTs before you distribute them if you make them with my app! I take no responsibility for any damage that may result from using this, kay?


Back for another round of AWESOME. Ebootr round 2 is here, and better than ever.

I've updated the interface a little, and fixed some things.
Read the documentation from the help menu for the complete changelog, but here's the basic gist:

- Fixed some bug where when you save the same file you'd get an overwrite message, but the Eboot stored in memory would still be lashed to the open tab (via a file handle) and it would crash. Thanks Yammata684 for the bug report
- Made saving a bit more... tolerable. I'm working on something behind the curtains, but dont worry it wont break anything.
- Checking against the MAGIC bytes of several files (Everything but DATA.PSAR)
- warning if there is no Data.PSP and Param.SFO (I force making "playable" pbp's)
- warning if SND0.AT3 and ICON1.PMF are too big (>500K, give or take)
- Added warning of "You really want to exit?" when you hit exit or try to close the window.


This revision includes the source code. When you build it, it will *not* have the same build ID -- This is because I use the AssemblyInfo generated by VS08. The app itself is written in C# 3 (no linq) and can be compiled using either Visual Studio 2008 or SharpDevelop 3.1 (some of the newer betas) if you edit the file to look like a VS05 file. I've done my best to write solid comments, but dont rely on
this code for learning -- unless you want to learn how to write really wonky applications.

Cheers,
Indrora.

A credit that was ignored last time:
The icon is from Windows 7/Vista and is copyright Microsoft.
A screenshot for those interested:


Plus, I now have some kind of XMB preview!


Get yourself edumacated with the Documentation (Included in the download)


Download it: http://sonof.bandit.name/files/Eboot...r_release2.zip

If you notice any inconsistencies within the interface, please note them! I would really appreciate it.
indrora is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-11-2009, 07:20 AM   #2

 
mootjeuh's Avatar
 
Join Date: Nov 2008
Posts: 322
Trader Feedback: 0
Default

huh, looks nice and sophisticated, good work!
good luck with the next releases
mootjeuh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-11-2009, 08:03 AM   #3

Developer
 
homemister91's Avatar
 
Join Date: Sep 2007
Location: AUS
Posts: 281
Trader Feedback: 0
Default

works for me. yeh. good job
__________________
Heres to the Wyvern,
Heres to getting Wyvern,
Heres to staying Wyvern,
And if you can't get Wyvern.......
You should become a kingsman!

http://arnold.hyperphp.com/ arnold, Light_AleX and my releases

homemister91 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-11-2009, 09:37 AM   #4
 
 
Join Date: Apr 2009
Real First Name: Morgan
Location: Around black mesa.
Just Played: SMB
Posts: 83
Trader Feedback: 0
Default

Thanks man, I've put a lot of effort into making it work as best as I can.

If you get any bug reports dumped to your desktop, attach them here or send them to me in PM.
indrora is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-11-2009, 10:09 AM   #5

 
Mr_Shizzy's Avatar
 
Join Date: Aug 2007
Posts: 566
Trader Feedback: 0
Default

This is fantastic. Great work man
__________________
PSP MODEL: PSP SLIM 2000 TA-085v2
Custom Firmware: 5.50 GEN-D2
Mr_Shizzy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-11-2009, 04:56 PM   #6
 
 
Join Date: Apr 2009
Real First Name: Morgan
Location: Around black mesa.
Just Played: SMB
Posts: 83
Trader Feedback: 0
Default

OK Guys I need y'all to confirm a bug.
Apparently, this chunk of code isnt letting go of the file handles:
Code:
       private bool BlockWriteFileFromEboot(string filename, EbootFile ebf)
        {
            // we're going to try and write the file

            FileStream fsk = null;

            try
            {
                fsk = new FileStream(filename, FileMode.Create, FileAccess.Write);
                writing_file.Text = GetLogicalFilename(ebf);
                writing_progress.Text = "Reading from eboot...";
                Application.DoEvents();
                byte[] q = eb.getFile(ebf);
                Application.DoEvents();
                blockWriteToFile(fsk, q);
                Application.DoEvents();
                writing_file.Text = "";
                return true;
            }
            catch
            {
                // make sure our file handle is clsoed.
                try { if (fsk != null) { fsk.Close(); } }
                catch { }
                return false;

            }

        }
Whats happening is when I load the files into HxD, it tells me "omgwtf its already open somewhere else kill it kill it with fire". What this tells me is for whatever reason, the file handle isnt being closed. I'm going to add a line that explicitly closes it because I think something just isnt doing its job. I'll post the update soonish, and there will most likely be a ClickOnce publishing for this soon
indrora is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-12-2009, 06:06 AM   #7
 
 
Join Date: Apr 2009
Real First Name: Morgan
Location: Around black mesa.
Just Played: SMB
Posts: 83
Trader Feedback: 0
Default

OK here's the pushed out bugfix version:
http://sonof.bandit.name/files/Eboot...3542.10650.zip
New documentation is included, and there's a few nice fixes

the source code included does not include these fixes!

Last edited by indrora; 09-13-2009 at 07:14 PM..
indrora is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
code included , ebootr , release , update

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 01:03 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us