Homebrew CQuake for dsimode anyone?

  • Thread starter Thread starter wolfmanz51
  • Start date Start date
  • Views Views 16,824
  • Replies Replies 64

wolfmanz51

MrNintendosense
Member
Joined
Nov 24, 2008
Messages
428
Reaction score
27
Trophies
1
Location
Somewhere in cali
Website
www.youtube.com
XP
400
Country
United States
its a tresure hunt! Google code dsi file ds
Elhobbs said
QUOTE said:
it is single player only though. the mp3 support currently requires 96kbs 22khz stereo encoded files at this point. stereo becuase I have not added mono support yet and 96kbs 22khz because the arm7 cannot decode much faster than that. it looks in the id1/music folder for files named 02.mp3 through 11.mp3 - the numbers represent the track numbers on the original CD.

EDIT: this is not coded specifically for DSi mode it just works with the ievo compatibility layer
 
Froze when I tried to load it without the mp3s.
I went on a 3-4 hour hunt for the mp3s yesterday, and I found the original ISO, so I ripped the songs off of it. But there are only 10 tracks (your post says it needs tracks 2-11, but there is no 11). What do I do?
 
YayMii said:
Froze when I tried to load it without the mp3s.
I went on a 3-4 hour hunt for the mp3s yesterday, and I found the original ISO, so I ripped the songs off of it. But there are only 10 tracks (your post says it needs tracks 2-11, but there is no 11). What do I do?
IIRC, "Track 1" is the game data, Track 2~11 are what is playable in a CD player.
 
Haven't gotten either version to work. I managed to get the July 2008 version working, but it doesn't have mp3 support.
 
wolfmanz51 said:
its a tresure hunt! Google code dsi file ds
Elhobbs said
QUOTE said:
it is single player only though. the mp3 support currently requires 96kbs 22khz stereo encoded files at this point. stereo becuase I have not added mono support yet and 96kbs 22khz because the arm7 cannot decode much faster than that. it looks in the id1/music folder for files named 02.mp3 through 11.mp3 - the numbers represent the track numbers on the original CD.

EDIT: this is not coded specifically for DSi mode it just works with the ievo compatibility layer
it is built using the latest libnds - so, by that measure it is built for the dsi and the ds. also, your links point to specific (older) releases. the latest version can be found at this url cquake latest svn. I can confirm that it works with the ievo but I do not have another way to launch dsi homebrew.

as far as setup goes - if you can get the July 2008 version running then the latest svn version should run as well. I need to change the way that the heapsize is currently being determined. right now you need to alter the cquake.ini file in the root of your card to get the dsi to use more memory. I set the heapsize to 15000 for dsi mode. the problem is that it will then fail in ds mode - though if you can run it in dsi mode then why would you want to run it in ds mode?
 
I'm not trying to run it in DSi mode, I'm using a DStwo.
But r25-r29 gives me rainbow bars on the bottom screen when initializing data, I haven't tried r30, but r31-r34 blurs/shakes the screen and stops when trying to load the mp3 (96kbs 22khz stereo, stops when loading track 2), and r35-r36 is the same except without the weird screen effects.

I don't know what went wrong, since r24 works completely fine for me.
 
YayMii said:
I'm not trying to run it in DSi mode, I'm using a DStwo.
But r25-r29 gives me rainbow bars on the bottom screen when initializing data, I haven't tried r30, but r31-r34 blurs/shakes the screen and stops when trying to load the mp3 (96kbs 22khz stereo, stops when loading track 2), and r35-r36 is the same except without the weird screen effects.

I don't know what went wrong, since r24 works completely fine for me.
try modifying your cquake.ini file in the root of your card. try changing heapsize to 3300. here is the cquake.ini file that I use with my dstwo on my dsi - I have quake installed in a directory named quake so that may not apply to you. as a note the cquake.ini file should be a single line of text with no carriage returns

-listgame -heapsize 3300 -basedir /quake

EDIT: I updated the value from 3395 to 3300 - I was using an older version on my dstwo. the latest version requires 3300 or it hangs
 
YayMii said:
Nope. Even with heapsize 3300, it freezes when loading track 2.
that is odd. I must confess that I am not much of an mp3 expert. does it work without the mp3 files present? they may be encoded in a format that is not compatible with the mp3 library (helix) that cquake uses. I converted the files using itunes. I set the import format to mp3, 96kbs, stereo - then import the quake cd.

try removing the mp3 files and see if it works. if it still hangs then the mp3 files are not the problem.
 
Without the MP3s, I get an error... (I'm using r36)

I've taken the time to copy down the whole error screen:
Code:
Guru Meditation Error!
data abort!

pc: 02017FF6 addr: 00002000

r0: 00002000ÂÂ r8 : 00002000
r1: 02000B44ÂÂ r9 : 00002000
r2: 00002000ÂÂ r10: 00002000
r3: 00002000ÂÂ r11: 00000001
r4: 02000B44ÂÂ r12: 00007FFF
r5: 00002000ÂÂ sp : 0B003B9C
r6: FA10F017ÂÂ lr : 02015D63
r7: 00000000ÂÂ pc : 02017FFE

0B003B9C:ÂÂ00000000 00100000
0B003BAC:ÂÂ00002000 0205C9C8
0B003BB4:ÂÂ02015D63 00000000
0B003BB4:ÂÂ00000000 00000000
0B003BBC:ÂÂ024F4000 02010857
0B003BC4:ÂÂ0B0036BC 00000000
0B003BCC:ÂÂ00002000 00000001
0B003BD4:ÂÂ00002000 3FFE6F80
0B003BDC:ÂÂ02015D93 00000000
0B003BE4:ÂÂ0204E32D 00000001
 
the specified address does not point to cquake code. this usually happens when the filesystem is not fully defragmented. cquake bypasses libfat in certain places, but it relies on the filesystem being fully defragmented. when it is not then bad data gets read from disk and it crashes. this really helped performance at one point - not sure if it still does...
 
You can effectively "defragment" flash memory by copying all your data off the card, doing a full format, and copying it back on. I know you said you don't want to format, but I'd keep it as an option.
 
I will take another look at removing that requirement. there is a lot of disk reading going on in ds mode as there is only around 1-1.2 MB available for caching models and sounds effects. mp3 only uses about 16 kb (or 24 kb - i forget) but not enough to make a big difference.

it definitely can be removed for dsi mode where disk reads are less frequent, but it may make things unplayable in ds mode.
 
I updated the svn (r37) that removes the libfat bypass code path. this removes the requirement for a defragmented filesystem.
 
Hmm... I can get it to work now through the default plugin menu now, but I get the exact same error when I launch cQuake in iMenu.
 
Latest SVN version is working with Sudoku exploit =D
very cool, thanks elhobbs =)

Has it been confirmed as working with the Cyclos dsi mode?

edit: missed this reading through the first time=p
elhobbs said:
it is built using the latest libnds - so, by that measure it is built for the dsi and the ds. also, your links point to specific (older) releases. the latest version can be found at this url cquake latest svn. I can confirm that it works with the ievo but I do not have another way to launch dsi homebrew.
 
I have a DSLite with a DSTT, wich build was last supported under these specs and is it better than the QuakeDS found over @ DrunkenCoders?
 
I got this to work with SudokuHax and it is awesome. Full sound, touch control, extra cpu speed, -- everything! Couldn't believe it worked! Anybody else get it to work with S-Hax?

Edit: I'll settle down now.
biggrin.gif
Hey elhobbs! (Didn't expect to see the dev here!) This is cool, good job man!
Quick simple question: is it possible to save with S-Hax Quake?
 
Nice! Always good to see another homebrew that works with Sudoku, and this is one of my favorites from way back.
Seeing as the SD lib apparently doesn't yet support writing to memory, I edited the cfg files settings to suit my taste: brighter lighting, touch screen sensitivity increased, dpad strafing, and a few other assorted setting tweaks. This way I won't have to change a bunch of settings every time I play. If anyone else would like to use them, here they are:

http://rapidshare.com/files/450707799/autoexec.zip

Just extract them to your ID1 folder, replacing the existing ones.
 

Site & Scene News

Popular threads in this forum