[PSX]System.cnf boot file

Discussion in 'Misc PSX Discussion' started by Avanaboy, Sep 11, 2008.

  1. Avanaboy

    Avanaboy New Member

    Messages:
    8
    Likes Received:
    0
    Hi guys ,

    I write some psx apps , that works successfully with psx emulator ( epsxe ) ... now I want to use it on my real psx ...

    To boot a psx homebrew on a real psx I need two files : 1) my homebrew ( PLAY.PSX ) , and the system.cnf ( the boot file ) ...

    Now with my cnf file my psx freeze on Boot Screen ... This is my cnf file :

    BOOT = cdrom:\PLAY.PSX;1

    TCB = 4

    EVENT = 16

    STACK = 801FFFF0



    If I use the Loser Multisession Exe Loader , my homebrew start and run very well ... but I want to create a CD with only my homebrew ...

    What I have to do ? And why my psx freeze on boot logo ? maybe is the stack entry point that is broken ?

    Please help me :thumb:
  2. NGEmu.com Advertisement

  3. Shendo

    Shendo R3000 Moderator

    Messages:
    5,058
    Likes Received:
    25
    What libs have you used? PSY-Q, YAROZE, Rob Withey, blade's, bITmASTER's ?
  4. Avanaboy

    Avanaboy New Member

    Messages:
    8
    Likes Received:
    0
    I'm using Rob Withey's lib + sound support ... Now I'm trying to running on my real psx the "example" of Rob Withey ( the flying car intro ) ...

    How can I write a working cnf file ???
  5. Shendo

    Shendo R3000 Moderator

    Messages:
    5,058
    Likes Received:
    25
    The system.cnf should look like this:
    Code:
    BOOT = cdrom:\PLAY.PSX;1
    TCB = 4
    EVENT = 16
    STACK = 0x801FFFF0
    Alternatively you don't need a system.cnf, just make sure to name the application "psx.exe".

    Also note that executable needs to be multiple length of 2048 bytes,
    use a program called EXEFIXUP to fix your EXEs to required size.

    To make an image use a program called PSX ISO Maker which will also license the image.
    After that just use some burning application (I had success with nero) to burn the content of the image onto a disc.
  6. Avanaboy

    Avanaboy New Member

    Messages:
    8
    Likes Received:
    0
    So , I have only to name the application "psx.exe" and burn it on a new cd , and also make sure that the exe is 2048 bytes ?

    EDIT : I have tryed with this metod ( name the file "psx.exe" , use the PSONE iso maker pro and burn the iso without the system.cnf ) but it freezy a Playstation Logo ... Can be the exe file that cant run on real psx ?

    EDIT2 : YEAH IT WORKSSSSSS !!!!!!! YEAH YEAH !!!!!

    the psx.exe are bad ! I just tryed with a new one and it run !!!!!!!

    Yeah , thanks a lot !!!!

    But ... this problem depends from the kind of libs that I have used ? if yes , what is the best libs for develop psx homebrew and make it bootable on real psx ??

    EDIT3 : I found a fixed version of blase's lib that allow psx.exe to run on real psx ...

    But , What is the best libs for dev psx homebrew ?
    Last edited: Sep 12, 2008
  7. Shendo

    Shendo R3000 Moderator

    Messages:
    5,058
    Likes Received:
    25
    Not 2048 but multiple of it (409600 for example). Remember this because if the size is not right your applications won't run.
    Best would be PSY-Q, however it' illegal to use it if you are not a licenced Sony developer.

    Out of open source ones Blade's and Rob Withey's are pretty good.
    Blade's are fairly easy to work with but unfortunately there are some issues so you have to use launcher to start the exe on a real psx.

    In conclusion if you want to be on the legal side and want to make an application that can run on
    psx without any additional launchers Rob Withey's libs are recommended to use.

    Btw: can you link to the fixed version of blade's libs you found?
    Last edited: Sep 13, 2008
  8. Avanaboy

    Avanaboy New Member

    Messages:
    8
    Likes Received:
    0
    I tryed the fixed version of Blade's lib ... but it doesnt work for me :(

    are you sure that with Rob Withey's lib I can use the exe on a real psx ? because I have tryed that lib but the compiled exe cant run on my real psx ... Maybe I have an old version ...

    Can you link the working version of Rob Withey's lib with CD support ? please...

    PS: I you want to can donwload the fixed version ( that doesnt work for me ) from here : http://www.candu.co.uk/psx/candu_compile.zip
    Last edited: Sep 15, 2008
  9. Shendo

    Shendo R3000 Moderator

    Messages:
    5,058
    Likes Received:
    25
    Have you fixed your exe with "EXEFIXUP" to the right size?
  10. Avanaboy

    Avanaboy New Member

    Messages:
    8
    Likes Received:
    0
    ARGH ... no , because I cant find the download link :( ... I searched it on google , but I only find some docs :(
  11. Shendo

    Shendo R3000 Moderator

    Messages:
    5,058
    Likes Received:
    25
    Here you go.
  12. Avanaboy

    Avanaboy New Member

    Messages:
    8
    Likes Received:
    0
    Thank you !!!

    With this software Can I only make withe's app bootable ? or I can also make bootable the apps made with Blade's lib ?
  13. Shendo

    Shendo R3000 Moderator

    Messages:
    5,058
    Likes Received:
    25
    You have to use this on both but with blade's you must also use launcher which you can
    find on a site you linked earlier.
  14. Avanaboy

    Avanaboy New Member

    Messages:
    8
    Likes Received:
    0
    Okay , Thank you Shendo ! ;)
  15. Blade_Libs

    Blade_Libs New Member

    Messages:
    1
    Likes Received:
    0
    Wow!

    I'm not sure why, but I did a search on Blade Libraries this evening,
    and was astounded to find this (recent) thread talking about people
    still using them!

    Gave me a wee glow inside.

    I probably can't really help anyone much these days - my PSX is gathering
    dust in the attic somewhere, and I think I released all the source code and
    tools that I had, but if anyone's interested, or missing something that they
    remember, I could dig out some old CDs with my backups.

    Anyway, great to hear people are still interested...

    Cheers,
    Blade
    (out of the Blade Libraries)
  16. Shendo

    Shendo R3000 Moderator

    Messages:
    5,058
    Likes Received:
    25
    Yeah, I use libs to program stuff for PSX, usually for private use except PSX BIOS Dumper
    which I released because IMHO it would be a shame to keep it for myself.

    I'm not sure if you know this but there is a problem with initialization somewhere
    so programs must be launched by PSYQ compiled programs which kinda defies the purpose of using alternative libs.
    If you know what's the problem or where to look for it I would be very grateful.

    Anyway, thanks for this awesome libs.
  17. Avanaboy

    Avanaboy New Member

    Messages:
    8
    Likes Received:
    0
    Hi ppl ,
    I'd like just to bump this old topic to let u know that I've an australian friend that is working on a Ps1 SD/HDD MOD !
    This will let us able to load psx homebrews and take advantage of brakpoints and other debugs feature !
    This is great !

    Thanks

    PS: if anybody is interested here is the link : http://psio.com.au/

Share This Page