I'm working on Quake again, requesting some advice

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

ataxy
Posts: 26
Joined: Fri Apr 13, 2007 6:50 am

Post by ataxy »

so any new on the quake front is this port back into hibernation
MDave
Posts: 82
Joined: Mon May 09, 2005 10:43 pm

Post by MDave »

Well, since PeterM can't work on the port anymore, and cswindle isn't active, it looks like you have to rely on other people to continue the port. Or work on it yourself. I've only done little bits here and there, but mainly features for my own quake based game project. I'm no real programmer so I can't figure out how to manage the texture memory correctly and thus, can't do lightmapping either :( . I wish the port was completed by someone more able then me. In the end I'll probably switch to the Dungeons 2 engine, depending on how much user created content can be used :)
ataxy
Posts: 26
Joined: Fri Apr 13, 2007 6:50 am

Post by ataxy »

thats what i tought to, its unfortunate that i aint no progammer to so i guees that was the last whe heard of it, well still i want to thx peteM and cswindle for the effort they have put in this port
Be3f
Posts: 59
Joined: Thu Mar 15, 2007 9:28 pm

Post by Be3f »

http://www.dcemu.co.uk/vbulletin/showthread.php?t=79042
PSP Quake 1 ver. 1.0
Release by jurajstyk

This is a port of ID Software's Quake 1 to the PSP.
Based on PSP Quake port by Peter Mackay and Chris Swindle.

Developed and tested on PSP with firmware version '3.40 OE'.

Features
--------

Working:
- Music playback trough MP3 implemented with MAD audio library (can be switched on/off from options menu)
- Software and Hardware rendering.
- Single player game
- Sound
- Save/Load
- Console commands
- Command line params (through 'quake.cmdline' file)
- Multiple screen resolutions in software rendering (trough command line params)
- User made maps loading (from console or command line params)
- User made mods loading (through command line params)
- Demo recording and playback (from console)
- On Screen Keyboard

Known issues:
- Some mods or maps might not work due to memory constrains or might not work correctly
- timerefresh command disabled in hardware rendering (stability issue)
- Some maps require raising 'r_maxsurfs' and 'r_maxedges' to render correctly in SW client
(can be done from command line or console)
00000110 00000110 00000110
Cpasjuste
Posts: 214
Joined: Sun May 29, 2005 8:28 am

Post by Cpasjuste »

Thanks to raphael and cooleyes (and jurajstyk of course), i'v made some slim optimisation to the source code :

Quake 1 for PSP v 1.0 Psp Slim Optimized

- Quake heap size is now 40Mb (40Mb of available memory for your hudge quake maps!)
- Disabled debug console that was writing to the memory stick.
- Disabled texture downscale by default
- Libmad software mp3 decoding is replaced by the PSP hardware mp3 decoding!

Thanks to Juraj Styk for his perfect Quake 1 port.
Thanks to cooleyes @ forums.ps2dev.org for his hardware mp3 decode sample.
Download : http://mydedibox.fr/index.php?option=co ... &Itemid=53

Source code : http://mydedibox.fr/index.php?option=co ... &Itemid=53
Last edited by Cpasjuste on Thu Nov 22, 2007 8:16 am, edited 1 time in total.
PeterM
Posts: 125
Joined: Sat Dec 31, 2005 7:25 pm
Location: Edinburgh, UK
Contact:

Post by PeterM »

Congrats to all involved - good work guys!
http://aaiiee.wordpress.com/

I can no longer do any homebrew PSP development nor discuss PSP specific topics.
Wraggster
Posts: 121
Joined: Fri Aug 26, 2005 7:40 am
Contact:

Post by Wraggster »

Nice ill test this on my PSP slim when it arrives, thanks for the news.
Webmaster of http://www.dcemu.co.uk

DCEMU The Worlds Only Homebrew & Gaming Network of Sites.
7oby
Posts: 25
Joined: Fri Jun 09, 2006 2:18 am

Post by 7oby »

Excellent work ! And as far as I remember the first application that makes use of Slim's 64MB !

I quickly testet the Slim version and it runs on the Slim, but does not on the Phat (as expected).
Be3f
Posts: 59
Joined: Thu Mar 15, 2007 9:28 pm

Post by Be3f »

Cpasjuste - awesome update, now huge mods work on Slim & MP3 doesn't slowdown framerate much! How about the kernel & user modes builds for the PSP-Fat with hardware MP3 streaming (have no psp-sdk, cygwin & toolchail installed on this new laptop to compile anything myself...)? ;-)
00000110 00000110 00000110
Be3f
Posts: 59
Joined: Thu Mar 15, 2007 9:28 pm

Post by Be3f »

I've made a new PIC1.PNG (using Quake boxart) and edited ICON0.PNG, added SND0.AT3 (small part of the Metallica - Nothing Else Matters) and recompiled Hardware Kernel EBOOT with no kxploit (single EBOOT, no second dir with %). That's how it's displayed in the PSP XMB:

Image

Download: PIC1.PNG; ICON0.PNG; SND0.AT3 and the HW-KM EBOOT with this art:
here

If you like it, include this art into next releases ;-)
00000110 00000110 00000110
MDave
Posts: 82
Joined: Mon May 09, 2005 10:43 pm

Post by MDave »

Amazing work jurajstyk, and Cpasjuste for the mp3 hardware decoding build!
I'll definetly use these versions for my quake mod. Noticed 2 bugs though with the mp3 hardware decoding version though:

Crashes when a track has finished playing, and crashes if you exit the game with the CD/MP3 option turned off. I've tried to fix the bugs, but no success so far.

Oh and here's a temporary fix for the player skins in multiplayer (dosn't use the color's set in the options, but better then the garbage that's usually seen.)

In video_hardware_main.cpp, in the R_DrawAliasModel function:

Code: Select all

change this line:

	if (currententity->colormap != vid.colormap/* && !gl_nocolors.value*/)

into:

	if (currententity->colormap != vid.colormap && 0)

Cpasjuste
Posts: 214
Joined: Sun May 29, 2005 8:28 am

Post by Cpasjuste »

Hehe shame on me, it seems i did not test enough my build ...
I will try to fix this soon if nobody do it.
Be3f
Posts: 59
Joined: Thu Mar 15, 2007 9:28 pm

Post by Be3f »

Are all textures cashed in the video memory, or in the main RAM? Now there is enough RAM for mipmaps, or even hi-rez textures with mips In PSP-Slim. Can anyone imlement the additional textures support to the Slim version, like almost all modern PCQuake-ports have? With 16 bit color (the best solution is imho GU_COLOR_5650 - perfomance/quality balance), higher resolutions and standart format (better TGA). I guess that 96x96 or 128x128 res (instead of original 32x32) for textures will be the best compromice (quality/memory/perfomance), and mipmapping will save high framerate...

I have a huge collection of defferent Quake-retexturing PAKs (and the unique compilation of the best textures from these packs - all 600+ textures are remastered very professionaly!) and wanna play around with them in Irfan View for Quake-PSPSlim, but i'm noob in C coding...
00000110 00000110 00000110
cloudhunter
Posts: 86
Joined: Thu Aug 17, 2006 3:27 am

Post by cloudhunter »

Cpasjuste wrote:Hehe shame on me, it seems i did not test enough my build ...
I will try to fix this soon if nobody do it.
Any chance of making it work on both Fat and Slim with one eboot? There are functions to detect whether a PSP is a Fat or a Slim.

Cloudy
:)
Cpasjuste
Posts: 214
Joined: Sun May 29, 2005 8:28 am

Post by Cpasjuste »

I will cloud :)

Be3f could you provide me some link to some good q1 texture pack ?
cloudhunter
Posts: 86
Joined: Thu Aug 17, 2006 3:27 am

Post by cloudhunter »

Would it be possible to have IR keyboard in it aswell? I'm sure there was a build with IR keyboard support - and if you could implement that, it'd be perfect :)

Cloudy
:)
ataxy
Posts: 26
Joined: Fri Apr 13, 2007 6:50 am

Post by ataxy »

Cpasjuste wrote:I will cloud :)

Be3f could you provide me some link to some good q1 texture pack ?
go there for texture
http://facelift.quakedev.com/
Be3f
Posts: 59
Joined: Thu Mar 15, 2007 9:28 pm

Post by Be3f »

ataxy wrote:
Cpasjuste wrote:I will cloud :)

Be3f could you provide me some link to some good q1 texture pack ?
go there for texture
http://facelift.quakedev.com/
Yes that's it, but i dislike the latest Quake-Retexturing PAKs.

Here you are a comparison of some textures from the last QRP and my "unique compilation of the best textures", see the difference:

Image
Image

Image
Image

Image
Image

Other examples:
http://img402.imageshack.us/img402/1236/light12md9.png
http://img221.imageshack.us/img221/2153/light12bcn2.png

http://img221.imageshack.us/img221/7751/quakehf1.png
http://img254.imageshack.us/img254/5243/quakebbs1.png

http://img254.imageshack.us/img254/2421/wall98wy2.png
http://img221.imageshack.us/img221/494/wall98bnk3.png

http://img254.imageshack.us/img254/5012/m55eu0.png
http://img254.imageshack.us/img254/9499/m55bov2.png

http://img221.imageshack.us/img221/613/wizmet13gm8.png
http://img221.imageshack.us/img221/8213 ... 13bvz3.png

http://img254.imageshack.us/img254/3258/1planetzn2.png
http://img402.imageshack.us/img402/5948/1planetbyj1.png

http://img402.imageshack.us/img402/715/key021rv0.png
http://img254.imageshack.us/img254/2874/key021bil8.png

When i say unique, i mean that you won't find most of these textures anywhere in the web. So, i've uploaded my PAK to the filefront.com, download it here (120 Megs) (compressed with 7zip archivator: www.7zip.org) ;)

Btw, i used some of these textures in the Dark Dungeons mod for the Dungeons3D-PSP v0.6 (http://www.dcemu.co.uk/vbulletin/showthread.php?t=44879). I used up to ~15 textures per game level in 256x256 res with mipmapping in the GU_COLOR_5650: for the dungeons engine there was space for two 256x256 textures with mips in PSP VRam (or 7 128x128), other vere cashed in the main RAM. Dungeons engine 2 (WIP...) supports up to 512x512 textures (i've tested four 512x512 textures with map in the PSP-Gallery demo). Quake loads much more textures for each map and other stuff, but i think that twice increased RAM in PSP-Slim will be enough for 128x128 textures with mips.

P.S. And here you are the most advanced Quake-Retexturing Mega Pak by Rygel: http://www.quakeone.com/forums/showthread.php?t=2778 - 2,7 GB of the high res (up to 1024x1024!) textures with bumpmapping (normal, specular & diffuse maps included) better used with DarkPlaces engine, requires powerful PC with huge Videoram...
00000110 00000110 00000110
Post Reply