Port request: White Butterfly


If it is like his other games, it is based on allegro, what should be possible. But this afaik is windows only right now. Would need some dedication to get working on linux maybe.
 
Last edited by a moderator:
Compiled it and when starting I get to the "loading" screen. Then it hangs the whole Pandora.



Code:
=======================================================================================

PND         	: /media/BOOT/pandora/apps/whitebutterfly.pnd

PND_FSTYPE  	: Squashfs

APPDATADIR  	: /media/BOOT/pandora/appdata/whitebutterfly

APPDD_FSTYPE	: vfat

PND_CPUSPEED	: <unset>

EXENAME     	: scripts/Butterfly.sh

ARGUMENTS   	: <unset>

=======================================================================================

[ START ]--- Mount the PND ----------

Mounting : mount -t squashfs -o ro "/dev/loop0" "/mnt/utmp/whitebutterfly"

Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/BOOT/pandora/appdata/whitebutterfly=rw+nolwh":"/mnt/pnd/whitebutterfly=rr" none "/mnt/utmp/whitebutterfly"

[SUCCESS]--- Mount the PND ----------

[ START ]--- Starting the application (scripts/Butterfly.sh ) ----------

*** glibc detected *** ./Butterfly: double free or corruption (top): 0x007039c8 ***

======= Backtrace: =========

/lib/libc.so.6[0x4017a024]

./Butterfly[0x1ddc0]

./Butterfly[0x776d4]

./Butterfly[0x77500]

/lib/libc.so.6(__libc_start_main+0x120)[0x4012a03c]

======= Memory map: ========

00008000-0008b000 r-xp 00000000 00:11 14     	/mnt/utmp/whitebutterfly/Butterfly

00092000-000ae000 rw-p 00082000 00:11 14     	/mnt/utmp/whitebutterfly/Butterfly

000ae000-00717000 rwxp 000ae000 00:00 0      	[heap]

40000000-4001d000 r-xp 00000000 b3:03 281708 	/lib/ld-2.9.so

4001d000-40023000 rw-p 4001d000 00:00 0

40024000-40025000 r--p 0001c000 b3:03 281708 	/lib/ld-2.9.so

40025000-40026000 rw-p 0001d000 b3:03 281708 	/lib/ld-2.9.so

40026000-400e3000 r-xp 00000000 00:11 16     	/mnt/utmp/whitebutterfly/lib/liballeg.so.4.4.1

400e3000-400ea000 ---p 000bd000 00:11 16     	/mnt/utmp/whitebutterfly/lib/liballeg.so.4.4.1

400ea000-400f9000 rw-p 000bc000 00:11 16     	/mnt/utmp/whitebutterfly/lib/liballeg.so.4.4.1

400f9000-40115000 rw-p 400f9000 00:00 0

40115000-4022e000 r-xp 00000000 b3:03 281244 	/lib/libc-2.9.so

4022e000-40236000 ---p 00119000 b3:03 281244 	/lib/libc-2.9.so

40236000-40238000 r--p 00119000 b3:03 281244 	/lib/libc-2.9.so

40238000-40239000 rw-p 0011b000 b3:03 281244 	/lib/libc-2.9.so

40239000-4023c000 rw-p 40239000 00:00 0

4023c000-402a6000 r-xp 00000000 b3:03 281704 	/lib/libm-2.9.so

402a6000-402ad000 ---p 0006a000 b3:03 281704 	/lib/libm-2.9.so

402ad000-402ae000 r--p 00069000 b3:03 281704 	/lib/libm-2.9.so

402ae000-402af000 rw-p 0006a000 b3:03 281704 	/lib/libm-2.9.so

402af000-402c3000 r-xp 00000000 b3:03 281713 	/lib/libpthread-2.9.so

402c3000-402ca000 ---p 00014000 b3:03 281713 	/lib/libpthread-2.9.so

402ca000-402cb000 r--p 00013000 b3:03 281713 	/lib/libpthread-2.9.so

402cb000-402cc000 rw-p 00014000 b3:03 281713 	/lib/libpthread-2.9.so

402cc000-402ce000 rw-p 402cc000 00:00 0

402ce000-402d4000 r-xp 00000000 b3:03 179635 	/usr/lib/libSM.so.6.0.1

402d4000-402db000 ---p 00006000 b3:03 179635 	/usr/lib/libSM.so.6.0.1

402db000-402dc000 rw-p 00005000 b3:03 179635 	/usr/lib/libSM.so.6.0.1

402dc000-402ee000 r-xp 00000000 b3:03 179805 	/usr/lib/libICE.so.6.3.0

402ee000-402f6000 ---p 00012000 b3:03 179805 	/usr/lib/libICE.so.6.3.0

402f6000-402f7000 rw-p 00012000 b3:03 179805 	/usr/lib/libICE.so.6.3.0

402f7000-402f9000 rw-p 402f7000 00:00 0

402f9000-40409000 r-xp 00000000 b3:03 179416 	/usr/lib/libX11.so.6.3.0

40409000-40410000 ---p 00110000 b3:03 179416 	/usr/lib/libX11.so.6.3.0

40410000-40414000 rw-p 0010f000 b3:03 179416 	/usr/lib/libX11.so.6.3.0

40414000-40422000 r-xp 00000000 b3:03 179403 	/usr/lib/libXext.so.6.4.0

40422000-40429000 ---p 0000e000 b3:03 179403 	/usr/lib/libXext.so.6.4.0

40429000-4042a000 rw-p 0000d000 b3:03 179403 	/usr/lib/libXext.so.6.4.0

4042a000-40432000 r-xp 00000000 b3:03 179835 	/usr/lib/libXcursor.so.1.0.2

40432000-40439000 ---p 00008000 b3:03 179835 	/usr/lib/libXcursor.so.1.0.2

40439000-4043a000 rw-p 00007000 b3:03 179835 	/usr/lib/libXcursor.so.1.0.2

4043a000-40447000 r-xp 00000000 b3:03 179449 	/usr/lib/libXpm.so.4.11.0

40447000-4044f000 ---p 0000d000 b3:03 179449 	/usr/lib/libXpm.so.4.11.0

4044f000-40450000 rw-p 0000d000 b3:03 179449 	/usr/lib/libXpm.so.4.11.0

40450000-40454000 r-xp 00000000 00:11 18     	/mnt/utmp/whitebutterfly/lib/libXxf86vm.so.1.0.0

40454000-4045b000 ---p 00004000 00:11 18     	/mnt/utmp/whitebutterfly/lib/libXxf86vm.so.1.0.0

4045b000-4045c000 rw-p 00003000 00:11 18     	/mnt/utmp/whitebutterfly/lib/libXxf86vm.so.1.0.0

4045c000-40466000 r-xp 00000000 b3:03 281706 	/lib/libgcc_s.so.1

40466000-4046d000 ---p 0000a000 b3:03 281706 	/lib/libgcc_s.so.1

4046d000-4046e000 rw-p 00009000 b3:03 281706 	/lib/libgcc_s.so.1

4046e000-40472000 r-xp 00000000 b3:03 179708 	/usr/lib/libuuid.so.1.3.0

40472000-40479000 ---p 00004000 b3:03 179708 	/usr/lib/libuuid.so.1.3.0

40479000-4047a000 rw-p 00003000 b3:03 179708 	/usr/lib/libuuid.so.1.3.0

4047a000-4047c000 r-xp 00000000 b3:03 179672 	/usr/lib/libXau.so.6.0.0

4047c000-40483000 ---p 00002000 b3:03 179672 	/usr/lib/libXau.so.6.0.0

40483000-40484000 rw-p 00001000 b3:03 179672 	/usr/lib/libXau.so.6.0.0

40484000-40488000 r-xp 00000000 b3:03 179732 	/usr/lib/libXdmcp.so.6.0.0

40488000-4048f000 ---p 00004000 b3:03 179732 	/usr/lib/libXdmcp.so.6.0.0

4048f000-40490000 rw-p 00003000 b3:03 179732 	/usr/lib/libXdmcp.so.6.0.0

40490000-40492000 r-xp 00000000 b3:03 281709 	/lib/libdl-2.9.so

40492000-40499000 ---p 00002000 b3:03 281709 	/lib/libdl-2.9.so

40499000-4049a000 r--p 00001000 b3:03 281709 	/lib/libdl-2.9.so

4049a000-4049b000 rw-p 00002000 b3:03 281709 	/lib/libdl-2.9.so

4049b000-404a3000 r-xp 00000000 b3:03 179971 	/usr/lib/libXrender.so.1.3.0

404a3000-404aa000 ---p 00008000 b3:03 179971 	/usr/lib/libXrender.so.1.3.0

404aa000-404ab000 rw-p 00007000 b3:03 179971 	/usr/lib/libXrender.so.1.3.0

404ab000-404af000 r-xp 00000000 b3:03 179547 	/usr/lib/libXfixes.so.3.1.0

404af000-404b6000 ---p 00004000 b3:03 179547 	/usr/lib/libXfixes.so.3.1.0

404b6000-404b7000 rw-p 00003000 b3:03 179547 	/usr/lib/libXfixes.so.3.1.0

404b7000-404cc000 r-xp 00000000 00:11 20     	/mnt/utmp/whitebutterfly/lib/libxcb.so.1.1.0

404cc000-404d3000 ---p 00015000 00:11 20     	/mnt/utmp/whitebutterfly/lib/libxcb.so.1.1.0

404d3000-404d4000 rw-p 00014000 00:11 20     	/mnt/utmp/whitebutterfly/lib/libxcb.so.1.1.0

404d4000-404d5000 r-xp 00000000 b3:03 179979 	/usr/lib/libpthread-stubs.so.0.0.0

404d5000-404dc000 ---p 00001000 b3:03 179979 	/usr/lib/libpthread-stubs.so.0.0.0

404dc000-404dd000 rw-p 00000000 b3:03 179979 	/usr/lib/libpthread-stubs.so.0.0.0

404dd000-404de000 ---p 404dd000 00:00 0

404de000-40cdd000 rw-p 404de000 00:00 0

40cdd000-40cde000 ---p 40cdd000 00:00 0

40cde000-414dd000 rw-p 40cde000 00:00 0

414dd000-415c8000 rw-s 00000000 00:07 425995 	/SYSV00000000 (deleted)

415c8000-4163e000 rw-p 415c8000 00:00 0

befa3000-befb8000 rw-p befea000 00:00 0      	[stack]

/usr/pandora/scripts/pnd_run.sh: line 519:  1660 Killed              	"./$EXENAME" $ARGUMENTS

[ FAILED]--- Starting the application (scripts/Butterfly.sh ) ----------

[ START ]--- Restoring the frame buffer status ----------

[SUCCESS]--- Restoring the frame buffer status ----------

[ START ]--- uMount the PND ----------

[ START ]--- Waiting the Union to be available ----------

[SUCCESS]--- Waiting the Union to be available ----------

rmdir: failed to remove `/mnt/utmp/whitebutterfly': 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 ----------

=======================================================================================

Return code is : 2


If anyone likes debugging this, have fun!
 
Ok, I got it running now.


Needed to stretch a bit, as the original res is 600x600. Doesn't look too ugly though.


I need to package it up still.


PND tomorrow.


Butterfly 1 - 1 Zaxxon
 
Last edited by a moderator:
Ok, I got it running now.


Needed to stretch a bit, as the original res is 600x600. Doesn't look too ugly though.


I need to package it up still.


PND tomorrow.


Butterfly 1 - 1 Zaxxon

You're great. Thanks.
 
^^


Wow, this is even harder than Garden of colored lights imho.


Can't beat the first level...
 
Thank you for the port.


Unfortunately my Pandora is not usable since yesterday.


I've opened it and I'm working on a really big hardware improvement.


I can't wait to play White Butterfly but I have to wait one more day untill I can use my Pandora again.


But great news anyway.
 
@Askarus


What are you doing to your Pandora now? Adding a shuriken launcher?


Sorry for the off topic.


:ph34r: by LinuxSWAT
 
Last edited by a moderator:
Back
Top