Pandora Legend of Pandora

quadcricket

Member
Joined
Mar 28, 2008
Messages
91
I don't find it on gitlab.com. Is the repo public?
Apparently gitlab defaults projects to private, sorry about that, I am still getting used to gitlab since migrating from github. I have set it to public and opened up permissions. Let me know if there is any trouble seeing the project now.
 

quadcricket

Member
Joined
Mar 28, 2008
Messages
91
How's this going?
Just finished redoing the collision detecion for knockback and a sleeping animation for a passed out drunk "Craig" non-boss. (I'll try to post a gif later). The other bosses are animated but need to be tested with boss collision etc. and (the hard part) some kind of AI. After the bosses are done I still need to do end credits and an intro scroll text... and I think that's it before a beta release if some kind. I try to work on it a little bit every work day.
 

quadcricket

Member
Joined
Mar 28, 2008
Messages
91
Retranslation makes the best intro text:

Original

Our hero Ed seeks to build the legendary Pandora.
Blocking his path are three monsters.
King Troll who will bring you down.
Count VanFire who will burn you with fire.
Tempus who will take your life.
Can you help our hero succeed?


Japanese

Watashitachi no hīrōdearu Edo wa, densetsu no Pandora o tsukurou to shite imasu. Kare no shinro o bōgai suru no wa 3-biki no monsutādesu. Anata o orosu ō tororu. Hi de anata o moyasu VanFire o kazoete kudasai. Anata no inochi o ubau tenpusu. Watashitachi no hīrō no seikō o tetsudatte moraemasu ka?


Retranslated

Our hero Ed is trying to make the legendary Pandora.
Three monsters obstruct his path.
King Troll who takes you down.
Count VanFire that will burn you with fire.
Tempus that takes your life.
Can you help our hero succeed?
 

pmprog

Advanced Member
Joined
Apr 25, 2011
Messages
3,893
That reminds of that an old site, can't remember what it's called now - and you entered an English sentance, and it translated it back and forth between English and Japanese a dozen times, often with humourous results.
 

quadcricket

Member
Joined
Mar 28, 2008
Messages
91
I have a, for the most part, working game now but I am stuck on creating the pnd.
Here is a link to the one I made. It seems to be getting stuck on the run command. --> https://u4e.us/d/legend-of-pandora.pnd
If anyone can help take a look at it and let me know what I'm doing wrong I would appreciate it.
 

KidPaddle

Member
Joined
May 14, 2006
Messages
382
Location
Germany
In the pxml file your execution file is "./LoP" and not "./bin/LoP".

Code:
=======================================================================================
PND             : /media/CODEBLOCKS/pandora/desktop/legend-of-pandora.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/CODEBLOCKS/pandora/appdata/legend-of-pandora
APPDD_FSTYPE    : ext4
PND_CPUSPEED    : <unset>
EXENAME         : ./LoP
ARGUMENTS       : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs -o ro "/dev/loop0" "/mnt/utmp/legend-of-pandora"
Mounting the Union FS : mount -t aufs -o exec,dirs="/media/CODEBLOCKS/pandora/appdata/legend-of-pandora=rw+nolwh":"/mnt/pnd/legend-of-pandora=rr" none "/mnt/utmp/legend-of-pandora"
[SUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( ./LoP  ) ----------
/usr/pandora/scripts/pnd_run.sh: line 567: ./LoP: No such file or directory
[ FAILED]--- Starting the application ( ./LoP  ) ----------
[ START ]--- Restoring the frame buffer status ----------
[SUCCESS]--- Restoring the frame buffer status ----------
[ START ]--- Restoring nub mode ----------
[SUCCESS]--- Restoring nub mode ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
[SUCCESS]--- Waiting the Union to be available ----------
rmdir: failed to remove `/mnt/utmp/legend-of-pandora': Device or resource busy
[ START ]--- Waiting the PND mount dir to be free ----------
[SUCCESS]--- Waiting the PND mount dir to be free ----------
cleanup done
[SUCCESS]--- uMount the PND ----------
=======================================================================================
Thomas
 

quadcricket

Member
Joined
Mar 28, 2008
Messages
91
I changed the path in the pxml to ./bin/LoP and that did not work either. I set the "startdir" to bin so to run SHOULD be ./LoP (assuming the "startdir" variable actually does it's job).

@KidPaddle Running ./bin/LoP directly without navigating to the bin folder will give you errors because the file paths will be wrong if the program is not run from the "bin" folder directly.

It looks like it is demanding the application be run from the base directory. That's a shame. If I can't figure out how to get the starting directory to be "bin" then I will have to move LoP to the "legend-of-pandora" folder and change all of the paths in the source code. Annoying, but doable.
[doublepost=1570731560,1570728918][/doublepost]The download link now has the new version of the pnd, which still doesn't work: https://u4e.us/d/legend-of-pandora.pnd
The LoP binary is now in the base "legend-of-pandora" folder and can be run directly from there. For some reason, even after making this change, the pnd refuses to run. Could it be a permissions error? I am using the Windows GUI tool to make the pnd, but have my pandora and a linux laptop to create it if I have to.

--

Got it sorted by using the Pandora script. I should have known better than to mess around with Windows GUI stuff. The link above has the newest version which runs fine on my Pandora.
Any help in beta testing the game would be appreciated!

The biggest wrinkle now is how to make the game actually fun. Currently the score system is pretty pointless and, from time to time, the monsters will glitch into walls or "jump" onto the character.

Aside from that I hope everyone can enjoy my little tribute to the history of the Pandora and the community as a whole. It's been a learning experience for sure. This was all done "by hand" by me in C and SDL, with all the art done by me as well. The sounds were either taken from free sites or generated using Famitracker. The songs were graciously free to use from a few different artists.

If the pnd works for you, please let me know and I can post it as BETA software in the software forum.

Thanks again!
 
Last edited:

KidPaddle

Member
Joined
May 14, 2006
Messages
382
Location
Germany
Instead of running LoP directly, writting a short bash script which setup all your preferences, like setting up a envrioment variable for data path and after that, it executes the binary file. Maybe with an optional parameter for the data path.

Thomas
 
Top