DSonPSP UnofficialRandom Homebrew: DSonPSP Unofficial
Nintendo DS emulator for PsP also in the package is a file called "samples.zip" it contains all of [...]
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

[SUGGESTION] Python coding on HBL

This is the development forum of the half-byte loader project. For general Half Byte Loader questions, visit the Half Byte Loader forum.
Forum rules
This forum is for HBL Development discussions ONLY. For User support or HBL general discussions, go to viewforum.php?f=3 . Messages that are not development related will be deleted.

Re: [SUGGESTION] Python coding on HBL

Postby SunnyAutumn » Wed Feb 02, 2011 8:34 pm

SunnyAutumn wrote:Grrrr! I dislike Lua for some reason. Probably because it uses a lot of "." and ",". Always got lost in those.

m0skit0 wrote:That should not be a reason. Almost all programming languages use a lot of . and , For example I hate LISP's parenthesis, but it's a language I just love.

Well, I have a reason for hating it. Once, I scripted for CS2D (read first post) and it always gave me errors in the console or threw me out of the server (scripts there are server-side). Then, after 2 weeks of studying the script and giving up, I realised that instead of ".." I put "." It was only somewhere in the middle, but it literally destroyed the script.
The language itself is pretty cool, but I don't think I will ever come back to it.
PSP 2004 6.20 TN-HEN D Permanent
iPad 1g 16gb wifi 3.2.2 + jailbreak
xbox360 Pro latest official dashboard
LG Optimus One: Android 2.2.1: Gonna' root soon
Playing Runescape since 2004!
I support the movement for democracy in Syria! What about you?
SunnyAutumn
 
Posts: 560
Joined: Thu Jan 20, 2011 7:33 pm
Location: I want to be in Cun-uh-duh

Re: [SUGGESTION] Python coding on HBL

Postby m0skit0 » Wed Feb 02, 2011 9:03 pm

You should've looked at what the errors were saying. They're usually nice "hints".
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: [SUGGESTION] Python coding on HBL

Postby SunnyAutumn » Thu Feb 03, 2011 10:31 am

I used SciTe then -.- Errors it gave out weren't errors for the game.
PSP 2004 6.20 TN-HEN D Permanent
iPad 1g 16gb wifi 3.2.2 + jailbreak
xbox360 Pro latest official dashboard
LG Optimus One: Android 2.2.1: Gonna' root soon
Playing Runescape since 2004!
I support the movement for democracy in Syria! What about you?
SunnyAutumn
 
Posts: 560
Joined: Thu Jan 20, 2011 7:33 pm
Location: I want to be in Cun-uh-duh

Re: [SUGGESTION] Python coding on HBL

Postby m0skit0 » Thu Feb 03, 2011 11:03 am

The problem is not LUA, it's your debugging skills and tools.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: [SUGGESTION] Python coding on HBL

Postby wololo » Thu Feb 03, 2011 12:34 pm

I understood the OP as "let's have a python interpreter running with HBL", and this doesn't sound as impossible to me, the same way HBL can run lua as long as the eboot includes the LUA interpreter. AFAIK there's a python interpreter available for the PSP, so it's just a matter of making a "python interpreter" eboot, that runs in user mode, and allows to open/run python scripts.
I have a few US PSN codes to sell for a reasonable price (cheaper than pcgamesupply). PM me if interested, 1st come 1st serve basis..

Looking for guest bloggers and news hunters here at wololo.net, PM me!
wololo
Site Admin
 
Posts: 4641
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: [SUGGESTION] Python coding on HBL

Postby SunnyAutumn » Thu Feb 03, 2011 2:16 pm

Wololo wrote:I understood the OP as "let's have a python interpreter running with HBL", and this doesn't sound as impossible to me, the same way HBL can run lua as long as the eboot includes the LUA interpreter. AFAIK there's a python interpreter available for the PSP, so it's just a matter of making a "python interpreter" eboot, that runs in user mode, and allows to open/run python scripts.

Your post count seriously disturbs me... :shock:
PSP 2004 6.20 TN-HEN D Permanent
iPad 1g 16gb wifi 3.2.2 + jailbreak
xbox360 Pro latest official dashboard
LG Optimus One: Android 2.2.1: Gonna' root soon
Playing Runescape since 2004!
I support the movement for democracy in Syria! What about you?
SunnyAutumn
 
Posts: 560
Joined: Thu Jan 20, 2011 7:33 pm
Location: I want to be in Cun-uh-duh

Re: [SUGGESTION] Python coding on HBL

Postby m0skit0 » Thu Feb 03, 2011 3:00 pm

Wololo wrote:I understood the OP as "let's have a python interpreter running with HBL"

If so, the questions has not much sense: if there's a pure user mode Python interpreter, then most likely it will work with HBL, just like LUA does. I still think he meant "develop HBL" with Python, not "for HBL" with Python. As in making a scripting language to "mod" HBL. Still I see no use of modding HBL since it's just loading ELFs. I sincerely don't know what can be modded in here...

SunnyAutumn wrote:Your post count seriously disturbs me... :shock:

:lol: :lol: :lol: very good one!
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: [SUGGESTION] Python coding on HBL

Postby SunnyAutumn » Thu Feb 03, 2011 3:35 pm

m0skit0 wrote:
Wololo wrote:I understood the OP as "let's have a python interpreter running with HBL"

As in making a scripting language to "mod" HBL

Exactly what I meant.

m0skit0 wrote:
SunnyAutumn wrote:Your post count seriously disturbs me... :shock:

:lol: :lol: :lol: very good one!

Thank you!
PSP 2004 6.20 TN-HEN D Permanent
iPad 1g 16gb wifi 3.2.2 + jailbreak
xbox360 Pro latest official dashboard
LG Optimus One: Android 2.2.1: Gonna' root soon
Playing Runescape since 2004!
I support the movement for democracy in Syria! What about you?
SunnyAutumn
 
Posts: 560
Joined: Thu Jan 20, 2011 7:33 pm
Location: I want to be in Cun-uh-duh

Re: [SUGGESTION] Python coding on HBL

Postby Acid_Snake » Fri Jun 22, 2012 7:31 pm

pyMenu is written in Python, if you want take a look at the code and see if you can help with the development.
"V2h5IGFyZSB5b3UgcmVhZGluZyBteSBzaWduYXR1cmU/\n".decode("base64")
My forum:
Console Heaven
My Homebrews:
pyMenu 0.3.2, multiBootMenu V3, PSvid 3.0, PSP Tools 0.2
User avatar
Acid_Snake
Moderator
 
Posts: 2054
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Previous

Return to Half Byte Loader Development

Who is online

Users browsing this forum: No registered users and 0 guests