Advertising (This ad goes away for registered users. You can Login or Register)

[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.
SunnyAutumn
Posts: 171
Joined: Thu Jan 20, 2011 7:33 pm
Location: I want to be in Cun-uh-duh

Re: [SUGGESTION] Python coding on HBL

Post by 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.
Advertising
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?

User avatar
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: [SUGGESTION] Python coding on HBL

Post by m0skit0 » Wed Feb 02, 2011 9:03 pm

You should've looked at what the errors were saying. They're usually nice "hints".
Advertising
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"

SunnyAutumn
Posts: 171
Joined: Thu Jan 20, 2011 7:33 pm
Location: I want to be in Cun-uh-duh

Re: [SUGGESTION] Python coding on HBL

Post by 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?

User avatar
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: [SUGGESTION] Python coding on HBL

Post by 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"

wololo
Site Admin
Posts: 3615
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: [SUGGESTION] Python coding on HBL

Post by 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.
If you need US PSN Codes, this technique is what I recommend.

Looking for guest bloggers and news hunters here at wololo.net, PM me!

SunnyAutumn
Posts: 171
Joined: Thu Jan 20, 2011 7:33 pm
Location: I want to be in Cun-uh-duh

Re: [SUGGESTION] Python coding on HBL

Post by 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?

User avatar
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: [SUGGESTION] Python coding on HBL

Post by 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"

SunnyAutumn
Posts: 171
Joined: Thu Jan 20, 2011 7:33 pm
Location: I want to be in Cun-uh-duh

Re: [SUGGESTION] Python coding on HBL

Post by 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?

User avatar
Acid_Snake
Retired Mod
Posts: 3099
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: [SUGGESTION] Python coding on HBL

Post by 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.

Post Reply

Return to “Half Byte Loader Development”