Release Starcraft


I spended years on the battlenet and in the campaign to fight the zergs back. SCVs didn't auto repair buildings.
 
A curiosity ...for Notaz

How is that the PND is not possible to open with 7Zip or similar ?

What tools have you used to build it ? Or is a hidden feature of PND ?

I'm curious

Thanks
 
A curiosity ...for Notaz

How is that the PND is not possible to open with 7Zip or similar ?

What tools have you used to build it ? Or is a hidden feature of PND ?

I'm curious

Thanks
then it's squashfs
 
some of pnd [in windows] are made with mkisofs, but in linux squasfs is used. mkisofs-ones are extractable via 7z.. 
 
Last edited by a moderator:
Even squashfs ones can be extracted with 7zip afaik. Can't they?
 
Currently Fabien Sanglard it's working on reverse engineering this game source are here
Hmm, it seems the approach is quite different though, what I did is just translation without reversing anything, so I don't know anything about the formats the game uses and such. What is done there is full reverse engineering and reimplementaion, which includes figuring out all game data and save formats.
Notaz, can you provide zipped WINE package for ARM? i'd might prepare something extra from this..
It builds quite easily from source ( https://github.com/notaz/wine ), but if you insist I can tar it up for you.
How is that the PND is not possible to open with 7Zip or similar ?

What tools have you used to build it ? Or is a hidden feature of PND ?
Wine takes a lot of space so I used squashfs with xz compression. unsquashfs on Linux extracts it fine.
 
Last edited by a moderator:
Had a crash at approx. the same place:

couldn't load main module (2)
Unhandled exception: page fault on read access to 0x0000011d in 32-bit code (0x40ec9a7c).
Register dump:
ARM User Mode
 Pc:40ec9a7c Sp:4128fb90 Lr:40e054a0 Cpsr:a0000010(N-C-)
 r0:00000041 r1:00000005 r2:ffffffff r3:ffffffff
 r4:ffffffff r5:40f97aa0 r6:00000041 r7:00000005
 r8:410b3e18 r9:00004944 r10:00004478 Fp:4128fcc8 Ip:405165cc
Stack dump:
0x4128fb90:  00004478 ffffffff 00000005 40ec9a3c
0x4128fba0:  00000005 40f97aa0 4128fbf0 40e054a0
0x4128fbb0:  4115cef0 40e00000 00000041 00000041
0x4128fbc0:  40e05360 40f97aa0 4115cde8 4128fbf0
0x4128fbd0:  4128fc34 40dc9264 4112c0f8 00000005
0x4128fbe0:  40f97aa0 00000af0 4128fc10 40df75b0
Backtrace:
=>0 0x40ec9a7c (0x4128fcc8)
  1 0x40e054a0 (0x4128fcc8)
0x40ec9a7c:
    ldr    r3, [r6, #220]
Modules:
Module    Address            Debug info    Name (29 modules)
PE    40040000-40044000    Deferred        version
PE    40480000-40484000    Deferred        ntdll
PE    40a80000-40c1c000    Deferred        kernel32
PE    412a0000-412db000    Deferred        user32
PE    413d0000-413d7000    Deferred        gdi32
PE    414d0000-414d4000    Deferred        advapi32
PE    41530000-41534000    Deferred        imm32
PE    41570000-41574000    Deferred        msvcrt
PE    415f0000-41666000    Deferred        winmm
PE    416c0000-416c8000    Deferred        ole32
PE    417b0000-417b4000    Deferred        rpcrt4
PE    41830000-41839000    Deferred        msacm32
PE    41860000-419be000    Deferred        shell32
PE    41a80000-41a88000    Deferred        shlwapi
PE    41ae0000-41b78000    Deferred        comdlg32
PE    41bd0000-41bff000    Deferred        comctl32
PE    41cb0000-41cba000    Deferred        winspool
PE    41df0000-41df4000    Deferred        winex11
PE    420c0000-420c4000    Deferred        uxtheme
PE    42610000-42614000    Deferred        psapi
PE    427b0000-427b4000    Deferred        ddraw
PE    42820000-42824000    Deferred        wined3d
PE    42960000-42964000    Deferred        opengl32
PE    42bc0000-42bc4000    Deferred        dsound
PE    42c00000-42c04000    Deferred        mmdevapi
PE    42c40000-42c48000    Deferred        oleaut32
PE    42d30000-42d33000    Deferred        winealsa
PE    451e0000-451e3000    Deferred        tapi32
PE    458b0000-458b4000    Deferred        dbghelp
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\mnt\utmp\starcraft\libscr_sa_arm.exe
    00000025    2
    00000024    0
    00000023   15
    00000022    0
    00000021    1
    00000009    0 <==
0000000e services.exe
    0000001c    0
    0000001b    0
    00000014    0
    00000010    0
    0000000f    0
00000012 winedevice.exe
    00000018    0
    00000017    0
    00000013    0
00000019 plugplay.exe
    0000001e    0
    0000001d    0
    0000001a    0
0000001f explorer.exe
    00000020    0
System information:
    Wine build: wine-1.7.13-15-g7349586
    Platform: arm
    Host system: Linux
    Host version: 3.2.53



=======================================================================================
PND             : /media/SD32/pandora/menu/starcraft_b5.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/SD32/pandora/appdata/starcraft
APPDD_FSTYPE    : vfat
PND_CPUSPEED    : <unset>
EXENAME         : run.sh
ARGUMENTS       : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs -o ro "/dev/loop0" "/mnt/utmp/starcraft"
rmdir: failed to remove `/mnt/pnd/starcraft': Not a directory
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/SD32/pandora/appdata/starcraft=rw+nolwh":"/mnt/pnd/starcraft=rr" none "/mnt/utmp/starcraft"
[sUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( run.sh  ) ----------
fixme:win:EnumDisplayDevicesW ((null),0,0x4128f2c0,0x00000000), stub!
fixme:fbdev:X11DRV_fbdev_SetCurrentMode Cannot change screen BPP from 16 to 8
ALSA lib pcm_dmix.c:1014:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
wine: Unhandled page fault on read access to 0x0000011d at address 0x40ec9a7c (thread 0009), starting debugger...
 
 
Max Payne please :)
Ugh... yeah this didn't come accross as a joke.


Note: use the :p or :lol: smiley to imply cheekiness or write "just kidding" *ducks* or something...
Actually now that I think of it, I'm not joking and hope notaz prove all of doubters wrong once again :p
You can already play Max Payne perfectly on Android on Pandora. We don't need a port. Plus notaz mentioned that this method works best with games that have software rendering and not directx calls -> so you can forget about the relatively recent 3d games, and Max Payne is one of them. 
 
Last edited by a moderator:
Had a crash at approx. the same place:
OK I see the crash in first protoss mission. it would have helped if you mentioned it was expansion one, was trying original first.
You can already play Max Payne perfectly on Android on Pandora. We don't need a port. Plus notaz mentioned that this method works best with games that have software rendering and not directx calls -> so you can forget about the relatively recent 3d games, and Max Payne is one of them.
Yeah it would make much more sense to support it in apkenv, that would avoid any GL issues as it's OpenGL ES already.
 
Back
Top