Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mindslight

Pages: 1 2 3 [4] 5 6 ... 11
46
I made a new version (http://jo-engine.org/download/) with CD read-retry and a new function:

Code: [Select]
/** @brief Seek forward from current position of a file
 *  @param file Pointer to an allocated and valid jo_file struct
 *  @param nbytes number of bytes to skip
 *  @return true if succeed
 */
bool            jo_fs_seek_forward(jo_file * const file, unsigned int nbytes);

Now you can skip a part of a file and use jo_fs_read_next_bytes() after (just don't forget to shift the pointer : buffer + nbytes)

Example:

Code: [Select]
jo_file file;
char *file_contents;
...

jo_fs_open(&file, "FILE.TXT");
jo_fs_seek_forward(&file, 4096); /* I assume that 4096 is the size of the part to skip in the file and to preserve in the buffer */
jo_fs_read_next_bytes(&file, file_contents + 4096, 42);
jo_fs_close(&file);


48
Project announcement / Re: Sonic Z-Treme
« on: October 11, 2017, 12:42:14 pm »
The same thing happened to me, but in a different way :P
When I started to develop the Jo Engine, I used a lot of SGL functions and many people says that it's not an homebrew, just an SGL wrapper.
I don't agree with that, because if you used the SGL, you are in the same conditions as the developers in 1995.

Do you think the developers had time to rewrite everything ?
Of course not. It is already hard enough to develop a game.
In computer science, this has a name: Reinventing the wheel. ::)

Furthermore, my primary goal is not to replace the SGL, but help people to create games on the Sega Saturn.
Otherwise, what is the purpose of replacing SGL ?

On the other hand, if you are interested in programming closer to the machine, there is an excellent library : libyaul

Today, I have enough backwards to replace the SGL not because it's not homebrew, but because I want a lightweight engine with only useful features.

That's the reason why I made an option on the Makefile (JO_COMPILE_USING_SGL) to let developers choose whether or not to use SGL features  ;)


49
Free talk / Re: Possible events to show SONIC Z-Treme
« on: October 11, 2017, 08:40:13 am »
Maybe you or XL2 should contact them, to see if something is possible  :)

According to the website, it's highly possible

50
About you / Re: hello from neoraph
« on: October 11, 2017, 08:37:03 am »
Hi Raphael,

It's always a pleasure to meet someone interested by our work. We are a small community today, but I hope it will change  :)

52
Free talk / Re: Retro Barcelona 2017
« on: October 09, 2017, 08:36:23 am »
It was popular  :)

53
Free talk / Re: Retro Barcelona 2017
« on: October 08, 2017, 05:55:25 pm »
The demo is a success

54
Free talk / Re: Retro Barcelona 2017
« on: October 07, 2017, 08:14:50 pm »
Sure :)

55
Free talk / Re: Retro Barcelona 2017
« on: October 07, 2017, 04:21:14 pm »

56
Free talk / Re: Retro Barcelona 2017
« on: October 07, 2017, 12:26:17 pm »
Sonic Z-treme is now played on the show !!!  :D :D :D

Congratulation XL2, Andrew75 and Itsstillthinking for your work !!!

57
The new option is available on the last release

58
Project announcement / Re: Sonic Z-Treme
« on: October 06, 2017, 07:01:56 pm »
I sent the new update to my friend Alfonso at retrobarcelona  show

59
Free talk / Re: Retro Barcelona 2017
« on: October 06, 2017, 06:00:43 pm »
I asked my friend Alfonso to send us pictures of the show as soon as he could  :)

60
Free talk / Re: Retro Barcelona 2017
« on: October 04, 2017, 07:40:35 am »
I hope   ;D

Pages: 1 2 3 [4] 5 6 ... 11
SMF spam blocked by CleanTalk