Results 1 to 9 of 9

Thread: Duke3D on PSP (Revive)

                  
   
  1. #1
    DCEmu Newbie
    Join Date
    Nov 2006
    Posts
    18
    Rep Power
    0

    Default Duke3D on PSP (Revive)

    i don't want to let it die, but if anybody is interested in picking this up the source is availible.

    but i have another question how hard would it be to merge the working eduke code with the port that stereomike did?


    http://www.eduke32.com/downloads

    http://thesaint.mine.nu/~stereomike/...3d_src_psp.zip

  2. #2
    DCEmu Rookie
    Join Date
    Nov 2005
    Location
    El Paso, TX
    Age
    40
    Posts
    132
    Rep Power
    72

    Default

    I second your vote but there currently isn't anyone very capable to doing a project like this. There are two guys who might be able to bring us this miracle though, their name's are kgsws˜ and jurajstyk. jurajstyk ported Hexen 2 (First one to ever do it!)
    and kgsws˜ perfected our Heretic and Hexen by making updates to them that fixed most of the bugs encountered.
    I for one would love to see a actual descent port of Dukenukem 3d. The source is there but no one is grabbing the oportunity to do it because it probably is way too challenging to handle and updates will have to be a must. If anyone picks this project up, they will have a heavy burden to bear in order to perfect this. I think eduke will be cool to port as well! But again, these two projects would have to be picked up by a developer who would love to please millions and have a challenge in perfecting this awesome game!

  3. #3
    DCEmu Coder
    Join Date
    Feb 2007
    Location
    Cleveland, OH USA
    Posts
    41
    Rep Power
    0

    Default

    I'm currently working on it. I have been working on it for a week or so and it compiles flawlessly but I'm encountering strange linker errors that I'm trying to get resolved. After that I'll see if it actually runs then work out the kinks. I would have just used stereomike's code but the link is broken, and someone showed me another link of stereomike's port and it turned out to be just the regular jfduke3d source code that you can get anywhere, nothing psp specific. So I've been working on it from scratch :\ Anyway the code base for mine is eduke32. When I went to get jfduke the site was down so I grabbed eduke. I just wanted to let you guys know that atleast ONE person is working on it (me) and I'm not promising anything but progress has been made. The only real problem I've had are these god-damned linker errors:

    psp-gcc -o eduke32 obj.nix/game.o obj.nix/actors.o obj.nix/anim.o obj.nix/animlib.o obj.nix/config.o obj.nix/gamedef.o obj.nix/gameexec.o obj.nix/global.o obj.nix/menus.o obj.nix/namesdyn.o obj.nix/player.o obj.nix/premap.o obj.nix/savegame.o obj.nix/sector.o obj.nix/rts.o obj.nix/testcd.o obj.nix/osdfuncs.o obj.nix/osdcmds.o obj.nix/util_lib.o obj.nix/file_lib.o obj.nix/control.o obj.nix/keyboard.o obj.nix/mouse.o obj.nix/mathutil.o obj.nix/scriplib.o obj.nix/audiolib_musicstub.o obj.nix/audiolib_fxstub.o obj.nix/sounds.o eobj.nix/libengine.a -L/usr/local/pspdev/psp/lib -lSDLmain -lSDL -lm -L/usr/local/pspdev/psp/sdk/lib -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputility -lpspkernel -lpspnet_inet -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -lsupc++ -Wl,-Map=eduke32.map
    obj.nix/game.o: In function `strip_color_codes':
    game.c.text+0x6fc): relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'
    game.c.text+0x72c): relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'
    obj.nix/game.o: In function `gametext_':
    game.c.text+0x87c): relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'
    game.c.text+0x8ac): relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'
    game.c.text+0xa44): relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'
    game.c.text+0xa78): relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'
    obj.nix/game.o: In function `minitext_':
    game.c.text+0xfe4): relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'
    obj.nix/game.o: In function `checksync':
    game.c.text+0x733c): relocation truncated to fit: R_MIPS_GPREL16 against `syncstate'
    obj.nix/game.o: In function `strget_':
    game.c.text+0xe2e4): relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'

  4. #4
    DCEmu Rookie BlackShark's Avatar
    Join Date
    Mar 2006
    Posts
    107
    Rep Power
    71

    Default

    can you post Game.c please?

  5. #5
    DCEmu Coder
    Join Date
    Feb 2007
    Location
    Cleveland, OH USA
    Posts
    41
    Rep Power
    0

    Default

    game.c isn't the problem. I have errors like that throughout the whole program. What it is, is the linker is trying to cram too much into the small data sections of the executable. I've tried -G0 but it's still not working.

    Unfortunately, I'm not skilled enough in MIPS relocation to figure out how to fix the problem.

    I tried recompiling the toolchain and the SDK but I'm still getting the problems. This is a pretty well documented problem with MIPS architecture but the answer to the problem is not. -G0 should fix the problem but it doesn't in my case so I'm back to the drawing board

  6. #6
    DCEmu Rookie Be3f's Avatar
    Join Date
    Mar 2006
    Posts
    139
    Rep Power
    70

    Default

    MrPeanut - it's great, that you have reincarnated DN-PSP project! (i was sure, that none will pick it up...)

    You'd better ask question about compiling on the ps2dev.org forum (here) - just create new thread there...

  7. #7
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    Quote Originally Posted by Be3f View Post
    MrPeanut - it's great, that you have reincarnated DN-PSP project! (i was sure, that none will pick it up...)

    You'd better ask question about compiling on the ps2dev.org forum (here) - just create new thread there...
    Already has: http://forums.ps2dev.org/viewtopic.p...6dfe8ad9bd740a

  8. #8
    DCEmu Rookie
    Join Date
    Sep 2005
    Posts
    149
    Rep Power
    72

    Default

    we seriously need a good dn port for the psp >_>

  9. #9
    DCEmu Coder HardHat's Avatar
    Join Date
    Feb 2006
    Posts
    163
    Rep Power
    71

    Default

    I took a look at the eduke32 site, and it sounds pretty interesting. I haven't looked over the source code yet but maybe I'll have some time for a port in a couple of months.

    That -G0 problem will go away if you do a make clean first then add -G0 to the CFLAGS= line of your makefile. It is an easy mistake to make when doing a port.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •