Post by Tinnus on Feb 4, 2008 2:18:30 GMT 1
Hey hey hey! It's finally freaking here!
Wow! Now that everyone thought LJX would never see the light of the day (although it *is* night here now), much less a Palm version, man, isn't that a cool surprise.
This is a proof-of-concept of the LJX NES module for Palm. Yay! Still no sound though as I just got it to work ;D
Get the files at www.little-john.net/files/lj-palm-poc1.zip
OK, now you might ask what the heck to do with those? Fear not, as I shall explain below.
READ THE FULL INSTRUCTIONS BEFORE DOING ANYTHING WRONG AND COMPLAINING HERE! ;D
Anyway.
- All of the operations suppose you're working with the FIRST VOLUME of your device. This is a proof-of-concept, not a complete, beta, or even alpha product, so for now it just works with the first volume and that's it, sorry.
- "First volume" means internal drive in LD or TX, Left Slot on Zodiac (I think) and the only card for devices that only have 1 slot (duh).
- Some devices seem to have a hidden internal volume, either you get a way to get files in there or wait until it works elsewhere ;D
Now for the installation instructions:
- Create the following folders in your card:
/PALM/Programs/Little John/
/PALM/Programs/Little John/NES/
/PALM/Programs/Little John/NES/Roms/
- Copy emudata.dat to the Little John folder
- Get a ROM (zipped should work but I only tested with unzipped ) and put it in the Roms folder
- Put either lj-nes.prc or lj-nes_tellkeys.prc in your device (they will replace each other). I'll explain later the difference between them.
OK, now for the "select game" screen. That would be your text editor of choice. Open emudata.dat inside something in your PC (or Palm, if you have a text editor in there) and replace "mario3.nes" in the 5th line with the name of your ROM file. Keep the NES/Roms part in there! Actually you could put the ROM anywhere in the card and specify a full path starting with a "/", but I haven't tested that as well. DO not modify any of the other lines (yet) or you will get seriously screwed up.
Now, you should start with lj-nes.prc, which is the real thing, so just HotSync it or whatever to get it running and run it. It *should* work, providing you got the files and configs right. If not, double-check everything and be sure the volume you used is the first (it would be the first FileZ puts in the root list after the internal Palm FS).
Now for the keys. They are configured for a LifeDrive, and some devices have different codes for the directions. If this is the case, send the lj-nes_tellkeys.prc one to your device and run it. WHen you press a key, instead of the action taking place, it will tell you a number in the top-left corner like "Pressed key x" where x is a number. Take note of that number along with the key you pressed, then do it will all the keys you want to change. Now open emudata.dat again and find lines 41-48 (41 should be "1" and 48 should be "4"). These are the key configs, in order: up, down, left, right, a, b, start, select. Now replace them with the key numbers you got earlier as you please. Then save emudata.dat back to the card and send the regular lj-nes.prc again.
Yeah, I know it's ridiculously awkward, but get your keys taken note of once and they will work for all of the other modules I could be releasing in the following days ;D
OK, general remarks:
- It may crash, freeze, etc, but shouldn't corrupt anything seriously. Hmm, maybe if you're using UDMH and screw the emuda.dat thing completely. (DON'T DO THAT.)
- No sound yet. I will do it soon, but wanted to get a POC ASAP first.
- FPS is in the top left corner all the time. 58 should be fullspeed. I'd *really* appreciate framerate reports, especially from weak/underclocked devices like the T|E, Zire 31, Zodiac, etc. (BTW I'm not sure if it will work at all in the Zodiac yet due to the way I access the screen). I know that it runs at ~105 FPS if I uncap the framerate in my LD at regular 400MHz.
- Frameskip is always at zero, so the performance is real. Well, apart from sound, but that's almost free for the NES.
- There's no turbo, save state or anything like that. SRAM should be saved in the NES/Saves folder but I've not tested. Additionally, sava state/load could work if you change lines 75 and 76 in emudata.dat to some key codes like the ones you got before.
- The power key exits. I left this one in the end so everyone has to read everything first ;D
OK, that's it. Please leave your opinions!
Wow! Now that everyone thought LJX would never see the light of the day (although it *is* night here now), much less a Palm version, man, isn't that a cool surprise.
This is a proof-of-concept of the LJX NES module for Palm. Yay! Still no sound though as I just got it to work ;D
Get the files at www.little-john.net/files/lj-palm-poc1.zip
OK, now you might ask what the heck to do with those? Fear not, as I shall explain below.
READ THE FULL INSTRUCTIONS BEFORE DOING ANYTHING WRONG AND COMPLAINING HERE! ;D
Anyway.
- All of the operations suppose you're working with the FIRST VOLUME of your device. This is a proof-of-concept, not a complete, beta, or even alpha product, so for now it just works with the first volume and that's it, sorry.
- "First volume" means internal drive in LD or TX, Left Slot on Zodiac (I think) and the only card for devices that only have 1 slot (duh).
- Some devices seem to have a hidden internal volume, either you get a way to get files in there or wait until it works elsewhere ;D
Now for the installation instructions:
- Create the following folders in your card:
/PALM/Programs/Little John/
/PALM/Programs/Little John/NES/
/PALM/Programs/Little John/NES/Roms/
- Copy emudata.dat to the Little John folder
- Get a ROM (zipped should work but I only tested with unzipped ) and put it in the Roms folder
- Put either lj-nes.prc or lj-nes_tellkeys.prc in your device (they will replace each other). I'll explain later the difference between them.
OK, now for the "select game" screen. That would be your text editor of choice. Open emudata.dat inside something in your PC (or Palm, if you have a text editor in there) and replace "mario3.nes" in the 5th line with the name of your ROM file. Keep the NES/Roms part in there! Actually you could put the ROM anywhere in the card and specify a full path starting with a "/", but I haven't tested that as well. DO not modify any of the other lines (yet) or you will get seriously screwed up.
Now, you should start with lj-nes.prc, which is the real thing, so just HotSync it or whatever to get it running and run it. It *should* work, providing you got the files and configs right. If not, double-check everything and be sure the volume you used is the first (it would be the first FileZ puts in the root list after the internal Palm FS).
Now for the keys. They are configured for a LifeDrive, and some devices have different codes for the directions. If this is the case, send the lj-nes_tellkeys.prc one to your device and run it. WHen you press a key, instead of the action taking place, it will tell you a number in the top-left corner like "Pressed key x" where x is a number. Take note of that number along with the key you pressed, then do it will all the keys you want to change. Now open emudata.dat again and find lines 41-48 (41 should be "1" and 48 should be "4"). These are the key configs, in order: up, down, left, right, a, b, start, select. Now replace them with the key numbers you got earlier as you please. Then save emudata.dat back to the card and send the regular lj-nes.prc again.
Yeah, I know it's ridiculously awkward, but get your keys taken note of once and they will work for all of the other modules I could be releasing in the following days ;D
OK, general remarks:
- It may crash, freeze, etc, but shouldn't corrupt anything seriously. Hmm, maybe if you're using UDMH and screw the emuda.dat thing completely. (DON'T DO THAT.)
- No sound yet. I will do it soon, but wanted to get a POC ASAP first.
- FPS is in the top left corner all the time. 58 should be fullspeed. I'd *really* appreciate framerate reports, especially from weak/underclocked devices like the T|E, Zire 31, Zodiac, etc. (BTW I'm not sure if it will work at all in the Zodiac yet due to the way I access the screen). I know that it runs at ~105 FPS if I uncap the framerate in my LD at regular 400MHz.
- Frameskip is always at zero, so the performance is real. Well, apart from sound, but that's almost free for the NES.
- There's no turbo, save state or anything like that. SRAM should be saved in the NES/Saves folder but I've not tested. Additionally, sava state/load could work if you change lines 75 and 76 in emudata.dat to some key codes like the ones you got before.
- The power key exits. I left this one in the end so everyone has to read everything first ;D
OK, that's it. Please leave your opinions!