![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on ini handeling within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; how do u read and write ini files in c for psp and how can u detect what psp u ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() PSP Developer On Break
My Mood:
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
|
how do u read and write ini files in c for psp and how can u detect what psp u have? slim or fat
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1) |
|
|
|
|
|
#2 | ||
![]() ![]() Enter Custom Title
|
Hi!
![]() Quote:
![]() EDIT: I found one: confParser by A_Noob http://www.psp-programming.com/forum...p?topic=2978.0 Quote:
Ciaooo Sakya
__________________
"And they're giving me a wonderful potion, 'Cos I cannot contain my emotion. And even though, I'm feeling good, Something tells me, I'd better activate my prayer capsule." Supper's Ready (Genesis) |
||
|
|
|
|
|
#3 | ||
![]() PSP Developer On Break
My Mood:
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
|
Quote:
i read it but it doesnt read ini _ i want to read ini beacause it the easy way of a database Quote:
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1) |
||
|
|
|
|
|
#4 | |
![]() ![]() Developer
|
Quote:
__________________
[Blog] [Portfolio] [Homebrew Illuminati - Serious Homebrew Development Forums] [I want to make Homebrew FAQ] [How I broke into the Games Industry] [Programming Book List] [Programming Article List] |
|
|
|
|
|
|
#5 | |
![]() ![]() Enter Custom Title
|
Hi!
![]() Quote:
A Windows ini file is just a plain text file with sections and named values. I thought you just wanted a configuration file... Btw if you really need a database there's a SQLite port for psp. EDIT: I forgot: kuKernelGetModel is in kubridge.h (in the 3.x sdk). Ciaooo Sakya
__________________
"And they're giving me a wonderful potion, 'Cos I cannot contain my emotion. And even though, I'm feeling good, Something tells me, I'd better activate my prayer capsule." Supper's Ready (Genesis) |
|
|
|
|
|
|
#6 |
![]() Ænima
|
If you mean read and write Windows .ini files, then you're going to have to come up with your own way. But if you want to create your own configuration files, then do it just like you would open any other file.
__________________
[IMG]http://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Zoso.svg/744px-Zoso.svg.png[/IMG] Looking for some good C programming tutorials for the PSP? Look no further! [URL="http://psp-coding.com/"]PSP-Coding.com[/URL] is your source for all your PSP coding needs. |
|
|
|
|
|
#7 |
![]() PSP Developer On Break
My Mood:
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
|
so far there no way of making or reading window type ini?
is there any post or tutoring on how to make configary file? for psp
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1) |
|
|
|
|
|
#8 |
![]() |
Its simple to do,
write something like this for each config you want to save variableName=value then reading a config, go line by line until you hit the variableName you're looking for and read what is to the right of the equals sign.
__________________
I R homaki on [URL=http://forums.**********.net/]M4M[/URL] i.e. im not on QJ for anything anymore. |
|
|
|
|
|
#10 | |
![]() ![]() Developer in Making...
|
Quote:
becuase now it isn't, and i think thats why im getting that one directory error.
__________________
NEWMy New BLOG!NEW The Wentire Worls in two Sectors.... When did I get dev statz?Spoiler for my PSP homebrewReleases:
Spoiler for Great Quotes:
|
|
|
|
|
|
|
#11 | |
![]() PSP Developer On Break
My Mood:
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
|
Quote:
maybe i will wait untill u release a new one how long will that take?
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1) |
|
|
|
|
|
|
#13 |
![]() PSP Developer On Break
My Mood:
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
|
a_noob@
could u give a link from were i could see ur latest version of config i cant find it
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1) |
|
|
|
|
|
#14 |
![]() ![]() Bush Programmer
|
Here:
http://www.psp-programming.com/forum...p?topic=2978.0 The Windows ini file is just a text file, source might need some alteration depending on how it determines where values are but, it would work just the same. I have used this and it worked ok. |
|
|
|
|
|
#15 | |
![]() PSP Developer On Break
My Mood:
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
|
Quote:
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1) |
|
|
|
|
![]() |
| Tags |
| handeling , ini |
| Thread Tools | |
|
|