Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by mr_lou

  1. Is there anyone out there who's interested in doing some Twitch streams of Blu-Play games? :-) Could probably boost the interest among devs.
  2. Any news? Is the project ready to be added to the Games section at blu-play.com yet? 🙂
  3. Very impressive! I'm puzzled how it can result in such a speed difference, by placing the WAD outside the jar. I would have expected it to be faster if it was inside the jar.
  4. Gotta be honest and admit that I didn't even know Doom had a multiplayer mode. Is it one-on-one then, or is it teamwork against the enemy? 🙂 Something tells me I'll be spending a lot of time with this game when the Blu-Play port is complete.
  5. Let me know when everything is complete and ready to be added to the Games page at Blu-Play.com 🙂 And feel free to add the Blu-Play logo somewhere. https://www.blu-play.com/logo.svg
  6. Yea, sounds fairly simple. But a relay server? Isn't that usually one of the clients? Is such a server also included in the Blu-Play port?
  7. I'll have to experiment with separate sound files. The main reason I went with a sound.bdmv file, was because that archived discussion forum at Markmail.org advised it. Most people seemed to have trouble getting sound working in other ways, and the JMF was also recommended for having more options such as panning and volume setting, which HSound doesn't have. The Player object does as a stop() method. Regarding music: Why not just use a video with an mp3 file? Would be a lot easier. And although you can play simultaneous sounds, I seriously doubt it'll work with that many simultaneous sounds. You're basically talking about a MOD/MIDI player lib. And that would definitely be impressive. Network: Is anyone else still playing Doom anymore? 🙂 I think IPX would probably be overkill. Maybe as a final step when everything else is done, if you're still missing a challenge at that time?
  8. Indeed yes! Couldn't test on the PS3 right now, but even on my standard Sony Blu-ray player, multiple sounds are playing at the same time! Well done! I guess HSound is the key. I've been using a sound.bdmv for my projects so far and loaded the sounds with a Player. Must try out HSound next time!! Again: Really impressive work! What's next? Is it complete now? I never really got to play Doom back in the day. But I think I'm gonna start when this port is done. 😄
  9. Does that mean the download binary contains sound effects now? 🙂
  10. How did you create your sound.bdmv file? I used a tool from the HD Cook Book to do it. Basically it just takes a bunch of wav files as parameters to generate the file. Maybe you created a sound.bdmv that is too big? Or doesn't contain 48Khz wavs? From the Markmail site:
  11. Here's the code I use to load from sound.bdmv in Ukko's Journey. So that should work for you too. Note though, that VLC and Kodi doesn't handle this yet. So you can't hear anything if testing with one of those. private javax.media.Player load(String number) { try { org.bluray.net.BDLocator bdl = new org.bluray.net.BDLocator("bd://SOUND:" + number); org.davic.media.MediaLocator ml = new org.davic.media.MediaLocator(bdl); return javax.media.Manager.createPlayer(ml); } catch (Exception e) { return null; } }
  12. I was just recording a video myself when you posted this. 🙂 Gonna upload soon.
  13. It's awesome that you're so active with this project. The only thing your updates needs are photos. 🙂 Or maybe even videos. I may create some later.
  14. New link https://discord.gg/7bkeJEP
  15. A Blu-Play Discord server has been created. Feel free to drop by. https://discord.gg/qeQbMd https://discord.gg/7bkeJEP
  16. hmkay.... I think it'll be more important to people to be able to move forward + left/right at the same time though.
  17. Really? It's supposed to fill the whole screen? Here it's just rendered in the top left corner. Both on PS3 and a standard blu-ray player I tested on. But if you use a smaller resolution you'll get a higher framerate too. And higher framerates are always good. 🙂 You don't have to remove forward movement from the UP button just because you also put it on a shoulder button. Alternatively, you could add a way to redefine controls, like I've done in Ukko's Journey.
  18. Holy moly!!! This is really impressive!!! I did not expect it to run this smoothly at all! This is looking very promising indeed! Tested on PS3. You should be able to setSize(720, 480) instead of 1920x1080 in order to fill more of the screen. 🙂 Consider using L1 or R1 for forward, so you can press L1 + LEFT/RIGHT to move forward and left/right at the same time. Sadly, the gamepad doesn't allow us to press UP+LEFT/RIGHT at the same time in blu-ray mode. But any other buttons can be pressed and held fine. This is one of the annoying limitations of Blu-Play. And it's even worse on Xbox One. For "The UFO Game!" I added shoulder buttons for UP+LEFT, UP+RIGHT, DOWN+LEFT, DOWN+RIGHT - all firing at the same time. Do you need/want help with audio? I can look into creating an m2ts file with the music, and a sound.bdmv file with the sound effects.
  19. Interesting project. I will link to it on blu-play.com 🙂
  20. Ok, so the PS4 gives about 32 megapixels to the Xlet - twice as much as the specs dictate. It would be interesting to see what normal players will do. It could be that 32 megapixels is an unwritten standard nowadays. Keep in mind the original BD-J specs are nearly 20 years old now.
  21. Nice find! It is not a hack though. BD-J specification states that players have minimum 11.9 megapixels of memory (for non-networked players). And 16.1 megapixels for networked players (BD-Live players). This does not mean some players can't have more though. Likewise, BD-J specification states that a JAR should be max 4 mb in size. But again, this doesn't mean some players doesn't accept bigger jars. Those are merely minimal requirements for manufacturers to follow. Your findings is a great example though, showing that the PS4 console (and probably PS3 too) have much greater potential than your average blu-ray player. It would seem that the BD-J Xlet use the same memory as everything else on the console. If so, the sky is the limit, which is awesome of course. It would be interesting to see how many images you can create. What happens if you try with 100? 200? 🙂
  22. Yea, there's lots of useful help at that archived markmail forum. 🙂 Looking forward to see what you're brewing. 😎
  23. The L1, L2, R1 and R2 buttons work as NEXT TRACK, PREVIOUS TRACK, FAST FORWARD and REWIND. But an Xlet can capture those buttons too. You just need two steps: First: The BDJO file 00000.bdjo in the BDJO folder contains a lot of attributes relating to the JAR file. The HD Cookbook project contains a jar app you can use to convert the BDJO file into an XML file for editing, and convert back again. https://github.com/oliverlietz/bd-j/tree/master/DiscCreationTools/net.java.bd.tools.bdjo java -jar bdjo.jar 00000.bdjo 00000.xml Edit the XML in your favorite text editor. Look for a tag named keyInterestTable. For "The UFO Game!" it looks like this: <keyInterestTable>0xffe00000</keyInterestTable> This value indicates which buttons the Xlet should be able to use. PLAY = 0x80000000; STOP = 0x40000000; FAST_FWD = 0x20000000; REWIND = 0x10000000; TRACK_NEXT = 0x08000000; TRACK_PREV = 0x04000000; PAUSE = 0x02000000; STILL_OFF = 0x01000000; SECONDARY_AUDIO_ENABLE_DISABLE = 0x00800000; SECONDARY_VIDEO_ENABLE_DISABLE = 0x00400000; PG_TEXTST_ENABLE_DISABLE = 0x00200000; Add them all up, and you get 0xffe00000. Save and convert the XML back to a BDJO file: java -jar bdjo.jar 00000.xml 00000.bdjo Here's a bdjo file from the Minimal SDK where I changed the value for you. https://www.blu-play.com/00000.bdjo Then: In your Xlet code, you need to create a UserEventRepository, and add keys you want to use. org.dvb.event.UserEventRepository rep = new org.dvb.event.UserEventRepository("SomeNameForYourRepository-DoesntReallyMatterWhat"); rep.addAllArrowKeys(); // All dpad buttons rep.addKey(org.havi.ui.event.HRcEvent.VK_ENTER); // Cross rep.addKey(org.bluray.ui.event.HRcEvent.VK_POPUP_MENU); // Square rep.addKey(org.bluray.ui.event.HRcEvent.VK_PAUSE); // Circle (but only works with Dualshock 4) rep.addKey(org.bluray.ui.event.HRcEvent.VK_TRACK_NEXT); // R1 rep.addKey(org.bluray.ui.event.HRcEvent.VK_TRACK_PREV); // L1 rep.addKey(org.bluray.ui.event.HRcEvent.VK_FAST_FWD); // R2 rep.addKey(org.bluray.ui.event.HRcEvent.VK_REWIND); // L2 org.dvb.event.EventManager.getInstance().addUserEventListener(this, rep); Now you should be able to receive these buttons in your Xlet.
  24. Actually, it would be better to create a new thread. 🙂 Will make it easier for other devs to find answers later. Lots of different questions (and answers) will be good and helpful to this forums users. Please create a new thread. Meanwhile I'll put together an answer for you.
  • Create New...