Read manually created config file

Request new features or ask for existing features to be fixed or updated
Post Reply
User avatar
NRGDEAD
/// CYBDYN SYSTEMS ELITE ///
/// CYBDYN SYSTEMS ELITE ///
Posts: 318
Joined: September 22nd, 2017, 3:10 am
I am a: Noob
PlayStation Model: SCPH-1002

Read manually created config file

Post by NRGDEAD » December 19th, 2018, 2:55 am

Sometimes the PSX can't boot an image. Often when that happens, the configuration gets corrupted(?) and I have to redo the initial setup - which can get really annoying when testing a couple of new images in a row. Like I did again today. ;-)
While I'm aware that it is intended to save the configuration to the SD card in the future, that is probably still a few more months away. In the meantime, can we have a simple, manually created configuration file read from the SD and applied to the settings, so we can skip the initial setup? Something like a menu.cfg:

Code: Select all

videonorm=576i
videopos=0x0
jpnav=false
music=true
wallpaper=true
fastboot=true
eula_accepted=true
Variables that are not listed could be set to the default values.

User avatar
Matt
Cybdyn Systems - Admin
Cybdyn Systems - Admin
Posts: 2050
Joined: December 31st, 2012, 5:37 pm
I am a: Systems Designer
PlayStation Model: H2000/5502
Location: Australia
Contact:

Re: Read manually created config file

Post by Matt » December 19th, 2018, 3:54 am

It shouldn't be resetting at all. It sounds like you have a faulty Flash ROM and it'll need to be replaced. Please send your cartridge back for repair :)

User avatar
NRGDEAD
/// CYBDYN SYSTEMS ELITE ///
/// CYBDYN SYSTEMS ELITE ///
Posts: 318
Joined: September 22nd, 2017, 3:10 am
I am a: Noob
PlayStation Model: SCPH-1002

Re: Read manually created config file

Post by NRGDEAD » December 19th, 2018, 4:11 am

Really? It's working just fine otherwise, only gets reset on faulty(?) images. Question mark because at least some of those faulty images work on ePSXe.
For example, I downloaded the data track and MP3 files for Airport, which is homebrew released under the GPL, converted the MP3s according to their documentation, mounted that via CDEmu and created a new single bin/cue/cu2 set via cdrdao and the System Console. This (36 MiB) is the result. Does this not crash your PSIOs?

Anyone else, if you want to try this, you do so at your own risk. ;-)

Edit: I have removed the link because it was hosted via my Dropbox account. If anyone is still interested in it, let me know.
Last edited by NRGDEAD on March 25th, 2019, 10:49 pm, edited 1 time in total.

User avatar
Meringues
Member
Member
Posts: 21
Joined: December 5th, 2018, 12:34 pm
PlayStation Model: SCPH-1002
Location: Scotland

Re: Read manually created config file

Post by Meringues » December 19th, 2018, 6:41 am

I have had the same thing happen a few times when I've 'probably' messed up the conversion to a single bin/cue, I've put it down to using windows apps on a Mac via wineskin, it can get a bit confusing when converting multiple games.

User avatar
Matt
Cybdyn Systems - Admin
Cybdyn Systems - Admin
Posts: 2050
Joined: December 31st, 2012, 5:37 pm
I am a: Systems Designer
PlayStation Model: H2000/5502
Location: Australia
Contact:

Re: Read manually created config file

Post by Matt » December 19th, 2018, 2:21 pm

I'll test it tonight, but either way that data should not be resetting so it's probably a bug in the firmware. I'll have to check it.

User avatar
NRGDEAD
/// CYBDYN SYSTEMS ELITE ///
/// CYBDYN SYSTEMS ELITE ///
Posts: 318
Joined: September 22nd, 2017, 3:10 am
I am a: Noob
PlayStation Model: SCPH-1002

Re: Read manually created config file

Post by NRGDEAD » December 31st, 2018, 3:28 am

Matt, have you had a chance do look at this yet? Does it crash on your PSIO/PSXs the same way?

User avatar
Matt
Cybdyn Systems - Admin
Cybdyn Systems - Admin
Posts: 2050
Joined: December 31st, 2012, 5:37 pm
I am a: Systems Designer
PlayStation Model: H2000/5502
Location: Australia
Contact:

Re: Read manually created config file

Post by Matt » December 31st, 2018, 3:52 pm

Nope, Airport does not crash my PSIO nor does it reset my settings.

User avatar
NRGDEAD
/// CYBDYN SYSTEMS ELITE ///
/// CYBDYN SYSTEMS ELITE ///
Posts: 318
Joined: September 22nd, 2017, 3:10 am
I am a: Noob
PlayStation Model: SCPH-1002

Re: Read manually created config file

Post by NRGDEAD » December 31st, 2018, 6:54 pm

That is with the image I provided above? Because that is not the regular download; I used CDEmu and cdrdao to make a single-bin image from the original bin + Wave audio files.

User avatar
Matt
Cybdyn Systems - Admin
Cybdyn Systems - Admin
Posts: 2050
Joined: December 31st, 2012, 5:37 pm
I am a: Systems Designer
PlayStation Model: H2000/5502
Location: Australia
Contact:

Re: Read manually created config file

Post by Matt » January 2nd, 2019, 11:15 pm

Yes, it's with the image that you provided from 'Dropbox'.

solidcore
Member
Member
Posts: 23
Joined: December 31st, 2018, 4:35 am

Re: Read manually created config file

Post by solidcore » January 3rd, 2019, 7:26 am

Configure per game makes sense since you want to define when a game should force 60 or 50hz and you would want to define what options to set per game not as a whole .

Matt must first read write to SD Card setting files and then from there we will be happy ;) also he can use same store to sd functionality for memory card to sd maybe :)

User avatar
NRGDEAD
/// CYBDYN SYSTEMS ELITE ///
/// CYBDYN SYSTEMS ELITE ///
Posts: 318
Joined: September 22nd, 2017, 3:10 am
I am a: Noob
PlayStation Model: SCPH-1002

Re: Read manually created config file

Post by NRGDEAD » January 4th, 2019, 11:10 pm

Good news, everybody!
I've since reformatted my SD card using Windows 10, with 1024k cluster size as opposed to using fdisk on Arch Linux with default cluster size (whatever that is). I could run Airport from the image above this time; no settings reset. So that suggests to me that there is something going wrong in the SD card and/or filesystem routines on the PSIO that causes this behavior.

Solidcore, I'm not sure you posted that in the right thread. ;-)

solidcore
Member
Member
Posts: 23
Joined: December 31st, 2018, 4:35 am

Re: Read manually created config file

Post by solidcore » January 9th, 2019, 5:59 am

Yeah wrong “tab” on the mobile. My fault haha sorry ! Glad to see your problem is resolved . Cluster size can change everything .

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest