I've been working on a new version for the past 2-3 weeks. Please tell me what you think, and if there are any bugs.
binary:
http://www.mediafire.com/file/5j42zzdnc4y/vndsx-1.4.0-beta-r65.7z
sourcecode:
http://www.mediafire.com/file/nlm1y3t1z5d/vndsx-1.4.0-beta-r65-src.7z
I don't know if anyone has pointed this out yet. But on fat DS, the toggle backlight option doesn't work for turning the light back on.
So could there be a config option to disable it? Since its annoying whenever I accidentally hit the select button (I do this like once a week, I'm pretty bad at this video gaming thing).
That's correct, you can't enable the light on the phat, have this problem too
>>56,57
Changed the backlight button behavior:
DS Lite: Changes backlight level (between 0 and 3)
Old DS: Toggles backlight on/off
>>58
GMRUA.png PORRY.png oSOAu.png JWdlR.png rsSNI.png AAFIA.png aksZK.png Tzrco.png UyKJp.png agHfR.png esHEh.png GWcWJ.png
I found 12 images wider than 256px
>>60
Being wider than 256 pixels should not cause problems. There was just a bug that made the program crash on those images.
i noticed in tsukihime that if there's a sound effect repeating in the background (like at the very beginning where a clock is ticking) and you go into a save or the other menu, then back to the game, the sound will now be gone.
>>53
JPG
31,2 kB (32.025 bytes)
31,2 kB (32.025 bytes)
PNG
74,9 kB (76.741 bytes)
76,0 kB (77.824 bytes)
One result of comparing the same quality image, so indeed converting to JPG is good.
Strange thing... 'playing' FSN for first time..
FSN seems to go back to the title screen in the middle of the game.
When?
On the second day that Saber and Rin are training Emiya, after Saber trains in sword fighting and Emiya grab pours water from the kettle.
any1 else experiencing this problem?
For some reason none of the names of the novels(just the name, the game splash-screen & thumbnail appear fine) seem to appear on the menu screen for me. I checked the info.txt file for every novel & they seem fine.
I don't know if I may be the only one with this problem. I have an M3DS Real & I am using their latest firmware update - 4.2c.
I don't think that renaming the novel folders should have affected anything as I had renamed "fate" to "Fate-Stay Night" & "tsukihime" to "Tsukihime", as this worked earlier.
Anyway all the novels seem to play absolutely fine on 1.4.0 & the new UI is great - thanks Jake & anoNL.
It's no-name for me too.I use DSTT&AK2.
Tested with Supercard MiniSD, DSTT and M3 Real, I cannot see the names either.
Also have another bug:
When you try loading a savegame, a datestamp appears under the thumbnail of the savegame.
When browsing to say, page 2, the background overlaps the date, so you can't see like the last digit.
Suggestion:
Remove the blinking white arrow, it's very irritating when reading
:P :P
Great Work!!
The text problems seem to be caused by font size changes not being applied immediately/correctly.
I'll work on a fix after I've finished converting everything to libnds 1.3.1
Is it intended behaviour that I have to stop music with "music ~" before starting another music track? It would make sense to just stop the old track whenever a new one is given.. :)
>>5
The program should already behave like that, does not explicitly stopping the music cause errors or something?
Hey is anyone gonna port kagestu tohya or fate/hollow Axtaria?
Cheers
I am currently porting the sidestories (ten nights of dream)
to VNDS.
I know it's not that much, but hey:
It's my first time trying to work with VNDS :P :P
>>5
Flowers of Thanatos, fuck yeah! And how is working with VNDS? If its easy enough, I'll try porting over Resonance or something else Insani did.
Yes it's pretty easy, just need to get the hang of it and have all the right tools.
I am using:
Geany text editor for scripting
Tsukihime & Kagetsu Tohya libs for images and bg's
Batch Image Resizer for resizing to NDS format
And a batch script to cut images in half, since images straight from the Kagetsu Tohya lib have a black shadow next to them.
Also: Supercard MiniSD (2gb) is the card I use
>>since images straight from the Kagetsu Tohya lib have a black shadow next to them.
yeah, that black shadow is their alpha channel info. you're supposed to apply it to the sprite on the left to make it have a transparent background and the antialiased pixels on the edges.
Hm does it matter that much??
Since then I would have to go through alot more trouble then just cutting them in half and making the bg transparent with PS.
well they look better with alpha channels. you could probably replace some of them with the already existing ones from tsukihime and just fill in the blanks like len.
it also takes less time to just apply it than try to clean it up by hand, removing all the stray white pixels and outlines you get when you try to fix them by hand.
not to mention the originals are jpg, so there are all those artifacts and stuff on the blurry edges.
Sprites with alpha channel applied and resized for the DS:
http://www.mediafire.com/file/kfddynjqzmz/kagetsu-tohya-sprites.7z
Good luck with translating KT!
Faults are dangerous on 'A Day' part, since they're like repetitions.
I'm not translating, I'm porting.
And not proting full KT, just the sidestories, since this is my first time trying to create something for VNDS and I don't want to start on something as complicated as KT.
Btw sidestories are going fine!!
Hi! I looked at fate/stay and saw that it uses AAC for sounds, rather than wav. AAC support isn't mentioned in the documentation btw, even though it allows major space savings compared to wav.
Also, why AAC instead of, for example, ogg? And why not use the same format for both music and sounds?
>Also, why AAC instead of, for example, ogg?
because ogg is too slow to run on the ds well.
>Also, why AAC instead of, for example, ogg?
https://datatype.helixcommunity.org/2005/aacfixptdec
>The Helix AAC decoder is highly optimized for ARM processors and meets or exceeds the performance of other commercial implementations. It also features one of the first widely available fixed-point implementations of SBR.
This decoder looked the fastest on paper :)
Ok, that's cool.
I tried the FAAC converter now, but for some reason I get weird loud clicks in my AAC-s, which is bad. I then turned to neroAacEnc, as the other more popular encoder, but these files would not play at all. Is AAC support limited to mpeg-2 at the moment?
(Offtopic: Does heap size show used memory? How high is too high?)
>(Offtopic: Does heap size show used memory? How high is too high?)
DS has 4MB of memory, heap + 1MB (.nds file) is the total used.
I think anyway.
Hey,
I was trying to get JPG backgrounds to work, but it didn't:
My script first loads a .jpg background, everything's fine.
Then until the script encounters another bgload for a .jpg, it crashes (red screen, freezes on 1.3.6).
I tried replacing it with .png, and copied the .png to the folder again, and it worked, but crashed again after a while when encountering another .jpg.
So now im just continuing using .png for the time being, because .jpg crashes.
If anyone knows the answer, tyvm!!
((early) happy new year!!)
>>1
Not all types of JPG are supported. I've never had problems with these settings in XnView.
But I guessed the included image converter would work??
Nevermind, using other converters, works fine :) :)
Specifically no$gba 2.5c. I want to try this out in an emu before using it in my actual DS since I'm completely new to the DS homebrew scene, and know virtually crap about doing anything besides loading cartridges. -_- Halp plz?
Old threat but it runs in ideas, though sound is mostly distorted.
old thread but don't you know that these are just ports of pc games? why not just play the original instead of using a ds emulator on your computer to play the ds ports of games that were originally meant to be played on your computer?
Well I can think of a reason because I am currently trying to code a story and to test it, I now change like a little bit of the script, place it on miniSD, take it out, insert it into DS, run VNDS, run novel, checks if it works.
It would be very helpfull if it could be loaded into an emulator, but It's not that necessary.
Haha it works like a charm now!!
Thank you very much!!
oops wrong topic....
iDeaS 1.0.2.7 fails:
Invalid Installation: Please make sure the game data is stored in /vnds/Hi! 1.4.0 with the fades and all looks very good, thank you. But could someone please tell me what emulator they've used with vnds and what where the settings?
no$gba 2.6 & iDeaS w/o DLDI -- Only if you specially compile for it and the resulting .nds file is smaller than 32MB.
iDeaS -- 1.0.2.7 doesn't work for some reason, older versions should work if you apply the R4 DLDI patch and activate DLDI in iDeaS.
Is there any way I can run vnds with a DSTT, or is it incompatible?
Problem solved. Suspecting that some of the files maybe corrupt, I redownloaded the program again. And extracted it again. Solved the problem. I can now see the program as seen in the above post.
Ace Program btw. Cheers for the help. And keep up the good work.
I am also using a TTDS and cannot get novels to load, where did 1 download his visual novel files?
I can't start VNDS from my DSTT (8GB SD card formated with FAT32).
Help?
try using a different loader, like moonshell or dsorganize, always works for me if a rom wont load!!
How exactly do you use a different loader on a DSTT to run roms? Moonshell only plays music/videos the way it is on my flashcart.
Hm??
My moonshell also runs .nds files, but on the other hand, I don't own a DSTT, I have a supercard, but my sister has a DSTT, so I'll test it soon.
Hey,
I tested it today, and my sister's DSTT worked fine with VNDS 1.4.0, w/o any third party programs, so just booted from the DSTT.
You tested it with a Fat32 formated (every 4GB+) sd card right? I'll try with another version then.
Well it works now, sorry for the trouble....
Since I did most the scripting while sleep deprived, theres tons of problems with it.
bugs go here
Went through Arc's route and it only notices that I went through it directly after going through the route, if I restart It doesn't "load" that I completed the route.
I'm having a similar problem as the person above me. I got through Arcueid's route just fine, but unless I load my save from right before I finished the game then IMMEDIATELY start a new game I can't get the game to recognize that I'm on my second playthrough and get Hisui's route. After looking at the .sav files I've noticed that my nearly completed Arc save is full of variables marking flags, showing character interest points and marking what endings I've gotten... but any save I make now does not have those variables. While trying to play Ciel's route the game plays find and keeps up with points and flags just fine, but once I save and load again it forgets everything and progresses ignoring all the past choices I've made. After opening up my save files I've noticed are fairly barren and just list where I was when I saved not any previous records so I can load my save and keep going, but the next time the game needs to check and see if I've hit a flag, it wont and I'll be stuck without a choice or I'll get a game over for "not paying attention to one character or the other." So it seems that the only thing the system is saving as of now is the info on what script I was on, where I was in it, what bgm & char portrait, and a date/time stamp.
http://rafb.net your saves. (and global.sav)
the only flags that really matter between paths are the cleared_X ones in global.
>>80
I said fuck it and went through, found, and pasted all the routes completion variable modifiers at the beginning of "main.scr" so I won't be bothered by it for now.
When I open global.sav I see the same 5 variables and a space repeated within the <global></global>(this is with my cheating of making it pretend I completed all routes opening the game, before it was just a single copy). Because it's a repeat I think it's not writing down the names to associate completion with on the save.
>>79
thought I would mention I'm running Tsukihime 0.1.9. and vnds version 1.3.6. here is an example of a "gimped" save file taken soon after having tea with Ciel which should leave me with ciel regard points and set off at least 1 flag...<save>
<script>
<file>script/s36.scr</file>
<position>0</position>
</script>
<state>
<music>01.mp3</music>
<background>BG_22B.png</background>
<sprites/>
</state>
<variables>
<var name="selected" type="int" value="2"/>
>>82
Same here, all my saves has no variables. And it freezes quite often so I can't pass ANY route, since all saves lead to the only possible thing - dying in the hotel corridor.
I think I've fixed the problem
Download:
http://www.mediafire.com/?31c4vixwdkd
or
http://rapidshare.com/files/125895154/vndsX-1.3.6x.rar
vndsX version 1.2.3 (= vnds 1.2.3 + stuff)
bug fixes:
fixed one or two memory leaks -> using delete instead of delete[]
features:
Flashcards almost always use FAT filesystems and FAT is very inefficient for storing lots of small files. Blocksize is very large -> 16KB on a 1GB filesystem. This basically means that all filesizes are rounded up to multiples of 16KB and a lot of space is wasted. Grouping the files in a tarball-like archive can thus save a lot of space. I tested it on FateDS to see what kind of size-advantage it would have and got these results:
PAK foreground+background = 40.632.320 bytes
only problem I have with .pak formats is you have to load the whole file into memory before handling.
that's really good... but most of the small files are the scripts (think tsukihime), so why not a script.pak?
>>3
because those are the files that have the most problems
Is there an unpaking utility?
Yes, open Pak.jar using winrar. There's sourcecode for both Pak and Unpak.
Some stuff I experienced in vndsx 1.2.4x (FateDS 0.6.1)...
-When music is playing, the possibility of a freeze occurring increases.
-It is better to save when there is no music.
-It is better to load when there is no music; going to new game first seemingly always resulted in a successful save load.
-If vndsx freezes while saving, that save becomes corrupt.
-The chances of freezing increase whenever a new sound/image is loaded while music is playing.
-Corrupt saves seem to cause vnds to freeze even at the load screen.
-(not sure if this is related to the previous note) going to the load screen too early can result in a freeze.
-"save" is a selectable option even at the title screen.
For some reason one of my saves became corrupted and what ended up happening is that it started mirroring the timestamp of a later save I made in another slot. Other corrupt saves would (sometimes) load, but I would be taken to a very early point in the novel.
Just finished a playthrough of Fate.
The following bugs are present :
" 'I stuck my hard spoon into Saber's warm soup. As I stiTohsaka looked at me with a weird look'
'Tohsaka looked at me with a weird look.' "
AnoNL, do you have any plans to port UBW? It would be awesome if you could somehow do that as well.
to 50
Don't put .mp3 in zip file
The download for FSN on the VNDS site is different to the >>39 rapidshare download, the rapidshare one has the files pre-zipped and music. You might want to put the rapidshare link there.
Guide on how to get Fate/Stay Night working with sound and background music.
I'm assuming you know how to get files out of .7z and .tar.gz files, WinRAR should do it fine if you have it already.
1: Download http://rapidshare.com/files/160619893/FateDS-1.0-unvoiced.7z
2: Download http://digital-haze.net/files/vnds/novels/fate/fate-sound.tar.gz
3: Make a folder called "Fate" and then open FateDS-1.0-unvoiced.7z, inside will be a folder called "base_install", go into it.
4: Get the files called "background.zip, foreground.zip, script.zip, default.ttf, icon.png, info.txt, thumbnail.png" and the folders called "save" and "sound" and put them into the "Fate" folder you made earlier.
5: Extract everything out of the file "fate-sound.tar.gz", it get tricky here so read carefully.
About 20 files in this .tar.gz have the same names as others but different casing.
Disregard that, he has the voices and sound on the main page now.
>>51
Instructions did mention that. In my case I can't find any .mp3 file in fate-sound.tar.gz. Only .aac and .wav files exists. I repacked to zip after finding some duplicates under windows.
>>52
I am using fate-1.0.tar.gz. I will try out the 7z. Didn't realize that unvoiced.7z may have mean only voice removed. ^___^
>>53
(6)-(8): Thanks. Is this a workaround for adding files with the same name but different cases under Windows? Using WinRAR 3.71, I test created a zip and then append it again using the folder structure (using dummy file with different content) as below. WinRAR still updates the content though. o__o?
1) fate/sound/ <== In fate/ folder, right click sound/ folder, "Add to sound.zip". Zip the original sound files?
2) fate/fix/sound/ <== Move sound.zip (created above) into fix/, right click sound/, "Add to sound.zip". Zip the duplicate sound files?
>>55
It works! ^_______^
There's a different instruction, setup based on route, etc. Nice stuff!
Porting effort is very greatly appreciated, anoNL (look >> source << code *__* a lot of work)
Quick question. I haven't been following vnds's progress. The last version I downloaded was the one right before vndsX. Fate/Stay Night froze a lot on that version, and it freezes very often on vndsX as well (Every 15-20 minutes).
I have to save every few lines to get past this. So my question is, is this a result of the program still being in beta, or is there something wrong at my end?
>>57
It's a problem with the program itself. You could try using a beta version from the "vndsx 1.4.0 beta" thread.
I love you.
I would have never played F/S Night on my PC because I don't have time and it#s not that comfortable.
Because of you I can finally play this masterpiece.
Thank you, and sorry if this is in the wrong section.
Thanks, anoNL. I'll give that a try. :)