Salutations tout le monde
voilà, je cherche à faire un bdd access à partir d'un fichier texte qui contient des infos Mame
pour la BDD, la lecture de fichiers, tout est OK
Sachant que c'est une boucle de renseignements, je ne vais prendre ici qu'une partie du fichier texte
je passe par ceci pour la lecture :
Code VB.NET : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 Dim sr As New IO.StreamReader(fichierselectionne) Dim ligne As String While sr.Peek <> -1 ligne = sr.ReadLine() '....... End While
je voudrais récupérer une portion de ce qu'il y a ci dessous, comprise (et non barrée) entre le "Game Filename" (à ne pas garder mais bon, ce serait pas trop grave à enlever) et "- TECHNICAL -"
*#*#*#*
************************************************************
*#*#*#*
Game: '88 Games
CRC: 429785DB
Platform: Mame
Genre: Sports / Track & Field
Release Year: 1988
Developer: Konami
Publisher: Konami
Game Filename: 88games
Go for the gold in Konami's newest kit, '88 Games. Feel the thrill of competition as you test your Olympic skills against other world-class athletes. Bronze or silver medals are not good enough - you are going for the gold! However, you must at least qualify in each event in order to compete in the next event. Get pumped up to compete in the following events :
* 100m Dash : Race against the other athletes as well as the clock. This is just a warm-up compared to the events to come.
* Long Jump : Player dashes to the line, leaps, and propels his body as far as he is able. The player controls the speed and angle of the jump.
* 400m Relay (Qualifying Heat) : Speed and timing are crucial in this event. Player must coordinate the baton hand-off perfectly for the best qualifying time.
* Skeet Shooting : Player can aim left and right at the clay pigeons and must prove that he is a sure shot. A chance for bonus points is given for excellent marksmanship.
* 110m Hurdles : Player sprints down the track, timing his jumps perfectly to clear all of the hurdles and reach the finish line in time.
* Archery : This is a trial of the player's proficiency in using a bow and arrow. The player can decide the direction and force of the wind, which will help in demonstrating his skill as a sharpshooter.
* Javelin Throw : The player darts to the line and throws the javelin with all his might. The player controls the height of the javelin.
* High Jump : Another test of speed and strength as the player runs to the line and hurls his body over the bar. The player can control his angle above the bar.
* 400m Relay - The Final Race : The final test of physical training as the player faces the challenging relay again.
GO FOR THE GOLD!
- TECHNICAL -
Game ID : GX861
Main Board Number : PWB351171A
Rom Board Number : PWB350782
Sachant que :
- le mot - TECHNICAL - est toujours présent mais pas toujours la portion à garder (des fois y'a rien...)
- la partie à garder peut varier de 1 à plusieurs lignes
- ce qui suit - TECHNICAL - ne m'interesse pas, je le sauterai pour passer à l'enregistrement suivant...
Je pensais que c'était une lecture ligne par ligne, mais lors de différents tests, j'ai eu des choses bizarres, alors si quelqu'un a une idée...
Merci d'avance, bonne journée
Partager